CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MuonKinVsEtaAnalyzer.h
Go to the documentation of this file.
1 #ifndef MuonKinVsEtaAnalyzer_H
2 #define MuonKinVsEtaAnalyzer_H
3 
11 #include <memory>
12 #include <fstream>
20 
31 
33 public:
36 
38  ~MuonKinVsEtaAnalyzer() override;
39 
40  void analyze(const edm::Event &, const edm::EventSetup &) override;
41  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
42 
43 private:
44  // ----------member data ---------------------------
46 
47  // Switch for verbosity
49 
50  //Vertex requirements
54 
55  //histo binning parameters
56  int pBin;
57  double pMin;
58  double pMax;
59 
60  int ptBin;
61  double ptMin;
62  double ptMax;
63 
64  int etaBin;
65  double etaMin;
66  double etaMax;
67 
68  int phiBin;
69  double phiMin;
70  double phiMax;
71 
72  int chiBin;
73  double chiMin;
74  double chiMax;
75 
76  double chiprobMin;
77  double chiprobMax;
78 
79  //Defining relevant eta regions
80  double EtaCutMin;
81  double EtaCutMax;
82  double etaBMin;
83  double etaBMax;
84  double etaECMin;
85  double etaECMax;
86  double etaOvlpMin;
87  double etaOvlpMax;
88 
89  //the histos
90  // global muon
91  std::vector<MonitorElement *> etaGlbTrack;
92  std::vector<MonitorElement *> phiGlbTrack;
93  std::vector<MonitorElement *> pGlbTrack;
94  std::vector<MonitorElement *> ptGlbTrack;
95  std::vector<MonitorElement *> chi2GlbTrack;
96  std::vector<MonitorElement *> chi2probGlbTrack;
97 
98  // tracker muon
99  std::vector<MonitorElement *> etaTrack;
100  std::vector<MonitorElement *> phiTrack;
101  std::vector<MonitorElement *> pTrack;
102  std::vector<MonitorElement *> ptTrack;
103  std::vector<MonitorElement *> chi2Track;
104  std::vector<MonitorElement *> chi2probTrack;
105 
106  // sta muon
107  std::vector<MonitorElement *> etaStaTrack;
108  std::vector<MonitorElement *> phiStaTrack;
109  std::vector<MonitorElement *> pStaTrack;
110  std::vector<MonitorElement *> ptStaTrack;
111  std::vector<MonitorElement *> chi2StaTrack;
112  std::vector<MonitorElement *> chi2probStaTrack;
113 
114  // GMPT muon
115  std::vector<MonitorElement *> etaTightTrack;
116  std::vector<MonitorElement *> phiTightTrack;
117  std::vector<MonitorElement *> pTightTrack;
118  std::vector<MonitorElement *> ptTightTrack;
119  std::vector<MonitorElement *> chi2TightTrack;
120  std::vector<MonitorElement *> chi2probTightTrack;
121 
122  // Loose muon;
123  std::vector<MonitorElement *> etaLooseTrack;
124  std::vector<MonitorElement *> phiLooseTrack;
125  std::vector<MonitorElement *> pLooseTrack;
126  std::vector<MonitorElement *> ptLooseTrack;
127  std::vector<MonitorElement *> chi2LooseTrack;
128  std::vector<MonitorElement *> chi2probLooseTrack;
129 
130  // Medium muon;
131  std::vector<MonitorElement *> etaMediumTrack;
132  std::vector<MonitorElement *> phiMediumTrack;
133  std::vector<MonitorElement *> pMediumTrack;
134  std::vector<MonitorElement *> ptMediumTrack;
135  std::vector<MonitorElement *> chi2MediumTrack;
136  std::vector<MonitorElement *> chi2probMediumTrack;
137 
138  // Soft muon;
139  std::vector<MonitorElement *> etaSoftTrack;
140  std::vector<MonitorElement *> phiSoftTrack;
141  std::vector<MonitorElement *> pSoftTrack;
142  std::vector<MonitorElement *> ptSoftTrack;
143  std::vector<MonitorElement *> chi2SoftTrack;
144  std::vector<MonitorElement *> chi2probSoftTrack;
145 
146  // HighPt muon;
147  std::vector<MonitorElement *> etaHighPtTrack;
148  std::vector<MonitorElement *> phiHighPtTrack;
149  std::vector<MonitorElement *> pHighPtTrack;
150  std::vector<MonitorElement *> ptHighPtTrack;
151  std::vector<MonitorElement *> chi2HighPtTrack;
152  std::vector<MonitorElement *> chi2probHighPtTrack;
153 
155 };
156 #endif
std::vector< MonitorElement * > pGlbTrack
std::vector< MonitorElement * > phiHighPtTrack
std::vector< MonitorElement * > chi2GlbTrack
std::vector< MonitorElement * > phiSoftTrack
std::vector< MonitorElement * > ptTrack
edm::EDGetTokenT< edm::View< reco::Muon > > theMuonCollectionLabel_
std::vector< MonitorElement * > ptTightTrack
edm::EDGetTokenT< reco::VertexCollection > theVertexLabel_
std::vector< MonitorElement * > phiMediumTrack
std::vector< MonitorElement * > chi2TightTrack
std::vector< MonitorElement * > ptSoftTrack
std::vector< MonitorElement * > etaMediumTrack
std::vector< MonitorElement * > chi2probGlbTrack
std::vector< MonitorElement * > chi2HighPtTrack
std::vector< MonitorElement * > etaLooseTrack
std::vector< MonitorElement * > etaHighPtTrack
std::vector< MonitorElement * > chi2probLooseTrack
std::vector< MonitorElement * > chi2probTrack
std::vector< MonitorElement * > pLooseTrack
std::vector< MonitorElement * > chi2probStaTrack
std::vector< MonitorElement * > phiLooseTrack
std::vector< MonitorElement * > chi2probTightTrack
std::vector< MonitorElement * > ptGlbTrack
std::vector< MonitorElement * > ptHighPtTrack
std::vector< MonitorElement * > etaTrack
std::vector< MonitorElement * > pSoftTrack
std::vector< MonitorElement * > etaTightTrack
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< MonitorElement * > pHighPtTrack
std::vector< MonitorElement * > pTightTrack
std::vector< MonitorElement * > ptStaTrack
std::vector< MonitorElement * > phiTightTrack
std::vector< MonitorElement * > etaGlbTrack
edm::ParameterSet parameters
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< MonitorElement * > ptLooseTrack
std::vector< MonitorElement * > etaStaTrack
std::vector< MonitorElement * > chi2SoftTrack
std::vector< MonitorElement * > chi2probHighPtTrack
std::vector< MonitorElement * > pMediumTrack
std::vector< MonitorElement * > chi2MediumTrack
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotLabel_
std::vector< MonitorElement * > chi2probSoftTrack
std::vector< MonitorElement * > phiTrack
std::vector< MonitorElement * > phiStaTrack
~MuonKinVsEtaAnalyzer() override
Destructor.
std::vector< MonitorElement * > ptMediumTrack
std::vector< MonitorElement * > pTrack
std::vector< MonitorElement * > chi2LooseTrack
std::vector< MonitorElement * > phiGlbTrack
std::vector< MonitorElement * > chi2probMediumTrack
std::vector< MonitorElement * > chi2Track
std::vector< MonitorElement * > chi2StaTrack
MuonKinVsEtaAnalyzer(const edm::ParameterSet &pSet)
Constructor.
Definition: Run.h:45
std::vector< MonitorElement * > pStaTrack
std::vector< MonitorElement * > etaSoftTrack