CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Attributes
RPCDigiValid Class Reference

#include <RPCDigiValid.h>

Inheritance diagram for RPCDigiValid:
DQMEDAnalyzer edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 RPCDigiValid (const edm::ParameterSet &ps)
 
 ~RPCDigiValid () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
 DQMEDAnalyzer (DQMEDAnalyzer const &)=delete
 
 DQMEDAnalyzer (DQMEDAnalyzer &&)=delete
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) override
 
 ~DQMEDAnalyzer () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c) override
 
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
 
std::string digiLabel
 
MonitorElementhDigiTime
 
MonitorElementhDigiTimeAll
 
MonitorElementhDigiTimeIRPC
 
MonitorElementhDigiTimeNoIRPC
 
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< RPCDigiCollectionrpcDigiToken
 
MonitorElementrzview
 
edm::EDGetTokenT< edm::PSimHitContainersimHitToken
 
MonitorElementStripProf
 
MonitorElementxyvDmin4
 
MonitorElementxyvDplu4
 
MonitorElementxyview
 

Additional Inherited Members

- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >>
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

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 SiPixelPhase1TrackingParticleV_cfi::simHitToken.

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:82
edm::EDGetTokenT< RPCDigiCollection > rpcDigiToken
Definition: RPCDigiValid.h:87
edm::EDGetTokenT< edm::PSimHitContainer > simHitToken
Definition: RPCDigiValid.h:86
RPCDigiValid::~RPCDigiValid ( )
override

Definition at line 31 of file RPCDigiValid.cc.

32 {
33 }

Member Function Documentation

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

Definition at line 36 of file RPCDigiValid.cc.

