CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes
RPCDigiValid Class Reference

#include <RPCDigiValid.h>

Inheritance diagram for RPCDigiValid:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

 RPCDigiValid (const edm::ParameterSet &ps)
 
 ~RPCDigiValid ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Private Attributes

MonitorElementBxDisc_4Min
 
MonitorElementBxDisc_4Plus
 
MonitorElementBxDist
 
MonitorElementCLS_Endcap_123_Ring3_A
 
MonitorElementCLS_Endcap_123_Ring3_B
 
MonitorElementCLS_Endcap_123_Ring3_C
 
MonitorElementCLS_Endcap_1_Ring2_A
 
MonitorElementCLS_Endcap_1_Ring2_B
 
MonitorElementCLS_Endcap_1_Ring2_C
 
MonitorElementCLS_Endcap_23_Ring2_A
 
MonitorElementCLS_Endcap_23_Ring2_B
 
MonitorElementCLS_Endcap_23_Ring2_C
 
MonitorElementCLS_Endcap_4
 
MonitorElementclsBarrel
 
std::string digiLabel
 
MonitorElementnoiseCLS
 
MonitorElementnoiseCLSBarrel
 
MonitorElementnoiseCLSEndcaps
 
std::string outputFile_
 
MonitorElementRes
 
MonitorElementRes_Endcap123_Ring3_A
 
MonitorElementRes_Endcap123_Ring3_B
 
MonitorElementRes_Endcap123_Ring3_C
 
MonitorElementRes_Endcap1_Ring2_A
 
MonitorElementRes_Endcap1_Ring2_B
 
MonitorElementRes_Endcap1_Ring2_C
 
MonitorElementRes_Endcap23_Ring2_A
 
MonitorElementRes_Endcap23_Ring2_B
 
MonitorElementRes_Endcap23_Ring2_C
 
MonitorElementResDmin1
 
MonitorElementResDmin2
 
MonitorElementResDmin3
 
MonitorElementResDmin4
 
MonitorElementResDplu1
 
MonitorElementResDplu2
 
MonitorElementResDplu3
 
MonitorElementResDplu4
 
MonitorElementResLayer1_barrel
 
MonitorElementResLayer2_barrel
 
MonitorElementResLayer3_barrel
 
MonitorElementResLayer4_barrel
 
MonitorElementResLayer5_barrel
 
MonitorElementResLayer6_barrel
 
MonitorElementResWmin1
 
MonitorElementResWmin2
 
MonitorElementResWplu1
 
MonitorElementResWplu2
 
MonitorElementResWzer0
 
edm::EDGetTokenT
< RPCDigiCollection
rpcDigiToken
 
MonitorElementrzview
 
edm::EDGetTokenT
< edm::PSimHitContainer
simHitToken
 
MonitorElementStripProf
 
MonitorElementxyvDmin4
 
MonitorElementxyvDplu4
 
MonitorElementxyview
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Detailed Description

Definition at line 17 of file RPCDigiValid.h.

Constructor & Destructor Documentation

RPCDigiValid::RPCDigiValid ( const edm::ParameterSet ps)

Definition at line 18 of file RPCDigiValid.cc.

References edm::ParameterSet::getUntrackedParameter(), and HLT_25ns10e33_v2_cff::InputTag.

19 {
20 
21 // Init the tokens for run data retrieval - stanislav
22 // ps.getUntackedParameter<InputTag> retrieves a InputTag from the configuration. The second param is default value
23 // module, instance and process labels may be passed in a single string if separated by colon ':'
24 // (@see the edm::InputTag constructor documentation)
25  simHitToken = consumes<PSimHitContainer>(ps.getUntrackedParameter<edm::InputTag >("simHitTag", edm::InputTag("g4SimHits:MuonRPCHits")));
26  rpcDigiToken = consumes<RPCDigiCollection>(ps.getUntrackedParameter<edm::InputTag>("rpcDigiTag", edm::InputTag("simMuonRPCDigis")));
27 
28  outputFile_ = ps.getUntrackedParameter<string> ("outputFile", "rpcDigiValidPlots.root");
29 }
T getUntrackedParameter(std::string const &, T const &) const
std::string outputFile_
Definition: RPCDigiValid.h:103
edm::EDGetTokenT< RPCDigiCollection > rpcDigiToken
Definition: RPCDigiValid.h:108
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken
Definition: RPCDigiValid.h:107
RPCDigiValid::~RPCDigiValid ( )

