1 #ifndef Validation_RecoMuon_MuonTrackResidualAnalyzer_H
2 #define Validation_RecoMuon_MuonTrackResidualAnalyzer_H
77 std::map<DetId,const PSimHit*> &hitIdMap);
80 std::map<DetId,const PSimHit*> &hitIdMap,
144 return distA < distB;
MeasurementEstimator * theEstimator
std::map< DetId, const PSimHit * > mapMuSimHitsPerId(edm::Handle< edm::PSimHitContainer > dtSimhits, edm::Handle< edm::PSimHitContainer > cscSimhits, edm::Handle< edm::PSimHitContainer > rpcSimhits)
edm::InputTag cscSimHitLabel
int theMuonSimHitNumberPerEvent
RadiusComparatorInOut(edm::ESHandle< GlobalTrackingGeometry > tg)
edm::InputTag theMuonTrackLabel
edm::EDGetTokenT< reco::TrackCollection > theMuonTrackToken
bool isInTheAcceptance(double eta)
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
edm::InputTag rpcSimHitLabel
MonitorElement * hDeltaPtVsEtaSim
HResolution1DRecHit * h1DRecHitRes
bool operator()(const PSimHit *a, const PSimHit *b) const
Local3DPoint localPosition() const
HResolution1DRecHit * h1DSimHitRes
MonitorElement * hDeltaPtVsEtaSim2
edm::InputTag dtSimHitLabel
MuonTrackResidualAnalyzer(const edm::ParameterSet &ps)
Constructor.
MonitorElement * hSimHitsPerTrackVsEta
std::string subsystemname_
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
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< const PSimHit * > theSimHitContainer
MuonServiceProxy * theService
edm::EDGetTokenT< std::vector< PSimHit > > theRPCSimHitToken
edm::EDGetTokenT< edm::SimTrackContainer > theDataTypeToken
edm::ESHandle< GlobalTrackingGeometry > theTG
virtual ~MuonTrackResidualAnalyzer()
Destructor.
edm::InputTag theDataType
MonitorElement * hSimHitsPerTrack
void computeResolution(Trajectory &trajectory, std::map< DetId, const PSimHit * > &hitIdMap, HResolution1DRecHit *histos)
edm::EDGetTokenT< std::vector< PSimHit > > theCSCSimHitToken
unsigned int detUnitId() const
edm::EDGetTokenT< std::vector< PSimHit > > theDTSimHitToken