CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes
HGCGeometryValidation Class Reference
Inheritance diagram for HGCGeometryValidation:
DQMEDAnalyzer edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >

Public Member Functions

 HGCGeometryValidation (const edm::ParameterSet &)
 
 ~HGCGeometryValidation () override=default
 
- Public Member Functions inherited from DQMEDAnalyzer
void accumulate (edm::Event const &event, edm::EventSetup const &setup) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
void beginStream (edm::StreamID id) final
 
 DQMEDAnalyzer ()
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final
 
void endRun (edm::Run const &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static void globalEndJob (DQMEDAnalyzerGlobalCache const *)
 
static void globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context)
 
static void globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context)
 
static std::unique_ptr< DQMEDAnalyzerGlobalCacheinitializeGlobalCache (edm::ParameterSet const &)
 

Protected Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void dqmBeginRun (edm::Run const &, edm::EventSetup const &) override
 
- Protected Member Functions inherited from DQMEDAnalyzer
uint64_t meId () const
 

Private Attributes

const edm::EDGetTokenT< PHGCalValidInfog4Token_
 
const std::vector< std::string > geometrySource_
 
const std::vector< edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > > geomToken_
 
MonitorElementhebdX
 
MonitorElementhebdxVsLayer
 
MonitorElementhebdxVsX
 
MonitorElementhebdY
 
MonitorElementhebdyVsLayer
 
MonitorElementhebdyVsY
 
MonitorElementhebdZ
 
MonitorElementhebdzVsLayer
 
MonitorElementhebdzVsZ
 
MonitorElementhebLayerVsEnStep
 
MonitorElementhebTotEdepStep
 
MonitorElementhebXG4VsId
 
MonitorElementhebYG4VsId
 
MonitorElementhebZG4VsId
 
MonitorElementheedX
 
MonitorElementheedxVsLayer
 
MonitorElementheedxVsX
 
MonitorElementheedY
 
MonitorElementheedyVsLayer
 
MonitorElementheedyVsY
 
MonitorElementheedZ
 
MonitorElementheedzVsLayer
 
MonitorElementheedzVsZ
 
MonitorElementheeLayerVsEnStep
 
MonitorElementheeTotEdepStep
 
MonitorElementheeXG4VsId
 
MonitorElementheeYG4VsId
 
MonitorElementheeZG4VsId
 
MonitorElementhefdX
 
MonitorElementhefdxVsLayer
 
MonitorElementhefdxVsX
 
MonitorElementhefdY
 
MonitorElementhefdyVsLayer
 
MonitorElementhefdyVsY
 
MonitorElementhefdZ
 
MonitorElementhefdzVsLayer
 
MonitorElementhefdzVsZ
 
MonitorElementhefLayerVsEnStep
 
MonitorElementhefTotEdepStep
 
MonitorElementhefXG4VsId
 
MonitorElementhefYG4VsId
 
MonitorElementhefZG4VsId
 
std::vector< const HGCalDDDConstants * > hgcGeometry_
 
const int verbosity_
 

Additional Inherited Members

- Public Types inherited from DQMEDAnalyzer
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< DQMEDAnalyzerGlobalCache >, edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::Accumulator >
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 
- Protected Attributes inherited from DQMEDAnalyzer
edm::EDPutTokenT< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 
unsigned int streamId_
 

Detailed Description

Definition at line 32 of file HGCGeometryValidation.cc.

Constructor & Destructor Documentation

◆ HGCGeometryValidation()

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

Definition at line 70 of file HGCGeometryValidation.cc.

References geometrySource_, mergeVDriftHistosByStation::name, AlCaHLTBitMon_QueryRunRegistry::string, and edm::vector_transform().

