1 #ifndef Validation_RecoMuon_MuonTrackResidualAnalyzer_H
2 #define Validation_RecoMuon_MuonTrackResidualAnalyzer_H
69 std::map<DetId, const PSimHit *> &hitIdMap,
127 return distA < distB;
~MuonTrackResidualAnalyzer() override
Destructor.
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
std::vector< const PSimHit * > theSimHitContainer
int theMuonSimHitNumberPerEvent
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
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
void dqmEndRun(edm::Run const &, edm::EventSetup const &) override
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_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MuonServiceProxy * theService
edm::EDGetTokenT< std::vector< PSimHit > > theRPCSimHitToken
edm::EDGetTokenT< edm::SimTrackContainer > theDataTypeToken
edm::ESHandle< GlobalTrackingGeometry > theTG
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