|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnTof1Raw2Digit.h>
Public Member Functions | |
| BmnTof1Raw2Digit () | |
| BmnTof1Raw2Digit (Int_t nPeriod, Int_t nRun, Int_t verbose) | |
| virtual | ~BmnTof1Raw2Digit () |
| Bool_t | setRun (Int_t nPerion, Int_t nRun) |
| Bool_t | setMapFromFile (TString placementMapFile, TString mapFile) |
| void | saveMapToFile (std::string placementMapFile, std::string mapFile) |
| void | setINLFromFile (std::string INLFile) |
| void | saveINLToFile (std::string INLFile, unsigned int TDCSerial) |
| void | print () |
| void | setVerbose (Int_t verbose) |
| void | FillEvent (TClonesArray *data, unordered_map< UInt_t, Long64_t > *mapTS, TClonesArray *tof1digit) |
| BmnTof1Raw2Digit () | |
| BmnTof1Raw2Digit (Int_t nPeriod, Int_t nRun, Int_t verbose) | |
| virtual | ~BmnTof1Raw2Digit () |
| Bool_t | setRun (Int_t nPerion, Int_t nRun) |
| Bool_t | setMapFromFile (TString placementMapFile, TString mapFile) |
| void | saveMapToFile (std::string placementMapFile, std::string mapFile) |
| void | setINLFromFile (std::string INLFile) |
| void | saveINLToFile (std::string INLFile, unsigned int TDCSerial) |
| void | print () |
| void | setVerbose (Int_t verbose) |
| void | FillEvent (TClonesArray *data, unordered_map< UInt_t, Long64_t > *mapTS, TClonesArray *tof1digit) |
Static Public Member Functions | |
| static UShort_t | ToGlobalChannel (UChar_t HptdcId, UChar_t channel) |
| static UShort_t | ToGlobalChannel (UChar_t HptdcId, UChar_t channel) |
Private Member Functions | |
| void | init () |
| void | plmap_insert (UInt_t Serial, UChar_t Slot, UInt_t TDCSerial) |
| void | init () |
| void | plmap_insert (UInt_t Serial, UChar_t Slot, UInt_t TDCSerial) |
Private Attributes | |
| Int_t | RunIndex |
| Int_t | PeriodIndex |
| Int_t | fVerbose |
| UInt_t | fSerialForTS |
| std::map< std::pair< UInt_t, UChar_t >, UInt_t > | PlacementMap |
| std::map< UInt_t, BmnTof1TDCParameters > | TDCMap |
Definition at line 58 of file BmnTof1Raw2Digit.h.
| BmnTof1Raw2Digit::BmnTof1Raw2Digit | ( | ) |
Definition at line 67 of file BmnTof1Raw2Digit.cxx.
References init().
Referenced by ToGlobalChannel().
Definition at line 74 of file BmnTof1Raw2Digit.cxx.
References fVerbose, init(), and setRun().
|
virtual |
Definition at line 83 of file BmnTof1Raw2Digit.cxx.
| BmnTof1Raw2Digit::BmnTof1Raw2Digit | ( | ) |
|
virtual |
| void BmnTof1Raw2Digit::FillEvent | ( | TClonesArray * | data, |
| unordered_map< UInt_t, Long64_t > * | mapTS, | ||
| TClonesArray * | tof1digit ) |
Definition at line 507 of file BmnTof1Raw2Digit.cxx.
References TCollection::begin(), BmnTof1TDCParameters::ChannelMap, TCollection::end(), fSerialForTS, fVerbose, TObjArray::GetEntries(), BmnTDCDigit::GetType(), i, BmnTof1TDCParameters::INL, PeriodIndex, PlacementMap, BmnTof1Map2::plane, RunIndex, BmnTof1Map2::side, BmnTof1Map2::strip, BmnTof1TDCParameters::t, TDCMap, TOF1_BIN_NUMBER, TOF1_CHANNEL_NUMBER, TOF1_MAX_TIME, TOF1_TDC_TYPE, TOF1_TDCVXS_TYPE, and ToGlobalChannel().
| void BmnTof1Raw2Digit::FillEvent | ( | TClonesArray * | data, |
| unordered_map< UInt_t, Long64_t > * | mapTS, | ||
| TClonesArray * | tof1digit ) |
|
private |
Definition at line 87 of file BmnTof1Raw2Digit.cxx.
Referenced by BmnTof1Raw2Digit(), and BmnTof1Raw2Digit().
|
private |
References fSerialForTS, fVerbose, PeriodIndex, PlacementMap, RunIndex, and TDCMap.
Definition at line 60 of file BmnTof1Raw2Digit.cxx.
References PlacementMap.
Referenced by setMapFromFile(), and setRun().
|
inline |
Definition at line 72 of file BmnTof1Raw2Digit.h.
|
inline |
Definition at line 72 of file BmnTof1Raw2Digit.h.
| void BmnTof1Raw2Digit::saveINLToFile | ( | std::string | INLFile, |
| unsigned int | TDCSerial ) |
| void BmnTof1Raw2Digit::saveINLToFile | ( | std::string | INLFile, |
| unsigned int | TDCSerial ) |
| void BmnTof1Raw2Digit::saveMapToFile | ( | std::string | placementMapFile, |
| std::string | mapFile ) |
| void BmnTof1Raw2Digit::saveMapToFile | ( | std::string | placementMapFile, |
| std::string | mapFile ) |
| void BmnTof1Raw2Digit::setINLFromFile | ( | std::string | INLFile | ) |
| void BmnTof1Raw2Digit::setINLFromFile | ( | std::string | INLFile | ) |
Definition at line 264 of file BmnTof1Raw2Digit.cxx.
References ANSI_COLOR_BLUE, ANSI_COLOR_RED, ANSI_COLOR_RESET, TString::Data(), ff, BmnTof1Map2::plane, plmap_insert(), BmnTof1Map2::side, BmnTof1Map2::strip, TDCMap, TOF1_LEFT, and TOF1_RIGHT.
Definition at line 101 of file BmnTof1Raw2Digit.cxx.
References ANSI_COLOR_BLUE, ANSI_COLOR_RED, ANSI_COLOR_RESET, MapDVectorValue::channel, MapIntValue::channel, UniDetectorParameter::GetDetectorParameter(), UniDetectorParameter::GetValue(), i, TdcInlValue::inl, PeriodIndex, BmnTof1Map2::plane, plmap_insert(), RunIndex, MapDVectorValue::serial, MapIntValue::serial, TdcInlValue::serial, BmnTof1Map2::side, BmnTof1Map2::strip, TDCMap, TOF1_BIN_NUMBER, TOF1_CHANNEL_NUMBER, TOF1_LEFT, TOF1_RIGHT, MapDVectorValue::value, and MapIntValue::value.
Referenced by BmnTof1Raw2Digit().
|
inline |
Definition at line 73 of file BmnTof1Raw2Digit.h.
References fVerbose.
|
inline |
Definition at line 73 of file BmnTof1Raw2Digit.h.
References fVerbose.
Definition at line 94 of file BmnTof1Raw2Digit.cxx.
Referenced by FillEvent().
|
private |
Definition at line 83 of file BmnTof1Raw2Digit.h.
Referenced by FillEvent(), and init().
|
private |
Definition at line 82 of file BmnTof1Raw2Digit.h.
Referenced by BmnTof1Raw2Digit(), FillEvent(), init(), and setVerbose().
|
private |
Definition at line 82 of file BmnTof1Raw2Digit.h.
Referenced by FillEvent(), init(), and setRun().
Definition at line 84 of file BmnTof1Raw2Digit.h.
Referenced by FillEvent(), init(), and plmap_insert().
|
private |
Definition at line 82 of file BmnTof1Raw2Digit.h.
Referenced by FillEvent(), init(), and setRun().
|
private |
Definition at line 86 of file BmnTof1Raw2Digit.h.
Referenced by FillEvent(), init(), setMapFromFile(), and setRun().