|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnMscRaw2Digit.h>
Private Attributes | |
| BmnSetup | fBmnSetup |
| Bool_t | isValidSpillLog |
| UInt_t | fPeriodId |
| UInt_t | fRunId |
| map< TDatime, vector< Int_t > > | spill_map |
| UInt_t | iSpillMap = 0u |
| TDatime | dtStart |
| TDatime | dtEnd |
| Int_t | fLogShift |
| Int_t | fVerbose = 0 |
| BmnTrigInfo | fTempTI |
| vector< MscMap > | fMap |
| ifstream | fMapFile |
| TString | fMapFileName |
| unordered_map< UInt_t, vector< uint64_t > > | fBoardSums |
| TTree * | fRawSpillTree = nullptr |
| TTree * | fDigSpillTree = nullptr |
| UInt_t | iSpill = 0u |
| ULong64_t | fBT = 0u |
| ULong64_t | fBTnBusy = 0u |
| ULong64_t | fAccepted = 0u |
| ULong64_t | fProtection = 0u |
| ULong64_t | fL0 = 0u |
| Double_t | fBTAccepted = 0.0 |
| ULong64_t | fBC1 = 0u |
| ULong64_t | fBC2 = 0u |
| ULong64_t | fBC3 = 0u |
Definition at line 46 of file BmnMscRaw2Digit.h.
| BmnMscRaw2Digit::BmnMscRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | mappingFile, | ||
| TTree * | spillTree = nullptr, | ||
| TTree * | digiSpillTree = nullptr ) |
Definition at line 9 of file BmnMscRaw2Digit.cxx.
References TString::Contains(), fBmnSetup, fPeriodId, fRunId, isValidSpillLog, kBMNSETUP, kBMNSUCCESS, kSRCSETUP, ParseTxtSpillLog(), ReadChannelMap(), SetDigSpillTree(), and SetRawSpillTree().
|
inline |
Definition at line 54 of file BmnMscRaw2Digit.h.
|
inlinevirtual |
Definition at line 56 of file BmnMscRaw2Digit.h.
References fMap.
| BmnMscRaw2Digit::BmnMscRaw2Digit | ( | Int_t | period, |
| Int_t | run, | ||
| TString | mappingFile, | ||
| TTree * | spillTree = nullptr, | ||
| TTree * | digiSpillTree = nullptr ) |
|
inline |
Definition at line 54 of file BmnMscRaw2Digit.h.
|
inlinevirtual |
Definition at line 56 of file BmnMscRaw2Digit.h.
References fMap.
| void BmnMscRaw2Digit::FillRunHeader | ( | DigiRunHeader * | rh | ) |
Definition at line 164 of file BmnMscRaw2Digit.cxx.
References fAccepted, fBoardSums, fBT, fBTAccepted, fBTnBusy, fL0, DigiRunHeader::SetAccepted(), DigiRunHeader::SetBT(), DigiRunHeader::SetBTAccepted(), DigiRunHeader::SetBTnBusy(), DigiRunHeader::SetL0(), and DigiRunHeader::SetRawMSC().
| void BmnMscRaw2Digit::FillRunHeader | ( | DigiRunHeader * | rh | ) |
|
inline |
Definition at line 73 of file BmnMscRaw2Digit.h.
References fDigSpillTree.
|
inline |
Definition at line 73 of file BmnMscRaw2Digit.h.
References fDigSpillTree.
|
inline |
Definition at line 71 of file BmnMscRaw2Digit.h.
References fRawSpillTree.
|
inline |
Definition at line 71 of file BmnMscRaw2Digit.h.
References fRawSpillTree.
Definition at line 75 of file BmnMscRaw2Digit.cxx.
References TObjArray::Add(), structParseValue::arrValues, UniSearchCondition::columnBeamParticle, UniSearchCondition::columnPeriodNumber, UniSearchCondition::columnTargetParticle, UniSearchCondition::conditionEqual, TDatime::Convert(), dtEnd, structParseValue::dtSpillEnd, dtStart, fBmnSetup, fLogShift, fPeriodId, fRunId, fVerbose, UniRun::GetEndDatetime(), TObjArray::GetEntries(), ElogRecord::GetRecords(), UniRun::GetRun(), UniRun::GetStartDatetime(), kBMNERROR, kBMNSETUP, kBMNSUCCESS, UniParser::ParseTxt2Struct(), TDatime::Set(), TCollection::SetOwner(), and spill_map.
Referenced by BmnMscRaw2Digit().
Definition at line 28 of file BmnMscRaw2Digit.cxx.
References MscMap::BC1, MscMap::BC1BP, MscMap::BC1H, MscMap::BC1nBusy, MscMap::BC1xBC2, MscMap::BC2, MscMap::BC3, MscMap::BT, MscMap::BTnBusy, fMap, fMapFile, fMapFileName, MscMap::IntTrig, kBMNERROR, kBMNSUCCESS, MscMap::L0, MscMap::serial, MscMap::slot, slot, MscMap::SRCTrig, MscMap::TriggerProtection, and MscMap::TrignBusy.
Referenced by BmnMscRaw2Digit().
|
inline |
Definition at line 82 of file BmnMscRaw2Digit.h.
References fDigSpillTree.
Referenced by BmnMscRaw2Digit().
|
inline |
Definition at line 82 of file BmnMscRaw2Digit.h.
References fDigSpillTree.
|
inline |
Definition at line 75 of file BmnMscRaw2Digit.h.
References fRawSpillTree, and iSpill.
Referenced by BmnMscRaw2Digit().
|
inline |
Definition at line 75 of file BmnMscRaw2Digit.h.
References fRawSpillTree, and iSpill.
| BmnStatus BmnMscRaw2Digit::SumEvent | ( | TClonesArray * | msc, |
| BmnEventHeader * | hdr, | ||
| BmnSpillHeader * | sh, | ||
| UInt_t & | nPedEvBySpill ) |
Definition at line 177 of file BmnMscRaw2Digit.cxx.
References kBMNSUCCESS.
| BmnStatus BmnMscRaw2Digit::SumEvent | ( | TClonesArray * | msc, |
| BmnEventHeader * | hdr, | ||
| BmnSpillHeader * | sh, | ||
| UInt_t & | nPedEvBySpill ) |
| BmnStatus BmnMscRaw2Digit::SumEvent7 | ( | TClonesArray * | msc, |
| BmnEventHeader * | hdr, | ||
| BmnSpillHeader * | sh, | ||
| UInt_t & | nPedEvBySpill ) |
flux ~= sum [BT * (DAQ_Busy -peds)/ (DAQ_TRigger - peds)]
Definition at line 199 of file BmnMscRaw2Digit.cxx.
References ANSI_COLOR_BLUE, ANSI_COLOR_RESET, TObjArray::At(), BmnSpillHeader::Clear(), fAccepted, fBmnSetup, fBT, fBTAccepted, fBTnBusy, fDigSpillTree, fL0, fMap, fPeriodId, fProtection, fRawSpillTree, fVerbose, TObjArray::GetEntriesFast(), BmnEventHeader::GetEventId(), BmnEventHeader::GetEventTimeTS(), BmnMSCDigit< IntType >::GetLastEventId(), BmnEventHeader::GetPeriodId(), BmnMSCDigit< IntType >::GetSerial(), BmnTrigInfo::GetTrigAccepted(), BmnTrigInfo::GetTrigAfter(), BmnTrigInfo::GetTrigAll(), BmnTrigInfo::GetTrigAvail(), BmnTrigInfo::GetTrigBefo(), BmnTrigInfo::GetTrigCand(), BmnEventHeader::GetTrigInfo(), BmnTrigInfo::GetTrigRjct(), BmnMSCDigit< IntType >::GetValue(), iSpill, iSpillMap, isValidSpillLog, kBMNERROR, kBMNFINISH, kBMNSUCCESS, kSRCSETUP, TTimeStamp::Print(), BmnSpillHeader::SetAccepted(), BmnSpillHeader::SetAfter(), BmnSpillHeader::SetAll(), BmnSpillHeader::SetAvail(), BmnSpillHeader::SetBC1(), BmnSpillHeader::SetBC2(), BmnSpillHeader::SetBC3(), BmnSpillHeader::SetBefo(), BmnSpillHeader::SetBT(), BmnSpillHeader::SetBTnBusy(), BmnSpillHeader::SetCand(), BmnSpillHeader::SetL0(), BmnSpillHeader::SetLastEventId(), BmnSpillHeader::SetPeriodId(), BmnSpillHeader::SetProt(), BmnSpillHeader::SetRjct(), BmnSpillHeader::SetStopTS(), spill_map, and v.
| BmnStatus BmnMscRaw2Digit::SumEvent7 | ( | TClonesArray * | msc, |
| BmnEventHeader * | hdr, | ||
| BmnSpillHeader * | sh, | ||
| UInt_t & | nPedEvBySpill ) |
| BmnStatus BmnMscRaw2Digit::SumEventTemp | ( | TClonesArray * | msc | ) |
| BmnStatus BmnMscRaw2Digit::SumEventTemp | ( | TClonesArray * | msc | ) |
|
private |
Definition at line 92 of file BmnMscRaw2Digit.h.
Referenced by ParseTxtSpillLog().
|
private |
Definition at line 91 of file BmnMscRaw2Digit.h.
Referenced by ParseTxtSpillLog().
|
private |
Definition at line 111 of file BmnMscRaw2Digit.h.
Referenced by FillRunHeader(), and SumEvent7().
|
private |
Definition at line 115 of file BmnMscRaw2Digit.h.
|
private |
Definition at line 116 of file BmnMscRaw2Digit.h.
|
private |
Definition at line 117 of file BmnMscRaw2Digit.h.
|
private |
Definition at line 85 of file BmnMscRaw2Digit.h.
Referenced by BmnMscRaw2Digit(), ParseTxtSpillLog(), and SumEvent7().
|
private |
Definition at line 103 of file BmnMscRaw2Digit.h.
Referenced by FillRunHeader().
|
private |
Definition at line 109 of file BmnMscRaw2Digit.h.
Referenced by FillRunHeader(), and SumEvent7().
|
private |
Definition at line 114 of file BmnMscRaw2Digit.h.
Referenced by FillRunHeader(), and SumEvent7().
|
private |
Definition at line 110 of file BmnMscRaw2Digit.h.
Referenced by FillRunHeader(), and SumEvent7().
|
private |
Definition at line 106 of file BmnMscRaw2Digit.h.
Referenced by GetDigSpillTree(), SetDigSpillTree(), and SumEvent7().
|
private |
Definition at line 113 of file BmnMscRaw2Digit.h.
Referenced by FillRunHeader(), and SumEvent7().
|
private |
Definition at line 93 of file BmnMscRaw2Digit.h.
Referenced by ParseTxtSpillLog().
|
private |
Definition at line 99 of file BmnMscRaw2Digit.h.
Referenced by ~BmnMscRaw2Digit(), ReadChannelMap(), and SumEvent7().
|
private |
Definition at line 100 of file BmnMscRaw2Digit.h.
Referenced by ReadChannelMap().
|
private |
Definition at line 101 of file BmnMscRaw2Digit.h.
Referenced by ReadChannelMap().
|
private |
Definition at line 87 of file BmnMscRaw2Digit.h.
Referenced by BmnMscRaw2Digit(), ParseTxtSpillLog(), and SumEvent7().
|
private |
Definition at line 112 of file BmnMscRaw2Digit.h.
Referenced by SumEvent7().
|
private |
Definition at line 105 of file BmnMscRaw2Digit.h.
Referenced by GetRawSpillTree(), SetRawSpillTree(), and SumEvent7().
|
private |
Definition at line 88 of file BmnMscRaw2Digit.h.
Referenced by BmnMscRaw2Digit(), and ParseTxtSpillLog().
|
private |
Definition at line 97 of file BmnMscRaw2Digit.h.
|
private |
Definition at line 95 of file BmnMscRaw2Digit.h.
Referenced by ParseTxtSpillLog(), and SumEvent7().
|
private |
Definition at line 107 of file BmnMscRaw2Digit.h.
Referenced by SetRawSpillTree(), and SumEvent7().
|
private |
Definition at line 90 of file BmnMscRaw2Digit.h.
Referenced by SumEvent7().
|
private |
Definition at line 86 of file BmnMscRaw2Digit.h.
Referenced by BmnMscRaw2Digit(), and SumEvent7().
Definition at line 89 of file BmnMscRaw2Digit.h.
Referenced by ParseTxtSpillLog(), and SumEvent7().