Definition at line 16 of file DTSegmentSelector.cc.
References checkNoisyChannels_, checkNoisySegment(), DTRecSegment4D::chi2(), DTRecSegment4D::degreesOfFreedom(), edm::EventSetup::get(), DTRecSegment4D::hasPhi(), DTRecSegment4D::hasZed(), DTRecSegment4D::localDirection(), maxAnglePhi_, maxAngleZ_, maxChi2_, minHitsPhi_, minHitsZ_, DTRecSegment4D::phiSegment(), Geom::pi(), mps_fire::result, DTRecSegment2D::specificRecHits(), crabStatusFromReport::statusMap, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and DTRecSegment4D::zSegment().
31 bool segmentNoisyPhi =
false;
32 if( segment.hasPhi() ){
37 nPhiHits = phiRecHits.size();
42 bool segmentNoisyZ =
false;
43 if( segment.hasZed() ){
49 nZHits = zRecHits.size();
55 if(segmentNoisyPhi || segmentNoisyZ)
62 if(segment.hasZed() && nZHits <
minHitsZ_)
66 double chiSquare = segment.chi2()/segment.degreesOfFreedom();
71 LocalVector segment4DLocalDir = segment.localDirection();
72 double angleZ = fabs( atan(segment4DLocalDir.
y()/segment4DLocalDir.
z())*180./
Geom::pi() );
76 double anglePhi = fabs( atan(segment4DLocalDir.
x()/segment4DLocalDir.
z())*180./
Geom::pi() );
std::vector< DTRecHit1D > specificRecHits() const
Access to specific components.
bool checkNoisySegment(edm::ESHandle< DTStatusFlag > const &, std::vector< DTRecHit1D > const &)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")