Analysis Software
Documentation for sPHENIX simulation software
|
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.
std::pair< int, int > TPCDaqDefs::FEEv1::SAMPAChan2PadXY | ( | uint32_t | fee_channel | ) |
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 std::tr1::f1, std::tr1::f2, gpulse, i, train_ambiguity_solver::id, Acts::UnitConstants::min, pedestal(), PROTOTYPE4_FEM::SignalShape_PowerLawDoubleExp(), PROTOTYPE4_FEM::SignalShape_PowerLawExp(), and to_string().
Definition at line 298 of file TPCDaqDefs.cc.
View newest version in sPHENIX GitHub at line 298 of file TPCDaqDefs.cc
References pedestal(), and signal().
Definition at line 286 of file TPCDaqDefs.cc.
View newest version in sPHENIX GitHub at line 286 of file TPCDaqDefs.cc
References pedestal(), and signal().
|
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(), TpcPrototypeUnpacker::PadPlaneData::Clustering(), TpcPrototypeUnpacker::exportDSTCluster(), TpcPrototypeUnpacker::exportDSTHits(), TPCFEETestRecov1::PadPlaneData::getPad(), TpcPrototypeUnpacker::PadPlaneData::getPad(), TPCFEETestRecov1::PadPlaneData::IsValidPad(), and TpcPrototypeUnpacker::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(), TpcPrototypeUnpacker::PadPlaneData::Clustering(), TpcPrototypeUnpacker::Clustering(), TpcPrototypeUnpacker::exportDSTHits(), TPCFEETestRecov1::PadPlaneData::getPad(), TpcPrototypeUnpacker::PadPlaneData::getPad(), TPCFEETestRecov1::PadPlaneData::IsValidPad(), and TpcPrototypeUnpacker::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(), and TpcPrototypeUnpacker::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(), and TpcPrototypeUnpacker::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(), TpcPrototypeUnpacker::PadPlaneData::Clustering(), TPCFEETestRecov1::Clustering(), TpcPrototypeUnpacker::Clustering(), TpcPrototypeUnpacker::exportDSTHits(), TPCFEETestRecov1::InitRun(), TpcPrototypeUnpacker::InitRun(), TPCFEETestRecov1::process_event(), and TpcPrototypeUnpacker::process_event().