ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
TPC v1 FEE test stand decoder. More...
Classes | |
class | SampleFit_PowerLawDoubleExp_PDFMaker |
Functions | |
bool | SampleFit_PowerLawDoubleExp (const std::vector< double > &samples,double &peak,double &peak_sample,double &pedestal,std::map< int, double > ¶meters_io,const int verbosity=0) |
Power law double exp fit. | |
double | SignalShape_PowerLawExp (double *x, double *par) |
double | SignalShape_PowerLawDoubleExp (double *x, double *par) |
pair< int, int > | SAMPAChan2PadXY (uint32_t fee_channel) |
Variables | |
static const unsigned int | kPACKET_ID = 1024 |
static const unsigned int | kPACKET_LENGTH = 137 |
static const unsigned int | kN_CHANNELS = 256 |
static const unsigned int | kSAMPLE_LENGTH = 128 |
static const unsigned int | kMaxPadX = 50 |
static const unsigned int | kMaxPadY = 12 |
TPC v1 FEE test stand decoder.
Definition at line 317 of file TPCDaqDefs.cc.
View newest version in sPHENIX GitHub at line 317 of file TPCDaqDefs.cc
Referenced by TPCFEETestRecov1::process_event().
bool TPCDaqDefs::FEEv1::SampleFit_PowerLawDoubleExp | ( | const std::vector< double > & | samples, |
double & | peak, | ||
double & | peak_sample, | ||
double & | pedestal, | ||
std::map< int, double > & | parameters_io, | ||
const int | verbosity | ||
) |
Power law double exp fit.
peak_sample | peak amplitude. |
pedestal | peak sample position. Fixed to the input value if NOT NAN |
parameters_io | pedestal |
verbosity | IO for fullset of parameters. If a parameter exist and not an NAN, the fit parameter will be fixed to that value. The order of the parameters are ("Amplitude 1", "Sample Start", "Power", "Peak Time 1", "Pedestal", "Amplitude 2", "Peak Time 2") |
Definition at line 68 of file TPCDaqDefs.cc.
View newest version in sPHENIX GitHub at line 68 of file TPCDaqDefs.cc
References kdfinder::abs(), f1, f2, max, min, SignalShape_PowerLawDoubleExp(), SignalShape_PowerLawExp(), and nlohmann::to_string().
Referenced by TPCFEETestRecov1::Clustering().
double TPCDaqDefs::FEEv1::SignalShape_PowerLawDoubleExp | ( | double * | x, |
double * | par | ||
) |
Definition at line 298 of file TPCDaqDefs.cc.
View newest version in sPHENIX GitHub at line 298 of file TPCDaqDefs.cc
Referenced by SampleFit_PowerLawDoubleExp().
double TPCDaqDefs::FEEv1::SignalShape_PowerLawExp | ( | double * | x, |
double * | par | ||
) |
Definition at line 286 of file TPCDaqDefs.cc.
View newest version in sPHENIX GitHub at line 286 of file TPCDaqDefs.cc
Referenced by SampleFit_PowerLawDoubleExp().
|
static |
Definition at line 23 of file TPCDaqDefs.h.
View newest version in sPHENIX GitHub at line 23 of file TPCDaqDefs.h
Referenced by TPCFEETestRecov1::PadPlaneData::Clustering(), TPCFEETestRecov1::PadPlaneData::getPad(), and TPCFEETestRecov1::PadPlaneData::IsValidPad().
|
static |
Definition at line 24 of file TPCDaqDefs.h.
View newest version in sPHENIX GitHub at line 24 of file TPCDaqDefs.h
Referenced by TPCFEETestRecov1::PadPlaneData::Clustering(), TPCFEETestRecov1::PadPlaneData::getPad(), and TPCFEETestRecov1::PadPlaneData::IsValidPad().
|
static |
Definition at line 20 of file TPCDaqDefs.h.
View newest version in sPHENIX GitHub at line 20 of file TPCDaqDefs.h
Referenced by TPCFEETestRecov1::process_event().
|
static |
Definition at line 18 of file TPCDaqDefs.h.
View newest version in sPHENIX GitHub at line 18 of file TPCDaqDefs.h
Referenced by TPCFEETestRecov1::process_event().
|
static |
Definition at line 19 of file TPCDaqDefs.h.
View newest version in sPHENIX GitHub at line 19 of file TPCDaqDefs.h
Referenced by TPCFEETestRecov1::process_event().
|
static |
Definition at line 21 of file TPCDaqDefs.h.
View newest version in sPHENIX GitHub at line 21 of file TPCDaqDefs.h
Referenced by TPCFEETestRecov1::PadPlaneData::Clustering(), TPCFEETestRecov1::Clustering(), TPCFEETestRecov1::InitRun(), and TPCFEETestRecov1::process_event().