#include <Alignment/CocoaDaq/interface/CocoaDaqReader.h>
Public Member Functions | |
virtual void | BuildMeasurementsFromOptAlign (std::vector< OpticalAlignMeasurementInfo > &measList) |
CocoaDaqReader () | |
int | GetNEvents () const |
virtual bool | ReadEvent (int nev) |
virtual bool | ReadNextEvent ()=0 |
virtual | ~CocoaDaqReader () |
Static Public Member Functions | |
static CocoaDaqReader * | GetDaqReader () |
static void | SetDaqReader (CocoaDaqReader *reader) |
Protected Attributes | |
int | nev |
int | nextEvent |
Static Private Attributes | |
static CocoaDaqReader * | theDaqReader = 0 |
Definition at line 9 of file CocoaDaqReader.h.
CocoaDaqReader::CocoaDaqReader | ( | ) | [inline] |
virtual CocoaDaqReader::~CocoaDaqReader | ( | ) | [inline, virtual] |
void CocoaDaqReader::BuildMeasurementsFromOptAlign | ( | std::vector< OpticalAlignMeasurementInfo > & | measList | ) | [virtual] |
Reimplemented in CocoaDaqReaderRoot, and CocoaDaqReaderText.
Definition at line 18 of file CocoaDaqReader.cc.
static CocoaDaqReader* CocoaDaqReader::GetDaqReader | ( | ) | [inline, static] |
Definition at line 12 of file CocoaDaqReader.h.
References theDaqReader.
Referenced by Fit::fitNextEvent().
00012 { 00013 return theDaqReader; }
int CocoaDaqReader::GetNEvents | ( | ) | const [inline] |
Reimplemented in CocoaDaqReaderRoot, and CocoaDaqReaderText.
Definition at line 23 of file CocoaDaqReader.h.
References nev.
00023 { return nev; }
virtual bool CocoaDaqReader::ReadNextEvent | ( | ) | [pure virtual] |
void CocoaDaqReader::SetDaqReader | ( | CocoaDaqReader * | reader | ) | [static] |
Definition at line 7 of file CocoaDaqReader.cc.
References TestMuL1L2Filter_cff::cerr, lat::endl(), exception, and theDaqReader.
Referenced by CocoaDaqReaderRoot::CocoaDaqReaderRoot(), and CocoaDaqReaderText::CocoaDaqReaderText().
00008 { 00009 if( theDaqReader != 0 ) { 00010 std::cerr << "!!FATAL ERROR CocoaDaqReader:: trying to instantiate two CocoaDaqReader " << std::endl; 00011 std::exception(); 00012 } 00013 00014 theDaqReader = reader; 00015 }
int CocoaDaqReader::nev [protected] |
Reimplemented in CocoaDaqReaderRoot, and CocoaDaqReaderText.
Definition at line 29 of file CocoaDaqReader.h.
Referenced by GetNEvents().
int CocoaDaqReader::nextEvent [protected] |
Reimplemented in CocoaDaqReaderRoot, and CocoaDaqReaderText.
Definition at line 30 of file CocoaDaqReader.h.
CocoaDaqReader * CocoaDaqReader::theDaqReader = 0 [static, private] |