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();
18  virtual bool ReadEvent( int nev );
19  virtual void BuildMeasurementsFromOptAlign( std::vector<OpticalAlignMeasurementInfo>& measList );
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)
OpticalAlignMeasurementInfo GetMeasFromDist(AliDaqDistance *dist)
CocoaDaqReaderRoot(const std::string &m_inFileName)
virtual void BuildMeasurementsFromOptAlign(std::vector< OpticalAlignMeasurementInfo > &measList)
CocoaDaqRootEvent * theEvent
virtual bool ReadNextEvent()
OpticalAlignMeasurementInfo GetMeasFromPositionCOPS(AliDaqPositionCOPS *posCOPS)
virtual bool ReadEvent(int nev)
OpticalAlignMeasurementInfo GetMeasFromPosition2D(AliDaqPosition2D *pos2D)