CMS 3D CMS Logo

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

#include <GEMCoPadDigiValidation.h>

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

Public Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 GEMCoPadDigiValidation (const edm::ParameterSet &)
 
 ~GEMCoPadDigiValidation ()
 
- Public Member Functions inherited from GEMBaseValidation
MonitorElementBookHistXY (DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int station_num, unsigned int layer_num=99)
 
MonitorElementBookHistZR (DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int station_num, unsigned int layer_num=99)
 
 GEMBaseValidation (const edm::ParameterSet &ps)
 
MonitorElementgetDCEta (DQMStore::IBooker &, const GEMStation *, TString, TString)
 
MonitorElementgetSimpleZR (DQMStore::IBooker &, TString, TString)
 
std::string getStationLabel (int i)
 
std::string getSuffixName (int region, int station, int layer)
 
std::string getSuffixName (int region, int station)
 
std::string getSuffixName (int region)
 
std::string getSuffixTitle (int region, int station, int layer)
 
std::string getSuffixTitle (int region, int station)
 
std::string getSuffixTitle (int region)
 
const GEMGeometryinitGeometry (const edm::EventSetup &)
 
unsigned int nPart ()
 
unsigned int nRegion ()
 
unsigned int nStation ()
 
unsigned int nStationForLabel ()
 
void setNStationForLabel (unsigned int number)
 
virtual ~GEMBaseValidation ()
 
- 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 ()
 

Private Attributes

bool detailPlot_
 
edm::EDGetToken InputTagToken_
 
int maxBXGEM_
 
int minBXGEM_
 
int nBinXY_
 
std::unordered_map< UInt_t,
MonitorElement * > 
theCoPad_dcEta
 
std::unordered_map< UInt_t,
MonitorElement * > 
theCoPad_simple_zr
 
MonitorElementtheCSCCoPad [2][3]
 
MonitorElementtheCSCCoPad_bx [2][3]
 
MonitorElementtheCSCCoPad_phipad [2][3]
 
MonitorElementtheCSCCoPad_xy [2][3]
 
std::unordered_map< UInt_t,
MonitorElement * > 
theCSCCoPad_xy_ch
 
MonitorElementtheCSCCoPad_zr [2][3]
 

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)
 
- 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)
 
- Protected Attributes inherited from GEMBaseValidation
int nBinXY_
 
std::vector< double > nBinZR_
 
std::vector< double > RangeZR_
 

Detailed Description

Definition at line 8 of file GEMCoPadDigiValidation.h.

Constructor & Destructor Documentation

GEMCoPadDigiValidation::GEMCoPadDigiValidation ( const edm::ParameterSet cfg)
explicit

Definition at line 4 of file GEMCoPadDigiValidation.cc.

References detailPlot_, edm::ParameterSet::getParameter(), InputTagToken_, maxBXGEM_, and minBXGEM_.

4  : GEMBaseValidation(cfg)
5 {
6  InputTagToken_ = consumes<GEMCoPadDigiCollection>(cfg.getParameter<edm::InputTag>("CopadLabel"));
7  detailPlot_ = cfg.getParameter<bool>("detailPlot");
8  minBXGEM_ = cfg.getParameter<int>("minBXGEM");
9  maxBXGEM_ = cfg.getParameter<int>("maxBXGEM");
10 }
T getParameter(std::string const &) const
GEMBaseValidation(const edm::ParameterSet &ps)
GEMCoPadDigiValidation::~GEMCoPadDigiValidation ( )

Definition at line 89 of file GEMCoPadDigiValidation.cc.

89  {
90 
91 
92 }

Member Function Documentation

void GEMCoPadDigiValidation::analyze ( const edm::Event e,
const edm::EventSetup iSetup 
)
overridevirtual

Implements GEMBaseValidation.

Definition at line 95 of file GEMCoPadDigiValidation.cc.

References GEMEtaPartition::centreOfPad(), detailPlot_, GEMGeometry::etaPartition(), MonitorElement::Fill(), edm::EventSetup::get(), GEMBaseValidation::getSuffixName(), GEMGeometry::idToDet(), InputTagToken_, edm::HandleBase::isValid(), LogDebug, maxBXGEM_, minBXGEM_, GEMEtaPartition::npads(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), GEMDetId::region(), reco::return(), relativeConstraints::ring, GEMDetId::roll(), AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::surface(), theCoPad_dcEta, theCoPad_simple_zr, theCSCCoPad, theCSCCoPad_bx, theCSCCoPad_phipad, theCSCCoPad_xy, theCSCCoPad_xy_ch, theCSCCoPad_zr, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