71  : g4Token_(consumes<PHGCalValidInfo>(cfg.getParameter<edm::InputTag>("g4Source"))),
72  geometrySource_(cfg.getUntrackedParameter<std::vector<std::string>>("geometrySource")),
73  verbosity_(cfg.getUntrackedParameter<int>("verbosity", 0)),
75  return esConsumes<HGCalDDDConstants, IdealGeometryRecord, edm::Transition::BeginRun>(edm::ESInputTag{"", name});
76  })} {}
const edm::EDGetTokenT< PHGCalValidInfo > g4Token_
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
Definition: transform.h:11
const std::vector< std::string > geometrySource_
const std::vector< edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > > geomToken_

◆ ~HGCGeometryValidation()

HGCGeometryValidation::~HGCGeometryValidation ( )
overridedefault

Member Function Documentation

◆ analyze()

void HGCGeometryValidation::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 151 of file HGCGeometryValidation.cc.

References isotrackApplyRegressor::dtype, PHGCalValidInfo::eehgcEdep(), PHGCalValidInfo::eeTotEdep(), dqm::impl::MonitorElement::Fill(), g4Token_, hebdX, hebdxVsLayer, hebdxVsX, hebdY, hebdyVsLayer, hebdyVsY, hebdZ, hebdzVsLayer, hebdzVsZ, PHGCalValidInfo::hebhgcEdep(), hebLayerVsEnStep, PHGCalValidInfo::hebTotEdep(), hebTotEdepStep, hebXG4VsId, hebYG4VsId, hebZG4VsId, heedX, heedxVsLayer, heedxVsX, heedY, heedyVsLayer, heedyVsY, heedZ, heedzVsLayer, heedzVsZ, heeLayerVsEnStep, heeTotEdepStep, heeXG4VsId, heeYG4VsId, heeZG4VsId, hefdX, hefdxVsLayer, hefdxVsX, hefdY, hefdyVsLayer, hefdyVsY, hefdZ, hefdzVsLayer, hefdzVsZ, PHGCalValidInfo::hefhgcEdep(), hefLayerVsEnStep, PHGCalValidInfo::hefTotEdep(), hefTotEdepStep, hefXG4VsId, hefYG4VsId, hefZG4VsId, DetId::HGCalEE, DetId::HGCalHSi, hgcGeometry_, PHGCalValidInfo::hitDets(), PHGCalValidInfo::hitIndex(), PHGCalValidInfo::hitvtxX(), PHGCalValidInfo::hitvtxY(), PHGCalValidInfo::hitvtxZ(), mps_fire::i, EcalPhiSymFlatTableProducers_cfi::id, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::ietaAbs(), iEvent, ALPAKA_ACCELERATOR_NAMESPACE::caPixelDoublets::if(), hcalRecHitTable_cff::iphi, edm::HandleBase::isValid(), nano_mu_digi_cff::layer, mmtocm, verbosity_, HGCalWaferIndex::waferU(), HGCalWaferIndex::waferV(), geometryCSVtoXML::xx, geometryCSVtoXML::xy, geometryCSVtoXML::yy, ecaldqm::zside(), and geometryCSVtoXML::zz.

