CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Private Attributes
GEMBaseValidation Class Referenceabstract

#include <GEMBaseValidation.h>

Inheritance diagram for GEMBaseValidation:
DQMEDAnalyzer edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper GEMCoPadDigiValidation GEMHitsValidation GEMPadDigiValidation GEMRecHitsValidation GEMStripDigiValidation

Public Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &) override=0
 
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)
 
 ~GEMBaseValidation () override
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
virtual void analyze (edm::Event const &, edm::EventSetup const &)
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)=0
 
virtual void dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer ()
 
virtual void dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::EndLuminosityBlockProducer, edm::one::WatchLuminosityBlocks, edm::Accumulator >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndRuns () 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 () noexcept(false) 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
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
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)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Attributes

int nBinXY_
 
std::vector< double > nBinZR_
 
std::vector< double > RangeZR_
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Private Attributes

bool detailPlot_
 
edm::EDGetToken InputTagToken_
 
std::vector< std::string > layerLabel
 
unsigned int npart
 
unsigned int nregion
 
unsigned int nstation
 
unsigned int nstationForLabel
 
std::vector< std::string > regionLabel
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- 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 Member Functions inherited from edm::ProducerBase
ProducesCollector producesCollector ()
 
- 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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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)
 

Detailed Description

Definition at line 17 of file GEMBaseValidation.h.

Constructor & Destructor Documentation

GEMBaseValidation::GEMBaseValidation ( const edm::ParameterSet ps)
explicit

Definition at line 8 of file GEMBaseValidation.cc.

References edm::ParameterSet::getUntrackedParameter().

8  {
9  nBinZR_ = ps.getUntrackedParameter<std::vector<double> >("nBinGlobalZR");
10  RangeZR_ = ps.getUntrackedParameter<std::vector<double> >("RangeGlobalZR");
11  nBinXY_ = ps.getUntrackedParameter<int>("nBinGlobalXY", 360);
12 
13  regionLabel.push_back("-1");
14  regionLabel.push_back("1");
15 
16  layerLabel.push_back("1");
17  layerLabel.push_back("2");
18 }
T getUntrackedParameter(std::string const &, T const &) const
std::vector< double > RangeZR_
std::vector< std::string > layerLabel
std::vector< double > nBinZR_
std::vector< std::string > regionLabel
GEMBaseValidation::~GEMBaseValidation ( )
override

Definition at line 98 of file GEMBaseValidation.cc.

98 {}

Member Function Documentation

void GEMBaseValidation::analyze ( const edm::Event e,
const edm::EventSetup  
)
overridepure virtual
GEMBaseValidation::MonitorElement * GEMBaseValidation::BookHistXY ( DQMStore::IBooker ibooker,
const char *  name,
const char *  label,
unsigned int  region_num,
unsigned int  station_num,
unsigned int  layer_num = 99 
)

Definition at line 184 of file GEMBaseValidation.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by GEMHitsValidation::bookHistograms(), GEMCoPadDigiValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().

189  {
190  string hist_name, hist_title;
191  if (layer_num == 0 || layer_num == 1) {
192  hist_name = name + string("_xy") + getSuffixName(region_num, station_num + 1, layer_num + 1);
193  hist_title = label + string(" occupancy : ") + getSuffixTitle(region_num, station_num + 1, layer_num + 1) +
194  " ; globalX [cm]; globalY[cm]";
195  } else {
196  hist_name = name + string("_xy") + getSuffixName(region_num, station_num + 1);
197  hist_title = label + string(" occupancy : region") + getSuffixTitle(region_num, station_num + 1) +
198  " ; globalX [cm]; globalY[cm]";
199  }
200  return ibooker.book2D(hist_name, hist_title, nBinXY_, -360, 360, nBinXY_, -360, 360);
201 }
std::string getSuffixTitle(int region, int station, int layer)
std::string getSuffixName(int region, int station, int layer)
char const * label
GEMBaseValidation::MonitorElement * GEMBaseValidation::BookHistZR ( DQMStore::IBooker ibooker,
const char *  name,
const char *  label,
unsigned int  region_num,
unsigned int  station_num,
unsigned int  layer_num = 99 
)

Definition at line 149 of file GEMBaseValidation.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), createfilelist::int, LogDebug, AlCaHLTBitMon_QueryRunRegistry::string, TrackerOfflineValidation_Dqm_cff::xmax, TrackerOfflineValidation_Dqm_cff::xmin, L1TOccupancyClient_cfi::ymax, and L1TOccupancyClient_cfi::ymin.

Referenced by GEMHitsValidation::bookHistograms(), GEMCoPadDigiValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().

