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) |
Variables | |
static const unsigned int | kPACKET_ID = 3000 |
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 | kN_FEES = 8 |
static const unsigned int | kMaxPadY =16*8 |
static const unsigned int | kMaxPadX =16 |
static TPCR2Map | TpcR2Map |
static R2 channel map | |
TPC v1 FEE test stand decoder.
bool TpcPrototypeDefs::FEEv2::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 TpcPrototypeDefs.cc.
View newest version in sPHENIX GitHub at line 68 of file TpcPrototypeDefs.cc
References assert, std::tr1::f1, std::tr1::f2, gpulse, i, train_ambiguity_solver::id, Acts::UnitConstants::min, NSAMPLES, pedestal(), PROTOTYPE4_FEM::SignalShape_PowerLawDoubleExp(), PROTOTYPE4_FEM::SignalShape_PowerLawExp(), and to_string().
Referenced by TPCFEETestRecov1::Clustering(), TpcPrototypeUnpacker::Clustering(), RawTower_Prototype4::get_energy_power_law_double_exp(), and CaloCalibration::process_event().
Definition at line 298 of file TpcPrototypeDefs.cc.
View newest version in sPHENIX GitHub at line 298 of file TpcPrototypeDefs.cc
References pedestal(), and signal().
Referenced by PROTOTYPE4_FEM::SampleFit_PowerLawDoubleExp(), SampleFit_PowerLawDoubleExp(), and TPCDaqDefs::FEEv1::SampleFit_PowerLawDoubleExp().
Definition at line 286 of file TpcPrototypeDefs.cc.
View newest version in sPHENIX GitHub at line 286 of file TpcPrototypeDefs.cc
References pedestal(), and signal().
Referenced by PROTOTYPE4_FEM::SampleFit_PowerLawDoubleExp(), SampleFit_PowerLawDoubleExp(), TPCDaqDefs::FEEv1::SampleFit_PowerLawDoubleExp(), PROTOTYPE2_FEM::SampleFit_PowerLawExp(), PROTOTYPE3_FEM::SampleFit_PowerLawExp(), and PROTOTYPE4_FEM::SampleFit_PowerLawExp().
|
static |
Definition at line 26 of file TpcPrototypeDefs.h.
View newest version in sPHENIX GitHub at line 26 of file TpcPrototypeDefs.h
|
static |
Definition at line 25 of file TpcPrototypeDefs.h.
View newest version in sPHENIX GitHub at line 25 of file TpcPrototypeDefs.h
|
static |
Definition at line 21 of file TpcPrototypeDefs.h.
View newest version in sPHENIX GitHub at line 21 of file TpcPrototypeDefs.h
|
static |
Definition at line 24 of file TpcPrototypeDefs.h.
View newest version in sPHENIX GitHub at line 24 of file TpcPrototypeDefs.h
Referenced by TpcPrototypeUnpacker::process_event().
|
static |
Definition at line 18 of file TpcPrototypeDefs.h.
View newest version in sPHENIX GitHub at line 18 of file TpcPrototypeDefs.h
|
static |
Definition at line 20 of file TpcPrototypeDefs.h.
View newest version in sPHENIX GitHub at line 20 of file TpcPrototypeDefs.h
|
static |
Definition at line 22 of file TpcPrototypeDefs.h.
View newest version in sPHENIX GitHub at line 22 of file TpcPrototypeDefs.h
|
static |
static R2 channel map
Definition at line 29 of file TpcPrototypeDefs.h.
View newest version in sPHENIX GitHub at line 29 of file TpcPrototypeDefs.h
Referenced by TpcPrototypeUnpacker::process_event().