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 99 of file MatacqProducer.h.
|
inline |
Definition at line 104 of file MatacqProducer.h.
|
inline |
Definition at line 109 of file MatacqProducer.h.
References eventLength_.
Referenced by MatacqProducer::getMatacqEvent().
|
inline |
void MatacqProducer::PosEstimator::init | ( | MatacqProducer * | mp | ) |
Definition at line 682 of file MatacqProducer.cc.
References gather_cfg::cout, data, eventLength_, firstOrbit_, MatacqRawEvent::getDccLen(), MatacqRawEvent::getOrbitId(), invalid_, plotBeamSpotDB::last, MatacqProducer::mread(), MatacqProducer::mrewind(), MatacqProducer::mseek(), MatacqProducer::msize(), nEvents, now(), orbitStepMean_, alignCSCRings::s, and verbosity_.
Referenced by MatacqProducer::getMatacqFile().
|
inline |
Definition at line 107 of file MatacqProducer.h.
References invalid_.
Referenced by MatacqProducer::getMatacqEvent().
int64_t MatacqProducer::PosEstimator::pos | ( | int | orb | ) | const |
Definition at line 757 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 |
Definition at line 111 of file MatacqProducer.h.
References verbosity_.
Referenced by MatacqProducer::MatacqProducer().
|
private |
Definition at line 113 of file MatacqProducer.h.
Referenced by eventLength(), and init().
|
private |
Definition at line 115 of file MatacqProducer.h.
Referenced by firstOrbit(), and init().
|
private |
Definition at line 116 of file MatacqProducer.h.
|
private |
Definition at line 114 of file MatacqProducer.h.
Referenced by init().
|
private |
Definition at line 117 of file MatacqProducer.h.
Referenced by init(), and verbosity().