151  {
152  //Accessing G4 information
153  const edm::Handle<PHGCalValidInfo> &infoLayer = iEvent.getHandle(g4Token_);
154 
155  if (infoLayer.isValid()) {
156  //step vertex information
157  std::vector<float> hitVtxX = infoLayer->hitvtxX();
158  std::vector<float> hitVtxY = infoLayer->hitvtxY();
159  std::vector<float> hitVtxZ = infoLayer->hitvtxZ();
160  const std::vector<unsigned int> &hitDet = infoLayer->hitDets();
161  const std::vector<unsigned int> &hitIdx = infoLayer->hitIndex();
162 
163  //energy information
164  const std::vector<float> &edepLayerEE = infoLayer->eehgcEdep();
165  const std::vector<float> &edepLayerHE = infoLayer->hefhgcEdep();
166  const std::vector<float> &edepLayerHB = infoLayer->hebhgcEdep();
167 
168  unsigned int i;
169  for (i = 0; i < edepLayerEE.size(); i++) {
170  heeLayerVsEnStep->Fill(i, edepLayerEE[i]);
171  }
172 
173  for (i = 0; i < edepLayerHE.size(); i++) {
174  hefLayerVsEnStep->Fill(i, edepLayerHE[i]);
175  }
176 
177  for (i = 0; i < edepLayerHB.size(); i++) {
178  hebLayerVsEnStep->Fill(i, edepLayerHB[i]);
179  }
180 
181  //fill total energy deposited
182  heeTotEdepStep->Fill((double)infoLayer->eeTotEdep());
183  hefTotEdepStep->Fill((double)infoLayer->hefTotEdep());
184  hebTotEdepStep->Fill((double)infoLayer->hebTotEdep());
185 
186  //loop over all hits
187  for (unsigned int i = 0; i < hitVtxX.size(); i++) {
188  hitVtxX[i] *= mmtocm;
189  hitVtxY[i] *= mmtocm;
190  hitVtxZ[i] *= mmtocm;
191 
192  double xx, yy;
193  int dtype(0), layer(0), zside(1);
194  std::pair<float, float> xy;
195  if ((hitDet[i] == static_cast<unsigned int>(DetId::HGCalEE)) ||
196  (hitDet[i] == static_cast<unsigned int>(DetId::HGCalHSi))) {
197  HGCSiliconDetId id(hitIdx[i]);
198  dtype = (id.det() == DetId::HGCalEE) ? 0 : 1;
199  layer = id.layer();
200  zside = id.zside();
201  xy = hgcGeometry_[dtype]->locateCell(
202  zside, layer, id.waferU(), id.waferV(), id.cellU(), id.cellV(), true, true, false, false, false);
203  } else {
204  HGCScintillatorDetId id(hitIdx[i]);
205  dtype = 2;
206  layer = id.layer();
207  zside = id.zside();
208  xy = hgcGeometry_[dtype]->locateCellTrap(zside, layer, id.ietaAbs(), id.iphi(), true, false);
209  }
210  double zz = hgcGeometry_[dtype]->waferZ(layer, true); //cm
211  if (zside < 0)
212  zz = -zz;
213  xx = (zside < 0) ? -xy.first : xy.first;
214  yy = xy.second;
215 
216  if (dtype == 0) {
217  heedzVsZ->Fill(zz, (hitVtxZ[i] - zz));
218  heedyVsY->Fill(yy, (hitVtxY[i] - yy));
219  heedxVsX->Fill(xx, (hitVtxX[i] - xx));
220 
221  heeXG4VsId->Fill(hitVtxX[i], xx);
222  heeYG4VsId->Fill(hitVtxY[i], yy);
223  heeZG4VsId->Fill(hitVtxZ[i], zz);
224 
225  heedzVsLayer->Fill(layer, (hitVtxZ[i] - zz));
226  heedyVsLayer->Fill(layer, (hitVtxY[i] - yy));
227  heedxVsLayer->Fill(layer, (hitVtxX[i] - xx));
228 
229  heedX->Fill((hitVtxX[i] - xx));
230  heedZ->Fill((hitVtxZ[i] - zz));
231  heedY->Fill((hitVtxY[i] - yy));
232 
233  } else if (dtype == 1) {
234  hefdzVsZ->Fill(zz, (hitVtxZ[i] - zz));
235  hefdyVsY->Fill(yy, (hitVtxY[i] - yy));
236  hefdxVsX->Fill(xx, (hitVtxX[i] - xx));
237 
238  hefXG4VsId->Fill(hitVtxX[i], xx);
239  hefYG4VsId->Fill(hitVtxY[i], yy);
240  hefZG4VsId->Fill(hitVtxZ[i], zz);
241 
242  hefdzVsLayer->Fill(layer, (hitVtxZ[i] - zz));
243  hefdyVsLayer->Fill(layer, (hitVtxY[i] - yy));
244  hefdxVsLayer->Fill(layer, (hitVtxX[i] - xx));
245 
246  hefdX->Fill((hitVtxX[i] - xx));
247  hefdZ->Fill((hitVtxZ[i] - zz));
248  hefdY->Fill((hitVtxY[i] - yy));
249 
250  } else {
251  hebdzVsZ->Fill(zz, (hitVtxZ[i] - zz));
252  hebdyVsY->Fill(yy, (hitVtxY[i] - yy));
253  hebdxVsX->Fill(xx, (hitVtxX[i] - xx));
254 
255  hebXG4VsId->Fill(hitVtxX[i], xx);
256  hebYG4VsId->Fill(hitVtxY[i], yy);
257  hebZG4VsId->Fill(hitVtxZ[i], zz);
258 
259  hebdzVsLayer->Fill(layer, (hitVtxZ[i] - zz));
260  hebdyVsLayer->Fill(layer, (hitVtxY[i] - yy));
261  hebdxVsLayer->Fill(layer, (hitVtxX[i] - xx));
262 
263  hebdX->Fill((hitVtxX[i] - xx));
264  hebdZ->Fill((hitVtxZ[i] - zz));
265  hebdY->Fill((hitVtxY[i] - yy));
266  }
267  } //end G4 hits
268 
269  } else {
270  if (verbosity_ > 0)
271  edm::LogVerbatim("HGCalValid") << "HGCGeometryValidation::No PHGCalInfo";
272  }
273 }
Log< level::Info, true > LogVerbatim
std::vector< unsigned int > hitIndex() const
float hefTotEdep() const
std::vector< float > hefhgcEdep() const
std::vector< float > hitvtxZ() const
int32_t waferU(const int32_t index)
const edm::EDGetTokenT< PHGCalValidInfo > g4Token_
int zside(DetId const &)
std::vector< unsigned int > hitDets() const
void Fill(long long x)
ALPAKA_FN_ACC ALPAKA_FN_INLINE uint32_t ietaAbs(uint32_t id)
int iEvent
Definition: GenABIO.cc:224
MonitorElement * hefTotEdepStep
MonitorElement * hefLayerVsEnStep
MonitorElement * heeLayerVsEnStep
std::vector< float > eehgcEdep() const
const double mmtocm
std::vector< float > hebhgcEdep() const
MonitorElement * hebTotEdepStep
std::vector< float > hitvtxY() const
bool isValid() const
Definition: HandleBase.h:70
MonitorElement * hebLayerVsEnStep
std::vector< const HGCalDDDConstants * > hgcGeometry_
int32_t waferV(const int32_t index)
float hebTotEdep() const
float eeTotEdep() const
MonitorElement * heeTotEdepStep
if(threadIdxLocalY==0 &&threadIdxLocalX==0)
std::vector< float > hitvtxX() const

