Public Member Functions | |
int | eventLength () const |
int | firstOrbit () const |
void | init (MatacqProducer *mp) |
bool | invalid () const |
int64_t | pos (int orb) const |
PosEstimator () | |
void | verbosity (int verb) |
Private Attributes | |
int | eventLength_ |
int | firstOrbit_ |
bool | invalid_ |
int | orbitStepMean_ |
int | verbosity_ |
Estimates matacq event position in a file from its orbit id. This estimator requires that every event in the file has the same length. A linear extrapolation of pos=f(orbit) function from first and last event is performed. It gives only a rough estimate, relevant only to initiliaze the event search.
Definition at line 78 of file MatacqProducer.cc.
|
inline |
Definition at line 83 of file MatacqProducer.cc.
|
inline |
Definition at line 87 of file MatacqProducer.cc.
References eventLength_.
Referenced by MatacqProducer::getMatacqEvent().
|
inline |
void MatacqProducer::PosEstimator::init | ( | MatacqProducer * | mp | ) |
Definition at line 1037 of file MatacqProducer.cc.
References gather_cfg::cout, data, eventLength_, firstOrbit_, MatacqRawEvent::getDccLen(), MatacqRawEvent::getOrbitId(), invalid_, dqmdumpme::last, MatacqProducer::mread(), MatacqProducer::mrewind(), MatacqProducer::mseek(), MatacqProducer::msize(), createIOVlist::nEvents, now(), orbitStepMean_, alignCSCRings::s, and verbosity_.
Referenced by MatacqProducer::getMatacqFile().
|
inline |
Definition at line 85 of file MatacqProducer.cc.
References invalid_.
Referenced by MatacqProducer::getMatacqEvent().
int64_t MatacqProducer::PosEstimator::pos | ( | int | orb | ) | const |
Definition at line 1122 of file MatacqProducer.cc.
References gather_cfg::cout, now(), alignCSCRings::r, and MatacqProducer::verbosity_.
Referenced by MatacqProducer::getMatacqEvent().
|
inline |
Definition at line 89 of file MatacqProducer.cc.
References verbosity_.
Referenced by MatacqProducer::MatacqProducer().
|
private |
Definition at line 92 of file MatacqProducer.cc.
Referenced by eventLength(), and init().
|
private |
Definition at line 94 of file MatacqProducer.cc.
Referenced by firstOrbit(), and init().
|
private |
Definition at line 95 of file MatacqProducer.cc.
|
private |
Definition at line 93 of file MatacqProducer.cc.
Referenced by init().
|
private |
Definition at line 96 of file MatacqProducer.cc.
Referenced by init(), and verbosity().