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