97 {
98  const GEMGeometry* GEMGeometry_;
99  try {
101  iSetup.get<MuonGeometryRecord>().get(hGeom);
102  GEMGeometry_ = &*hGeom;
103  }
105  edm::LogError("GEMCoPadDigiValidation") << "+++ Error : GEM geometry is unavailable on event loop. +++\n";
106  return;
107  }
109  e.getByToken(InputTagToken_, gem_digis);
110  if (!gem_digis.isValid()) {
111  edm::LogError("GEMCoPadDigiValidation") << "Cannot get pads by token.";
112  return ;
113  }
114 
115 
116  // Alert! copad's station2 means GEMGeometry's station3.
117  for (GEMCoPadDigiCollection::DigiRangeIterator cItr=gem_digis->begin(); cItr!=gem_digis->end(); cItr++) {
118  GEMDetId id = (*cItr).first;
119  int re = id.region();
120  int st = id.station();
121  int la = id.layer();
122  Short_t chamber = (Short_t) id.chamber();
124  //loop over digis of given roll
125  for (digiItr = (*cItr ).second.first; digiItr != (*cItr ).second.second; ++digiItr)
126  {
127  if ( st ==2 ) st = 3; // due to gap GEMGeometry and Copad's keep information.
128 
129  GEMDetId roId = GEMDetId(re, id.ring(), st, la, chamber, digiItr->roll());
130  Short_t nroll = roId.roll();
131  LogDebug("GEMCoPadDigiValidation")<<"roId : "<<roId;
132  const GeomDet* gdet = GEMGeometry_->idToDet(roId);
133  if ( gdet == nullptr) {
134  edm::LogError("GEMCoPadDigiValidation")<<roId<<" : This part can not load from GEMGeometry // Original"<<id<<" station : "<<st;
135  edm::LogError("GEMCoPadDigiValidation")<<"Getting DetId failed. Discard this gem copad hit.Maybe it comes from unmatched geometry between GEN and DIGI.";
136  continue;
137  }
138  const BoundPlane & surface = gdet->surface();
139  const GEMEtaPartition * roll = GEMGeometry_->etaPartition(roId);
140  LogDebug("GEMCoPadDigiValidation")<<" roll's n pad : "<<roll->npads();
141 
142  Short_t pad1 = (Short_t) digiItr->pad(1);
143  Short_t pad2 = (Short_t) digiItr->pad(2);
144  Short_t bx1 = (Short_t) digiItr->bx(1);
145  Short_t bx2 = (Short_t) digiItr->bx(2);
146  LogDebug("GEMCoPadDigiValidation")<<" copad #1 pad : "<<pad1<<" bx : "<<bx1;
147  LogDebug("GEMCoPadDigiValidation")<<" copad #2 pad : "<<pad2<<" bx : "<<bx2;
148 
149  // Filtered using BX
150  if ( bx1 < (Short_t)minBXGEM_ || bx1 > (Short_t)maxBXGEM_) continue;
151  if ( bx2 < (Short_t)minBXGEM_ || bx2 > (Short_t)maxBXGEM_) continue;
152 
153  LocalPoint lp1 = roll->centreOfPad(pad1);
154  LocalPoint lp2 = roll->centreOfPad(pad2);
155 
156  GlobalPoint gp1 = surface.toGlobal(lp1);
157  GlobalPoint gp2 = surface.toGlobal(lp2);
158  Float_t g_r1 = (Float_t) gp1.perp();
159  Float_t g_r2 = (Float_t) gp2.perp();
160  Float_t g_z1 = (Float_t) gp1.z();
161  Float_t g_z2 = (Float_t) gp2.z();
162 
163  Float_t g_phi = (Float_t) gp1.phi();
164  Float_t g_x = (Float_t) gp1.x();
165  Float_t g_y = (Float_t) gp1.y();
166 
167  int region_num=0;
168  if ( re == -1 ) region_num = 0 ;
169  else if (re == 1 ) region_num = 1;
170  else {
171  edm::LogError("GEMCoPadDIGIValidation")<<"region : "<<re<<std::endl;
172  }
173  int binX = (chamber-1)*2+(la-1);
174  int binY = nroll;
175  int station_num = st-1;
176 
177  // Fill normal plots.
178  TString histname_suffix = getSuffixName( re);
179  TString simple_zr_histname = TString::Format("copad_simple_zr%s",histname_suffix.Data());
180  theCoPad_simple_zr[simple_zr_histname.Hash()]->Fill( fabs(g_z1), g_r1);
181  theCoPad_simple_zr[simple_zr_histname.Hash()]->Fill( fabs(g_z2), g_r2);
182 
183  histname_suffix = getSuffixName( re, st ) ;
184  TString dcEta_histname = TString::Format("copad_dcEta%s",histname_suffix.Data());
185  theCoPad_dcEta[dcEta_histname.Hash()]->Fill( binX, binY);
186  theCoPad_dcEta[dcEta_histname.Hash()]->Fill( binX+1, binY);
187 
188  // Fill detail plots.
189  if ( detailPlot_) {
190  theCSCCoPad_xy[region_num][station_num]->Fill(g_x,g_y);
191  theCSCCoPad_phipad[region_num][station_num]->Fill(g_phi,pad1);
192  theCSCCoPad[region_num][station_num]->Fill(pad1);
193  theCSCCoPad_bx[region_num][station_num]->Fill(bx1);
194  theCSCCoPad_bx[region_num][station_num]->Fill(bx2);
195  theCSCCoPad_zr[region_num][station_num]->Fill(g_z1,g_r1);
196  theCSCCoPad_zr[region_num][station_num]->Fill(g_z2,g_r2);
197  std::string name_prefix = getSuffixName( re, st) ;
198  TString hname;
199  if ( chamber %2 == 0 ) { hname = TString::Format("copad_dg_xy%s_even",name_prefix.c_str()); }
200  else { hname = TString::Format("copad_dg_xy%s_odd",name_prefix.c_str()); }
201  theCSCCoPad_xy_ch[hname.Hash()]->Fill(g_x,g_y);
202  }
203  }
204  }
205 }
#define LogDebug(id)
MonitorElement * theCSCCoPad_zr[2][3]
T perp() const
Definition: PV3DBase.h:72
virtual const GeomDet * idToDet(DetId) const override
Definition: GEMGeometry.cc:38
Geom::Phi< T > phi() const
Definition: PV3DBase.h:69
int roll() const
Definition: GEMDetId.h:80
T y() const
Definition: PV3DBase.h:63
std::unordered_map< UInt_t, MonitorElement * > theCSCCoPad_xy_ch
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:42
const GEMEtaPartition * etaPartition(GEMDetId id) const
Return a GEMEtaPartition given its id.
Definition: GEMGeometry.cc:103
void Fill(long long x)
std::string getSuffixName(int region, int station, int layer)
T z() const
Definition: PV3DBase.h:64
std::unordered_map< UInt_t, MonitorElement * > theCoPad_dcEta
int npads() const
number of GEM-CSC trigger readout pads in partition
bool isValid() const
Definition: HandleBase.h:75
int region() const
Region id: 0 for Barrel Not in use, +/-1 For +/- Endcap.
Definition: GEMDetId.h:53
MonitorElement * theCSCCoPad_xy[2][3]
MonitorElement * theCSCCoPad[2][3]
MonitorElement * theCSCCoPad_phipad[2][3]
MonitorElement * theCSCCoPad_bx[2][3]
const T & get() const
Definition: EventSetup.h:56
std::vector< GEMCoPadDigi >::const_iterator const_iterator
return(e1-e2)*(e1-e2)+dp *dp
LocalPoint centreOfPad(int pad) const
std::unordered_map< UInt_t, MonitorElement * > theCoPad_simple_zr
T x() const
Definition: PV3DBase.h:62
void GEMCoPadDigiValidation::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  Run,
edm::EventSetup const &  iSetup 
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 11 of file GEMCoPadDigiValidation.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), GEMBaseValidation::BookHistXY(), GEMBaseValidation::BookHistZR(), detailPlot_, GEMBaseValidation::getDCEta(), GEMBaseValidation::getSimpleZR(), GEMBaseValidation::getSuffixName(), GEMBaseValidation::getSuffixTitle(), GEMBaseValidation::initGeometry(), GEMBaseValidation::nStation(), PI, Pi, HLT_25ns10e33_v2_cff::region, GEMGeometry::regions(), relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, theCoPad_dcEta, theCoPad_simple_zr, theCSCCoPad, theCSCCoPad_bx, theCSCCoPad_phipad, theCSCCoPad_xy, theCSCCoPad_xy_ch, and theCSCCoPad_zr.

