CMS 3D CMS Logo

RecoMuonValidator.h
Go to the documentation of this file.
1 #ifndef Validation_RecoMuon_RecoMuonValidator_H
2 #define Validation_RecoMuon_RecoMuonValidator_H
3 
8 
11 
13 
21 
24 
25 // for selection cut
27 
28 class DQMStore;
29 class MonitorElement;
30 class MuonServiceProxy;
31 class TrackAssociatorBase;
32 
34 {
35  public:
37  ~RecoMuonValidator() override;
38 
39  void dqmBeginRun(const edm::Run&, const edm::EventSetup& eventSetup) override;
40  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
41  void endRun(edm::Run const&, edm::EventSetup const&) override;
42  void analyze(const edm::Event& event, const edm::EventSetup& eventSetup) override;
43  virtual int countMuonHits(const reco::Track& track) const;
44  virtual int countTrackerHits(const reco::Track& track) const;
45 
46  protected:
47  unsigned int verbose_;
48 
54 
57 
62 
67 
70 
71  bool doAbsEta_;
72  bool doAssoc_;
73  bool usePFMuon_;
74 
75 
77 
78  // Track to use
80 
81  struct MuonME;
82  MuonME * muonME_;
83 
84  struct CommonME;
86 
87 //
88 //struct for histogram dimensions
89 //
91  //p
92  unsigned int nBinP;
93  double minP, maxP;
94  //pt
95  unsigned int nBinPt;
96  double minPt, maxPt;
97  //if abs eta
98  bool doAbsEta;
99  //eta
100  unsigned int nBinEta;
101  double minEta, maxEta;
102  //phi
103  unsigned int nBinPhi;
104  double minPhi, maxPhi;
105  //dxy
106  unsigned int nBinDxy;
107  double minDxy, maxDxy;
108  //dz
109  unsigned int nBinDz;
110  double minDz, maxDz;
111  //pulls
112  unsigned int nBinPull;
113  double wPull;
114  //resolustions
115  unsigned int nBinErr;
116  double minErrP, maxErrP;
123  //track multiplicities
124  unsigned int nTrks, nAssoc;
125  unsigned int nDof;
126  // for PF muons
127  bool usePFMuon;
128 };
129 
131  private:
134 
135 };
136 
137 #endif
138 /* vim:set ts=2 sts=2 sw=2 expandtab: */
edm::EDGetTokenT< edm::View< reco::Muon > > muonToken_
edm::EDGetTokenT< TrackingParticleCollection > simToken_
void endRun(edm::Run const &, edm::EventSetup const &) override
edm::InputTag simLabel_
StringCutObjectSelector< reco::Muon > selector_
reco::MuonTrackType trackType_
edm::EDGetTokenT< reco::VertexCollection > primvertexToken_
virtual int countTrackerHits(const reco::Track &track) const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
TrackingParticleSelector tpSelector_
MuonServiceProxy * theMuonService
edm::InputTag muAssocLabel_
virtual int countMuonHits(const reco::Track &track) const
HistoDimensions hDim
std::string outputFileName_
edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
unsigned int verbose_
void dqmBeginRun(const edm::Run &, const edm::EventSetup &eventSetup) override
edm::InputTag muonLabel_
std::string subsystemname_
~RecoMuonValidator() override
edm::EDGetTokenT< reco::MuonToTrackingParticleAssociator > muAssocToken_
edm::InputTag beamspotLabel_
edm::InputTag primvertexLabel_
std::string muonSelection_
edm::ParameterSet pset
MuonTrackType
Definition: MuonTrackType.h:27
void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
RecoMuonValidator(const edm::ParameterSet &pset)
Definition: event.py:1
Definition: Run.h:43