Definition at line 31 of file RPCDigiValid.cc.

32 {
33 }

Member Function Documentation

void RPCDigiValid::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 36 of file RPCDigiValid.cc.

References funct::abs(), RPCRoll::centreOfStrip(), edm::EventSetup::get(), RPCDetId::layer(), AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), RPCDetId::region(), RPCDetId::ring(), RPCDetId::roll(), RPCDetId, RPCDetId::station(), GeomDet::toGlobal(), PV3DBase< T, PVType, FrameType >::x(), x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

37 {
38 
39  // Get the RPC Geometry
41  eventSetup.get<MuonGeometryRecord> ().get(rpcGeom);
42 
45  event.getByToken(simHitToken, simHit);
46  event.getByToken(rpcDigiToken, rpcDigis);
47 
48  // Loop on simhits
49  PSimHitContainer::const_iterator simIt;
50 
51  //loop over Simhit
52  std::map<RPCDetId, std::vector<double> > allsims;
53 
54  for (simIt = simHit->begin(); simIt != simHit->end(); simIt++)
55  {
56  RPCDetId Rsid = (RPCDetId)(*simIt).detUnitId();
57  const RPCRoll* soll = dynamic_cast<const RPCRoll*> (rpcGeom->roll(Rsid));
58  int ptype = simIt->particleType();
59 
60  if (ptype == 13 || ptype == -13)
61  {
62 
63  std::vector<double> buff;
64  if (allsims.find(Rsid) != allsims.end())
65  {
66  buff = allsims[Rsid];
67  }
68 
69  buff.push_back(simIt->localPosition().x());
70 
71  allsims[Rsid] = buff;
72  }
73  GlobalPoint p = soll->toGlobal(simIt->localPosition());
74 
75  double sim_x = p.x();
76  double sim_y = p.y();
77 
78  xyview->Fill(sim_x, sim_y);
79 
80  if (Rsid.region() == (+1))
81  {
82  if (Rsid.station() == 4)
83  {
84  xyvDplu4->Fill(sim_x, sim_y);
85  }
86  }
87  else if (Rsid.region() == (-1))
88  {
89  if (Rsid.station() == 4)
90  {
91  xyvDmin4->Fill(sim_x, sim_y);
92  }
93  }
94  rzview->Fill(p.z(), p.perp());
95  }
96  //loop over Digis
98  for (detUnitIt = rpcDigis->begin(); detUnitIt != rpcDigis->end(); ++detUnitIt)
99  {
100  const RPCDetId Rsid = (*detUnitIt).first;
101  const RPCRoll* roll = dynamic_cast<const RPCRoll*> (rpcGeom->roll(Rsid));
102 
103  const RPCDigiCollection::Range& range = (*detUnitIt).second;
104  std::vector<double> sims;
105  if (allsims.find(Rsid) != allsims.end())
106  {
107  sims = allsims[Rsid];
108  }
109 
110  int ndigi=0;
111  for (RPCDigiCollection::const_iterator digiIt = range.first; digiIt != range.second; ++digiIt)
112  {
113  StripProf->Fill(digiIt->strip());
114  BxDist->Fill(digiIt->bx());
115  //bx for 4 endcaps
116  if (Rsid.region() == (+1))
117  {
118  if (Rsid.station() == 4)
119  BxDisc_4Plus->Fill(digiIt->bx());
120  }
121  else if (Rsid.region() == (-1))
122  {
123  if (Rsid.station() == 4)
124  BxDisc_4Min->Fill(digiIt->bx());
125  }
126  ndigi++;
127  }
128 
129  if (sims.size() == 0)
130  {
131  noiseCLS->Fill(ndigi);
132  if (Rsid.region() == 0)
133  {
134  noiseCLSBarrel->Fill(ndigi);
135  }
136  if (Rsid.region() == +1 || Rsid.region() == 1)
137  {
138  noiseCLSEndcaps->Fill(ndigi);
139  }
140  }
141  //CLS histos
142  if (Rsid.region() == 0)
143  {
144  clsBarrel->Fill(ndigi);
145  }
146  //endcap
147  if (Rsid.region() != 0)
148  {
149  if (Rsid.ring() == 2)
150  {
151  if (abs(Rsid.station()) == 1)
152  {
153  if (Rsid.roll() == 1)
154  CLS_Endcap_1_Ring2_A->Fill(ndigi);
155  if (Rsid.roll() == 2)
156  CLS_Endcap_1_Ring2_B->Fill(ndigi);
157  if (Rsid.roll() == 3)
158  CLS_Endcap_1_Ring2_C->Fill(ndigi);
159  }
160  if (abs(Rsid.station()) == 2 || abs(Rsid.station()) == 3)
161  {
162  if (Rsid.roll() == 1)
163  CLS_Endcap_23_Ring2_A->Fill(ndigi);
164  if (Rsid.roll() == 2)
165  CLS_Endcap_23_Ring2_B->Fill(ndigi);
166  if (Rsid.roll() == 3)
167  CLS_Endcap_23_Ring2_C->Fill(ndigi);
168  }
169  }
170  if (Rsid.ring() == 3)
171  {
172  if (Rsid.roll() == 1)
174  if (Rsid.roll() == 2)
176  if (Rsid.roll() == 3)
178  }
179  if (abs(Rsid.station()) == 4)
180  CLS_Endcap_4->Fill(ndigi);
181  }
182 
183  if (sims.size() == 1 && ndigi == 1)
184  {
185  double dis = roll->centreOfStrip(range.first->strip()).x() - sims[0];
186  Res->Fill(dis);
187 
188  if (Rsid.region() == 0)
189  {
190  if (Rsid.ring() == -2)
191  ResWmin2->Fill(dis);
192  else if (Rsid.ring() == -1)
193  ResWmin1->Fill(dis);
194  else if (Rsid.ring() == 0)
195  ResWzer0->Fill(dis);
196  else if (Rsid.ring() == 1)
197  ResWplu1->Fill(dis);
198  else if (Rsid.ring() == 2)
199  ResWplu2->Fill(dis);
200  //barrel layers
201  if (Rsid.station() == 1 && Rsid.layer() == 1)
202  ResLayer1_barrel->Fill(dis);
203  if (Rsid.station() == 1 && Rsid.layer() == 2)
204  ResLayer2_barrel->Fill(dis);
205  if (Rsid.station() == 2 && Rsid.layer() == 1)
206  ResLayer3_barrel->Fill(dis);
207  if (Rsid.station() == 2 && Rsid.layer() == 2)
208  ResLayer4_barrel->Fill(dis);
209  if (Rsid.station() == 3)
210  ResLayer5_barrel->Fill(dis);
211  if (Rsid.station() == 4)
212  ResLayer6_barrel->Fill(dis);
213  }
214  //endcap layers residuals
215  if (Rsid.region() != 0)
216  {
217  if (Rsid.ring() == 2)
218  {
219  if (abs(Rsid.station()) == 1)
220  {
221  if (Rsid.roll() == 1)
223  if (Rsid.roll() == 2)
225  if (Rsid.roll() == 3)
227  }
228  if (abs(Rsid.station()) == 2 || abs(Rsid.station()) == 3)
229  {
230  if (Rsid.roll() == 1)
232  if (Rsid.roll() == 2)
234  if (Rsid.roll() == 3)
236  }
237  }
238  if (Rsid.ring() == 3)
239  {
240  if (Rsid.roll() == 1)
242  if (Rsid.roll() == 2)
244  if (Rsid.roll() == 3)
246  }
247  }
248 
249  if (Rsid.region() == (+1))
250  {
251 
252  if (Rsid.station() == 1)
253  ResDplu1->Fill(dis);
254  else if (Rsid.station() == 2)
255  ResDplu2->Fill(dis);
256  else if (Rsid.station() == 3)
257  ResDplu3->Fill(dis);
258  else if (Rsid.station() == 4)
259  ResDplu4->Fill(dis);
260  }
261  if (Rsid.region() == (-1))
262  {
263 
264  if (Rsid.station() == 1)
265  ResDmin1->Fill(dis);
266  else if (Rsid.station() == 2)
267  ResDmin2->Fill(dis);
268  else if (Rsid.station() == 3)
269  ResDmin3->Fill(dis);
270  else if (Rsid.station() == 4)
271  ResDmin4->Fill(dis);
272  }
273  }
274  }
275 }
MonitorElement * CLS_Endcap_1_Ring2_A
Definition: RPCDigiValid.h:80
MonitorElement * CLS_Endcap_123_Ring3_A
Definition: RPCDigiValid.h:89
MonitorElement * CLS_Endcap_1_Ring2_B
Definition: RPCDigiValid.h:81
LocalPoint centreOfStrip(int strip) const
Definition: RPCRoll.cc:52
MonitorElement * CLS_Endcap_23_Ring2_A
Definition: RPCDigiValid.h:84
T perp() const
Definition: PV3DBase.h:72
MonitorElement * noiseCLSEndcaps
Definition: RPCDigiValid.h:74
MonitorElement * ResLayer6_barrel
Definition: RPCDigiValid.h:48
MonitorElement * Res_Endcap1_Ring2_A
Definition: RPCDigiValid.h:59
MonitorElement * Res_Endcap123_Ring3_A
Definition: RPCDigiValid.h:67
MonitorElement * ResLayer3_barrel
Definition: RPCDigiValid.h:45
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
Definition: GeomDet.h:54
T y() const
Definition: PV3DBase.h:63
MonitorElement * CLS_Endcap_4
Definition: RPCDigiValid.h:101
MonitorElement * ResWplu2
Definition: RPCDigiValid.h:38
MonitorElement * BxDisc_4Min
Definition: RPCDigiValid.h:98
MonitorElement * StripProf
Definition: RPCDigiValid.h:40
MonitorElement * Res
Definition: RPCDigiValid.h:33
MonitorElement * ResWzer0
Definition: RPCDigiValid.h:36
void Fill(long long x)
MonitorElement * ResDmin3
Definition: RPCDigiValid.h:53
MonitorElement * ResLayer5_barrel
Definition: RPCDigiValid.h:47
MonitorElement * ResWmin1
Definition: RPCDigiValid.h:35
MonitorElement * ResLayer2_barrel
Definition: RPCDigiValid.h:44
int roll() const
Definition: RPCDetId.h:120
MonitorElement * ResDplu4
Definition: RPCDigiValid.h:96
MonitorElement * ResDplu3
Definition: RPCDigiValid.h:56
int ring() const
Definition: RPCDetId.h:72
MonitorElement * ResDmin1
Definition: RPCDigiValid.h:51
MonitorElement * ResWplu1
Definition: RPCDigiValid.h:37
T z() const
Definition: PV3DBase.h:64
MonitorElement * Res_Endcap123_Ring3_C
Definition: RPCDigiValid.h:69
MonitorElement * BxDisc_4Plus
Definition: RPCDigiValid.h:97
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
MonitorElement * Res_Endcap123_Ring3_B
Definition: RPCDigiValid.h:68
MonitorElement * CLS_Endcap_123_Ring3_B
Definition: RPCDigiValid.h:90
MonitorElement * ResWmin2
Definition: RPCDigiValid.h:34
MonitorElement * xyvDmin4
Definition: RPCDigiValid.h:100
MonitorElement * CLS_Endcap_1_Ring2_C
Definition: RPCDigiValid.h:82
MonitorElement * ResDplu2
Definition: RPCDigiValid.h:55
MonitorElement * Res_Endcap23_Ring2_C
Definition: RPCDigiValid.h:65
MonitorElement * ResLayer1_barrel
Definition: RPCDigiValid.h:43
int layer() const
Definition: RPCDetId.h:108
MonitorElement * Res_Endcap1_Ring2_B
Definition: RPCDigiValid.h:60
MonitorElement * noiseCLS
Definition: RPCDigiValid.h:72
MonitorElement * ResDmin2
Definition: RPCDigiValid.h:52
std::vector< RPCDigi >::const_iterator const_iterator
edm::EDGetTokenT< RPCDigiCollection > rpcDigiToken
Definition: RPCDigiValid.h:108
MonitorElement * Res_Endcap23_Ring2_A
Definition: RPCDigiValid.h:63
MonitorElement * BxDist
Definition: RPCDigiValid.h:39
MonitorElement * clsBarrel
Definition: RPCDigiValid.h:76
MonitorElement * ResDmin4
Definition: RPCDigiValid.h:95
MonitorElement * ResLayer4_barrel
Definition: RPCDigiValid.h:46
MonitorElement * CLS_Endcap_123_Ring3_C
Definition: RPCDigiValid.h:91
std::pair< const_iterator, const_iterator > Range
MonitorElement * xyview
Definition: RPCDigiValid.h:31
MonitorElement * ResDplu1
Definition: RPCDigiValid.h:54
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken
Definition: RPCDigiValid.h:107
MonitorElement * Res_Endcap23_Ring2_B
Definition: RPCDigiValid.h:64
T x() const
Definition: PV3DBase.h:62
MonitorElement * xyvDplu4
Definition: RPCDigiValid.h:99
MonitorElement * CLS_Endcap_23_Ring2_C
Definition: RPCDigiValid.h:86
MonitorElement * Res_Endcap1_Ring2_C
Definition: RPCDigiValid.h:61
MonitorElement * CLS_Endcap_23_Ring2_B
Definition: RPCDigiValid.h:85
MonitorElement * rzview
Definition: RPCDigiValid.h:32
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
Definition: RPCDetId.h:63
int station() const
Definition: RPCDetId.h:96
MonitorElement * noiseCLSBarrel
Definition: RPCDigiValid.h:73
void RPCDigiValid::bookHistograms ( DQMStore::IBooker booker,
edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 277 of file RPCDigiValid.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), and DQMStore::IBooker::setCurrentFolder().