11  {
12  const GEMGeometry* GEMGeometry_ = initGeometry(iSetup);
13  //if ( nStationForLabel() ==3 ) setNStationForLabel(2) ;
14 
15  const double PI = TMath::Pi();
16 
17  int npadsGE11 = GEMGeometry_->regions()[0]->stations()[0]->superChambers()[0]->chambers()[0]->etaPartitions()[0]->npads();
18  int npadsGE21 = 0;
19  int nPads = 0;
20 
21  if ( nStation() > 1 ) {
22  //const std::vector<const GEMStation*>& sts = GEMGeometry_->regions()[0]->stations();
23  std::vector<const GEMStation*>::const_iterator it = GEMGeometry_->regions()[0]->stations().end();
24  --it;
25  npadsGE21 = (*it)->superChambers()[0]->chambers()[0]->etaPartitions()[0]->npads();
26  }
27 
28  for( auto& region : GEMGeometry_->regions() ){
29  int re = region->region();
30  TString title_suffix = getSuffixTitle(re);
31  TString histname_suffix = getSuffixName( re) ;
32  TString simpleZR_title = TString::Format("Copad ZR Occupancy%s; |Z|(cm) ; R(cm)",title_suffix.Data());
33  TString simpleZR_histname = TString::Format("copad_simple_zr%s",histname_suffix.Data());
34 
35  auto* simpleZR = getSimpleZR(ibooker, simpleZR_title, simpleZR_histname);
36  if ( simpleZR != nullptr) {
37  theCoPad_simple_zr[simpleZR_histname.Hash() ] = simpleZR;
38  }
39  for( auto& station : region->stations()) {
40  int st = station->station();
41  //if ( nStation()==3 && st ==2 ) continue; // skip st2 short
42  //st = (station->station()==1) ? 1 : 2; // 1 = station 1, 3 = station2l. Should be 2.
43  TString title_suffix2 = getSuffixTitle( re , st) ;
44  TString histname_suffix2 = getSuffixName( re, st) ;
45 
46  TString dcEta_title = TString::Format("Copad's occupancy for detector component %s; # of sub-detector ;#eta-partition",title_suffix2.Data());
47  TString dcEta_histname = TString::Format("copad_dcEta%s",histname_suffix2.Data());
48 
49  auto* dcEta = getDCEta(ibooker, station, dcEta_title, dcEta_histname);
50  if ( dcEta != nullptr) {
51  theCoPad_dcEta[ dcEta_histname.Hash() ] = dcEta;
52  }
53  }
54 
55  if ( detailPlot_) {
56  for( auto& region : GEMGeometry_->regions() ) {
57  int re = region->region();
58  int region_num = (re+1)/2;
59  std::string name_prefix = getSuffixName( re);
60  std::string label_prefix = getSuffixTitle(re);
61  for( auto& station : region->stations() ) {
62  int st = station->station();
63  int station_num = st-1;
64  //if ( nStation()==3 && st ==2 ) continue; // skip st2 short
65  //st = (station->station()==1) ? 1 : 2; // 1 = station 1, 3 = station2l. Should be 2.
66 
67  if ( st == 1 ) nPads = npadsGE11;
68  else nPads = npadsGE21;
69  name_prefix = getSuffixName( re, st) ;
70  label_prefix = getSuffixTitle( re, st) ;
71  theCSCCoPad_phipad[region_num][station_num] = ibooker.book2D( ("copad_dg_phipad"+name_prefix).c_str(), ("Digi occupancy: "+label_prefix+"; phi [rad]; Pad number").c_str(), 280,-PI,PI, nPads/2,0,nPads );
72  theCSCCoPad[region_num][station_num] = ibooker.book1D( ("copad_dg"+name_prefix).c_str(), ("Digi occupancy per pad number: "+label_prefix+";Pad number; entries").c_str(), nPads,0.5,nPads+0.5);
73  theCSCCoPad_bx[region_num][station_num] = ibooker.book1D( ("copad_dg_bx"+name_prefix).c_str(), ("Bunch crossing: "+label_prefix+"; bunch crossing ; entries").c_str(), 11,-5.5,5.5);
74  theCSCCoPad_zr[region_num][station_num] = BookHistZR( ibooker, "copad_dg","CoPad Digi",region_num,station_num);
75  theCSCCoPad_xy[region_num][station_num] = BookHistXY( ibooker, "copad_dg","CoPad Digi",region_num,station_num);
76  TString xy_name = TString::Format("copad_dg_xy%s_odd",name_prefix.c_str());
77  TString xy_title = TString::Format("Digi XY occupancy %s at odd chambers",label_prefix.c_str());
78  theCSCCoPad_xy_ch[ xy_name.Hash()] = ibooker.book2D(xy_name, xy_title, 360, -360,360, 360, -360, 360);
79  xy_name = TString::Format("copad_dg_xy%s_even",name_prefix.c_str());
80  xy_title = TString::Format("Digi XY occupancy %s at even chambers",label_prefix.c_str());
81  theCSCCoPad_xy_ch[ xy_name.Hash()] = ibooker.book2D(xy_name, xy_title, 360, -360,360, 360, -360, 360);
82  }
83  }
84  }
85  }
86 }
const double Pi
unsigned int nStation()
MonitorElement * theCSCCoPad_zr[2][3]
#define PI
MonitorElement * BookHistZR(DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int station_num, unsigned int layer_num=99)
MonitorElement * getSimpleZR(DQMStore::IBooker &, TString, TString)
MonitorElement * BookHistXY(DQMStore::IBooker &, const char *name, const char *label, unsigned int region_num, unsigned int station_num, unsigned int layer_num=99)
std::unordered_map< UInt_t, MonitorElement * > theCSCCoPad_xy_ch
std::string getSuffixTitle(int region, int station, int layer)
const GEMGeometry * initGeometry(const edm::EventSetup &)
std::string getSuffixName(int region, int station, int layer)
const std::vector< const GEMRegion * > & regions() const
Return a vector of all GEM regions.
Definition: GEMGeometry.cc:43
std::unordered_map< UInt_t, MonitorElement * > theCoPad_dcEta
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * theCSCCoPad_xy[2][3]
MonitorElement * theCSCCoPad[2][3]
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * theCSCCoPad_phipad[2][3]
MonitorElement * theCSCCoPad_bx[2][3]
MonitorElement * getDCEta(DQMStore::IBooker &, const GEMStation *, TString, TString)
std::unordered_map< UInt_t, MonitorElement * > theCoPad_simple_zr

