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 |
|
inline |
|
inline |
Definition at line 92 of file MatacqProducer.h.
void MatacqProducer::PosEstimator::init | ( | MatacqProducer * | mp | ) |
Definition at line 726 of file MatacqProducer.cc.
References gather_cfg::cout, data, MatacqRawEvent::getDccLen(), MatacqRawEvent::getOrbitId(), sistrip::invalid_, dqmdumpme::last, MatacqProducer::mread(), MatacqProducer::mrewind(), MatacqProducer::mseek(), MatacqProducer::msize(), nEvents, now(), alignCSCRings::s, and MatacqProducer::verbosity_.
Referenced by MatacqProducer::getMatacqFile().
|
inline |
Definition at line 89 of file MatacqProducer.h.
References sistrip::invalid_.
Referenced by MatacqProducer::getMatacqEvent().
int64_t MatacqProducer::PosEstimator::pos | ( | int | orb | ) | const |
Definition at line 806 of file MatacqProducer.cc.
References gather_cfg::cout, now(), alignCSCRings::r, and MatacqProducer::verbosity_.
Referenced by Vispa.Gui.PortWidget.PortWidget::connectionPoint(), Vispa.Gui.VispaWidget.VispaWidget::dragWidget(), MatacqProducer::getMatacqEvent(), and Vispa.Gui.VispaWidget.VispaWidget::paintEvent().
|
inline |
|
private |
Definition at line 96 of file MatacqProducer.h.
|
private |
Definition at line 98 of file MatacqProducer.h.
|
private |
Definition at line 99 of file MatacqProducer.h.
|
private |
Definition at line 97 of file MatacqProducer.h.
|
private |
Definition at line 100 of file MatacqProducer.h.