154  {
155  string hist_name, hist_title;
156  if (layer_num == 0 || layer_num == 1) {
157  hist_name = name + string("_zr") + getSuffixName(region_num, station_num + 1, layer_num + 1);
158  hist_title = label + string(" occupancy : region") + getSuffixTitle(region_num, station_num + 1, layer_num + 1) +
159  " ; globalZ[cm] ; globalR[cm]";
160  } else {
161  hist_name = name + string("_zr") + getSuffixName(region_num, station_num + 1);
162  hist_title = label + string(" occupancy : region") + getSuffixTitle(region_num, station_num + 1) +
163  " ; globalZ[cm] ; globalR[cm]";
164  }
165  LogDebug("GEMBaseValidation") << hist_name << " " << hist_title << std::endl;
166  int xbin = (int)nBinZR_[station_num];
167  int ybin = (int)nBinZR_[nBinZR_.size() / 2 + station_num];
168  double xmin = 0;
169  double xmax = 0;
170  double ymin = 0;
171  double ymax = 0;
172  ymin = RangeZR_[RangeZR_.size() / 2 + station_num * 2 + 0];
173  ymax = RangeZR_[RangeZR_.size() / 2 + station_num * 2 + 1];
174  if (region_num == 0) {
175  xmin = -RangeZR_[station_num * 2 + 1];
176  xmax = -RangeZR_[station_num * 2 + 0];
177  } else {
178  xmin = RangeZR_[station_num * 2 + 0];
179  xmax = RangeZR_[station_num * 2 + 1];
180  }
181  return ibooker.book2D(hist_name, hist_title, xbin, xmin, xmax, ybin, ymin, ymax);
182 }
#define LogDebug(id)
std::string getSuffixTitle(int region, int station, int layer)
std::vector< double > RangeZR_
std::string getSuffixName(int region, int station, int layer)
char const * label
std::vector< double > nBinZR_
GEMBaseValidation::MonitorElement * GEMBaseValidation::getDCEta ( DQMStore::IBooker ibooker,
const GEMStation station,
TString  title,
TString  histname 
)

Definition at line 119 of file GEMBaseValidation.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), training_settings::idx, label, LogDebug, GEMStation::region(), GEMStation::rings(), and GEMStation::station().

Referenced by GEMHitsValidation::bookHistograms(), GEMCoPadDigiValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().

122  {
123  if (station->rings().front()->superChambers().empty()) {
124  LogDebug("MuonBaseValidation") << "+++ Error! can not get superChambers. Skip "
125  << getSuffixTitle(station->region(), station->station()) << " on " << histname
126  << "\n";
127  return nullptr;
128  }
129 
130  // int nXbins = station->rings().front()->nSuperChambers()*2; //Fine for the complete geometry, but not for the Slice Test geometry
131  int nXbins = 72; //Maximum number of chambers is for GE1/1
132  int nYbins = station->rings().front()->superChambers().front()->chambers().front()->nEtaPartitions();
133 
134  TH2F* dcEta_temp = new TH2F(title, histname, nXbins, 0, nXbins, nYbins, 1, nYbins + 1);
135  int idx = 0;
136 
137  // for(unsigned int sCh = 1; sCh <= station->superChambers().size(); sCh++){
138  for (unsigned int sCh = 1; sCh <= 36; sCh++) {
139  for (unsigned int Ch = 1; Ch <= 2; Ch++) {
140  idx++;
141  TString label = TString::Format("ch%d_la%d", sCh, Ch);
142  dcEta_temp->GetXaxis()->SetBinLabel(idx, label.Data());
143  }
144  }
145  MonitorElement* dcEta = ibooker.book2D(histname, dcEta_temp);
146  return dcEta;
147 }
#define LogDebug(id)
int region() const
Get the region.
Definition: GEMStation.cc:70
int station() const
Get the station.
Definition: GEMStation.cc:72
std::string getSuffixTitle(int region, int station, int layer)
char const * label
const std::vector< const GEMRing * > & rings() const
Return the rings in the station.
Definition: GEMStation.cc:62
GEMBaseValidation::MonitorElement * GEMBaseValidation::getSimpleZR ( DQMStore::IBooker ibooker,
TString  title,
TString  histname 
)

Definition at line 100 of file GEMBaseValidation.cc.

References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), and mps_fire::i.

Referenced by GEMHitsValidation::bookHistograms(), GEMCoPadDigiValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().