Member Data Documentation

bool GEMCoPadDigiValidation::detailPlot_
private

Definition at line 31 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), bookHistograms(), and GEMCoPadDigiValidation().

edm::EDGetToken GEMCoPadDigiValidation::InputTagToken_
private

Definition at line 29 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and GEMCoPadDigiValidation().

int GEMCoPadDigiValidation::maxBXGEM_
private

Definition at line 28 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and GEMCoPadDigiValidation().

int GEMCoPadDigiValidation::minBXGEM_
private

Definition at line 28 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and GEMCoPadDigiValidation().

int GEMCoPadDigiValidation::nBinXY_
private

Definition at line 30 of file GEMCoPadDigiValidation.h.

std::unordered_map< UInt_t , MonitorElement* > GEMCoPadDigiValidation::theCoPad_dcEta
private

Definition at line 26 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and bookHistograms().

std::unordered_map< UInt_t , MonitorElement* > GEMCoPadDigiValidation::theCoPad_simple_zr
private

Definition at line 27 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMCoPadDigiValidation::theCSCCoPad[2][3]
private

Definition at line 19 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMCoPadDigiValidation::theCSCCoPad_bx[2][3]
private

Definition at line 20 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMCoPadDigiValidation::theCSCCoPad_phipad[2][3]
private

Definition at line 18 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMCoPadDigiValidation::theCSCCoPad_xy[2][3]
private

Definition at line 17 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and bookHistograms().

std::unordered_map< UInt_t , MonitorElement* > GEMCoPadDigiValidation::theCSCCoPad_xy_ch
private

Definition at line 22 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMCoPadDigiValidation::theCSCCoPad_zr[2][3]
private

Definition at line 21 of file GEMCoPadDigiValidation.h.

Referenced by analyze(), and bookHistograms().