![]() |
MiniballSort
|
#include <Calibration.hh>
Public Member Functions | |
| MiniballCalibration (std::string filename, std::shared_ptr< MiniballSettings > myset) | |
| ~MiniballCalibration () | |
| void | ReadCalibration () |
| void | PrintCalibration () |
| void | SetFile (std::string filename) |
| const std::string | InputFile () |
| float | AdcEnergy (unsigned char mod, unsigned char ch, unsigned int raw) |
| double | AdcOffset (unsigned char mod, unsigned char ch) |
| double | AdcGain (unsigned char mod, unsigned char ch) |
| double | AdcGainQuadr (unsigned char mod, unsigned char ch) |
| unsigned int | AdcThreshold (unsigned char mod, unsigned char ch) |
| long | AdcTime (unsigned char mod, unsigned char ch) |
| float | DgfEnergy (unsigned char mod, unsigned char ch, unsigned int raw) |
| double | DgfOffset (unsigned char mod, unsigned char ch) |
| double | DgfGain (unsigned char mod, unsigned char ch) |
| double | DgfGainQuadr (unsigned char mod, unsigned char ch) |
| unsigned int | DgfThreshold (unsigned char mod, unsigned char ch) |
| long | DgfTime (unsigned char mod, unsigned char ch) |
| float | FebexEnergy (unsigned char sfp, unsigned char board, unsigned char ch, unsigned int raw) |
| double | FebexOffset (unsigned char sfp, unsigned char board, unsigned char ch) |
| double | FebexGain (unsigned char sfp, unsigned char board, unsigned char ch) |
| double | FebexGainQuadr (unsigned char sfp, unsigned char board, unsigned char ch) |
| unsigned int | FebexThreshold (unsigned char sfp, unsigned char board, unsigned char ch) |
| std::string | FebexType (unsigned char sfp, unsigned char board, unsigned char ch) |
| long | FebexTime (unsigned char sfp, unsigned char board, unsigned char ch) |
| FebexMWD | DoMWD (unsigned char sfp, unsigned char board, unsigned char ch, std::vector< unsigned short > trace) |
| void | SetMWDDecay (unsigned char sfp, unsigned char board, unsigned char ch, unsigned int decay) |
| void | SetMWDRise (unsigned char sfp, unsigned char board, unsigned char ch, unsigned int rise) |
| void | SetMWDFlatTop (unsigned char sfp, unsigned char board, unsigned char ch, unsigned int top) |
| void | SetMWDBaseline (unsigned char sfp, unsigned char board, unsigned char ch, unsigned int baseline_length) |
| void | SetMWDWindow (unsigned char sfp, unsigned char board, unsigned char ch, unsigned int window) |
| void | SetCFDFraction (unsigned char sfp, unsigned char board, unsigned char ch, float fraction) |
| void | SetCFDDelay (unsigned char sfp, unsigned char board, unsigned char ch, unsigned int delay) |
| void | SetCFDHoldOff (unsigned char sfp, unsigned char board, unsigned char ch, unsigned int hold) |
| void | SetCFDShapingTime (unsigned char sfp, unsigned char board, unsigned char ch, unsigned int shaping) |
| void | SetCFDIntegrationTime (unsigned char sfp, unsigned char board, unsigned char ch, unsigned int integration) |
| void | SetCFDThreshold (unsigned char sfp, unsigned char board, unsigned char ch, int threshold) |
| unsigned int | GetMWDDecay (unsigned char sfp, unsigned char board, unsigned char ch) |
| unsigned int | GetMWDRise (unsigned char sfp, unsigned char board, unsigned char ch) |
| unsigned int | GetMWDFlatTop (unsigned char sfp, unsigned char board, unsigned char ch) |
| unsigned int | GetMWDBaseline (unsigned char sfp, unsigned char board, unsigned char ch) |
| unsigned int | GetMWDWindow (unsigned char sfp, unsigned char board, unsigned char ch) |
| float | GetCFDFraction (unsigned char sfp, unsigned char board, unsigned char ch) |
| unsigned int | GetCFDDelay (unsigned char sfp, unsigned char board, unsigned char ch) |
| unsigned int | GetCFDHoldOff (unsigned char sfp, unsigned char board, unsigned char ch) |
| unsigned int | GetCFDShapingTime (unsigned char sfp, unsigned char board, unsigned char ch) |
| unsigned int | GetCFDIntegrationTime (unsigned char sfp, unsigned char board, unsigned char ch) |
| int | GetCFDThreshold (unsigned char sfp, unsigned char board, unsigned char ch) |
| void | SetDefaultQint () |
Private Attributes | |
| std::string | fInputFile |
| std::unique_ptr< TRandom3 > | fRand |
| bool | default_qint |
| std::shared_ptr< MiniballSettings > | set |
| std::vector< std::vector< long > > | fAdcTime |
| std::vector< std::vector< double > > | fAdcOffset |
| std::vector< std::vector< double > > | fAdcGain |
| std::vector< std::vector< double > > | fAdcGainQuadr |
| std::vector< std::vector< unsigned int > > | fAdcThreshold |
| std::vector< std::vector< long > > | fDgfTime |
| std::vector< std::vector< double > > | fDgfOffset |
| std::vector< std::vector< double > > | fDgfGain |
| std::vector< std::vector< double > > | fDgfGainQuadr |
| std::vector< std::vector< unsigned int > > | fDgfThreshold |
| std::vector< std::vector< std::vector< std::string > > > | fFebexType |
| std::vector< std::vector< std::vector< long > > > | fFebexTime |
| std::vector< std::vector< std::vector< double > > > | fFebexOffset |
| std::vector< std::vector< std::vector< double > > > | fFebexGain |
| std::vector< std::vector< std::vector< double > > > | fFebexGainQuadr |
| std::vector< std::vector< std::vector< unsigned int > > > | fFebexThreshold |
| std::vector< std::vector< std::vector< unsigned int > > > | fFebexMWD_Decay |
| std::vector< std::vector< std::vector< unsigned int > > > | fFebexMWD_Rise |
| std::vector< std::vector< std::vector< unsigned int > > > | fFebexMWD_Top |
| std::vector< std::vector< std::vector< unsigned int > > > | fFebexMWD_Baseline |
| std::vector< std::vector< std::vector< unsigned int > > > | fFebexMWD_Window |
| std::vector< std::vector< std::vector< unsigned int > > > | fFebexCFD_Delay |
| std::vector< std::vector< std::vector< unsigned int > > > | fFebexCFD_HoldOff |
| std::vector< std::vector< std::vector< unsigned int > > > | fFebexCFD_Shaping |
| std::vector< std::vector< std::vector< unsigned int > > > | fFebexCFD_Integration |
| std::vector< std::vector< std::vector< int > > > | fFebexCFD_Threshold |
| std::vector< std::vector< std::vector< float > > > | fFebexCFD_Fraction |
| unsigned int | default_FebexMWD_Decay |
| unsigned int | default_FebexMWD_Rise |
| unsigned int | default_FebexMWD_Top |
| unsigned int | default_FebexMWD_Baseline |
| unsigned int | default_FebexMWD_Window |
| float | default_FebexCFD_Fraction |
| unsigned int | default_FebexCFD_Delay |
| unsigned int | default_FebexCFD_HoldOff |
| unsigned int | default_FebexCFD_Shaping |
| unsigned int | default_FebexCFD_Integration |
| int | default_FebexCFD_Threshold |
A class to read in the calibration file in ROOT's TConfig format. Each ASIC channel can have offset, gain and quadratic terms. Each channel also has a threshold (not implemented) and there is a time offset parameter for each ASIC module, too.
Definition at line 140 of file Calibration.hh.
| MiniballCalibration::MiniballCalibration | ( | std::string | filename, |
| std::shared_ptr< MiniballSettings > | myset ) |
Definition at line 205 of file Calibration.cc.
|
inline |
Definition at line 145 of file Calibration.hh.
| float MiniballCalibration::AdcEnergy | ( | unsigned char | mod, |
| unsigned char | ch, | ||
| unsigned int | raw ) |
Definition at line 499 of file Calibration.cc.
| double MiniballCalibration::AdcGain | ( | unsigned char | mod, |
| unsigned char | ch ) |
Definition at line 719 of file Calibration.cc.
| double MiniballCalibration::AdcGainQuadr | ( | unsigned char | mod, |
| unsigned char | ch ) |
Definition at line 732 of file Calibration.cc.
| double MiniballCalibration::AdcOffset | ( | unsigned char | mod, |
| unsigned char | ch ) |
Definition at line 706 of file Calibration.cc.
| unsigned int MiniballCalibration::AdcThreshold | ( | unsigned char | mod, |
| unsigned char | ch ) |
Definition at line 745 of file Calibration.cc.
| long MiniballCalibration::AdcTime | ( | unsigned char | mod, |
| unsigned char | ch ) |
Definition at line 758 of file Calibration.cc.
| float MiniballCalibration::DgfEnergy | ( | unsigned char | mod, |
| unsigned char | ch, | ||
| unsigned int | raw ) |
Definition at line 472 of file Calibration.cc.
| double MiniballCalibration::DgfGain | ( | unsigned char | mod, |
| unsigned char | ch ) |
Definition at line 655 of file Calibration.cc.
| double MiniballCalibration::DgfGainQuadr | ( | unsigned char | mod, |
| unsigned char | ch ) |
Definition at line 668 of file Calibration.cc.
| double MiniballCalibration::DgfOffset | ( | unsigned char | mod, |
| unsigned char | ch ) |
Definition at line 642 of file Calibration.cc.
| unsigned int MiniballCalibration::DgfThreshold | ( | unsigned char | mod, |
| unsigned char | ch ) |
Definition at line 681 of file Calibration.cc.
| long MiniballCalibration::DgfTime | ( | unsigned char | mod, |
| unsigned char | ch ) |
Definition at line 694 of file Calibration.cc.
| FebexMWD MiniballCalibration::DoMWD | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| std::vector< unsigned short > | trace ) |
Definition at line 525 of file Calibration.cc.
| float MiniballCalibration::FebexEnergy | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| unsigned int | raw ) |
Definition at line 443 of file Calibration.cc.
| double MiniballCalibration::FebexGain | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 572 of file Calibration.cc.
| double MiniballCalibration::FebexGainQuadr | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 586 of file Calibration.cc.
| double MiniballCalibration::FebexOffset | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 558 of file Calibration.cc.
| unsigned int MiniballCalibration::FebexThreshold | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 600 of file Calibration.cc.
| long MiniballCalibration::FebexTime | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 614 of file Calibration.cc.
| std::string MiniballCalibration::FebexType | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 628 of file Calibration.cc.
| unsigned int MiniballCalibration::GetCFDDelay | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 1022 of file Calibration.cc.
| float MiniballCalibration::GetCFDFraction | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 1008 of file Calibration.cc.
| unsigned int MiniballCalibration::GetCFDHoldOff | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 1036 of file Calibration.cc.
| unsigned int MiniballCalibration::GetCFDIntegrationTime | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 1064 of file Calibration.cc.
| unsigned int MiniballCalibration::GetCFDShapingTime | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 1050 of file Calibration.cc.
| int MiniballCalibration::GetCFDThreshold | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 1078 of file Calibration.cc.
| unsigned int MiniballCalibration::GetMWDBaseline | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 980 of file Calibration.cc.
| unsigned int MiniballCalibration::GetMWDDecay | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 938 of file Calibration.cc.
| unsigned int MiniballCalibration::GetMWDFlatTop | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 966 of file Calibration.cc.
| unsigned int MiniballCalibration::GetMWDRise | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 952 of file Calibration.cc.
| unsigned int MiniballCalibration::GetMWDWindow | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch ) |
Definition at line 994 of file Calibration.cc.
|
inline |
Definition at line 151 of file Calibration.hh.
| void MiniballCalibration::PrintCalibration | ( | ) |
| void MiniballCalibration::ReadCalibration | ( | ) |
Definition at line 214 of file Calibration.cc.
| void MiniballCalibration::SetCFDDelay | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| unsigned int | delay ) |
Definition at line 863 of file Calibration.cc.
| void MiniballCalibration::SetCFDFraction | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| float | fraction ) |
Definition at line 848 of file Calibration.cc.
| void MiniballCalibration::SetCFDHoldOff | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| unsigned int | hold ) |
Definition at line 878 of file Calibration.cc.
| void MiniballCalibration::SetCFDIntegrationTime | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| unsigned int | integration ) |
Definition at line 908 of file Calibration.cc.
| void MiniballCalibration::SetCFDShapingTime | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| unsigned int | shaping ) |
Definition at line 893 of file Calibration.cc.
| void MiniballCalibration::SetCFDThreshold | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| int | threshold ) |
Definition at line 923 of file Calibration.cc.
|
inline |
Definition at line 208 of file Calibration.hh.
|
inline |
Definition at line 148 of file Calibration.hh.
Referenced by MiniballCalibration().
| void MiniballCalibration::SetMWDBaseline | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| unsigned int | baseline_length ) |
Definition at line 818 of file Calibration.cc.
| void MiniballCalibration::SetMWDDecay | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| unsigned int | decay ) |
Definition at line 773 of file Calibration.cc.
| void MiniballCalibration::SetMWDFlatTop | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| unsigned int | top ) |
Definition at line 803 of file Calibration.cc.
| void MiniballCalibration::SetMWDRise | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| unsigned int | rise ) |
Definition at line 788 of file Calibration.cc.
| void MiniballCalibration::SetMWDWindow | ( | unsigned char | sfp, |
| unsigned char | board, | ||
| unsigned char | ch, | ||
| unsigned int | window ) |
Definition at line 833 of file Calibration.cc.
|
private |
Definition at line 262 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 261 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 263 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 265 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 264 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 266 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 259 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 256 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 257 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 258 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 260 of file Calibration.hh.
Referenced by ReadCalibration().
|
private |
Definition at line 216 of file Calibration.hh.
Referenced by MiniballCalibration(), ReadCalibration(), and SetDefaultQint().
|
private |
Definition at line 223 of file Calibration.hh.
Referenced by AdcEnergy(), AdcGain(), and ReadCalibration().
|
private |
Definition at line 224 of file Calibration.hh.
Referenced by AdcGainQuadr(), and ReadCalibration().
|
private |
Definition at line 222 of file Calibration.hh.
Referenced by AdcEnergy(), AdcOffset(), and ReadCalibration().
|
private |
Definition at line 225 of file Calibration.hh.
Referenced by AdcThreshold(), and ReadCalibration().
|
private |
Definition at line 221 of file Calibration.hh.
Referenced by AdcTime(), and ReadCalibration().
|
private |
Definition at line 230 of file Calibration.hh.
Referenced by DgfEnergy(), DgfGain(), and ReadCalibration().
|
private |
Definition at line 231 of file Calibration.hh.
Referenced by DgfEnergy(), DgfGainQuadr(), and ReadCalibration().
|
private |
Definition at line 229 of file Calibration.hh.
Referenced by DgfEnergy(), DgfOffset(), and ReadCalibration().
|
private |
Definition at line 232 of file Calibration.hh.
Referenced by DgfThreshold(), and ReadCalibration().
|
private |
Definition at line 228 of file Calibration.hh.
Referenced by DgfTime(), and ReadCalibration().
|
private |
Definition at line 248 of file Calibration.hh.
Referenced by DoMWD(), GetCFDDelay(), ReadCalibration(), and SetCFDDelay().
|
private |
Definition at line 253 of file Calibration.hh.
Referenced by DoMWD(), GetCFDFraction(), ReadCalibration(), and SetCFDFraction().
|
private |
Definition at line 249 of file Calibration.hh.
Referenced by DoMWD(), GetCFDHoldOff(), ReadCalibration(), and SetCFDHoldOff().
|
private |
Definition at line 251 of file Calibration.hh.
Referenced by DoMWD(), GetCFDIntegrationTime(), ReadCalibration(), and SetCFDIntegrationTime().
|
private |
Definition at line 250 of file Calibration.hh.
Referenced by DoMWD(), GetCFDShapingTime(), ReadCalibration(), and SetCFDShapingTime().
|
private |
Definition at line 252 of file Calibration.hh.
Referenced by DoMWD(), GetCFDThreshold(), ReadCalibration(), and SetCFDThreshold().
|
private |
Definition at line 238 of file Calibration.hh.
Referenced by FebexEnergy(), FebexGain(), and ReadCalibration().
|
private |
Definition at line 239 of file Calibration.hh.
Referenced by FebexEnergy(), FebexGainQuadr(), and ReadCalibration().
|
private |
Definition at line 246 of file Calibration.hh.
Referenced by DoMWD(), GetMWDBaseline(), ReadCalibration(), and SetMWDBaseline().
|
private |
Definition at line 243 of file Calibration.hh.
Referenced by DoMWD(), GetMWDDecay(), ReadCalibration(), and SetMWDDecay().
|
private |
Definition at line 244 of file Calibration.hh.
Referenced by DoMWD(), GetMWDRise(), ReadCalibration(), and SetMWDRise().
|
private |
Definition at line 245 of file Calibration.hh.
Referenced by DoMWD(), GetMWDFlatTop(), ReadCalibration(), and SetMWDFlatTop().
|
private |
Definition at line 247 of file Calibration.hh.
Referenced by DoMWD(), GetMWDWindow(), ReadCalibration(), and SetMWDWindow().
|
private |
Definition at line 237 of file Calibration.hh.
Referenced by FebexEnergy(), FebexOffset(), and ReadCalibration().
|
private |
Definition at line 240 of file Calibration.hh.
Referenced by FebexThreshold(), and ReadCalibration().
|
private |
Definition at line 236 of file Calibration.hh.
Referenced by FebexTime(), and ReadCalibration().
|
private |
Definition at line 235 of file Calibration.hh.
Referenced by FebexType(), and ReadCalibration().
|
private |
Definition at line 213 of file Calibration.hh.
Referenced by InputFile(), ReadCalibration(), and SetFile().
|
private |
Definition at line 214 of file Calibration.hh.
Referenced by AdcEnergy(), DgfEnergy(), FebexEnergy(), and MiniballCalibration().
|
private |
Definition at line 218 of file Calibration.hh.
Referenced by MiniballCalibration(), and ReadCalibration().