278 {
279  booker.setCurrentFolder("RPCDigisV/RPCDigis");
280 
281  xyview = booker.book2D("X_Vs_Y_View", "X_Vs_Y_View", 155, -775., 775., 155, -775., 775.);
282 
283  xyvDplu4 = booker.book2D("Dplu4_XvsY", "Dplu4_XvsY", 155, -775., 775., 155, -775., 775.);
284  xyvDmin4 = booker.book2D("Dmin4_XvsY", "Dmin4_XvsY", 155, -775., 775., 155, -775., 775.);
285 
286  rzview = booker.book2D("R_Vs_Z_View", "R_Vs_Z_View", 216, -1080., 1080., 52, 260., 780.);
287  Res = booker.book1D("Digi_SimHit_difference", "Digi_SimHit_difference", 300, -8, 8);
288  ResWmin2 = booker.book1D("W_Min2_Residuals", "W_Min2_Residuals", 400, -8, 8);
289  ResWmin1 = booker.book1D("W_Min1_Residuals", "W_Min1_Residuals", 400, -8, 8);
290  ResWzer0 = booker.book1D("W_Zer0_Residuals", "W_Zer0_Residuals", 400, -8, 8);
291  ResWplu1 = booker.book1D("W_Plu1_Residuals", "W_Plu1_Residuals", 400, -8, 8);
292  ResWplu2 = booker.book1D("W_Plu2_Residuals", "W_Plu2_Residuals", 400, -8, 8);
293 
294  ResLayer1_barrel = booker.book1D("ResLayer1_barrel", "ResLayer1_barrel", 400, -8, 8);
295  ResLayer2_barrel = booker.book1D("ResLayer2_barrel", "ResLayer2_barrel", 400, -8, 8);
296  ResLayer3_barrel = booker.book1D("ResLayer3_barrel", "ResLayer3_barrel", 400, -8, 8);
297  ResLayer4_barrel = booker.book1D("ResLayer4_barrel", "ResLayer4_barrel", 400, -8, 8);
298  ResLayer5_barrel = booker.book1D("ResLayer5_barrel", "ResLayer5_barrel", 400, -8, 8);
299  ResLayer6_barrel = booker.book1D("ResLayer6_barrel", "ResLayer6_barrel", 400, -8, 8);
300 
301  BxDist = booker.book1D("Bunch_Crossing", "Bunch_Crossing", 20, -10., 10.);
302  StripProf = booker.book1D("Strip_Profile", "Strip_Profile", 100, 0, 100);
303 
304  BxDisc_4Plus = booker.book1D("BxDisc_4Plus", "BxDisc_4Plus", 20, -10., 10.);
305  BxDisc_4Min = booker.book1D("BxDisc_4Min", "BxDisc_4Min", 20, -10., 10.);
306 
307  //cls histos
308  noiseCLS = booker.book1D("noiseCLS", "noiseCLS", 10, 0.5, 10.5);
309  noiseCLSBarrel = booker.book1D("noiseCLSBarrel", "noiseCLSBarrel", 10, 0.5, 10.5);
310  noiseCLSEndcaps = booker.book1D("noiseCLSEndcaps", "noiseCLSEndcaps", 10, 0.5, 10.5);
311 
312  clsBarrel = booker.book1D("clsBarrel", "clsBarrel", 10, 0.5, 10.5);
313 
314  //endcap CLS
315  CLS_Endcap_1_Ring2_A = booker.book1D("CLS_Endcap_1_1Ring2_A", "CLS_Endcap_1_Ring2_A", 10, 0.5, 10.5);
316  CLS_Endcap_1_Ring2_B = booker.book1D("CLS_Endcap_1_1Ring2_B", "CLS_Endcap_1_Ring2_B", 10, 0.5, 10.5);
317  CLS_Endcap_1_Ring2_C = booker.book1D("CLS_Endcap_1_1Ring2_C", "CLS_Endcap_1_Ring2_C", 10, 0.5, 10.5);
318 
319  CLS_Endcap_23_Ring2_A = booker.book1D("CLS_Endcap_23_Ring2_A", "CLS_Endcap_23_Ring2_A", 10, 0.5, 10.5);
320  CLS_Endcap_23_Ring2_B = booker.book1D("CLS_Endcap_23_Ring2_B", "CLS_Endcap_23_Ring2_B", 10, 0.5, 10.5);
321  CLS_Endcap_23_Ring2_C = booker.book1D("CLS_Endcap_23_Ring2_C", "CLS_Endcap_23_Ring2_C", 10, 0.5, 10.5);
322 
323  CLS_Endcap_123_Ring3_A = booker.book1D("CLS_Endcap_123_Ring3_A", "CLS_Endcap_123_Ring3_A", 10, 0.5, 10.5);
324  CLS_Endcap_123_Ring3_B = booker.book1D("CLS_Endcap_123_Ring3_B", "CLS_Endcap_123_Ring3_B", 10, 0.5, 10.5);
325  CLS_Endcap_123_Ring3_C = booker.book1D("CLS_Endcap_123_Ring3_C", "CLS_Endcap_123_Ring3_C", 10, 0.5, 10.5);
326 
327  CLS_Endcap_4 = booker.book1D("CLS_Endcap_4", "CLS_Endcap_4", 10, 0.5, 10.5);
328 
329  //endcap residuals
330  ResDmin1 = booker.book1D("Disk_Min1_Residuals", "Disk_Min1_Residuals", 400, -8, 8);
331  ResDmin2 = booker.book1D("Disk_Min2_Residuals", "Disk_Min2_Residuals", 400, -8, 8);
332  ResDmin3 = booker.book1D("Disk_Min3_Residuals", "Disk_Min3_Residuals", 400, -8, 8);
333  ResDplu1 = booker.book1D("Disk_Plu1_Residuals", "Disk_Plu1_Residuals", 400, -8, 8);
334  ResDplu2 = booker.book1D("Disk_Plu2_Residuals", "Disk_Plu2_Residuals", 400, -8, 8);
335  ResDplu3 = booker.book1D("Disk_Plu3_Residuals", "Disk_Plu3_Residuals", 400, -8, 8);
336 
337  ResDmin4 = booker.book1D("Disk_Min4_Residuals", "Disk_Min4_Residuals", 400, -8, 8);
338  ResDplu4 = booker.book1D("Disk_Plu4_Residuals", "Disk_Plu4_Residuals", 400, -8, 8);
339 
340  Res_Endcap1_Ring2_A = booker.book1D("Res_Endcap1_Ring2_A", "Res_Endcap1_Ring2_A", 400, -8, 8);
341  Res_Endcap1_Ring2_B = booker.book1D("Res_Endcap1_Ring2_B", "Res_Endcap1_Ring2_B", 400, -8, 8);
342  Res_Endcap1_Ring2_C = booker.book1D("Res_Endcap1_Ring2_C", "Res_Endcap1_Ring2_C", 400, -8, 8);
343 
344  Res_Endcap23_Ring2_A = booker.book1D("Res_Endcap23_Ring2_A", "Res_Endcap23_Ring2_A", 400, -8, 8);
345  Res_Endcap23_Ring2_B = booker.book1D("Res_Endcap23_Ring2_B", "Res_Endcap23_Ring2_B", 400, -8, 8);
346  Res_Endcap23_Ring2_C = booker.book1D("Res_Endcap23_Ring2_C", "Res_Endcap23_Ring2_C", 400, -8, 8);
347 
348  Res_Endcap123_Ring3_A = booker.book1D("Res_Endcap123_Ring3_A", "Res_Endcap123_Ring3_A", 400, -8, 8);
349  Res_Endcap123_Ring3_B = booker.book1D("Res_Endcap123_Ring3_B", "Res_Endcap123_Ring3_B", 400, -8, 8);
350  Res_Endcap123_Ring3_C = booker.book1D("Res_Endcap123_Ring3_C", "Res_Endcap123_Ring3_C", 400, -8, 8);
351 }
MonitorElement * CLS_Endcap_1_Ring2_A
Definition: RPCDigiValid.h:80
MonitorElement * CLS_Endcap_123_Ring3_A
Definition: RPCDigiValid.h:89
MonitorElement * CLS_Endcap_1_Ring2_B
Definition: RPCDigiValid.h:81
MonitorElement * CLS_Endcap_23_Ring2_A
Definition: RPCDigiValid.h:84
MonitorElement * noiseCLSEndcaps
Definition: RPCDigiValid.h:74
MonitorElement * ResLayer6_barrel
Definition: RPCDigiValid.h:48
MonitorElement * Res_Endcap1_Ring2_A
Definition: RPCDigiValid.h:59
MonitorElement * Res_Endcap123_Ring3_A
Definition: RPCDigiValid.h:67
MonitorElement * ResLayer3_barrel
Definition: RPCDigiValid.h:45
MonitorElement * CLS_Endcap_4
Definition: RPCDigiValid.h:101
MonitorElement * ResWplu2
Definition: RPCDigiValid.h:38
MonitorElement * BxDisc_4Min
Definition: RPCDigiValid.h:98
MonitorElement * StripProf
Definition: RPCDigiValid.h:40
MonitorElement * Res
Definition: RPCDigiValid.h:33
MonitorElement * ResWzer0
Definition: RPCDigiValid.h:36
MonitorElement * ResDmin3
Definition: RPCDigiValid.h:53
MonitorElement * ResLayer5_barrel
Definition: RPCDigiValid.h:47
MonitorElement * ResWmin1
Definition: RPCDigiValid.h:35
MonitorElement * ResLayer2_barrel
Definition: RPCDigiValid.h:44
MonitorElement * ResDplu4
Definition: RPCDigiValid.h:96
MonitorElement * ResDplu3
Definition: RPCDigiValid.h:56
MonitorElement * ResDmin1
Definition: RPCDigiValid.h:51
MonitorElement * ResWplu1
Definition: RPCDigiValid.h:37
MonitorElement * Res_Endcap123_Ring3_C
Definition: RPCDigiValid.h:69
MonitorElement * BxDisc_4Plus
Definition: RPCDigiValid.h:97
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * Res_Endcap123_Ring3_B
Definition: RPCDigiValid.h:68
MonitorElement * CLS_Endcap_123_Ring3_B
Definition: RPCDigiValid.h:90
MonitorElement * ResWmin2
Definition: RPCDigiValid.h:34
MonitorElement * xyvDmin4
Definition: RPCDigiValid.h:100
MonitorElement * CLS_Endcap_1_Ring2_C
Definition: RPCDigiValid.h:82
MonitorElement * ResDplu2
Definition: RPCDigiValid.h:55
MonitorElement * Res_Endcap23_Ring2_C
Definition: RPCDigiValid.h:65
MonitorElement * ResLayer1_barrel
Definition: RPCDigiValid.h:43
MonitorElement * Res_Endcap1_Ring2_B
Definition: RPCDigiValid.h:60
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * noiseCLS
Definition: RPCDigiValid.h:72
MonitorElement * ResDmin2
Definition: RPCDigiValid.h:52
MonitorElement * Res_Endcap23_Ring2_A
Definition: RPCDigiValid.h:63
MonitorElement * BxDist
Definition: RPCDigiValid.h:39
MonitorElement * clsBarrel
Definition: RPCDigiValid.h:76
MonitorElement * ResDmin4
Definition: RPCDigiValid.h:95
MonitorElement * ResLayer4_barrel
Definition: RPCDigiValid.h:46
MonitorElement * CLS_Endcap_123_Ring3_C
Definition: RPCDigiValid.h:91
MonitorElement * xyview
Definition: RPCDigiValid.h:31
MonitorElement * ResDplu1
Definition: RPCDigiValid.h:54
MonitorElement * Res_Endcap23_Ring2_B
Definition: RPCDigiValid.h:64
MonitorElement * xyvDplu4
Definition: RPCDigiValid.h:99
MonitorElement * CLS_Endcap_23_Ring2_C
Definition: RPCDigiValid.h:86
MonitorElement * Res_Endcap1_Ring2_C
Definition: RPCDigiValid.h:61
MonitorElement * CLS_Endcap_23_Ring2_B
Definition: RPCDigiValid.h:85
MonitorElement * rzview
Definition: RPCDigiValid.h:32
MonitorElement * noiseCLSBarrel
Definition: RPCDigiValid.h:73