◆ bookHistograms()

void HGCGeometryValidation::bookHistograms ( DQMStore::IBooker iB,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 90 of file HGCGeometryValidation.cc.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), hebdX, hebdxVsLayer, hebdxVsX, hebdY, hebdyVsLayer, hebdyVsY, hebdZ, hebdzVsLayer, hebdzVsZ, hebLayerVsEnStep, hebTotEdepStep, hebXG4VsId, hebYG4VsId, hebZG4VsId, heedX, heedxVsLayer, heedxVsX, heedY, heedyVsLayer, heedyVsY, heedZ, heedzVsLayer, heedzVsZ, heeLayerVsEnStep, heeTotEdepStep, heeXG4VsId, heeYG4VsId, heeZG4VsId, hefdX, hefdxVsLayer, hefdxVsX, hefdY, hefdyVsLayer, hefdyVsY, hefdZ, hefdzVsLayer, hefdzVsZ, hefLayerVsEnStep, hefTotEdepStep, hefXG4VsId, hefYG4VsId, hefZG4VsId, and dqm::implementation::NavigatorBase::setCurrentFolder().

90  {
91  iB.setCurrentFolder("HGCAL/HGCalSimHitsV/Geometry");
92 
93  //initiating histograms
94  heeTotEdepStep = iB.book1D("heeTotEdepStep", "", 100, 0, 100);
95  hefTotEdepStep = iB.book1D("hefTotEdepStep", "", 100, 0, 100);
96  hebTotEdepStep = iB.book1D("hebTotEdepStep", "", 100, 0, 100);
97 
98  hebLayerVsEnStep = iB.book2D("hebLayerVsEnStep", "", 25, 0, 25, 100, 0, 0.01);
99  hefLayerVsEnStep = iB.book2D("hefLayerVsEnStep", "", 36, 0, 36, 100, 0, 0.01);
100  heeLayerVsEnStep = iB.book2D("heeLayerVsEnStep", "", 84, 0, 84, 100, 0, 0.01);
101 
102  heeXG4VsId = iB.book2D("heeXG4VsId", "", 600, -300, 300, 600, -300, 300);
103  heeYG4VsId = iB.book2D("heeYG4VsId", "", 600, -300, 300, 600, -300, 300);
104  heeZG4VsId = iB.book2D("heeZG4VsId", "", 3000, 320, 350, 3000, 320, 350);
105 
106  hefXG4VsId = iB.book2D("hefXG4VsId", "", 600, -300, 300, 600, -300, 300);
107  hefYG4VsId = iB.book2D("hefYG4VsId", "", 600, -300, 300, 600, -300, 300);
108  hefZG4VsId = iB.book2D("hefZG4VsId", "", 6000, 350, 410, 6000, 350, 410);
109 
110  hebXG4VsId = iB.book2D("hebXG4VsId", "", 600, -300, 300, 600, -300, 300);
111  hebYG4VsId = iB.book2D("hebYG4VsId", "", 600, -300, 300, 600, -300, 300);
112  hebZG4VsId = iB.book2D("hebZG4VsId", "", 220, 400, 620, 220, 400, 620);
113 
114  heedzVsZ = iB.book2D("heedzVsZ", "", 600, 320, 350, 100, -1, 1);
115  heedyVsY = iB.book2D("heedyVsY", "", 400, -200, 200, 100, -1, 1);
116  heedxVsX = iB.book2D("heedxVsX", "", 400, -200, 200, 100, -1, 1);
117 
118  hefdzVsZ = iB.book2D("hefdzVsZ", "", 1200, 350, 410, 100, -1, 1);
119  hefdyVsY = iB.book2D("hefdyVsY", "", 400, -200, 200, 100, -1, 1);
120  hefdxVsX = iB.book2D("hefdxVsX", "", 400, -200, 200, 100, -1, 1);
121 
122  hebdzVsZ = iB.book2D("hebdzVsZ", "", 220, 400, 620, 100, -5, 5);
123  hebdyVsY = iB.book2D("hebdyVsY", "", 400, -200, 200, 100, -5, 5);
124  hebdxVsX = iB.book2D("hebdxVsX", "", 400, -200, 200, 100, -5, 5);
125 
126  heedzVsLayer = iB.book2D("heedzVsLayer", "", 100, 0, 100, 100, -1, 1);
127  hefdzVsLayer = iB.book2D("hefdzVsLayer", "", 40, 0, 40, 100, -1, 1);
128  hebdzVsLayer = iB.book2D("hebdzVsLayer", "", 50, 0, 25, 100, -5, 5);
129 
130  heedyVsLayer = iB.book2D("heedyVsLayer", "", 100, 0, 100, 100, -1, 1);
131  hefdyVsLayer = iB.book2D("hefdyVsLayer", "", 40, 0, 40, 100, -1, 1);
132  hebdyVsLayer = iB.book2D("hebdyVsLayer", "", 50, 0, 25, 100, -5, 5);
133 
134  heedxVsLayer = iB.book2D("heedxVsLayer", "", 100, 0, 100, 100, -1, 1);
135  hefdxVsLayer = iB.book2D("hefdxVsLayer", "", 40, 0, 40, 500, -1, 1);
136  hebdxVsLayer = iB.book2D("hebdxVsLayer", "", 50, 0, 25, 500, -5, 5.0);
137 
138  heedX = iB.book1D("heedX", "", 100, -1, 1);
139  heedY = iB.book1D("heedY", "", 100, -1, 1);
140  heedZ = iB.book1D("heedZ", "", 100, -1, 1);
141 
142  hefdX = iB.book1D("hefdX", "", 100, -1, 1);
143  hefdY = iB.book1D("hefdY", "", 100, -1, 1);
144  hefdZ = iB.book1D("hefdZ", "", 100, -1, 1);
145 
146  hebdX = iB.book1D("hebdX", "", 100, -1, 1);
147  hebdY = iB.book1D("hebdY", "", 100, -1, 1);
148  hebdZ = iB.book1D("hebdZ", "", 100, -1, 1);
149 }
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * hefTotEdepStep
MonitorElement * hefLayerVsEnStep
MonitorElement * heeLayerVsEnStep
MonitorElement * hebTotEdepStep
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
Definition: DQMStore.h:221
MonitorElement * hebLayerVsEnStep
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
MonitorElement * heeTotEdepStep

