CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
MatacqProducer::PosEstimator Class Reference

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_
 

Detailed Description

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.

Constructor & Destructor Documentation

MatacqProducer::PosEstimator::PosEstimator ( )
inline

Definition at line 104 of file MatacqProducer.h.

Member Function Documentation

int MatacqProducer::PosEstimator::eventLength ( ) const
inline

Definition at line 109 of file MatacqProducer.h.

int MatacqProducer::PosEstimator::firstOrbit ( ) const
inline

Definition at line 110 of file MatacqProducer.h.

void MatacqProducer::PosEstimator::init ( MatacqProducer mp)

Definition at line 682 of file MatacqProducer.cc.

bool MatacqProducer::PosEstimator::invalid ( ) const
inline

Definition at line 107 of file MatacqProducer.h.

int64_t MatacqProducer::PosEstimator::pos ( int  orb) const

Definition at line 757 of file MatacqProducer.cc.

void MatacqProducer::PosEstimator::verbosity ( int  verb)
inline

Definition at line 111 of file MatacqProducer.h.

Member Data Documentation

int MatacqProducer::PosEstimator::eventLength_
private

Definition at line 113 of file MatacqProducer.h.

int MatacqProducer::PosEstimator::firstOrbit_
private

Definition at line 115 of file MatacqProducer.h.

bool MatacqProducer::PosEstimator::invalid_
private

Definition at line 116 of file MatacqProducer.h.

int MatacqProducer::PosEstimator::orbitStepMean_
private

Definition at line 114 of file MatacqProducer.h.

int MatacqProducer::PosEstimator::verbosity_
private

Definition at line 117 of file MatacqProducer.h.