CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
OpticalAlignMeasurementInfo GetMeasFromTilt(AliDaqTilt *tilt)
bool ReadEvent(int nev) override
OpticalAlignMeasurementInfo GetMeasFromDist(AliDaqDistance *dist)
~CocoaDaqReaderRoot() override
CocoaDaqReaderRoot(const std::string &m_inFileName)
CocoaDaqRootEvent * theEvent
bool ReadNextEvent() override
OpticalAlignMeasurementInfo GetMeasFromPositionCOPS(AliDaqPositionCOPS *posCOPS)
void BuildMeasurementsFromOptAlign(std::vector< OpticalAlignMeasurementInfo > &measList) override
OpticalAlignMeasurementInfo GetMeasFromPosition2D(AliDaqPosition2D *pos2D)