1 #ifndef DTCalibValidation_H
2 #define DTCalibValidation_H
87 std::map<DTWireId, std::vector<DTRecHit1DPair> >
91 std::map<DTWireId, std::vector<DTRecHit1D> >
95 std::map<DTWireId, std::vector<DTRecHit1D> >
98 template <
typename type>
102 const std::vector<type>& recHits,
103 const float simHitDist);
115 template <
typename type>
126 float residualOnDistance,
128 float residualOnPosition,
131 std::map<std::pair<DTSuperLayerId,int>, std::vector<MonitorElement*> >
histosPerSL;
float recHitDistFromWire(const DTRecHit1DPair &hitPair, const DTLayer *layer)
static int position[TOTALCHAMBERS][3]
void beginRun(const edm::Run &, const edm::EventSetup &)
BeginRun.
edm::ESHandle< DTGeometry > dtGeom
void compute(const DTGeometry *dtGeom, const DTRecSegment4D &segment, const std::map< DTWireId, std::vector< type > > &recHitsPerWire, int step)
std::map< std::pair< DTSuperLayerId, int >, std::vector< MonitorElement * > > histosPerSL
edm::EDGetTokenT< DTRecSegment4DCollection > segment4DToken_
std::map< DTWireId, std::vector< DTRecHit1DPair > > map1DRecHitsPerWire(const DTRecHitCollection *dt1DRecHitPairs)
void fillHistos(DTSuperLayerId slId, float distance, float residualOnDistance, float position, float residualOnPosition, int step)
void analyze(const edm::Event &event, const edm::EventSetup &setup)
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
virtual ~DTCalibValidation()
Destructor.
edm::EDGetTokenT< DTRecHitCollection > recHits1DToken_
void bookHistos(DTSuperLayerId slId, int step)
DTCalibValidation(const edm::ParameterSet &pset)
Constructor.
edm::ParameterSet parameters
float recHitPosition(const DTRecHit1DPair &hitPair, const DTLayer *layer, const DTChamber *chamber, float segmPos, int sl)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
const type * findBestRecHit(const DTLayer *layer, DTWireId wireId, const std::vector< type > &recHits, const float simHitDist)
edm::EDGetTokenT< DTRecSegment2DCollection > segment2DToken_