◆ dqmBeginRun()

void HGCGeometryValidation::dqmBeginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 84 of file HGCGeometryValidation.cc.

References geometrySource_, geomToken_, edm::EventSetup::getData(), hgcGeometry_, and mps_fire::i.

84  {
85  for (size_t i = 0; i < geometrySource_.size(); i++) {
86  hgcGeometry_.emplace_back(&iSetup.getData(geomToken_[i]));
87  }
88 }
const std::vector< std::string > geometrySource_
const std::vector< edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > > geomToken_
std::vector< const HGCalDDDConstants * > hgcGeometry_

◆ fillDescriptions()

void HGCGeometryValidation::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 78 of file HGCGeometryValidation.cc.

References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.

78  {
80  desc.setUnknown();
81  descriptions.addDefault(desc);
82 }
void addDefault(ParameterSetDescription const &psetDescription)

Member Data Documentation

◆ g4Token_

const edm::EDGetTokenT<PHGCalValidInfo> HGCGeometryValidation::g4Token_
private

Definition at line 44 of file HGCGeometryValidation.cc.

Referenced by analyze().

◆ geometrySource_

const std::vector<std::string> HGCGeometryValidation::geometrySource_
private

Definition at line 45 of file HGCGeometryValidation.cc.

Referenced by dqmBeginRun(), and HGCGeometryValidation().

