Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:00

0001 #ifndef CocoaDaqReaderText_h
0002 #define CocoaDaqReaderText_h
0003 #include <string>
0004 #include <vector>
0005 
0006 #include "Alignment/CocoaDaq/interface/CocoaDaqReader.h"
0007 #include "Alignment/CocoaUtilities/interface/ALIFileIn.h"
0008 class OpticalAlignMeasurementInfo;
0009 
0010 class CocoaDaqReaderText : public CocoaDaqReader {
0011 public:
0012   CocoaDaqReaderText(const std::string& fileName);
0013   ~CocoaDaqReaderText() override;
0014 
0015   bool ReadNextEvent() override;
0016   void BuildMeasurementsFromOptAlign(std::vector<OpticalAlignMeasurementInfo>& measList) override;
0017 
0018 public:
0019   int GetNEvents() const { return nev; }
0020 
0021 protected:
0022   int nev;
0023   int nextEvent;
0024   ALIFileIn theFilein;
0025 };
0026 
0027 #endif