CMS 3D CMS Logo

CocoaDaqReaderRoot.h
Go to the documentation of this file.
1 #ifndef CocoaDaqReaderRoot_h
2 #define CocoaDaqReaderRoot_h
3 #include "TFile.h"
4 #include "TTree.h"
7 class AliDaqPosition2D;
9 class AliDaqTilt;
10 class AliDaqDistance;
12 
14 public:
15  CocoaDaqReaderRoot(const std::string& m_inFileName);
16  ~CocoaDaqReaderRoot() override;
17  bool ReadNextEvent() override;
18  bool ReadEvent(int nev) override;
19  void BuildMeasurementsFromOptAlign(std::vector<OpticalAlignMeasurementInfo>& measList) override;
20 
21 public:
22  int GetNEvents() const { return nev; }
23 
24 private:
29 
30 private:
32  TFile* theFile;
33  TTree* theTree;
34  int nev;
35  int nextEvent;
36 };
37 
38 #endif
CocoaDaqReaderRoot::GetMeasFromPositionCOPS
OpticalAlignMeasurementInfo GetMeasFromPositionCOPS(AliDaqPositionCOPS *posCOPS)
Definition: CocoaDaqReaderRoot.cc:151
CocoaDaqReaderRoot::GetMeasFromPosition2D
OpticalAlignMeasurementInfo GetMeasFromPosition2D(AliDaqPosition2D *pos2D)
Definition: CocoaDaqReaderRoot.cc:121
CocoaDaqReaderRoot
Definition: CocoaDaqReaderRoot.h:13
CocoaDaqReaderRoot::BuildMeasurementsFromOptAlign
void BuildMeasurementsFromOptAlign(std::vector< OpticalAlignMeasurementInfo > &measList) override
Definition: CocoaDaqReaderRoot.cc:242
CocoaDaqReader
Definition: CocoaDaqReader.h:8
CocoaDaqReaderRoot::GetNEvents
int GetNEvents() const
Definition: CocoaDaqReaderRoot.h:22
AliDaqTilt
Definition: CocoaDaqRootEvent.h:108
CocoaDaqReaderRoot::ReadNextEvent
bool ReadNextEvent() override
Definition: CocoaDaqReaderRoot.cc:55
AliDaqPositionCOPS
Definition: CocoaDaqRootEvent.h:65
CocoaDaqReaderRoot::ReadEvent
bool ReadEvent(int nev) override
Definition: CocoaDaqReaderRoot.cc:58
AliDaqDistance
Definition: CocoaDaqRootEvent.h:128
CocoaDaqReaderRoot::theEvent
CocoaDaqRootEvent * theEvent
Definition: CocoaDaqReaderRoot.h:31
CocoaDaqReaderRoot::GetMeasFromTilt
OpticalAlignMeasurementInfo GetMeasFromTilt(AliDaqTilt *tilt)
Definition: CocoaDaqReaderRoot.cc:194
CocoaDaqReaderRoot::GetMeasFromDist
OpticalAlignMeasurementInfo GetMeasFromDist(AliDaqDistance *dist)
Definition: CocoaDaqReaderRoot.cc:218
CocoaDaqReaderRoot::~CocoaDaqReaderRoot
~CocoaDaqReaderRoot() override
Definition: CocoaDaqReaderRoot.cc:52
CocoaDaqReaderRoot::theTree
TTree * theTree
Definition: CocoaDaqReaderRoot.h:33
CocoaDaqReader.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
AliDaqPosition2D
Definition: CocoaDaqRootEvent.h:40
CocoaDaqRootEvent
Definition: CocoaDaqRootEvent.h:169
CocoaDaqReaderRoot::nextEvent
int nextEvent
Definition: CocoaDaqReaderRoot.h:35
OpticalAlignMeasurementInfo
Definition: OpticalAlignMeasurementInfo.h:28
CocoaDaqReaderRoot::nev
int nev
Definition: CocoaDaqReaderRoot.h:34
CocoaDaqReaderRoot::CocoaDaqReaderRoot
CocoaDaqReaderRoot(const std::string &m_inFileName)
Definition: CocoaDaqReaderRoot.cc:16
CocoaDaqReaderRoot::theFile
TFile * theFile
Definition: CocoaDaqReaderRoot.h:32