CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/Alignment/CocoaModel/interface/CocoaDaqReaderText.h

Go to the documentation of this file.
00001 #ifndef CocoaDaqReaderText_h
00002 #define CocoaDaqReaderText_h
00003 #include <string>
00004 #include <vector>
00005 
00006 #include "Alignment/CocoaDaq/interface/CocoaDaqReader.h"
00007 #include "Alignment/CocoaUtilities/interface/ALIFileIn.h"
00008 class OpticalAlignMeasurementInfo;
00009 
00010 
00011 class CocoaDaqReaderText : public CocoaDaqReader
00012 {
00013  public:
00014   CocoaDaqReaderText(const std::string& fileName );
00015   virtual ~CocoaDaqReaderText();
00016 
00017   virtual bool ReadNextEvent();
00018   virtual void BuildMeasurementsFromOptAlign( std::vector<OpticalAlignMeasurementInfo>& measList );
00019 
00020  public:
00021   int GetNEvents() const { return nev; }
00022 
00023  protected:
00024   int nev;
00025   int nextEvent;
00026   ALIFileIn theFilein;
00027 };
00028 
00029 #endif