References funct::abs(), RPCRoll::centreOfStrip(), edm::EventSetup::get(), RPCRoll::isIRPC(), RPCDetId::layer(), AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp(), RPCDetId::region(), RPCDetId::ring(), RPCGeometry::roll(), RPCDetId::roll(), rpcPointValidation_cfi::simHit, SiPixelPhase1TrackingParticleV_cfi::simHitToken, RPCDetId::station(), GeomDet::toGlobal(), PV3DBase< T, PVType, FrameType >::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 
127  // Fill timing information
128  const double digiTime = digiIt->hasTime() ? digiIt->time() : digiIt->bx()*25;
129  hDigiTimeAll->Fill(digiTime);
130  if ( digiIt->hasTime() ) {
131  hDigiTime->Fill(digiTime);
132  if ( roll->isIRPC() ) hDigiTimeIRPC->Fill(digiTime);
133  else hDigiTimeNoIRPC->Fill(digiTime);
134  }
135  }
136 
137  if (sims.size() == 1 && ndigi == 1)
138  {
139  double dis = roll->centreOfStrip(range.first->strip()).x() - sims[0];
140  Res->Fill(dis);
141 
142  if (Rsid.region() == 0)
143  {
144  if (Rsid.ring() == -2)
145  ResWmin2->Fill(dis);
146  else if (Rsid.ring() == -1)
147  ResWmin1->Fill(dis);
148  else if (Rsid.ring() == 0)
149  ResWzer0->Fill(dis);
150  else if (Rsid.ring() == 1)
151  ResWplu1->Fill(dis);
152  else if (Rsid.ring() == 2)
153  ResWplu2->Fill(dis);
154  //barrel layers
155  if (Rsid.station() == 1 && Rsid.layer() == 1)
156  ResLayer1_barrel->Fill(dis);
157  if (Rsid.station() == 1 && Rsid.layer() == 2)
158  ResLayer2_barrel->Fill(dis);
159  if (Rsid.station() == 2 && Rsid.layer() == 1)
160  ResLayer3_barrel->Fill(dis);
161  if (Rsid.station() == 2 && Rsid.layer() == 2)
162  ResLayer4_barrel->Fill(dis);
163  if (Rsid.station() == 3)
164  ResLayer5_barrel->Fill(dis);
165  if (Rsid.station() == 4)
166  ResLayer6_barrel->Fill(dis);
167  }
168  //endcap layers residuals
169  if (Rsid.region() != 0)
170  {
171  if (Rsid.ring() == 2)
172  {
173  if (abs(Rsid.station()) == 1)
174  {
175  if (Rsid.roll() == 1)
177  if (Rsid.roll() == 2)
179  if (Rsid.roll() == 3)
181  }
182  if (abs(Rsid.station()) == 2 || abs(Rsid.station()) == 3)
183  {
184  if (Rsid.roll() == 1)
186  if (Rsid.roll() == 2)
188  if (Rsid.roll() == 3)
190  }
191  }
192  if (Rsid.ring() == 3)
193  {
194  if (Rsid.roll() == 1)
196  if (Rsid.roll() == 2)
198  if (Rsid.roll() == 3)
200  }
201  }
202 
203  if (Rsid.region() == (+1))
204  {
205 
206  if (Rsid.station() == 1)
207  ResDplu1->Fill(dis);
208  else if (Rsid.station() == 2)
209  ResDplu2->Fill(dis);
210  else if (Rsid.station() == 3)
211  ResDplu3->Fill(dis);
212  else if (Rsid.station() == 4)
213  ResDplu4->Fill(dis);
214  }
215  if (Rsid.region() == (-1))
216  {
217 
218  if (Rsid.station() == 1)
219  ResDmin1->Fill(dis);
220  else if (Rsid.station() == 2)
221  ResDmin2->Fill(dis);
222  else if (Rsid.station() == 3)
223  ResDmin3->Fill(dis);
224  else if (Rsid.station() == 4)
225  ResDmin4->Fill(dis);
226  }
227  }
228  }
229 }
MonitorElement * hDigiTime
Definition: RPCDigiValid.h:80
LocalPoint centreOfStrip(int strip) const
Definition: RPCRoll.cc:52
T perp() const
Definition: PV3DBase.h:72
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 * ResWplu2
Definition: RPCDigiValid.h:38
MonitorElement * BxDisc_4Min
Definition: RPCDigiValid.h:75
MonitorElement * StripProf
Definition: RPCDigiValid.h:40
MonitorElement * Res
Definition: RPCDigiValid.h:33
MonitorElement * ResWzer0
Definition: RPCDigiValid.h:36
void Fill(long long x)
bool isIRPC() const
Definition: RPCRoll.h:38
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 * hDigiTimeIRPC
Definition: RPCDigiValid.h:80
MonitorElement * ResDplu4
Definition: RPCDigiValid.h:73
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:74
MonitorElement * hDigiTimeNoIRPC
Definition: RPCDigiValid.h:80
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
MonitorElement * Res_Endcap123_Ring3_B
Definition: RPCDigiValid.h:68
MonitorElement * ResWmin2
Definition: RPCDigiValid.h:34
MonitorElement * xyvDmin4
Definition: RPCDigiValid.h:77
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 * ResDmin2
Definition: RPCDigiValid.h:52
std::vector< RPCDigi >::const_iterator const_iterator
edm::EDGetTokenT< RPCDigiCollection > rpcDigiToken
Definition: RPCDigiValid.h:87
MonitorElement * hDigiTimeAll
Definition: RPCDigiValid.h:80
MonitorElement * Res_Endcap23_Ring2_A
Definition: RPCDigiValid.h:63
MonitorElement * BxDist
Definition: RPCDigiValid.h:39
MonitorElement * ResDmin4
Definition: RPCDigiValid.h:72
MonitorElement * ResLayer4_barrel
Definition: RPCDigiValid.h:46
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:86
MonitorElement * Res_Endcap23_Ring2_B
Definition: RPCDigiValid.h:64
T x() const
Definition: PV3DBase.h:62
MonitorElement * xyvDplu4
Definition: RPCDigiValid.h:76
MonitorElement * Res_Endcap1_Ring2_C
Definition: RPCDigiValid.h:61
const RPCRoll * roll(RPCDetId id) const
Return a roll given its id.
Definition: RPCGeometry.cc:75
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
void RPCDigiValid::bookHistograms ( DQMStore::IBooker booker,
edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 231 of file RPCDigiValid.cc.

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

232 {
233  booker.setCurrentFolder("RPCDigisV/RPCDigis");
234 
235  xyview = booker.book2D("X_Vs_Y_View", "X_Vs_Y_View", 155, -775., 775., 155, -775., 775.);
236 
237  xyvDplu4 = booker.book2D("Dplu4_XvsY", "Dplu4_XvsY", 155, -775., 775., 155, -775., 775.);
238  xyvDmin4 = booker.book2D("Dmin4_XvsY", "Dmin4_XvsY", 155, -775., 775., 155, -775., 775.);
239 
240  rzview = booker.book2D("R_Vs_Z_View", "R_Vs_Z_View", 216, -1080., 1080., 52, 260., 780.);
241  Res = booker.book1D("Digi_SimHit_difference", "Digi_SimHit_difference", 300, -8, 8);
242  ResWmin2 = booker.book1D("W_Min2_Residuals", "W_Min2_Residuals", 400, -8, 8);
243  ResWmin1 = booker.book1D("W_Min1_Residuals", "W_Min1_Residuals", 400, -8, 8);
244  ResWzer0 = booker.book1D("W_Zer0_Residuals", "W_Zer0_Residuals", 400, -8, 8);
245  ResWplu1 = booker.book1D("W_Plu1_Residuals", "W_Plu1_Residuals", 400, -8, 8);
246  ResWplu2 = booker.book1D("W_Plu2_Residuals", "W_Plu2_Residuals", 400, -8, 8);
247 
248  ResLayer1_barrel = booker.book1D("ResLayer1_barrel", "ResLayer1_barrel", 400, -8, 8);
249  ResLayer2_barrel = booker.book1D("ResLayer2_barrel", "ResLayer2_barrel", 400, -8, 8);
250  ResLayer3_barrel = booker.book1D("ResLayer3_barrel", "ResLayer3_barrel", 400, -8, 8);
251  ResLayer4_barrel = booker.book1D("ResLayer4_barrel", "ResLayer4_barrel", 400, -8, 8);
252  ResLayer5_barrel = booker.book1D("ResLayer5_barrel", "ResLayer5_barrel", 400, -8, 8);
253  ResLayer6_barrel = booker.book1D("ResLayer6_barrel", "ResLayer6_barrel", 400, -8, 8);
254 
255  BxDist = booker.book1D("Bunch_Crossing", "Bunch_Crossing", 20, -10., 10.);
256  StripProf = booker.book1D("Strip_Profile", "Strip_Profile", 100, 0, 100);
257 
258  BxDisc_4Plus = booker.book1D("BxDisc_4Plus", "BxDisc_4Plus", 20, -10., 10.);
259  BxDisc_4Min = booker.book1D("BxDisc_4Min", "BxDisc_4Min", 20, -10., 10.);
260 
261  //endcap residuals
262  ResDmin1 = booker.book1D("Disk_Min1_Residuals", "Disk_Min1_Residuals", 400, -8, 8);
263  ResDmin2 = booker.book1D("Disk_Min2_Residuals", "Disk_Min2_Residuals", 400, -8, 8);
264  ResDmin3 = booker.book1D("Disk_Min3_Residuals", "Disk_Min3_Residuals", 400, -8, 8);
265  ResDplu1 = booker.book1D("Disk_Plu1_Residuals", "Disk_Plu1_Residuals", 400, -8, 8);
266  ResDplu2 = booker.book1D("Disk_Plu2_Residuals", "Disk_Plu2_Residuals", 400, -8, 8);
267  ResDplu3 = booker.book1D("Disk_Plu3_Residuals", "Disk_Plu3_Residuals", 400, -8, 8);
268 
269  ResDmin4 = booker.book1D("Disk_Min4_Residuals", "Disk_Min4_Residuals", 400, -8, 8);
270  ResDplu4 = booker.book1D("Disk_Plu4_Residuals", "Disk_Plu4_Residuals", 400, -8, 8);
271 
272  Res_Endcap1_Ring2_A = booker.book1D("Res_Endcap1_Ring2_A", "Res_Endcap1_Ring2_A", 400, -8, 8);
273  Res_Endcap1_Ring2_B = booker.book1D("Res_Endcap1_Ring2_B", "Res_Endcap1_Ring2_B", 400, -8, 8);
274  Res_Endcap1_Ring2_C = booker.book1D("Res_Endcap1_Ring2_C", "Res_Endcap1_Ring2_C", 400, -8, 8);
275 
276  Res_Endcap23_Ring2_A = booker.book1D("Res_Endcap23_Ring2_A", "Res_Endcap23_Ring2_A", 400, -8, 8);
277  Res_Endcap23_Ring2_B = booker.book1D("Res_Endcap23_Ring2_B", "Res_Endcap23_Ring2_B", 400, -8, 8);
278  Res_Endcap23_Ring2_C = booker.book1D("Res_Endcap23_Ring2_C", "Res_Endcap23_Ring2_C", 400, -8, 8);
279 
280  Res_Endcap123_Ring3_A = booker.book1D("Res_Endcap123_Ring3_A", "Res_Endcap123_Ring3_A", 400, -8, 8);
281  Res_Endcap123_Ring3_B = booker.book1D("Res_Endcap123_Ring3_B", "Res_Endcap123_Ring3_B", 400, -8, 8);
282  Res_Endcap123_Ring3_C = booker.book1D("Res_Endcap123_Ring3_C", "Res_Endcap123_Ring3_C", 400, -8, 8);
283 
284  // Timing informations
285  hDigiTimeAll = booker.book1D("DigiTimeAll" , "Digi time including present electronics;Digi time (ns)", 100, -12.5, 12.5);
286  hDigiTime = booker.book1D("DigiTime" , "Digi time only with timing information;Digi time (ns)", 100, -12.5, 12.5);
287  hDigiTimeIRPC = booker.book1D("DigiTimeIRPC" , "IRPC Digi time;Digi time (ns)", 100, -12.5, 12.5);
288  hDigiTimeNoIRPC = booker.book1D("DigiTimeNoIRPC", "non-IRPC Digi time;Digi time (ns)", 100, -12.5, 12.5);
289 }
MonitorElement * hDigiTime
Definition: RPCDigiValid.h:80
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 * ResWplu2
Definition: RPCDigiValid.h:38
MonitorElement * BxDisc_4Min
Definition: RPCDigiValid.h:75
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 * hDigiTimeIRPC
Definition: RPCDigiValid.h:80
MonitorElement * ResDplu4
Definition: RPCDigiValid.h:73
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:74
MonitorElement * hDigiTimeNoIRPC
Definition: RPCDigiValid.h:80
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
MonitorElement * Res_Endcap123_Ring3_B
Definition: RPCDigiValid.h:68
MonitorElement * ResWmin2
Definition: RPCDigiValid.h:34
MonitorElement * xyvDmin4
Definition: RPCDigiValid.h:77
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:279
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:136
MonitorElement * ResDmin2
Definition: RPCDigiValid.h:52
MonitorElement * hDigiTimeAll
Definition: RPCDigiValid.h:80
MonitorElement * Res_Endcap23_Ring2_A
Definition: RPCDigiValid.h:63
MonitorElement * BxDist
Definition: RPCDigiValid.h:39
MonitorElement * ResDmin4
Definition: RPCDigiValid.h:72
MonitorElement * ResLayer4_barrel
Definition: RPCDigiValid.h:46
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:76
MonitorElement * Res_Endcap1_Ring2_C
Definition: RPCDigiValid.h:61
MonitorElement * rzview
Definition: RPCDigiValid.h:32

Member Data Documentation

MonitorElement* RPCDigiValid::BxDisc_4Min
private

Definition at line 75 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::BxDisc_4Plus
private

Definition at line 74 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::BxDist
private

Definition at line 39 of file RPCDigiValid.h.

std::string RPCDigiValid::digiLabel
private

Definition at line 83 of file RPCDigiValid.h.

MonitorElement * RPCDigiValid::hDigiTime
private

Definition at line 80 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::hDigiTimeAll
private

Definition at line 80 of file RPCDigiValid.h.

MonitorElement * RPCDigiValid::hDigiTimeIRPC
private

Definition at line 80 of file RPCDigiValid.h.

MonitorElement * RPCDigiValid::hDigiTimeNoIRPC
private

Definition at line 80 of file RPCDigiValid.h.

std::string RPCDigiValid::outputFile_
private

Definition at line 82 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 72 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 73 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 87 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 86 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::StripProf
private

Definition at line 40 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::xyvDmin4
private

Definition at line 77 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::xyvDplu4
private

Definition at line 76 of file RPCDigiValid.h.

MonitorElement* RPCDigiValid::xyview
private

Definition at line 31 of file RPCDigiValid.h.