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;
32 
34 {
35  public:
38 
39  virtual void dqmBeginRun(const edm::Run&, const edm::EventSetup& eventSetup);
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);
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  // edm::EDGetTokenT<> muAssocToken_;
58 
63 
68 
71 
72  bool doAbsEta_;
73  bool doAssoc_;
74  bool usePFMuon_;
75 
76 
78 
79  // Track to use
81 
82  struct MuonME;
83  MuonME * muonME_;
84 
85  struct CommonME;
87 
88 //
89 //struct for histogram dimensions
90 //
92  //p
93  unsigned int nBinP;
94  double minP, maxP;
95  //pt
96  unsigned int nBinPt;
97  double minPt, maxPt;
98  //if abs eta
99  bool doAbsEta;
100  //eta
101  unsigned int nBinEta;
102  double minEta, maxEta;
103  //phi
104  unsigned int nBinPhi;
105  double minPhi, maxPhi;
106  //dxy
107  unsigned int nBinDxy;
108  double minDxy, maxDxy;
109  //dz
110  unsigned int nBinDz;
111  double minDz, maxDz;
112  //pulls
113  unsigned int nBinPull;
114  double wPull;
115  //resolustions
116  unsigned int nBinErr;
117  double minErrP, maxErrP;
124  //track multiplicities
125  unsigned int nTrks, nAssoc;
126  unsigned int nDof;
127  // for PF muons
128  bool usePFMuon;
129 };
130 
132  private:
135 
136 };
137 
138 #endif
139 /* 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_
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_
virtual void analyze(const edm::Event &event, const edm::EventSetup &eventSetup)
MuonServiceProxy * theMuonService
edm::InputTag muAssocLabel_
virtual int countMuonHits(const reco::Track &track) const
const MuonAssociatorByHits * assoByHits
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
edm::InputTag muonLabel_
MuonAssociatorByHits::MuonTrackType trackType_
virtual void dqmBeginRun(const edm::Run &, const edm::EventSetup &eventSetup)
std::string subsystemname_
virtual void endRun()
edm::InputTag beamspotLabel_
edm::InputTag primvertexLabel_
std::string muonSelection_
edm::ParameterSet pset
RecoMuonValidator(const edm::ParameterSet &pset)
Definition: Run.h:41