31 bool segmentNoisyPhi =
false;
37 nPhiHits = phiRecHits.size();
42 bool segmentNoisyZ =
false;
49 nZHits = zRecHits.size();
55 if(segmentNoisyPhi || segmentNoisyZ)
72 double angleZ = fabs( atan(segment4DLocalDir.
y()/segment4DLocalDir.
z())*180./
Geom::pi() );
76 double anglePhi = fabs( atan(segment4DLocalDir.
x()/segment4DLocalDir.
z())*180./
Geom::pi() );
85 bool segmentNoisy =
false;
87 std::vector<DTRecHit1D>::const_iterator dtHit = dtHits.begin();
88 std::vector<DTRecHit1D>::const_iterator dtHits_end = dtHits.end();
89 for(; dtHit != dtHits_end; ++dtHit){
93 bool isNoisy =
false, isFEMasked =
false, isTDCMasked =
false, isTrigMask =
false,
94 isDead =
false, isNohv =
false;
95 statusMap->cellStatus(wireId, isNoisy, isFEMasked, isTDCMasked, isTrigMask, isDead, isNohv);
97 LogTrace(
"Calibration") <<
"Wire: " << wireId <<
" is noisy, skipping!";
98 segmentNoisy =
true;
break;
const DTChamberRecSegment2D * phiSegment() const
The superPhi segment: 0 if no phi projection available.
virtual int degreesOfFreedom() const
Degrees of freedom of the segment fit.
virtual LocalVector localDirection() const
Local direction in Chamber frame.
bool operator()(DTRecSegment4D const &, edm::Event const &, edm::EventSetup const &)
bool hasPhi() const
Does it have the Phi projection?
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::vector< DTRecHit1D > specificRecHits() const
Access to specific components.
bool hasZed() const
Does it have the Z projection?
const DTSLRecSegment2D * zSegment() const
The Z segment: 0 if not zed projection available.
bool checkNoisySegment(edm::ESHandle< DTStatusFlag > const &, std::vector< DTRecHit1D > const &)
virtual double chi2() const
Chi2 of the segment fit.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")