10#include "GaudiKernel/MsgStream.h"
20 log << MSG::INFO <<
"SimpleMdtSegmentSelector::SimpleMdtSegmentSelector" <<
endmsg;
21 log << MSG::INFO <<
"New SimpleMdtSegmentSelector : " <<
endmsg;
28 if (log.level() <= MSG::VERBOSE) {
29 log << MSG::VERBOSE <<
"SimpleMdtSegmentSelector::select" <<
endmsg;
30 log << MSG::VERBOSE <<
"Segment: chi2 " << seg.
chi2() <<
" mdtHits " << seg.
mdtHitsOnTrack() <<
" tan "
39 if (log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
"segment passed chi2 cut " << seg.
chi2() <<
endmsg;
44 if (log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
"segment passed mdtHits cut " << seg.
mdtHitsOnTrack() <<
endmsg;
49 if (log.level() <= MSG::DEBUG) log << MSG::DEBUG <<
"segment passed angular cut " << tanphi <<
endmsg;
A MuonCalibSegment is a reconstructed three dimensional track segment in the MuonSpectrometer.
unsigned int mdtHitsOnTrack() const
retrieve the number of MdtCalibHitBase s assigned to this segment
const Amg::Vector3D & direction() const
retrieve local direction of segment (on station level) retrieve the transformation from local chamber...
double chi2() const
retrieve chi2
SimpleMdtSegmentSelector(double chi2_max, unsigned int hits_min)
constructor
double m_chi2_max
selection criteria
int m_printLevel
print level
virtual bool select(const MuonCalibSegment &seg) const
test MdtSegment on selection criteria
unsigned int m_hits_min
minimum numbers of hits on segment
singleton-like access to IMessageSvc via open function and helper
IMessageSvc * getMessageSvc(bool quiet=false)
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.