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 
4 
15 #include <memory>
16 #include <fstream>
26 
27 
29  public:
30 
33 
35  virtual ~MuonKinVsEtaAnalyzer();
36 
38  void beginJob(DQMStore *dbe);
39 
41  void analyze(const edm::Event&, const edm::EventSetup&, const reco::Muon& recoMu);
42 
43 
44  private:
45  // ----------member data ---------------------------
46 
48  // Switch for verbosity
49  std::string metname;
50  // STA Label
52 
53  //histo binning parameters
54  int pBin;
55  double pMin;
56  double pMax;
57 
58  int ptBin;
59  double ptMin;
60  double ptMax;
61 
62  int etaBin;
63  double etaMin;
64  double etaMax;
65 
66  int phiBin;
67  double phiMin;
68  double phiMax;
69 
70  //Defining relevant eta regions
71  double EtaCutMin;
72  double EtaCutMax;
73  double etaBMin;
74  double etaBMax;
75  double etaECMin;
76  double etaECMax;
77  double etaOvlpMin;
78  double etaOvlpMax;
79 
80  //the histos
81  // global muon
82  std::vector<MonitorElement*> etaGlbTrack;
83  std::vector<MonitorElement*> phiGlbTrack;
84  std::vector<MonitorElement*> pGlbTrack;
85  std::vector<MonitorElement*> ptGlbTrack;
86 
87  // tracker muon
88  std::vector<MonitorElement*> etaTrack;
89  std::vector<MonitorElement*> phiTrack;
90  std::vector<MonitorElement*> pTrack;
91  std::vector<MonitorElement*> ptTrack;
92 
93  // sta muon
94  std::vector<MonitorElement*> etaStaTrack;
95  std::vector<MonitorElement*> phiStaTrack;
96  std::vector<MonitorElement*> pStaTrack;
97  std::vector<MonitorElement*> ptStaTrack;
98 
99  // GMPT muon
100  std::vector<MonitorElement*> etaTightTrack;
101  std::vector<MonitorElement*> phiTightTrack;
102  std::vector<MonitorElement*> pTightTrack;
103  std::vector<MonitorElement*> ptTightTrack;
104 
105 };
106 #endif
std::vector< MonitorElement * > etaTrack
MuonServiceProxy * theService
edm::InputTag theSTACollectionLabel
std::vector< MonitorElement * > phiStaTrack
void analyze(const edm::Event &, const edm::EventSetup &, const reco::Muon &recoMu)
Get the analysis.
std::vector< MonitorElement * > ptTrack
void beginJob(DQMStore *dbe)
Inizialize parameters for histo binning.
MuonKinVsEtaAnalyzer(const edm::ParameterSet &, MuonServiceProxy *theService)
Constructor.
std::vector< MonitorElement * > pTrack
std::vector< MonitorElement * > ptTightTrack
std::vector< MonitorElement * > etaTightTrack
edm::ParameterSet parameters
std::vector< MonitorElement * > phiTightTrack
std::vector< MonitorElement * > pTightTrack
std::vector< MonitorElement * > etaStaTrack
std::vector< MonitorElement * > pGlbTrack
std::vector< MonitorElement * > pStaTrack
std::vector< MonitorElement * > etaGlbTrack
std::vector< MonitorElement * > phiTrack
std::vector< MonitorElement * > ptStaTrack
std::vector< MonitorElement * > ptGlbTrack
std::vector< MonitorElement * > phiGlbTrack
virtual ~MuonKinVsEtaAnalyzer()
Destructor.