102  {
103  std::vector<double> xbins_vector;
104  double station1_xmin = RangeZR_[0];
105  double station1_xmax = RangeZR_[1];
106  double station2_xmin = RangeZR_[2];
107  double station2_xmax = RangeZR_[3];
108 
109  for (double i = station1_xmin - 1; i < station2_xmax + 1; i = i + 0.25) {
110  if (i > station1_xmax + 1 && i < station2_xmin - 1)
111  continue;
112  xbins_vector.push_back(i);
113  }
114  TH2F* simpleZR_temp = new TH2F(title, histname, xbins_vector.size() - 1, (double*)&xbins_vector[0], 50, 120, 330);
115  MonitorElement* simpleZR = ibooker.book2D(histname, simpleZR_temp);
116  return simpleZR;
117 }
std::vector< double > RangeZR_
string GEMBaseValidation::getStationLabel ( int  i)

Definition at line 93 of file GEMBaseValidation.cc.

References mps_fire::i.

Referenced by GEMHitsValidation::analyze(), and GEMHitsValidation::bookHistograms().

93  {
94  string stationLabel[] = {"0", "1", "2"};
95  return stationLabel[i];
96 }
string GEMBaseValidation::getSuffixName ( int  region,
int  station,
int  layer 
)
string GEMBaseValidation::getSuffixName ( int  region,
int  station 
)

Definition at line 55 of file GEMBaseValidation.cc.

References gather_cfg::cout, HLT_2018_cff::region, and AlCaHLTBitMon_QueryRunRegistry::string.

55  {
56  if (region == -1)
57  region = 0;
58  else if (region > 1)
59  std::cout << "Name)Alert! Region must be -1 or 1 : " << region << " " << station << std::endl;
60  return string("_r") + regionLabel[region] + "_st" + getStationLabel(station);
61 }
std::vector< std::string > regionLabel
std::string getStationLabel(int i)
string GEMBaseValidation::getSuffixName ( int  region)

Definition at line 62 of file GEMBaseValidation.cc.

References gather_cfg::cout, HLT_2018_cff::region, and AlCaHLTBitMon_QueryRunRegistry::string.

62  {
63  if (region == -1)
64  region = 0;
65  else if (region > 1)
66  std::cout << "Name)Alert! Region must be -1 or 1 : " << region << std::endl;
67  return string("_r") + regionLabel[region];
68 }
std::vector< std::string > regionLabel
string GEMBaseValidation::getSuffixTitle ( int  region,
int  station,
int  layer 
)

Definition at line 70 of file GEMBaseValidation.cc.

References gather_cfg::cout, HLT_2018_cff::region, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by GEMRecHitsValidation::BookHist1D(), GEMHitsValidation::bookHistograms(), GEMCoPadDigiValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().

70  {
71  if (region == -1)
72  region = 0;
73  else if (region > 1)
74  std::cout << "Title)Alert! Region must be -1 or 1 : " << region << " " << station << " " << layer << std::endl;
75  return string("Region ") + regionLabel[region] + " Station " + getStationLabel(station) + " Layer " +
76  layerLabel[layer - 1];
77 }
std::vector< std::string > layerLabel
std::vector< std::string > regionLabel
std::string getStationLabel(int i)
string GEMBaseValidation::getSuffixTitle ( int  region,
int  station 
)

Definition at line 78 of file GEMBaseValidation.cc.

References gather_cfg::cout, HLT_2018_cff::region, and AlCaHLTBitMon_QueryRunRegistry::string.

78  {
79  if (region == -1)
80  region = 0;
81  else if (region > 1)
82  std::cout << "Title)Alert! Region must be -1 or 1 : " << region << " " << station << std::endl;
83  return string("Region ") + regionLabel[region] + " Station " + getStationLabel(station);
84 }
std::vector< std::string > regionLabel
std::string getStationLabel(int i)
string GEMBaseValidation::getSuffixTitle ( int  region)

Definition at line 85 of file GEMBaseValidation.cc.

References gather_cfg::cout, HLT_2018_cff::region, and AlCaHLTBitMon_QueryRunRegistry::string.

85  {
86  if (region == -1)
87  region = 0;
88  else if (region > 1)
89  std::cout << "Title)Alert! Region must be -1 or 1 : " << region << std::endl;
90  return string("Region ") + regionLabel[region];
91 }
std::vector< std::string > regionLabel
const GEMGeometry * GEMBaseValidation::initGeometry ( const edm::EventSetup )

Definition at line 20 of file GEMBaseValidation.cc.

References GEMGeometry::chambers(), MillePedeFileConverter_cfg::e, GEMGeometry::etaPartitions(), edm::EventSetup::get(), LogDebug, npart, GEMGeometry::regions(), and GEMGeometry::superChambers().

Referenced by GEMHitsValidation::analyze(), GEMRecHitsValidation::analyze(), GEMHitsValidation::bookHistograms(), GEMCoPadDigiValidation::bookHistograms(), GEMPadDigiValidation::bookHistograms(), GEMRecHitsValidation::bookHistograms(), and GEMStripDigiValidation::bookHistograms().

