CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RPCDigiValid.h
Go to the documentation of this file.
1 #ifndef RPCDigiValid_h
2 #define RPCDigiValid_h
3 
6 
11 
14 
16 
19 
20 #include <iostream>
21 #include <string>
24 
26 #include "TH1F.h"
27 
31 
33 {
34 
35 public:
36 
38  ~RPCDigiValid();
39 
40 protected:
41  void analyze(const edm::Event& e, const edm::EventSetup& c);
42  void beginJob();
43  void endJob(void);
44  void beginRun(edm::Run const&, edm::EventSetup const&);
45  void endRun(edm::Run const&, edm::EventSetup const&);
46 
47 private:
48 
59 
60  //barrel layers residuals
67 
68  //members for EndCap's disks:
75 
76  //endcap layters residuals
80 
84 
88 
89  //new member for cls
93 
95 
96  //CLS Validation
97  //ring2, disc +- 1
101 
102  //ring2, disc +-2 & +-3
106 
107  //ring 3, all discs
111  //CLS Validation
112 
113  //4 endcap
114 
122 
123  //new members for the noise
124  std::map<RPCDetId, double> mapRollCls;
125  std::map<RPCDetId, double> mapRollArea;
126  std::map<RPCDetId, double> mapRollStripArea;
127  std::map<RPCDetId, int> mapRollFakeCount;
128  std::map<RPCDetId, int> mapRollTruCount;
129  std::map<RPCDetId, std::string> mapRollName;
130  std::map<RPCDetId, std::map<int, double>*> mapRollStripRate;
131  std::map<RPCDetId, std::map<int, double>*> mapRollNoisyStripRate;
133 
137 
138  //Tokens for accessing run data. Used for passing to edm::Event. - stanislav
141 };
142 
143 #endif
144 
MonitorElement * CLS_Endcap_1_Ring2_A
Definition: RPCDigiValid.h:98
MonitorElement * CLS_Endcap_123_Ring3_A
Definition: RPCDigiValid.h:108
MonitorElement * CLS_Endcap_1_Ring2_B
Definition: RPCDigiValid.h:99
MonitorElement * CLS_Endcap_23_Ring2_A
Definition: RPCDigiValid.h:103
std::map< RPCDetId, double > mapRollCls
Definition: RPCDigiValid.h:124
std::map< RPCDetId, int > mapRollTruCount
Definition: RPCDigiValid.h:128
MonitorElement * noiseCLSEndcaps
Definition: RPCDigiValid.h:92
MonitorElement * ResLayer6_barrel
Definition: RPCDigiValid.h:66
MonitorElement * Res_Endcap1_Ring2_A
Definition: RPCDigiValid.h:77
std::map< RPCDetId, std::map< int, double > * > mapRollNoisyStripRate
Definition: RPCDigiValid.h:131
MonitorElement * Res_Endcap123_Ring3_A
Definition: RPCDigiValid.h:85
MonitorElement * ResLayer3_barrel
Definition: RPCDigiValid.h:63
MonitorElement * CLS_Endcap_4
Definition: RPCDigiValid.h:121
MonitorElement * ResWplu2
Definition: RPCDigiValid.h:56
RPCDigiValid(const edm::ParameterSet &ps)
Definition: RPCDigiValid.cc:18
DQMStore * dbe_
Definition: RPCDigiValid.h:134
MonitorElement * BxDisc_4Min
Definition: RPCDigiValid.h:118
MonitorElement * StripProf
Definition: RPCDigiValid.h:58
MonitorElement * Res
Definition: RPCDigiValid.h:51
void analyze(const edm::Event &e, const edm::EventSetup &c)
Definition: RPCDigiValid.cc:38
MonitorElement * ResWzer0
Definition: RPCDigiValid.h:54
std::string outputFile_
Definition: RPCDigiValid.h:135
std::map< RPCDetId, double > mapRollArea
Definition: RPCDigiValid.h:125
void beginRun(edm::Run const &, edm::EventSetup const &)
MonitorElement * ResDmin3
Definition: RPCDigiValid.h:71
void endJob(void)
MonitorElement * ResLayer5_barrel
Definition: RPCDigiValid.h:65
MonitorElement * ResWmin1
Definition: RPCDigiValid.h:53
MonitorElement * ResLayer2_barrel
Definition: RPCDigiValid.h:62
MonitorElement * ResDplu4
Definition: RPCDigiValid.h:116
MonitorElement * ResDplu3
Definition: RPCDigiValid.h:74
MonitorElement * ResDmin1
Definition: RPCDigiValid.h:69
MonitorElement * ResWplu1
Definition: RPCDigiValid.h:55
MonitorElement * Res_Endcap123_Ring3_C
Definition: RPCDigiValid.h:87
MonitorElement * BxDisc_4Plus
Definition: RPCDigiValid.h:117
std::map< RPCDetId, std::string > mapRollName
Definition: RPCDigiValid.h:129
std::map< RPCDetId, double > mapRollStripArea
Definition: RPCDigiValid.h:126
MonitorElement * Res_Endcap123_Ring3_B
Definition: RPCDigiValid.h:86
std::map< RPCDetId, int > mapRollFakeCount
Definition: RPCDigiValid.h:127
MonitorElement * CLS_Endcap_123_Ring3_B
Definition: RPCDigiValid.h:109
MonitorElement * ResWmin2
Definition: RPCDigiValid.h:52
MonitorElement * xyvDmin4
Definition: RPCDigiValid.h:120
MonitorElement * CLS_Endcap_1_Ring2_C
Definition: RPCDigiValid.h:100
MonitorElement * ResDplu2
Definition: RPCDigiValid.h:73
MonitorElement * Res_Endcap23_Ring2_C
Definition: RPCDigiValid.h:83
MonitorElement * ResLayer1_barrel
Definition: RPCDigiValid.h:61
MonitorElement * Res_Endcap1_Ring2_B
Definition: RPCDigiValid.h:78
MonitorElement * noiseCLS
Definition: RPCDigiValid.h:90
MonitorElement * ResDmin2
Definition: RPCDigiValid.h:70
edm::EDGetTokenT< RPCDigiCollection > rpcDigiToken
Definition: RPCDigiValid.h:140
MonitorElement * Res_Endcap23_Ring2_A
Definition: RPCDigiValid.h:81
std::map< RPCDetId, std::map< int, double > * > mapRollStripRate
Definition: RPCDigiValid.h:130
MonitorElement * BxDist
Definition: RPCDigiValid.h:57
MonitorElement * clsBarrel
Definition: RPCDigiValid.h:94
MonitorElement * ResDmin4
Definition: RPCDigiValid.h:115
MonitorElement * ResLayer4_barrel
Definition: RPCDigiValid.h:64
MonitorElement * CLS_Endcap_123_Ring3_C
Definition: RPCDigiValid.h:110
std::string digiLabel
Definition: RPCDigiValid.h:136
MonitorElement * xyview
Definition: RPCDigiValid.h:49
MonitorElement * ResDplu1
Definition: RPCDigiValid.h:72
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken
Definition: RPCDigiValid.h:139
void endRun(edm::Run const &, edm::EventSetup const &)
MonitorElement * Res_Endcap23_Ring2_B
Definition: RPCDigiValid.h:82
MonitorElement * xyvDplu4
Definition: RPCDigiValid.h:119
MonitorElement * CLS_Endcap_23_Ring2_C
Definition: RPCDigiValid.h:105
MonitorElement * Res_Endcap1_Ring2_C
Definition: RPCDigiValid.h:79
Definition: Run.h:41
MonitorElement * CLS_Endcap_23_Ring2_B
Definition: RPCDigiValid.h:104
MonitorElement * rzview
Definition: RPCDigiValid.h:50
MonitorElement * noiseCLSBarrel
Definition: RPCDigiValid.h:91