CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Private Attributes
HGCalHitValidation Class Reference

#include <Validation/HGCalValidation/plugins/HGCalHitValidation.cc>

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

Public Member Functions

 HGCalHitValidation (const edm::ParameterSet &)
 
 ~HGCalHitValidation ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
 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
 
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
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr< dqmDetails::NoCacheglobalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr< dqmDetails::NoCacheglobalBeginRunSummary (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 Types

typedef std::tuple< float, float, float, float > HGCHitTuple
 

Protected Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
template<class T1 >
void analyzeHGCalRecHit (T1 const &theHits, std::map< unsigned int, HGCHitTuple > const &hitRefs)
 
void analyzeHGCalSimHit (edm::Handle< std::vector< PCaloHit >> const &simHits, int idet, MonitorElement *hist, std::map< unsigned int, HGCHitTuple > &)
 
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 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

edm::EDGetTokenT< HGChebRecHitCollectionbhRecHitTokeng_
 
edm::EDGetTokenT< HBHERecHitCollectionbhRecHitTokenh_
 
edm::InputTag bhSimHitSource
 
edm::EDGetTokenT< std::vector< PCaloHit > > bhSimHitToken_
 
edm::EDGetTokenT< HGCeeRecHitCollectioneeRecHitToken_
 
edm::InputTag eeSimHitSource
 
edm::EDGetTokenT< std::vector< PCaloHit > > eeSimHitToken_
 
edm::EDGetTokenT< HGChefRecHitCollectionfhRecHitToken_
 
edm::InputTag fhSimHitSource
 
edm::EDGetTokenT< std::vector< PCaloHit > > fhSimHitToken_
 
std::vector< std::string > geometrySource_
 
const HcalDDDRecConstantshcConr_
 
const HcalDDDSimConstantshcCons_
 
const CaloSubdetectorGeometryhcGeometry_
 
MonitorElementhebdEtaVsEta
 
MonitorElementhebdPhiVsPhi
 
MonitorElementhebdzVsZ
 
MonitorElementhebEnRec
 
MonitorElementhebEnSim
 
MonitorElementhebEnSimRec
 
MonitorElementhebRecVsSimX
 
MonitorElementhebRecVsSimY
 
MonitorElementhebRecVsSimZ
 
MonitorElementheedxVsX
 
MonitorElementheedyVsY
 
MonitorElementheedzVsZ
 
MonitorElementheeEnRec
 
MonitorElementheeEnSim
 
MonitorElementheeEnSimRec
 
MonitorElementheeRecVsSimX
 
MonitorElementheeRecVsSimY
 
MonitorElementheeRecVsSimZ
 
MonitorElementhefdxVsX
 
MonitorElementhefdyVsY
 
MonitorElementhefdzVsZ
 
MonitorElementhefEnRec
 
MonitorElementhefEnSim
 
MonitorElementhefEnSimRec
 
MonitorElementhefRecVsSimX
 
MonitorElementhefRecVsSimY
 
MonitorElementhefRecVsSimZ
 
std::vector< const HGCalDDDConstants * > hgcCons_
 
std::vector< const HGCalGeometry * > hgcGeometry_
 
std::vector< int > ietaExcludeBH_
 
bool ifHCAL_
 

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, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 

Detailed Description

Description: [one line class summary]

Implementation: [Notes on implementation]

Definition at line 62 of file HGCalHitValidation.cc.

Member Typedef Documentation

typedef std::tuple<float,float,float,float> HGCalHitValidation::HGCHitTuple
protected

Definition at line 71 of file HGCalHitValidation.cc.

Constructor & Destructor Documentation

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

Definition at line 120 of file HGCalHitValidation.cc.

References bhRecHitTokeng_, bhRecHitTokenh_, bhSimHitToken_, eeRecHitToken_, eeSimHitToken_, fhRecHitToken_, fhSimHitToken_, geometrySource_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ietaExcludeBH_, ifHCAL_, and gen::k.

120  {
121 
122  geometrySource_ = cfg.getUntrackedParameter< std::vector<std::string> >("geometrySource");
123  eeSimHitToken_ = consumes<std::vector<PCaloHit>>(cfg.getParameter<edm::InputTag>("eeSimHitSource"));
124  fhSimHitToken_ = consumes<std::vector<PCaloHit>>(cfg.getParameter<edm::InputTag>("fhSimHitSource"));
125  bhSimHitToken_ = consumes<std::vector<PCaloHit>>(cfg.getParameter<edm::InputTag>("bhSimHitSource"));
126  eeRecHitToken_ = consumes<HGCeeRecHitCollection>(cfg.getParameter<edm::InputTag>("eeRecHitSource"));
127  fhRecHitToken_ = consumes<HGChefRecHitCollection>(cfg.getParameter<edm::InputTag>("fhRecHitSource"));
128  ietaExcludeBH_ = cfg.getParameter<std::vector<int> >("ietaExcludeBH");
129  ifHCAL_ = cfg.getParameter<bool>("ifHCAL");
130  if (ifHCAL_)
131  bhRecHitTokenh_ = consumes<HBHERecHitCollection>(cfg.getParameter<edm::InputTag>("bhRecHitSource"));
132  else
133  bhRecHitTokeng_ = consumes<HGChebRecHitCollection>(cfg.getParameter<edm::InputTag>("bhRecHitSource"));
134 
135 #ifdef EDM_ML_DEBUG
136  edm::LogInfo("HGCalValid") << "Exclude the following "
137  << ietaExcludeBH_.size()
138  << " ieta values from BH plots (BH "
139  << ifHCAL_ << ") ";
140  for (unsigned int k=0; k<ietaExcludeBH_.size(); ++k)
141  edm::LogInfo("HGCalValid") << " [" << k << "] " << ietaExcludeBH_[k];
142 #endif
143 }
T getParameter(std::string const &) const
edm::EDGetTokenT< std::vector< PCaloHit > > fhSimHitToken_
T getUntrackedParameter(std::string const &, T const &) const
edm::EDGetTokenT< HGCeeRecHitCollection > eeRecHitToken_
edm::EDGetTokenT< std::vector< PCaloHit > > eeSimHitToken_
std::vector< int > ietaExcludeBH_
std::vector< std::string > geometrySource_
edm::EDGetTokenT< std::vector< PCaloHit > > bhSimHitToken_
edm::EDGetTokenT< HBHERecHitCollection > bhRecHitTokenh_
int k[5][pyjets_maxn]
edm::EDGetTokenT< HGChebRecHitCollection > bhRecHitTokeng_
edm::EDGetTokenT< HGChefRecHitCollection > fhRecHitToken_
HGCalHitValidation::~HGCalHitValidation ( )

Definition at line 145 of file HGCalHitValidation.cc.

145 { }

Member Function Documentation

void HGCalHitValidation::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprotected

Definition at line 250 of file HGCalHitValidation.cc.

References analyzeHGCalRecHit(), analyzeHGCalSimHit(), edm::SortedCollection< T, SORT >::begin(), bhRecHitTokeng_, bhRecHitTokenh_, bhSimHitToken_, HcalDDDSimConstants::cell(), TauDecayModes::dec, particleFlowClusterECALTimeSelected_cfi::depth, HcalDDDRecConstants::HcalID::depth, SoftLeptonByDistance_cfi::distance, eeRecHitToken_, eeSimHitToken_, edm::SortedCollection< T, SORT >::end(), CastorDataFrameFilter_impl::energySum(), HcalCellType::HcalCell::eta, HcalDDDRecConstants::HcalID::eta, PVValHelper::eta, fhRecHitToken_, fhSimHitToken_, MonitorElement::Fill(), spr::find(), edm::Event::getByToken(), HcalDDDRecConstants::getHCID(), HcalEndcap, hcConr_, hcCons_, hebEnSim, heedxVsX, heedyVsY, heedzVsZ, heeEnRec, heeEnSim, heeEnSimRec, heeRecVsSimX, heeRecVsSimY, heeRecVsSimZ, hefdxVsX, hefdyVsY, hefdzVsZ, hefEnRec, hefEnSim, hefEnSimRec, hefRecVsSimX, hefRecVsSimY, hefRecVsSimZ, hgcGeometry_, training_settings::idx, ietaExcludeBH_, ifHCAL_, edm::HandleBase::isValid(), phi, HcalCellType::HcalCell::phi, HcalDDDRecConstants::HcalID::phi, edm::Handle< T >::product(), HcalCellType::HcalCell::rz, Validation_hcalonly_cfi::sign, rpcPointValidation_cfi::simHit, HcalTestNumbering::unpackHcalIndex(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().

250  {
251  std::map<unsigned int, HGCHitTuple> eeHitRefs, fhHitRefs, bhHitRefs;
252 
253  //Accesing ee simhits
255  iEvent.getByToken(eeSimHitToken_, eeSimHits);
256 
257  if (eeSimHits.isValid()) {
258  analyzeHGCalSimHit(eeSimHits, 0, heeEnSim, eeHitRefs);
259 #ifdef EDM_ML_DEBUG
260  for (std::map<unsigned int,HGCHitTuple>::iterator itr=eeHitRefs.begin();
261  itr != eeHitRefs.end(); ++itr) {
262  int idx = std::distance(eeHitRefs.begin(),itr);
263  edm::LogInfo("HGCalValid") << "EEHit[" << idx << "] " << std::hex
264  << itr->first << std::dec << "; Energy "
265  << std::get<0>(itr->second)
266  << "; Position (" << std::get<1>(itr->second)
267  << ", " << std::get<2>(itr->second) <<", "
268  << std::get<3>(itr->second) << ")" <<std::endl;
269  }
270 #endif
271  } else {
272  edm::LogWarning("HGCalValid") << "No EE SimHit Found " << std::endl;
273  }
274 
275  //Accesing fh simhits
277  iEvent.getByToken(fhSimHitToken_, fhSimHits);
278  if (fhSimHits.isValid()) {
279  analyzeHGCalSimHit(fhSimHits, 1, hefEnSim, fhHitRefs);
280 #ifdef EDM_ML_DEBUG
281  for (std::map<unsigned int,HGCHitTuple>::iterator itr=fhHitRefs.begin();
282  itr != fhHitRefs.end(); ++itr) {
283  int idx = std::distance(fhHitRefs.begin(),itr);
284  edm::LogInfo("HGCalValid") << "FHHit[" << idx << "] " << std::hex
285  << itr->first << std::dec << "; Energy "
286  << std::get<0>(itr->second) << "; Position ("
287  << std::get<1>(itr->second) << ", "
288  << std::get<2>(itr->second) <<", "
289  << std::get<3>(itr->second) << ")" <<std::endl;
290  }
291 #endif
292  } else {
293  edm::LogWarning("HGCalValid") << "No FH SimHit Found " << std::endl;
294  }
295 
296  //Accessing bh simhits
298  iEvent.getByToken(bhSimHitToken_, bhSimHits);
299  if (bhSimHits.isValid()) {
300  for (std::vector<PCaloHit>::const_iterator simHit = bhSimHits->begin();
301  simHit != bhSimHits->end(); ++simHit) {
302  int subdet, z, depth, eta, phi, lay;
303  HcalTestNumbering::unpackHcalIndex(simHit->id(), subdet, z, depth, eta, phi, lay);
304 
305  if (subdet == static_cast<int>(HcalEndcap)) {
306  HcalCellType::HcalCell cell = hcCons_->cell(subdet, z, lay, eta, phi);
307  double zp = cell.rz/10;
308 
309  HcalDDDRecConstants::HcalID idx = hcConr_->getHCID(subdet,eta,phi,lay,depth);
310  int sign = (z==0)?(-1):(1);
311  zp *= sign;
312  HcalDetId id = HcalDetId(HcalEndcap,sign*idx.eta,idx.phi,idx.depth);
313 
314  float energy = simHit->energy();
315  float energySum(energy);
316  if (bhHitRefs.count(id.rawId()) != 0) energySum += std::get<0>(bhHitRefs[id.rawId()]);
317  hebEnSim->Fill(energy);
318  if (std::find(ietaExcludeBH_.begin(),ietaExcludeBH_.end(),idx.eta) ==
319  ietaExcludeBH_.end()) {
320  bhHitRefs[id.rawId()] = std::make_tuple(energySum,cell.eta,cell.phi,zp);
321 #ifdef EDM_ML_DEBUG
322  edm::LogInfo("HGCalValid") << "Accept " << id << std::endl;
323  } else {
324  edm::LogInfo("HGCalValid") << "Reject " << id << std::endl;
325 #endif
326  }
327  }
328  }
329 #ifdef EDM_ML_DEBUG
330  for (std::map<unsigned int,HGCHitTuple>::iterator itr=bhHitRefs.begin();
331  itr != bhHitRefs.end(); ++itr) {
332  int idx = std::distance(bhHitRefs.begin(),itr);
333  edm::LogInfo("HGCalValid") << "BHHit[" << idx << "] " << std::hex
334  << itr->first << std::dec << "; Energy "
335  << std::get<0>(itr->second) << "; Position ("
336  << std::get<1>(itr->second) << ", "
337  << std::get<2>(itr->second) <<", "
338  << std::get<3>(itr->second) << ")" <<std::endl;
339  }
340 #endif
341  } else {
342  edm::LogWarning("HGCalValid") << "No BH SimHit Found " << std::endl;
343  }
344 
345  //accessing EE Rechit information
347  iEvent.getByToken(eeRecHitToken_, eeRecHit);
348  if (eeRecHit.isValid()) {
349  const HGCeeRecHitCollection* theHits = (eeRecHit.product());
350  for (auto it = theHits->begin(); it != theHits->end(); ++it) {
351  double energy = it->energy();
352  heeEnRec->Fill(energy);
353  std::map<unsigned int, HGCHitTuple>::const_iterator itr = eeHitRefs.find(it->id().rawId());
354  if (itr != eeHitRefs.end()) {
355  GlobalPoint xyz = hgcGeometry_[0]->getPosition(it->id());
356  heeRecVsSimX->Fill(std::get<1>(itr->second),xyz.x());
357  heeRecVsSimY->Fill(std::get<2>(itr->second),xyz.y());
358  heeRecVsSimZ->Fill(std::get<3>(itr->second),xyz.z());
359  heedxVsX->Fill(std::get<1>(itr->second),(xyz.x()-std::get<1>(itr->second)));
360  heedyVsY->Fill(std::get<2>(itr->second),(xyz.y()-std::get<2>(itr->second)));
361  heedzVsZ->Fill(std::get<3>(itr->second),(xyz.z()-std::get<3>(itr->second)));
362  heeEnSimRec->Fill(std::get<0>(itr->second),energy);
363 #ifdef EDM_ML_DEBUG
364  edm::LogInfo("HGCalValid") << "EEHit: " << std::hex << it->id().rawId()
365  << std::dec << " Sim ("
366  << std::get<0>(itr->second) << ", "
367  << std::get<1>(itr->second) << ", "
368  << std::get<2>(itr->second) << ", "
369  << std::get<3>(itr->second) << ") Rec ("
370  << energy << ", " << xyz.x() << ", "
371  << xyz.y() << ", " << xyz.z() << ")\n";
372 #endif
373  }
374  }
375  } else {
376  edm::LogWarning("HGCalValid") << "No EE RecHit Found " << std::endl;
377  }
378 
379  //accessing FH Rechit information
381  iEvent.getByToken(fhRecHitToken_, fhRecHit);
382  if (fhRecHit.isValid()) {
383  const HGChefRecHitCollection* theHits = (fhRecHit.product());
384  for (auto it = theHits->begin(); it!=theHits->end(); ++it) {
385  double energy = it->energy();
386  hefEnRec->Fill(energy);
387  std::map<unsigned int, HGCHitTuple>::const_iterator itr = fhHitRefs.find(it->id().rawId());
388  if (itr != fhHitRefs.end()) {
389  GlobalPoint xyz = hgcGeometry_[1]->getPosition(it->id());
390 
391  hefRecVsSimX->Fill(std::get<1>(itr->second),xyz.x());
392  hefRecVsSimY->Fill(std::get<2>(itr->second),xyz.y());
393  hefRecVsSimZ->Fill(std::get<3>(itr->second),xyz.z());
394  hefdxVsX->Fill(std::get<1>(itr->second),(xyz.x()-std::get<1>(itr->second)));
395  hefdyVsY->Fill(std::get<2>(itr->second),(xyz.y()-std::get<2>(itr->second)));
396  hefdzVsZ->Fill(std::get<3>(itr->second),(xyz.z()-std::get<3>(itr->second)));
397  hefEnSimRec->Fill(std::get<0>(itr->second),energy);
398 #ifdef EDM_ML_DEBUG
399  edm::LogInfo("HGCalValid") << "FHHit: " << std::hex << it->id().rawId()
400  << std::dec << " Sim ("
401  << std::get<0>(itr->second) << ", "
402  << std::get<1>(itr->second) << ", "
403  << std::get<2>(itr->second) << ", "
404  << std::get<3>(itr->second) << ") Rec ("
405  << energy << "," << xyz.x() << ", "
406  << xyz.y() << ", " << xyz.z() << ")\n";
407 #endif
408  }
409  }
410  } else {
411  edm::LogWarning("HGCalValid") << "No FH RecHit Found " << std::endl;
412  }
413 
414 
415  //accessing BH Rechit information
416  if (ifHCAL_) {
418  iEvent.getByToken(bhRecHitTokenh_, bhRecHit);
419  if (bhRecHit.isValid()) {
420  const HBHERecHitCollection* theHits = (bhRecHit.product());
421  analyzeHGCalRecHit(theHits, bhHitRefs);
422  } else {
423  edm::LogWarning("HGCalValid") << "No BH RecHit Found " << std::endl;
424  }
425  } else {
427  iEvent.getByToken(bhRecHitTokeng_, bhRecHit);
428  if (bhRecHit.isValid()) {
429  const HGChebRecHitCollection* theHits = (bhRecHit.product());
430  analyzeHGCalRecHit(theHits, bhHitRefs);
431  } else {
432  edm::LogWarning("HGCalValid") << "No BH RecHit Found " << std::endl;
433  }
434  }
435 }
edm::EDGetTokenT< std::vector< PCaloHit > > fhSimHitToken_
MonitorElement * hefRecVsSimY
MonitorElement * hefRecVsSimX
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:460
T y() const
Definition: PV3DBase.h:63
MonitorElement * hefEnSimRec
MonitorElement * heedzVsZ
MonitorElement * heeRecVsSimX
HcalCellType::HcalCell cell(const int &det, const int &zside, const int &depth, const int &etaR, const int &iphi) const
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
MonitorElement * heeRecVsSimZ
const HcalDDDSimConstants * hcCons_
MonitorElement * heeRecVsSimY
MonitorElement * heeEnRec
void Fill(long long x)
std::vector< const HGCalGeometry * > hgcGeometry_
edm::EDGetTokenT< HGCeeRecHitCollection > eeRecHitToken_
edm::EDGetTokenT< std::vector< PCaloHit > > eeSimHitToken_
MonitorElement * hebEnSim
MonitorElement * hefdyVsY
MonitorElement * heeEnSimRec
void analyzeHGCalRecHit(T1 const &theHits, std::map< unsigned int, HGCHitTuple > const &hitRefs)
std::vector< int > ietaExcludeBH_
MonitorElement * hefEnSim
HcalID getHCID(int subdet, int ieta, int iphi, int lay, int idepth) const
T z() const
Definition: PV3DBase.h:64
MonitorElement * hefEnRec
MonitorElement * heedxVsX
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)
MonitorElement * heeEnSim
edm::EDGetTokenT< std::vector< PCaloHit > > bhSimHitToken_
bool isValid() const
Definition: HandleBase.h:74
edm::EDGetTokenT< HBHERecHitCollection > bhRecHitTokenh_
const_iterator end() const
MonitorElement * hefdxVsX
T const * product() const
Definition: Handle.h:81
const HcalDDDRecConstants * hcConr_
edm::EDGetTokenT< HGChebRecHitCollection > bhRecHitTokeng_
void analyzeHGCalSimHit(edm::Handle< std::vector< PCaloHit >> const &simHits, int idet, MonitorElement *hist, std::map< unsigned int, HGCHitTuple > &)
MonitorElement * hefRecVsSimZ
MonitorElement * hefdzVsZ
double energySum(const DataFrame &df, int fs, int ls)
T x() const
Definition: PV3DBase.h:62
MonitorElement * heedyVsY
const_iterator begin() const
edm::EDGetTokenT< HGChefRecHitCollection > fhRecHitToken_
template<class T1 >
void HGCalHitValidation::analyzeHGCalRecHit ( T1 const &  theHits,
std::map< unsigned int, HGCHitTuple > const &  hitRefs 
)
protected

Definition at line 472 of file HGCalHitValidation.cc.

References funct::cos(), TauDecayModes::dec, DEFINE_FWK_MODULE, PV3DBase< T, PVType, FrameType >::eta(), MonitorElement::Fill(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), HcalEndcap, hcGeometry_, hebdEtaVsEta, hebdPhiVsPhi, hebdzVsZ, hebEnRec, hebEnSimRec, hebRecVsSimX, hebRecVsSimY, hebRecVsSimZ, PV3DBase< T, PVType, FrameType >::phi(), PVValHelper::pT, funct::sin(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

Referenced by analyze().

473  {
474  for (auto it = theHits->begin(); it!=theHits->end(); ++it) {
475  DetId id = it->id();
476  if (id.subdetId() == (int)(HcalEndcap)) {
477  double energy = it->energy();
478  hebEnRec->Fill(energy);
480 
481  std::map<unsigned int, HGCHitTuple>::const_iterator itr = hitRefs.find(id.rawId());
482  if (itr != hitRefs.end()) {
483  float ang3 = xyz.phi().value(); // returns the phi in radians
484  double fac = sinh(std::get<1>(itr->second));
485  double pT = std::get<3>(itr->second) / fac;
486  double xp = pT * cos(std::get<2>(itr->second));
487  double yp = pT * sin(std::get<2>(itr->second));
488  hebRecVsSimX->Fill(xp,xyz.x());
489  hebRecVsSimY->Fill(yp,xyz.y());
490  hebRecVsSimZ->Fill(std::get<3>(itr->second),xyz.z());
491  hebdEtaVsEta->Fill(std::get<1>(itr->second),(xyz.eta()-std::get<1>(itr->second)));
492  hebdPhiVsPhi->Fill(std::get<2>(itr->second),(ang3-std::get<2>(itr->second)));
493  hebdzVsZ->Fill(std::get<3>(itr->second),(xyz.z()-std::get<3>(itr->second)));
494  hebEnSimRec->Fill(std::get<0>(itr->second),energy);
495 
496 #ifdef EDM_ML_DEBUG
497  edm::LogInfo("HGCalValid") << "BHHit: " << std::hex << id.rawId()
498  << std::dec << " Sim ("
499  << std::get<0>(itr->second) << ", "
500  << std::get<1>(itr->second) << ", "
501  << std::get<2>(itr->second) << ", "
502  << std::get<3>(itr->second) << ") Rec ("
503  << energy << ", " << xyz.x() << ", "
504  << xyz.y() << ", " << xyz.z() << ")\n";
505 #endif
506  }
507  }
508  }
509 }
MonitorElement * hebRecVsSimX
MonitorElement * hebRecVsSimY
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
Geom::Phi< T > phi() const
Definition: PV3DBase.h:69
T y() const
Definition: PV3DBase.h:63
virtual const CaloCellGeometry * getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
void Fill(long long x)
MonitorElement * hebEnRec
T z() const
Definition: PV3DBase.h:64
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
MonitorElement * hebRecVsSimZ
const CaloSubdetectorGeometry * hcGeometry_
MonitorElement * hebdPhiVsPhi
MonitorElement * hebEnSimRec
Definition: DetId.h:18
T eta() const
Definition: PV3DBase.h:76
MonitorElement * hebdzVsZ
const GlobalPoint & getPosition() const
Returns the position of reference for this cell.
T x() const
Definition: PV3DBase.h:62
MonitorElement * hebdEtaVsEta
void HGCalHitValidation::analyzeHGCalSimHit ( edm::Handle< std::vector< PCaloHit >> const &  simHits,
int  idet,
MonitorElement hist,
std::map< unsigned int, HGCHitTuple > &  hitRefs 
)
protected

Definition at line 437 of file HGCalHitValidation.cc.

References HGCalTopology::detectorType(), CastorDataFrameFilter_impl::energySum(), MonitorElement::Fill(), hgcCons_, hgcGeometry_, rpcPointValidation_cfi::simHit, trackerHits::simHits, HGCalTestNumbering::unpackHexagonIndex(), geometryCSVtoXML::xy, and HcalDigiParam_cfi::zside.

Referenced by analyze().

439  {
440 
441  const HGCalTopology &hTopo=hgcGeometry_[idet]->topology();
442  for (std::vector<PCaloHit>::const_iterator simHit = simHits->begin(); simHit != simHits->end(); ++simHit) {
443  int subdet, zside, layer, wafer, celltype, cell;
444  HGCalTestNumbering::unpackHexagonIndex(simHit->id(), subdet, zside, layer, wafer, celltype, cell);
445  std::pair<float, float> xy = hgcCons_[idet]->locateCell(cell,layer,wafer,false);
446  float zp = hgcCons_[idet]->waferZ(layer,false);
447  if (zside < 0) zp = -zp;
448  float xp = (zp<0) ? -xy.first/10 : xy.first/10;
449  float yp = xy.second/10.0;
450 
451  //skip this hit if after ganging it is not valid
452  std::pair<int,int> recoLayerCell=hgcCons_[idet]->simToReco(cell,layer,wafer,hTopo.detectorType());
453  cell = recoLayerCell.first;
454  layer = recoLayerCell.second;
455 
456  //skip this hit if after ganging it is not valid
457  if (layer<0 || cell<0) {
458  } else {
459  //assign the RECO DetId
460  HGCalDetId id = HGCalDetId((ForwardSubdetector)(subdet),zside,layer,celltype,wafer,cell);
461  float energy = simHit->energy();
462 
463  float energySum(energy);
464  if (hitRefs.count(id.rawId()) != 0) energySum += std::get<0>(hitRefs[id.rawId()]);
465  hitRefs[id.rawId()] = std::make_tuple(energySum,xp,yp,zp);
466  hist->Fill(energy);
467  }
468  }
469 }
bool detectorType() const
ForwardSubdetector
std::vector< const HGCalDDDConstants * > hgcCons_
void Fill(long long x)
std::vector< const HGCalGeometry * > hgcGeometry_
double energySum(const DataFrame &df, int fs, int ls)
static void unpackHexagonIndex(const uint32_t &idx, int &subdet, int &z, int &lay, int &wafer, int &celltyp, int &cell)
void HGCalHitValidation::bookHistograms ( DQMStore::IBooker iB,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMEDAnalyzer.

Definition at line 155 of file HGCalHitValidation.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), hebdEtaVsEta, hebdPhiVsPhi, hebdzVsZ, hebEnRec, hebEnSim, hebEnSimRec, hebRecVsSimX, hebRecVsSimY, hebRecVsSimZ, heedxVsX, heedyVsY, heedzVsZ, heeEnRec, heeEnSim, heeEnSimRec, heeRecVsSimX, heeRecVsSimY, heeRecVsSimZ, hefdxVsX, hefdyVsY, hefdzVsZ, hefEnRec, hefEnSim, hefEnSimRec, hefRecVsSimX, hefRecVsSimY, hefRecVsSimZ, M_PI, and DQMStore::IBooker::setCurrentFolder().

157  {
158 
159  iB.setCurrentFolder("HGCalSimHitsV/HitValidation");
160 
161  //initiating histograms
162  heedzVsZ = iB.book2D("heedzVsZ","",7200,-360,360,100,-0.1,0.1);
163  heedyVsY = iB.book2D("heedyVsY","",400,-200,200,100,-0.02,0.02);
164  heedxVsX = iB.book2D("heedxVsX","",400,-200,200,100,-0.02,0.02);
165  heeRecVsSimZ = iB.book2D("heeRecVsSimZ","",7200,-360,360,7200,-360,360);
166  heeRecVsSimY = iB.book2D("heeRecVsSimY","",400,-200,200,400,-200,200);
167  heeRecVsSimX = iB.book2D("heeRecVsSimX","",400,-200,200,400,-200,200);
168 
169  hefdzVsZ = iB.book2D("hefdzVsZ","",8200,-410,410,100,-0.1,0.1);
170  hefdyVsY = iB.book2D("hefdyVsY","",400,-200,200,100,-0.02,0.02);
171  hefdxVsX = iB.book2D("hefdxVsX","",400,-200,200,100,-0.02,0.02);
172  hefRecVsSimZ = iB.book2D("hefRecVsSimZ","",8200,-410,410,8200,-410,410);
173  hefRecVsSimY = iB.book2D("hefRecVsSimY","",400,-200,200,400,-200,200);
174  hefRecVsSimX = iB.book2D("hefRecVsSimX","",400,-200,200,400,-200,200);
175 
176  hebdzVsZ = iB.book2D("hebdzVsZ","",1080,-540,540,100,-1.0,1.0);
177  hebdPhiVsPhi = iB.book2D("hebdPhiVsPhi","",M_PI*100,-0.5,M_PI+0.5,200,-0.2,0.2);
178  hebdEtaVsEta = iB.book2D("hebdEtaVsEta","",1000,-5,5,200,-0.1,0.1);
179  hebRecVsSimZ = iB.book2D("hebRecVsSimZ","",1080,-540,540,1080,-540,540);
180  hebRecVsSimY = iB.book2D("hebRecVsSimY","",400,-200,200,400,-200,200);
181  hebRecVsSimX = iB.book2D("hebRecVsSimX","",400,-200,200,400,-200,200);
182 
183  heeEnRec = iB.book1D("heeEnRec","",1000,0,10);
184  heeEnSim = iB.book1D("heeEnSim","",1000,0,0.01);
185  heeEnSimRec = iB.book2D("heeEnSimRec","",200,0,0.002,200,0,0.2);
186 
187  hefEnRec = iB.book1D("hefEnRec","",1000,0,10);
188  hefEnSim = iB.book1D("hefEnSim","",1000,0,0.01);
189  hefEnSimRec = iB.book2D("hefEnSimRec","",200,0,0.001,200,0,0.5);
190 
191  hebEnRec = iB.book1D("hebEnRec","",1000,0,15);
192  hebEnSim = iB.book1D("hebEnSim","",1000,0,0.01);
193  hebEnSimRec = iB.book2D("hebEnSimRec","",200,0,0.02,200,0,4);
194 
195 }
MonitorElement * hebRecVsSimX
MonitorElement * hefRecVsSimY
MonitorElement * hefRecVsSimX
MonitorElement * hebRecVsSimY
MonitorElement * hefEnSimRec
MonitorElement * heedzVsZ
MonitorElement * heeRecVsSimX
MonitorElement * heeRecVsSimZ
MonitorElement * heeRecVsSimY
MonitorElement * heeEnRec
MonitorElement * hebEnRec
MonitorElement * hebEnSim
MonitorElement * hefdyVsY
MonitorElement * heeEnSimRec
MonitorElement * hefEnSim
MonitorElement * hebRecVsSimZ
MonitorElement * hefEnRec
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * heedxVsX
MonitorElement * heeEnSim
MonitorElement * hebdPhiVsPhi
#define M_PI
MonitorElement * hebEnSimRec
MonitorElement * hefdxVsX
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
MonitorElement * hefRecVsSimZ
MonitorElement * hefdzVsZ
MonitorElement * hebdzVsZ
MonitorElement * heedyVsY
MonitorElement * hebdEtaVsEta
void HGCalHitValidation::dqmBeginRun ( edm::Run const &  iRun,
edm::EventSetup const &  iSetup 
)
overrideprotectedvirtual

Reimplemented from DQMEDAnalyzer.

Definition at line 197 of file HGCalHitValidation.cc.

References spr::find(), geometrySource_, edm::EventSetup::get(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, hcConr_, hcCons_, hcGeometry_, hgcCons_, hgcGeometry_, mps_fire::i, edm::ESHandleBase::isValid(), and edm::ESHandle< T >::product().

198  {
199  //initiating hgc Geometry
200  for (size_t i=0; i<geometrySource_.size(); i++) {
201  if (geometrySource_[i].find("Hcal") != std::string::npos) {
203  iSetup.get<HcalSimNumberingRecord>().get(pHSNDC);
204  if (pHSNDC.isValid()) {
205  hcCons_ = pHSNDC.product();
206  hgcCons_.push_back(0);
207  } else {
208  edm::LogWarning("HGCalValid") << "Cannot initiate HcalDDDSimConstants: "
209  << geometrySource_[i] << std::endl;
210  }
212  iSetup.get<HcalRecNumberingRecord>().get(pHRNDC);
213  if (pHRNDC.isValid()) {
214  hcConr_ = pHRNDC.product();
215  } else {
216  edm::LogWarning("HGCalValid") << "Cannot initiate HcalDDDRecConstants: "
217  << geometrySource_[i] << std::endl;
218  }
220  iSetup.get<CaloGeometryRecord>().get(caloG);
221  if (caloG.isValid()) {
222  const CaloGeometry* geo = caloG.product();
224  hgcGeometry_.push_back(0);
225  } else {
226  edm::LogWarning("HGCalValid") << "Cannot initiate HcalGeometry for "
227  << geometrySource_[i] << std::endl;
228  }
229  } else {
231  iSetup.get<IdealGeometryRecord>().get(geometrySource_[i],hgcCons);
232  if (hgcCons.isValid()) {
233  hgcCons_.push_back(hgcCons.product());
234  } else {
235  edm::LogWarning("HGCalValid") << "Cannot initiate HGCalDDDConstants for "
236  << geometrySource_[i] << std::endl;
237  }
239  iSetup.get<IdealGeometryRecord>().get(geometrySource_[i],hgcGeom);
240  if(hgcGeom.isValid()) {
241  hgcGeometry_.push_back(hgcGeom.product());
242  } else {
243  edm::LogWarning("HGCalValid") << "Cannot initiate HGCalGeometry for "
244  << geometrySource_[i] << std::endl;
245  }
246  }
247  }
248 }
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
Definition: CaloGeometry.cc:45
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:20
std::vector< const HGCalDDDConstants * > hgcCons_
const HcalDDDSimConstants * hcCons_
std::vector< const HGCalGeometry * > hgcGeometry_
std::vector< std::string > geometrySource_
const CaloSubdetectorGeometry * hcGeometry_
const HcalDDDRecConstants * hcConr_
bool isValid() const
Definition: ESHandle.h:47
T const * product() const
Definition: ESHandle.h:86
void HGCalHitValidation::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 147 of file HGCalHitValidation.cc.

References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().

147  {
148  //The following says we do not know what parameters are allowed so do no validation
149  // Please change this to state exactly what you do use, even if it is no parameters
151  desc.setUnknown();
152  descriptions.addDefault(desc);
153 }
void addDefault(ParameterSetDescription const &psetDescription)

Member Data Documentation

edm::EDGetTokenT<HGChebRecHitCollection> HGCalHitValidation::bhRecHitTokeng_
private

Definition at line 100 of file HGCalHitValidation.cc.

Referenced by analyze(), and HGCalHitValidation().

edm::EDGetTokenT<HBHERecHitCollection> HGCalHitValidation::bhRecHitTokenh_
private

Definition at line 101 of file HGCalHitValidation.cc.

Referenced by analyze(), and HGCalHitValidation().

edm::InputTag HGCalHitValidation::bhSimHitSource
private

Definition at line 94 of file HGCalHitValidation.cc.

edm::EDGetTokenT<std::vector<PCaloHit> > HGCalHitValidation::bhSimHitToken_
private

Definition at line 97 of file HGCalHitValidation.cc.

Referenced by analyze(), and HGCalHitValidation().

edm::EDGetTokenT<HGCeeRecHitCollection> HGCalHitValidation::eeRecHitToken_
private

Definition at line 98 of file HGCalHitValidation.cc.

Referenced by analyze(), and HGCalHitValidation().

edm::InputTag HGCalHitValidation::eeSimHitSource
private

Definition at line 94 of file HGCalHitValidation.cc.

edm::EDGetTokenT<std::vector<PCaloHit> > HGCalHitValidation::eeSimHitToken_
private

Definition at line 95 of file HGCalHitValidation.cc.

Referenced by analyze(), and HGCalHitValidation().

edm::EDGetTokenT<HGChefRecHitCollection> HGCalHitValidation::fhRecHitToken_
private

Definition at line 99 of file HGCalHitValidation.cc.

Referenced by analyze(), and HGCalHitValidation().

edm::InputTag HGCalHitValidation::fhSimHitSource
private

Definition at line 94 of file HGCalHitValidation.cc.

edm::EDGetTokenT<std::vector<PCaloHit> > HGCalHitValidation::fhSimHitToken_
private

Definition at line 96 of file HGCalHitValidation.cc.

Referenced by analyze(), and HGCalHitValidation().

std::vector<std::string> HGCalHitValidation::geometrySource_
private

Definition at line 90 of file HGCalHitValidation.cc.

Referenced by dqmBeginRun(), and HGCalHitValidation().

const HcalDDDRecConstants* HGCalHitValidation::hcConr_
private

Definition at line 88 of file HGCalHitValidation.cc.

Referenced by analyze(), and dqmBeginRun().

const HcalDDDSimConstants* HGCalHitValidation::hcCons_
private

Definition at line 87 of file HGCalHitValidation.cc.

Referenced by analyze(), and dqmBeginRun().

const CaloSubdetectorGeometry* HGCalHitValidation::hcGeometry_
private

Definition at line 89 of file HGCalHitValidation.cc.

Referenced by analyzeHGCalRecHit(), and dqmBeginRun().

MonitorElement * HGCalHitValidation::hebdEtaVsEta
private

Definition at line 106 of file HGCalHitValidation.cc.

Referenced by analyzeHGCalRecHit(), and bookHistograms().

MonitorElement * HGCalHitValidation::hebdPhiVsPhi
private

Definition at line 106 of file HGCalHitValidation.cc.

Referenced by analyzeHGCalRecHit(), and bookHistograms().

MonitorElement* HGCalHitValidation::hebdzVsZ
private

Definition at line 106 of file HGCalHitValidation.cc.

Referenced by analyzeHGCalRecHit(), and bookHistograms().

MonitorElement* HGCalHitValidation::hebEnRec
private

Definition at line 113 of file HGCalHitValidation.cc.

Referenced by analyzeHGCalRecHit(), and bookHistograms().

MonitorElement * HGCalHitValidation::hebEnSim
private

Definition at line 113 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::hebEnSimRec
private

Definition at line 111 of file HGCalHitValidation.cc.

Referenced by analyzeHGCalRecHit(), and bookHistograms().

MonitorElement * HGCalHitValidation::hebRecVsSimX
private

Definition at line 110 of file HGCalHitValidation.cc.

Referenced by analyzeHGCalRecHit(), and bookHistograms().

MonitorElement * HGCalHitValidation::hebRecVsSimY
private

Definition at line 110 of file HGCalHitValidation.cc.

Referenced by analyzeHGCalRecHit(), and bookHistograms().

MonitorElement* HGCalHitValidation::hebRecVsSimZ
private

Definition at line 110 of file HGCalHitValidation.cc.

Referenced by analyzeHGCalRecHit(), and bookHistograms().

MonitorElement * HGCalHitValidation::heedxVsX
private

Definition at line 104 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::heedyVsY
private

Definition at line 104 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalHitValidation::heedzVsZ
private

Definition at line 104 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalHitValidation::heeEnRec
private

Definition at line 115 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::heeEnSim
private

Definition at line 115 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalHitValidation::heeEnSimRec
private

Definition at line 111 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::heeRecVsSimX
private

Definition at line 108 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::heeRecVsSimY
private

Definition at line 108 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalHitValidation::heeRecVsSimZ
private

Definition at line 108 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::hefdxVsX
private

Definition at line 105 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::hefdyVsY
private

Definition at line 105 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalHitValidation::hefdzVsZ
private

Definition at line 105 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalHitValidation::hefEnRec
private

Definition at line 114 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::hefEnSim
private

Definition at line 114 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::hefEnSimRec
private

Definition at line 111 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::hefRecVsSimX
private

Definition at line 109 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement * HGCalHitValidation::hefRecVsSimY
private

Definition at line 109 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* HGCalHitValidation::hefRecVsSimZ
private

Definition at line 109 of file HGCalHitValidation.cc.

Referenced by analyze(), and bookHistograms().

std::vector<const HGCalDDDConstants*> HGCalHitValidation::hgcCons_
private

Definition at line 85 of file HGCalHitValidation.cc.

Referenced by analyzeHGCalSimHit(), and dqmBeginRun().

std::vector<const HGCalGeometry*> HGCalHitValidation::hgcGeometry_
private

Definition at line 86 of file HGCalHitValidation.cc.

Referenced by analyze(), analyzeHGCalSimHit(), and dqmBeginRun().

std::vector<int> HGCalHitValidation::ietaExcludeBH_
private

Definition at line 91 of file HGCalHitValidation.cc.

Referenced by analyze(), and HGCalHitValidation().

bool HGCalHitValidation::ifHCAL_
private

Definition at line 92 of file HGCalHitValidation.cc.

Referenced by analyze(), and HGCalHitValidation().