◆ geomToken_

const std::vector<edm::ESGetToken<HGCalDDDConstants, IdealGeometryRecord> > HGCGeometryValidation::geomToken_
private

Definition at line 47 of file HGCGeometryValidation.cc.

Referenced by dqmBeginRun().

◆ hebdX

MonitorElement* HGCGeometryValidation::hebdX
private

Definition at line 67 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebdxVsLayer

MonitorElement * HGCGeometryValidation::hebdxVsLayer
private

Definition at line 58 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebdxVsX

MonitorElement * HGCGeometryValidation::hebdxVsX
private

Definition at line 55 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebdY

MonitorElement * HGCGeometryValidation::hebdY
private

Definition at line 67 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebdyVsLayer

MonitorElement * HGCGeometryValidation::hebdyVsLayer
private

Definition at line 57 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebdyVsY

MonitorElement * HGCGeometryValidation::hebdyVsY
private

Definition at line 55 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebdZ

MonitorElement * HGCGeometryValidation::hebdZ
private

Definition at line 67 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebdzVsLayer

MonitorElement * HGCGeometryValidation::hebdzVsLayer
private

Definition at line 56 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebdzVsZ

MonitorElement* HGCGeometryValidation::hebdzVsZ
private

Definition at line 55 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebLayerVsEnStep

MonitorElement* HGCGeometryValidation::hebLayerVsEnStep
private

Definition at line 62 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebTotEdepStep

MonitorElement * HGCGeometryValidation::hebTotEdepStep
private

Definition at line 64 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebXG4VsId

