CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalDigisAnalyzer.h
Go to the documentation of this file.
1 #ifndef GlobalDigisAnalyzer_h
2 #define GlobalDigisAnalyzer_h
3 
15 // framework & common header files
26 
27 //DQM services
30 
31 // ecal calorimeter info
40 
41 // hcal calorimeter info
54 
55 // silicon strip info
59 
60 // silicon pixel info
63 
64 // muon DT info
69 
70 // muon CSC Strip info
73 
74 // muon CSC Wire info
77 
78 // muon RPC info
85 
90 
91 // event info
96 
97 #include <iostream>
98 #include <stdlib.h>
99 #include <string>
100 #include <memory>
101 #include <vector>
102 #include <map>
103 
104 #include "TString.h"
106 
107 class PGlobalDigi;
108 
110 {
111 
112  public:
113  typedef std::vector<float> FloatVector;
114  typedef std::vector<double> DoubleVector;
115  typedef std::vector<int> IntVector;
116  typedef std::map<uint32_t,float,std::less<uint32_t> > MapType;
117 
118  explicit GlobalDigisAnalyzer(const edm::ParameterSet&);
119  virtual ~GlobalDigisAnalyzer();
120  virtual void beginJob( void );
121  virtual void endJob();
122  virtual void analyze(const edm::Event&, const edm::EventSetup&);
123 
124  private:
125 
126  // production related methods
127  void fillECal(const edm::Event&, const edm::EventSetup&);
128  //void storeECal(PGlobalDigi&);
129  void fillHCal(const edm::Event&, const edm::EventSetup&);
130  //void storeHCal(PGlobalDigi&);
131  void fillTrk(const edm::Event&, const edm::EventSetup&);
132  //void storeTrk(PGlobalDigi&);
133  void fillMuon(const edm::Event&, const edm::EventSetup&);
134  //void storeMuon(PGlobalDigi&);
135 
136  //void clear();
137 
138  private:
139 
140  // parameter information
148 
150 
151  // Electromagnetic info
152  // ECal info
153 
162 
166 
167  std::map<int, double, std::less<int> > ECalgainConv_;
170 
171  // HCal info
172 
178 
181 
182  // Tracker info
183  // SiStrip
184 
188 
190 
191  // SiPxl
192 
197 
199 
200  // Muon info
201  // DT
202 
207 
209 
210  // CSC
211 
216 
220 
222 
223  // RPC
226 
228 
229  // private statistics information
230  unsigned int count;
231 
232 }; // end class declaration
233 
234 #endif
235 
236 #ifndef GlobalHitMap
237 #define GlobalHitMap
238 
239 // geometry mapping
240 static const int dTrk = 1;
241 static const int sdPxlBrl = 1;
242 static const int sdPxlFwd = 2;
243 static const int sdSiTIB = 3;
244 static const int sdSiTID = 4;
245 static const int sdSiTOB = 5;
246 static const int sdSiTEC = 6;
247 
248 static const int dMuon = 2;
249 static const int sdMuonDT = 1;
250 static const int sdMuonCSC = 2;
251 static const int sdMuonRPC = 3;
252 static const int sdMuonRPCRgnBrl = 0;
253 static const int sdMuonRPCRgnFwdp = 1;
254 static const int sdMuonRPCRgnFwdn = -1;
255 
256 static const int dEcal = 3;
257 static const int sdEcalBrl = 1;
258 static const int sdEcalFwd = 2;
259 static const int sdEcalPS = 3;
260 static const int sdEcalTT = 4;
261 static const int sdEcalLPnD = 5;
262 
263 static const int dHcal = 4;
264 static const int sdHcalEmpty = 0;
265 static const int sdHcalBrl = 1;
266 static const int sdHcalEC = 2;
267 static const int sdHcalOut = 3;
268 static const int sdHcalFwd = 4;
269 static const int sdHcalTT = 5;
270 static const int sdHcalCalib = 6;
271 static const int sdHcalCompst = 7;
272 
273 #endif //PGlobalDigisAnalyzer_h
GlobalDigisAnalyzer(const edm::ParameterSet &)
static const int dEcal
static const int dTrk
MonitorElement * mehEScalADC[3]
MonitorElement * mehDtMuonLayer[4]
static const int sdMuonRPCRgnFwdn
static const int sdHcalOut
static const int sdMuonDT
static const int sdEcalTT
MonitorElement * mehEcaln[2]
void fillECal(const edm::Event &, const edm::EventSetup &)
static const int sdSiTID
MonitorElement * mehEScaln
MonitorElement * mehSiPixelRow[7]
MonitorElement * mehRPCRes[5]
static const int sdEcalPS
static const int sdHcalCalib
static const int sdMuonRPC
MonitorElement * mehSiStripADC[19]
MonitorElement * mehDtMuonTimevLayer[4]
MonitorElement * mehSiStripn[19]
MonitorElement * mehCSCWireTime
static const int sdHcalTT
virtual void beginJob(void)
MonitorElement * mehEcalMaxPos[2]
MonitorElement * mehDtMuonTime[4]
static const int sdSiTIB
static const int sdPxlBrl
edm::InputTag MuCSCStripSrc_
static const int sdMuonCSC
static const int sdEcalFwd
static const int sdHcalCompst
MonitorElement * mehHcalAEE[4]
std::map< uint32_t, float, std::less< uint32_t > > MapType
static const int sdSiTOB
static const int sdEcalBrl
static const int sdMuonRPCRgnFwdp
std::vector< double > DoubleVector
static const int sdMuonRPCRgnBrl
std::map< int, double, std::less< int > > ECalgainConv_
void fillHCal(const edm::Event &, const edm::EventSetup &)
MonitorElement * mehRPCMuonn
MonitorElement * mehEcalSHE[2]
static const int sdEcalLPnD
void fillMuon(const edm::Event &, const edm::EventSetup &)
static const int dHcal
MonitorElement * mehEcalAEE[2]
MonitorElement * mehHcalSHEvAEE[4]
MonitorElement * mehCSCStripn
MonitorElement * mehCSCStripADC
static const int sdHcalFwd
static const int sdHcalBrl
MonitorElement * mehSiPixelCol[7]
MonitorElement * mehHcaln[4]
MonitorElement * mehHcalAEESHE[4]
std::vector< int > IntVector
MonitorElement * mehEcalSHEvAEESHE[2]
static const int sdSiTEC
static const int dMuon
MonitorElement * mehHcalSHE[4]
MonitorElement * mehCSCWiren
static const int sdPxlFwd
static const int sdHcalEmpty
MonitorElement * mehEcalMultvAEE[2]
std::vector< float > FloatVector
MonitorElement * mehSiPixeln[7]
MonitorElement * mehSiStripStrip[19]
void fillTrk(const edm::Event &, const edm::EventSetup &)
static const int sdHcalEC
MonitorElement * mehSiPixelADC[7]
MonitorElement * mehDtMuonn[4]
virtual void analyze(const edm::Event &, const edm::EventSetup &)