20  {
21  const GEMGeometry* GEMGeometry_ = nullptr;
22  try {
24  iSetup.get<MuonGeometryRecord>().get(hGeom);
25  GEMGeometry_ = &*hGeom;
27  edm::LogError("MuonGEMBaseValidation") << "+++ Error : GEM geometry is unavailable on event loop. +++\n";
28  return nullptr;
29  }
30 
31  LogDebug("MuonBaseValidation") << "GEMGeometry_->regions().size() " << GEMGeometry_->regions().size() << "\n";
32  LogDebug("MuonBaseValidation") << "GEMGeometry_->stations().size() "
33  << GEMGeometry_->regions().front()->stations().size() << "\n";
34  LogDebug("MuonBaseValidation") << "GEMGeometry_->superChambers().size() " << GEMGeometry_->superChambers().size()
35  << "\n";
36  LogDebug("MuonBaseValidation") << "GEMGeometry_->chambers().size() " << GEMGeometry_->chambers().size() << "\n";
37  LogDebug("MuonBaseValidation") << "GEMGeometry_->etaPartitions().size() " << GEMGeometry_->etaPartitions().size()
38  << "\n";
39 
40  nregion = GEMGeometry_->regions().size();
41  nstation = GEMGeometry_->regions().front()->stations().size();
43  npart = GEMGeometry_->chambers().front()->etaPartitions().size();
44 
45  return GEMGeometry_;
46 }
#define LogDebug(id)
unsigned int nstationForLabel
unsigned int nregion
const std::vector< const GEMRegion * > & regions() const
Return a vector of all GEM regions.
Definition: GEMGeometry.cc:30
unsigned int nstation
const std::vector< const GEMEtaPartition * > & etaPartitions() const
Return a vector of all GEM eta partitions.
Definition: GEMGeometry.cc:40
const std::vector< const GEMSuperChamber * > & superChambers() const
Return a vector of all GEM super chambers.
Definition: GEMGeometry.cc:36
const std::vector< const GEMChamber * > & chambers() const
Return a vector of all GEM chambers.
Definition: GEMGeometry.cc:38
unsigned int GEMBaseValidation::nPart ( )
inline

Definition at line 51 of file GEMBaseValidation.h.

References npart.

Referenced by GEMHitsValidation::bookHistograms().

51 { return npart; }
unsigned int GEMBaseValidation::nRegion ( )
inline

Definition at line 48 of file GEMBaseValidation.h.

References nregion.

Referenced by GEMHitsValidation::bookHistograms(), and GEMRecHitsValidation::bookHistograms().

48 { return nregion; }
unsigned int nregion
unsigned int GEMBaseValidation::nStation ( )
inline

Definition at line 49 of file GEMBaseValidation.h.

References nstation.

Referenced by GEMHitsValidation::bookHistograms(), and GEMRecHitsValidation::bookHistograms().

49 { return nstation; }
unsigned int nstation
unsigned int GEMBaseValidation::nStationForLabel ( )
inline

Definition at line 50 of file GEMBaseValidation.h.

References nstationForLabel.

50 { return nstationForLabel; }
unsigned int nstationForLabel
void GEMBaseValidation::setNStationForLabel ( unsigned int  number)
inline

Member Data Documentation

bool GEMBaseValidation::detailPlot_
private

Definition at line 65 of file GEMBaseValidation.h.

edm::EDGetToken GEMBaseValidation::InputTagToken_
private

Definition at line 63 of file GEMBaseValidation.h.

std::vector<std::string> GEMBaseValidation::layerLabel
private

Definition at line 62 of file GEMBaseValidation.h.

int GEMBaseValidation::nBinXY_
protected

Definition at line 56 of file GEMBaseValidation.h.

std::vector<double> GEMBaseValidation::nBinZR_
protected

Definition at line 57 of file GEMBaseValidation.h.

unsigned int GEMBaseValidation::npart
private

Definition at line 64 of file GEMBaseValidation.h.

Referenced by nPart().

unsigned int GEMBaseValidation::nregion
private

Definition at line 64 of file GEMBaseValidation.h.

Referenced by nRegion().

unsigned int GEMBaseValidation::nstation
private

Definition at line 64 of file GEMBaseValidation.h.

Referenced by nStation().

unsigned int GEMBaseValidation::nstationForLabel
private

Definition at line 64 of file GEMBaseValidation.h.

Referenced by nStationForLabel(), and setNStationForLabel().

std::vector<double> GEMBaseValidation::RangeZR_
protected

Definition at line 58 of file GEMBaseValidation.h.

std::vector<std::string> GEMBaseValidation::regionLabel
private

Definition at line 61 of file GEMBaseValidation.h.