1 #ifndef Validation_DTRecHits_H
2 #define Validation_DTRecHits_H
97 std::map<DTWireId, std::vector<DTRecHit1DPair> >
101 std::map<DTWireId, std::vector<DTRecHit1D> >
105 std::map<DTWireId, std::vector<DTRecHit1D> >
129 template <
typename type>
133 const std::vector<type>& recHits,
134 const float simHitDist);
150 template <
typename type>
edm::InputTag simHitLabel
edm::InputTag recHitLabel
HRes1DHit * hRes_S3RPhi_W0
edm::EDGetTokenT< DTRecHitCollection > recHitToken_
HRes1DHit * hRes_S1RPhi_W1
void compute(const DTGeometry *dtGeom, const std::map< DTWireId, std::vector< PSimHit > > &simHitsPerWire, const std::map< DTWireId, std::vector< type > > &recHitsPerWire, int step)
const type * findBestRecHit(const DTLayer *layer, DTWireId wireId, const std::vector< type > &recHits, const float simHitDist)
HEff1DHit * hEff_S1RZWS[3][4]
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
Perform the real analysis.
edm::EDGetTokenT< DTRecSegment4DCollection > segment4DToken_
HRes1DHit * hRes_S1RPhi_W0
virtual ~DTRecHitQuality()
Destructor.
float recHitPositionError(const DTRecHit1DPair &recHit)
float simHitDistFromWire(const DTLayer *layer, DTWireId wireId, const PSimHit &hit)
DTRecHitQuality(const edm::ParameterSet &pset)
Constructor.
HRes1DHit * hRes_S3RZWS[3][4]
HRes1DHit * hRes_S2RPhi_W0
float recHitDistFromWire(const DTRecHit1DPair &hitPair, const DTLayer *layer)
edm::EDGetTokenT< DTRecSegment2DCollection > segment2DToken_
HRes1DHit * hRes_S2RPhi_W1
HEff1DHit * hEff_S3RPhiWS[3][4]
std::map< DTWireId, std::vector< DTRecHit1DPair > > map1DRecHitsPerWire(const DTRecHitCollection *dt1DRecHitPairs)
A set of histograms of residuals and pulls for 1D RecHits.
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
float simHitImpactAngle(const DTLayer *layer, DTWireId wireId, const PSimHit &hit)
HRes1DHit * hRes_S2RPhi_W2
HRes1DHit * hRes_S1RPhi_W2
HRes1DHit * hRes_S3RPhi_W2
float simHitDistFromFE(const DTLayer *layer, DTWireId wireId, const PSimHit &hit)
HEff1DHit * hEff_S3RZWS[3][4]
virtual void beginRun(const edm::Run &iRun, const edm::EventSetup &setup)
edm::InputTag segment4DLabel
HEff1DHit * hEff_S1RPhiWS[3][4]
edm::InputTag segment2DLabel
HRes1DHit * hRes_S3RPhi_W1
HRes1DHit * hRes_S3RPhiWS[3][4]
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken_
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)