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 82 of file MatacqProducer.h.
|
inline |
Definition at line 87 of file MatacqProducer.h.
|
inline |
Definition at line 91 of file MatacqProducer.h.
References eventLength_.
Referenced by MatacqProducer::getMatacqEvent().
|
inline |
void MatacqProducer::PosEstimator::init | ( | MatacqProducer * | mp | ) |
Definition at line 727 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(), nEvents, now(), orbitStepMean_, alignCSCRings::s, and verbosity_.
Referenced by MatacqProducer::getMatacqFile().
|
inline |
Definition at line 89 of file MatacqProducer.h.
References invalid_.
Referenced by MatacqProducer::getMatacqEvent().
int64_t MatacqProducer::PosEstimator::pos | ( | int | orb | ) | const |
Definition at line 812 of file MatacqProducer.cc.
References gather_cfg::cout, now(), alignCSCRings::r, and MatacqProducer::verbosity_.
Referenced by MatacqProducer::getMatacqEvent().
|
inline |
Definition at line 93 of file MatacqProducer.h.
References verbosity_.
Referenced by MatacqProducer::MatacqProducer().
|
private |
Definition at line 96 of file MatacqProducer.h.
Referenced by eventLength(), and init().
|
private |
Definition at line 98 of file MatacqProducer.h.
Referenced by firstOrbit(), and init().
|
private |
Definition at line 99 of file MatacqProducer.h.
|
private |
Definition at line 97 of file MatacqProducer.h.
Referenced by init().
|
private |
Definition at line 100 of file MatacqProducer.h.
Referenced by init(), and verbosity().