Member Data Documentation

MonitorElement* RPCDigiValid::BxDisc_4Min
private

Definition at line 98 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::BxDisc_4Plus
private

Definition at line 97 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::BxDist
private

Definition at line 39 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::CLS_Endcap_123_Ring3_A
private

Definition at line 89 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::CLS_Endcap_123_Ring3_B
private

Definition at line 90 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::CLS_Endcap_123_Ring3_C
private

Definition at line 91 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::CLS_Endcap_1_Ring2_A
private

Definition at line 80 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::CLS_Endcap_1_Ring2_B
private

Definition at line 81 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::CLS_Endcap_1_Ring2_C
private

Definition at line 82 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::CLS_Endcap_23_Ring2_A
private

Definition at line 84 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::CLS_Endcap_23_Ring2_B
private

Definition at line 85 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::CLS_Endcap_23_Ring2_C
private

Definition at line 86 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::CLS_Endcap_4
private

Definition at line 101 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::clsBarrel
private

Definition at line 76 of file RPCDigiValid.h.

std::string RPCDigiValid::digiLabel
private

Definition at line 104 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::noiseCLS
private

Definition at line 72 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::noiseCLSBarrel
private

Definition at line 73 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::noiseCLSEndcaps
private

Definition at line 74 of file RPCDigiValid.h.

