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 |
|
inline |
|
inline |
Definition at line 110 of file MatacqProducer.h.
void MatacqProducer::PosEstimator::init | ( | MatacqProducer * | mp | ) |
Definition at line 738 of file MatacqProducer.cc.
References gather_cfg::cout, data, MatacqRawEvent::getDccLen(), MatacqRawEvent::getOrbitId(), sistrip::invalid_, plotBeamSpotDB::last, MatacqProducer::mread(), MatacqProducer::mrewind(), MatacqProducer::mseek(), MatacqProducer::msize(), nEvents, now(), alignCSCRings::s, and MatacqProducer::verbosity_.
Referenced by MatacqProducer::getMatacqFile().
|
inline |
Definition at line 107 of file MatacqProducer.h.
References sistrip::invalid_.
Referenced by MatacqProducer::getMatacqEvent().
int64_t MatacqProducer::PosEstimator::pos | ( | int | orb | ) | const |
Definition at line 813 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 113 of file MatacqProducer.h.
|
private |
Definition at line 115 of file MatacqProducer.h.
|
private |
Definition at line 116 of file MatacqProducer.h.
|
private |
Definition at line 114 of file MatacqProducer.h.
|
private |
Definition at line 117 of file MatacqProducer.h.