test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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:
38 
39  virtual void dqmBeginRun(const edm::Run&, const edm::EventSetup& eventSetup) override;
40  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
41  virtual void endRun();
42  virtual 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_
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_
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 void dqmBeginRun(const edm::Run &, const edm::EventSetup &eventSetup) override
edm::InputTag muonLabel_
std::string subsystemname_
edm::EDGetTokenT< reco::MuonToTrackingParticleAssociator > muAssocToken_
virtual void endRun()
edm::InputTag beamspotLabel_
edm::InputTag primvertexLabel_
std::string muonSelection_
edm::ParameterSet pset
MuonTrackType
Definition: MuonTrackType.h:27
virtual void analyze(const edm::Event &event, const edm::EventSetup &eventSetup) override
RecoMuonValidator(const edm::ParameterSet &pset)
Definition: Run.h:42