|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnTof701Raw2Digit.h>
Public Member Functions | |
| BmnTof701Raw2Digit () | |
| BmnTof701Raw2Digit (Int_t nPeriod, Int_t nRun, Int_t verbose) | |
| virtual | ~BmnTof701Raw2Digit () |
| 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 *Tof701digit) |
| BmnTof701Raw2Digit () | |
| BmnTof701Raw2Digit (Int_t nPeriod, Int_t nRun, Int_t verbose) | |
| virtual | ~BmnTof701Raw2Digit () |
| 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 *Tof701digit) |
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, BmnTof701TDCParameters > | TDCMap |
Definition at line 58 of file BmnTof701Raw2Digit.h.
| BmnTof701Raw2Digit::BmnTof701Raw2Digit | ( | ) |
Definition at line 66 of file BmnTof701Raw2Digit.cxx.
References init().
Referenced by ToGlobalChannel().
Definition at line 73 of file BmnTof701Raw2Digit.cxx.
References fVerbose, init(), and setRun().
|
virtual |
Definition at line 82 of file BmnTof701Raw2Digit.cxx.
| BmnTof701Raw2Digit::BmnTof701Raw2Digit | ( | ) |
|
virtual |
| void BmnTof701Raw2Digit::FillEvent | ( | TClonesArray * | data, |
| unordered_map< UInt_t, Long64_t > * | mapTS, | ||
| TClonesArray * | Tof701digit ) |
Definition at line 549 of file BmnTof701Raw2Digit.cxx.
References TCollection::begin(), BmnTof701TDCParameters::ChannelMap, TCollection::end(), fSerialForTS, fVerbose, TObjArray::GetEntries(), BmnTDCDigit::GetType(), i, BmnTof701TDCParameters::INL, PeriodIndex, PlacementMap, BmnTof701Map2::plane, RunIndex, BmnTof701Map2::side, BmnTof701Map2::strip, BmnTof701TDCParameters::t, TDCMap, TOF701_BIN_NUMBER, TOF701_CHANNEL_NUMBER, TOF701_MAX_TIME, TOF701_TDC_TYPE, TOF701_TDCVXS_TYPE, and ToGlobalChannel().
| void BmnTof701Raw2Digit::FillEvent | ( | TClonesArray * | data, |
| unordered_map< UInt_t, Long64_t > * | mapTS, | ||
| TClonesArray * | Tof701digit ) |
|
private |
Definition at line 86 of file BmnTof701Raw2Digit.cxx.
Referenced by BmnTof701Raw2Digit(), and BmnTof701Raw2Digit().
|
private |
References fSerialForTS, fVerbose, PeriodIndex, PlacementMap, RunIndex, and TDCMap.
Definition at line 59 of file BmnTof701Raw2Digit.cxx.
References PlacementMap.
Referenced by setMapFromFile(), and setRun().
|
inline |
Definition at line 72 of file BmnTof701Raw2Digit.h.
|
inline |
Definition at line 72 of file BmnTof701Raw2Digit.h.
| void BmnTof701Raw2Digit::saveINLToFile | ( | std::string | INLFile, |
| unsigned int | TDCSerial ) |
| void BmnTof701Raw2Digit::saveINLToFile | ( | std::string | INLFile, |
| unsigned int | TDCSerial ) |
| void BmnTof701Raw2Digit::saveMapToFile | ( | std::string | placementMapFile, |
| std::string | mapFile ) |
| void BmnTof701Raw2Digit::saveMapToFile | ( | std::string | placementMapFile, |
| std::string | mapFile ) |
| void BmnTof701Raw2Digit::setINLFromFile | ( | std::string | INLFile | ) |
| void BmnTof701Raw2Digit::setINLFromFile | ( | std::string | INLFile | ) |
Definition at line 276 of file BmnTof701Raw2Digit.cxx.
References ANSI_COLOR_RED, ANSI_COLOR_RESET, TString::Data(), ff, fVerbose, BmnTof701Map2::plane, plmap_insert(), BmnTof701Map2::side, BmnTof701Map2::strip, TDCMap, TOF701_LEFT, and TOF701_RIGHT.
Definition at line 100 of file BmnTof701Raw2Digit.cxx.
References ANSI_COLOR_BLUE, ANSI_COLOR_RED, ANSI_COLOR_RESET, MapDVectorValue::channel, MapIntValue::channel, fVerbose, UniDetectorParameter::GetDetectorParameter(), UniDetectorParameter::GetValue(), i, TdcInlValue::inl, PeriodIndex, BmnTof701Map2::plane, plmap_insert(), RunIndex, MapDVectorValue::serial, MapIntValue::serial, TdcInlValue::serial, BmnTof701Map2::side, BmnTof701Map2::strip, TDCMap, TOF701_BIN_NUMBER, TOF701_CHANNEL_NUMBER, TOF701_LEFT, TOF701_RIGHT, MapDVectorValue::value, and MapIntValue::value.
Referenced by BmnTof701Raw2Digit().
|
inline |
Definition at line 73 of file BmnTof701Raw2Digit.h.
References fVerbose.
|
inline |
Definition at line 73 of file BmnTof701Raw2Digit.h.
References fVerbose.
Definition at line 93 of file BmnTof701Raw2Digit.cxx.
Referenced by FillEvent().
|
private |
Definition at line 83 of file BmnTof701Raw2Digit.h.
Referenced by FillEvent(), and init().
|
private |
Definition at line 82 of file BmnTof701Raw2Digit.h.
Referenced by BmnTof701Raw2Digit(), FillEvent(), init(), setMapFromFile(), setRun(), and setVerbose().
|
private |
Definition at line 82 of file BmnTof701Raw2Digit.h.
Referenced by FillEvent(), init(), and setRun().
Definition at line 84 of file BmnTof701Raw2Digit.h.
Referenced by FillEvent(), init(), and plmap_insert().
|
private |
Definition at line 82 of file BmnTof701Raw2Digit.h.
Referenced by FillEvent(), init(), and setRun().
|
private |
Definition at line 86 of file BmnTof701Raw2Digit.h.
Referenced by FillEvent(), init(), setMapFromFile(), and setRun().