CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 );
17  virtual bool ReadNextEvent() override;
18  virtual bool ReadEvent( int nev ) override;
19  virtual void BuildMeasurementsFromOptAlign( std::vector<OpticalAlignMeasurementInfo>& measList ) override;
20 
21  public:
22  int GetNEvents() const { return nev; }
23  private:
28 
29  private:
31  TFile* theFile;
32  TTree* theTree;
33  int nev;
34  int nextEvent;
35 };
36 
37 #endif
OpticalAlignMeasurementInfo GetMeasFromTilt(AliDaqTilt *tilt)
virtual bool ReadEvent(int nev) override
OpticalAlignMeasurementInfo GetMeasFromDist(AliDaqDistance *dist)
CocoaDaqReaderRoot(const std::string &m_inFileName)
CocoaDaqRootEvent * theEvent
virtual bool ReadNextEvent() override
OpticalAlignMeasurementInfo GetMeasFromPositionCOPS(AliDaqPositionCOPS *posCOPS)
virtual void BuildMeasurementsFromOptAlign(std::vector< OpticalAlignMeasurementInfo > &measList) override
OpticalAlignMeasurementInfo GetMeasFromPosition2D(AliDaqPosition2D *pos2D)