std::string RPCDigiValid::outputFile_
private

Definition at line 103 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::Res
private

Definition at line 33 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::Res_Endcap123_Ring3_A
private

Definition at line 67 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::Res_Endcap123_Ring3_B
private

Definition at line 68 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::Res_Endcap123_Ring3_C
private

Definition at line 69 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::Res_Endcap1_Ring2_A
private

Definition at line 59 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::Res_Endcap1_Ring2_B
private

Definition at line 60 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::Res_Endcap1_Ring2_C
private

Definition at line 61 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::Res_Endcap23_Ring2_A
private

Definition at line 63 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::Res_Endcap23_Ring2_B
private

Definition at line 64 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::Res_Endcap23_Ring2_C
private

Definition at line 65 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResDmin1
private

Definition at line 51 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResDmin2
private

Definition at line 52 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResDmin3
private

Definition at line 53 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResDmin4
private

Definition at line 95 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResDplu1
private

Definition at line 54 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResDplu2
private

Definition at line 55 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResDplu3
private

Definition at line 56 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResDplu4
private

Definition at line 96 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResLayer1_barrel
private

Definition at line 43 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResLayer2_barrel
private

Definition at line 44 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResLayer3_barrel
private

Definition at line 45 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResLayer4_barrel
private

Definition at line 46 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResLayer5_barrel
private

Definition at line 47 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResLayer6_barrel
private

Definition at line 48 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResWmin1
private

Definition at line 35 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResWmin2
private

Definition at line 34 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResWplu1
private

Definition at line 37 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResWplu2
private

Definition at line 38 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::ResWzer0
private

Definition at line 36 of file RPCDigiValid.h.

edm::EDGetTokenT<RPCDigiCollection> RPCDigiValid::rpcDigiToken
private

Definition at line 108 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::rzview
private

Definition at line 32 of file RPCDigiValid.h.

edm::EDGetTokenT<edm::PSimHitContainer> RPCDigiValid::simHitToken
private

Definition at line 107 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::StripProf
private

Definition at line 40 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::xyvDmin4
private

Definition at line 100 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::xyvDplu4
private

Definition at line 99 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::xyview
private

Definition at line 31 of file RPCDigiValid.h.