MonitorElement * HGCGeometryValidation::hebXG4VsId
private

Definition at line 59 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebYG4VsId

MonitorElement * HGCGeometryValidation::hebYG4VsId
private

Definition at line 60 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hebZG4VsId

MonitorElement * HGCGeometryValidation::hebZG4VsId
private

Definition at line 61 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heedX

MonitorElement* HGCGeometryValidation::heedX
private

Definition at line 65 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heedxVsLayer

MonitorElement* HGCGeometryValidation::heedxVsLayer
private

Definition at line 58 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heedxVsX

MonitorElement * HGCGeometryValidation::heedxVsX
private

Definition at line 53 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heedY

MonitorElement * HGCGeometryValidation::heedY
private

Definition at line 65 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heedyVsLayer

MonitorElement* HGCGeometryValidation::heedyVsLayer
private

Definition at line 57 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heedyVsY

MonitorElement * HGCGeometryValidation::heedyVsY
private

Definition at line 53 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heedZ

MonitorElement * HGCGeometryValidation::heedZ
private

Definition at line 65 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heedzVsLayer

MonitorElement* HGCGeometryValidation::heedzVsLayer
private

Definition at line 56 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heedzVsZ

MonitorElement* HGCGeometryValidation::heedzVsZ
private

Definition at line 53 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heeLayerVsEnStep

MonitorElement * HGCGeometryValidation::heeLayerVsEnStep
private

Definition at line 62 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heeTotEdepStep

MonitorElement* HGCGeometryValidation::heeTotEdepStep
private

Definition at line 64 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heeXG4VsId

MonitorElement* HGCGeometryValidation::heeXG4VsId
private

Definition at line 59 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heeYG4VsId

MonitorElement* HGCGeometryValidation::heeYG4VsId
private

Definition at line 60 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ heeZG4VsId

MonitorElement* HGCGeometryValidation::heeZG4VsId
private

Definition at line 61 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefdX

MonitorElement* HGCGeometryValidation::hefdX
private

Definition at line 66 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefdxVsLayer

MonitorElement * HGCGeometryValidation::hefdxVsLayer
private

Definition at line 58 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefdxVsX

MonitorElement * HGCGeometryValidation::hefdxVsX
private

Definition at line 54 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefdY

MonitorElement * HGCGeometryValidation::hefdY
private

Definition at line 66 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefdyVsLayer

MonitorElement * HGCGeometryValidation::hefdyVsLayer
private

Definition at line 57 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefdyVsY

MonitorElement * HGCGeometryValidation::hefdyVsY
private

Definition at line 54 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefdZ

MonitorElement * HGCGeometryValidation::hefdZ
private

Definition at line 66 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefdzVsLayer

MonitorElement * HGCGeometryValidation::hefdzVsLayer
private

Definition at line 56 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefdzVsZ

MonitorElement* HGCGeometryValidation::hefdzVsZ
private

Definition at line 54 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefLayerVsEnStep

MonitorElement * HGCGeometryValidation::hefLayerVsEnStep
private

Definition at line 62 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefTotEdepStep

MonitorElement * HGCGeometryValidation::hefTotEdepStep
private

Definition at line 64 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefXG4VsId

MonitorElement * HGCGeometryValidation::hefXG4VsId
private

Definition at line 59 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefYG4VsId

MonitorElement * HGCGeometryValidation::hefYG4VsId
private

Definition at line 60 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hefZG4VsId

MonitorElement * HGCGeometryValidation::hefZG4VsId
private

Definition at line 61 of file HGCGeometryValidation.cc.

Referenced by analyze(), and bookHistograms().

◆ hgcGeometry_

std::vector<const HGCalDDDConstants *> HGCGeometryValidation::hgcGeometry_
private

Definition at line 50 of file HGCGeometryValidation.cc.

Referenced by analyze(), and dqmBeginRun().

◆ verbosity_

const int HGCGeometryValidation::verbosity_
private

Definition at line 46 of file HGCGeometryValidation.cc.

Referenced by analyze().