CMS 3D CMS Logo

CocoaDaqReader.h
Go to the documentation of this file.
1 #ifndef CocoaDaqReader_h
2 #define CocoaDaqReader_h
3 #include <string>
4 #include <vector>
5 
7 
9 public:
12  static void SetDaqReader(CocoaDaqReader* reader);
13 
14  virtual ~CocoaDaqReader(){};
15 
16  virtual bool ReadNextEvent() = 0;
17  virtual bool ReadEvent(int nev) { return false; };
18  virtual void BuildMeasurementsFromOptAlign(std::vector<OpticalAlignMeasurementInfo>& measList);
19 
20 public:
21  int GetNEvents() const { return nev; }
22 
23 private:
25 
26 protected:
27  int nev;
28  int nextEvent;
29 };
30 
31 #endif
CocoaDaqReader
Definition: CocoaDaqReader.h:8
CocoaDaqReader::CocoaDaqReader
CocoaDaqReader()
Definition: CocoaDaqReader.h:10
CocoaDaqReader::~CocoaDaqReader
virtual ~CocoaDaqReader()
Definition: CocoaDaqReader.h:14
CocoaDaqReader::BuildMeasurementsFromOptAlign
virtual void BuildMeasurementsFromOptAlign(std::vector< OpticalAlignMeasurementInfo > &measList)
Definition: CocoaDaqReader.cc:17
DQM.reader
reader
Definition: DQM.py:105
CocoaDaqReader::ReadEvent
virtual bool ReadEvent(int nev)
Definition: CocoaDaqReader.h:17
CocoaDaqReader::GetDaqReader
static CocoaDaqReader * GetDaqReader()
Definition: CocoaDaqReader.h:11
OpticalAlignMeasurementInfo
Definition: OpticalAlignMeasurementInfo.h:28
CocoaDaqReader::ReadNextEvent
virtual bool ReadNextEvent()=0
CocoaDaqReader::nextEvent
int nextEvent
Definition: CocoaDaqReader.h:28
CocoaDaqReader::nev
int nev
Definition: CocoaDaqReader.h:27
CocoaDaqReader::theDaqReader
static CocoaDaqReader * theDaqReader
Definition: CocoaDaqReader.h:24
CocoaDaqReader::SetDaqReader
static void SetDaqReader(CocoaDaqReader *reader)
Definition: CocoaDaqReader.cc:7
CocoaDaqReader::GetNEvents
int GetNEvents() const
Definition: CocoaDaqReader.h:21