CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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>
21 
33 
35  public:
36 
39 
42 
44  void beginJob(void);
45  void beginRun(const edm::Run& iRun, const edm::EventSetup& iSetup);
46 
48  void analyze(const edm::Event&, const edm::EventSetup&);
49 
50  private:
51 
52  // ----------member data ---------------------------
56 
57  // Switch for verbosity
59 
60  //Vertex requirements
64 
65  //histo binning parameters
66  int pBin;
67  double pMin;
68  double pMax;
69 
70  int ptBin;
71  double ptMin;
72  double ptMax;
73 
74  int etaBin;
75  double etaMin;
76  double etaMax;
77 
78  int phiBin;
79  double phiMin;
80  double phiMax;
81 
82  int chiBin;
83  double chiMin;
84  double chiMax;
85 
86  double chiprobMin;
87  double chiprobMax;
88 
89  //Defining relevant eta regions
90  double EtaCutMin;
91  double EtaCutMax;
92  double etaBMin;
93  double etaBMax;
94  double etaECMin;
95  double etaECMax;
96  double etaOvlpMin;
97  double etaOvlpMax;
98 
99  //the histos
100  // global muon
101  std::vector<MonitorElement*> etaGlbTrack;
102  std::vector<MonitorElement*> phiGlbTrack;
103  std::vector<MonitorElement*> pGlbTrack;
104  std::vector<MonitorElement*> ptGlbTrack;
105  std::vector<MonitorElement*> chi2GlbTrack;
106  std::vector<MonitorElement*> chi2probGlbTrack;
107 
108  // tracker muon
109  std::vector<MonitorElement*> etaTrack;
110  std::vector<MonitorElement*> phiTrack;
111  std::vector<MonitorElement*> pTrack;
112  std::vector<MonitorElement*> ptTrack;
113  std::vector<MonitorElement*> chi2Track;
114  std::vector<MonitorElement*> chi2probTrack;
115 
116  // sta muon
117  std::vector<MonitorElement*> etaStaTrack;
118  std::vector<MonitorElement*> phiStaTrack;
119  std::vector<MonitorElement*> pStaTrack;
120  std::vector<MonitorElement*> ptStaTrack;
121  std::vector<MonitorElement*> chi2StaTrack;
122  std::vector<MonitorElement*> chi2probStaTrack;
123 
124  // GMPT muon
125  std::vector<MonitorElement*> etaTightTrack;
126  std::vector<MonitorElement*> phiTightTrack;
127  std::vector<MonitorElement*> pTightTrack;
128  std::vector<MonitorElement*> ptTightTrack;
129  std::vector<MonitorElement*> chi2TightTrack;
130  std::vector<MonitorElement*> chi2probTightTrack;
131 
132  // Loose muon;
133  std::vector<MonitorElement*> etaLooseTrack;
134  std::vector<MonitorElement*> phiLooseTrack;
135  std::vector<MonitorElement*> pLooseTrack;
136  std::vector<MonitorElement*> ptLooseTrack;
137  std::vector<MonitorElement*> chi2LooseTrack;
138  std::vector<MonitorElement*> chi2probLooseTrack;
139 
140  // Soft muon;
141  std::vector<MonitorElement*> etaSoftTrack;
142  std::vector<MonitorElement*> phiSoftTrack;
143  std::vector<MonitorElement*> pSoftTrack;
144  std::vector<MonitorElement*> ptSoftTrack;
145  std::vector<MonitorElement*> chi2SoftTrack;
146  std::vector<MonitorElement*> chi2probSoftTrack;
147 
148  // HighPt muon;
149  std::vector<MonitorElement*> etaHighPtTrack;
150  std::vector<MonitorElement*> phiHighPtTrack;
151  std::vector<MonitorElement*> pHighPtTrack;
152  std::vector<MonitorElement*> ptHighPtTrack;
153  std::vector<MonitorElement*> chi2HighPtTrack;
154  std::vector<MonitorElement*> chi2probHighPtTrack;
155 
156 };
157 #endif
MuonServiceProxy * theService
std::vector< MonitorElement * > chi2HighPtTrack
std::vector< MonitorElement * > etaTrack
std::vector< MonitorElement * > pSoftTrack
std::vector< MonitorElement * > chi2probSoftTrack
std::vector< MonitorElement * > etaLooseTrack
std::vector< MonitorElement * > chi2LooseTrack
std::vector< MonitorElement * > phiStaTrack
void analyze(const edm::Event &, const edm::EventSetup &)
Get the analysis.
edm::EDGetTokenT< reco::VertexCollection > theVertexLabel_
std::vector< MonitorElement * > chi2probLooseTrack
std::vector< MonitorElement * > ptTrack
std::vector< MonitorElement * > chi2TightTrack
std::vector< MonitorElement * > chi2probGlbTrack
std::vector< MonitorElement * > chi2GlbTrack
std::vector< MonitorElement * > ptLooseTrack
std::vector< MonitorElement * > ptHighPtTrack
std::vector< MonitorElement * > pTrack
std::vector< MonitorElement * > ptTightTrack
std::vector< MonitorElement * > chi2probTrack
std::vector< MonitorElement * > phiLooseTrack
std::vector< MonitorElement * > etaTightTrack
edm::ParameterSet parameters
std::vector< MonitorElement * > chi2probStaTrack
void beginRun(const edm::Run &iRun, const edm::EventSetup &iSetup)
std::vector< MonitorElement * > etaSoftTrack
std::vector< MonitorElement * > phiTightTrack
edm::EDGetTokenT< reco::BeamSpot > theBeamSpotLabel_
std::vector< MonitorElement * > pTightTrack
std::vector< MonitorElement * > etaStaTrack
std::vector< MonitorElement * > pGlbTrack
std::vector< MonitorElement * > chi2probTightTrack
std::vector< MonitorElement * > pStaTrack
std::vector< MonitorElement * > etaGlbTrack
std::vector< MonitorElement * > pHighPtTrack
std::vector< MonitorElement * > phiSoftTrack
std::vector< MonitorElement * > chi2Track
edm::EDGetTokenT< reco::MuonCollection > theMuonCollectionLabel_
std::vector< MonitorElement * > chi2SoftTrack
std::vector< MonitorElement * > pLooseTrack
std::vector< MonitorElement * > etaHighPtTrack
std::vector< MonitorElement * > chi2StaTrack
MuonKinVsEtaAnalyzer(const edm::ParameterSet &pSet)
Constructor.
std::vector< MonitorElement * > phiTrack
std::vector< MonitorElement * > ptSoftTrack
std::vector< MonitorElement * > ptStaTrack
std::vector< MonitorElement * > ptGlbTrack
void beginJob(void)
Initialize parameters for histo binning.
std::vector< MonitorElement * > chi2probHighPtTrack
std::vector< MonitorElement * > phiGlbTrack
Definition: Run.h:41
std::vector< MonitorElement * > phiHighPtTrack
~MuonKinVsEtaAnalyzer()
Destructor.