64 vector<pair<int, pair<int, int>>>
vecTree;
68 map<int32_t, map<int32_t, TreePos>>
treeMap;
74 BmnConverter(uint32_t threadCount = 0, uint32_t period = 8, TString outDir =
".",
bool tempFileOnDisk =
false);
84 BmnStatus FeedFile(TString name, Bool_t getRunId = kTRUE, Bool_t getSubName = kTRUE);
97 void SetSpillMap(map<SysPoint, BmnSpillInfo> spillMap) { fSpillMap = spillMap; }
99 map<SysPoint, BmnSpillInfo>
GetSpillMap() {
return fSpillMap; }
115 const TTimeStamp TimeZero = TTimeStamp(time_t(0), 0);
118 bool temp_file_on_disk;
129 string fDecoderConfigFileName;
130 TString fRawRunHdrName;
131 TString fMetadataName;
132 TString fRawTreeName;
133 TString fRawTreeSpillName;
134 TString fRootFileName;
135 TString fRootDirPath;
142 unique_ptr<DigiRunHeader> runHeader;
143 unique_ptr<BmnMetadataRaw> metadata;
144 unique_ptr<ROOT::TBufferMerger> fMerger;
146 vector<TObject*> fNamVec;
147 vector<TClonesArray*> fArrVec;
149 uint32_t data[10000000];
156 Bool_t fExportJsonBlocks;
158 map<TTimeStamp, Int_t> leaps;
159 TTimeStamp utc_valid;
162 map<SysPoint, BmnSpillInfo> fSpillMap;
166 Int_t GetSpillNumber(vector<SysPoint>* spillEnds, vector<SysPoint>* spillStarts,
SysPoint time);
167 Int_t GetSpillNumber(vector<SysPoint>* spillEnds, vector<SysPoint>* spillStarts, TTimeStamp time);
168 BmnStatus ConvertRawToRootIterateFileRead();
169 void QuickProcessEvent(UInt_t*
d, UInt_t& len);
170 void QuickConvertStatEvent(UInt_t* buf, UInt_t& len);
183 Int_t GetUTCShift(TTimeStamp t);