Classes | |
struct | energysum |
struct | hitsinfo |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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 | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) 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 Member Functions | |
void | analyzeHits (std::vector< PCaloHit > &hits) |
bool | defineGeometry (edm::ESTransientHandle< DDCompactView > &ddViewH) |
void | fillHitsInfo (std::pair< hitsinfo, energysum > hit_, unsigned int itimeslice, double esum) |
void | fillOccupancyMap (std::map< int, int > &OccupancyMap, int layer) |
Private Attributes | |
std::string | caloHitSource_ |
std::vector< MonitorElement * > | energy_ [6] |
std::vector< MonitorElement * > | EtaPhi_Minus_ |
std::vector< MonitorElement * > | EtaPhi_Plus_ |
const HcalDDDRecConstants * | hcons_ |
bool | heRebuild_ |
const HGCalDDDConstants * | hgcons_ |
std::vector< MonitorElement * > | HitOccupancy_Minus_ |
std::vector< MonitorElement * > | HitOccupancy_Plus_ |
unsigned int | layers_ |
MonitorElement * | MeanHitOccupancy_Minus_ |
MonitorElement * | MeanHitOccupancy_Plus_ |
std::string | nameDetector_ |
unsigned int | nTimes_ |
bool | symmDet_ |
bool | testNumber_ |
std::vector< double > | times_ |
edm::EDGetTokenT< edm::HepMCProduct > | tok_hepMC_ |
edm::EDGetTokenT< edm::PCaloHitContainer > | tok_hits_ |
std::map< uint32_t, HepGeom::Transform3D > | transMap_ |
int | verbosity_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 54 of file HGCalSimHitValidation.cc.
|
explicit |
Definition at line 110 of file HGCalSimHitValidation.cc.
References caloHitSource_, heRebuild_, nameDetector_, nTimes_, times_, tok_hepMC_, and tok_hits_.
|
inlineoverride |
Definition at line 74 of file HGCalSimHitValidation.cc.
References analyze(), analyzeHits(), bookHistograms(), defineGeometry(), dqmBeginRun(), fillDescriptions(), fillHitsInfo(), fillOccupancyMap(), and hfClusterShapes_cfi::hits.
|
overrideprotected |
Definition at line 135 of file HGCalSimHitValidation.cc.
References analyzeHits(), HcalDetId::depth(), edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), HcalEmpty, HcalEndcap, hcons_, heRebuild_, mps_fire::i, edm::HandleBase::id(), HcalDetId::ieta(), createfilelist::int, HcalDetId::iphi(), edm::HandleBase::isValid(), gen::k, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), HcalHitRelabeller::relabel(), HcalDetId::subdet(), testNumber_, tok_hepMC_, tok_hits_, and verbosity_.
Referenced by ~HGCalSimHitValidation().
|
private |
Definition at line 181 of file HGCalSimHitValidation.cc.
References HGCalSimHitValidation::hitsinfo::cell, HGCalSimHitValidation::hitsinfo::cell2, HGCSiliconDetId::cellU(), HGCSiliconDetId::cellV(), funct::cos(), TauDecayModes::dec, HcalDetId::depth(), PVValHelper::eta, HGCalSimHitValidation::hitsinfo::eta, fastmath::etaphi(), HGCalSimHitValidation::energysum::eTime, HGCalSimHitValidation::energysum::etotal, fillHitsInfo(), fillOccupancyMap(), ForwardEmpty, HGCalDDDConstants::geomMode(), HcalDDDRecConstants::getEtaPhi(), HcalDDDRecConstants::getRZ(), HcalEndcap, hcons_, heRebuild_, HGCalGeometryMode::Hexagon8, HGCalGeometryMode::Hexagon8Full, hgcons_, HitOccupancy_Minus_, HitOccupancy_Plus_, mps_fire::i, HGCScintillatorDetId::ietaAbs(), HcalDetId::ietaAbs(), HGCScintillatorDetId::iphi(), HcalDetId::iphi(), gen::k, HGCScintillatorDetId::layer(), HGCSiliconDetId::layer(), HGCalSimHitValidation::hitsinfo::layer, HGCalDDDConstants::locateCell(), HGCalDDDConstants::locateCellTrap(), nameDetector_, nTimes_, HGCalTestNumbering::packSquareIndex(), HGCalSimHitValidation::hitsinfo::phi, HGCalSimHitValidation::hitsinfo::sector, HGCalSimHitValidation::hitsinfo::sector2, funct::sin(), HGCalGeometryMode::Square, HcalDetId::subdet(), symmDet_, ntuplemaker::time, times_, transMap_, HGCalGeometryMode::Trapezoid, HGCScintillatorDetId::type(), HGCSiliconDetId::type(), HGCalSimHitValidation::hitsinfo::type, HGCalTestNumbering::unpackHexagonIndex(), HGCalTestNumbering::unpackSquareIndex(), verbosity_, HGCSiliconDetId::waferU(), HGCSiliconDetId::waferV(), HGCalDDDConstants::waferZ(), HGCalSimHitValidation::hitsinfo::x, geometryCSVtoXML::xy, HGCalSimHitValidation::hitsinfo::y, HGCalSimHitValidation::hitsinfo::z, HGCScintillatorDetId::zside(), HGCSiliconDetId::zside(), ecaldqm::zside(), and HcalDetId::zside().
Referenced by analyze(), and ~HGCalSimHitValidation().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 462 of file HGCalSimHitValidation.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DEFINE_FWK_MODULE, energy_, EtaPhi_Minus_, EtaPhi_Plus_, HitOccupancy_Minus_, HitOccupancy_Plus_, layers_, MeanHitOccupancy_Minus_, MeanHitOccupancy_Plus_, nameDetector_, nTimes_, pi, and DQMStore::IBooker::setCurrentFolder().
Referenced by ~HGCalSimHitValidation().
|
private |
Definition at line 385 of file HGCalSimHitValidation.cc.
References DDTrap::alpha1(), popcon2dropbox::copy(), DDFilteredView::copyNumbers(), ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), hgcons_, AnalysisDataFormats_SUSYBSMObjects::hr, createfilelist::int, DDFilteredView::logicalPart(), dataset::name, DDBase< N, C >::name(), nameDetector_, DDFilteredView::next(), HGCalTestNumbering::packSquareIndex(), idealTransformation::rotation, DDFilteredView::rotation(), DDLogicalPart::solid(), HGCalGeometryMode::Square, AlCaHLTBitMon_QueryRunRegistry::string, symmDet_, DDFilteredView::translation(), transMap_, verbosity_, x, y, and z.
Referenced by dqmBeginRun(), and ~HGCalSimHitValidation().
|
overrideprotected |
Definition at line 441 of file HGCalSimHitValidation.cc.
References defineGeometry(), edm::EventSetup::get(), HcalDDDRecConstants::getMaxDepth(), hcons_, heRebuild_, hgcons_, HGCalDDDConstants::layers(), layers_, nameDetector_, and verbosity_.
Referenced by ~HGCalSimHitValidation().
|
static |
Definition at line 124 of file HGCalSimHitValidation.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), AlCaHLTBitMon_QueryRunRegistry::string, and create_public_lumi_plots::times.
Referenced by ~HGCalSimHitValidation().
|
private |
Definition at line 362 of file HGCalSimHitValidation.cc.
References energy_, EtaPhi_Minus_, EtaPhi_Plus_, layers_, nameDetector_, and verbosity_.
Referenced by analyzeHits(), and ~HGCalSimHitValidation().
|
private |
Definition at line 354 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and ~HGCalSimHitValidation().
|
private |
Definition at line 92 of file HGCalSimHitValidation.cc.
Referenced by HGCalSimHitValidation().
|
private |
Definition at line 107 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 105 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 105 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 94 of file HGCalSimHitValidation.cc.
Referenced by analyze(), analyzeHits(), and dqmBeginRun().
|
private |
Definition at line 97 of file HGCalSimHitValidation.cc.
Referenced by analyze(), analyzeHits(), dqmBeginRun(), and HGCalSimHitValidation().
|
private |
Definition at line 93 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), defineGeometry(), and dqmBeginRun().
|
private |
Definition at line 104 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 104 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 101 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), dqmBeginRun(), and fillHitsInfo().
|
private |
Definition at line 106 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 106 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 92 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), bookHistograms(), defineGeometry(), dqmBeginRun(), fillHitsInfo(), and HGCalSimHitValidation().
|
private |
Definition at line 98 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), bookHistograms(), and HGCalSimHitValidation().
|
private |
Definition at line 97 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and defineGeometry().
|
private |
Definition at line 97 of file HGCalSimHitValidation.cc.
Referenced by analyze().
|
private |
Definition at line 95 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and HGCalSimHitValidation().
|
private |
Definition at line 100 of file HGCalSimHitValidation.cc.
Referenced by analyze(), and HGCalSimHitValidation().
|
private |
Definition at line 99 of file HGCalSimHitValidation.cc.
Referenced by analyze(), and HGCalSimHitValidation().
|
private |
Definition at line 102 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and defineGeometry().
|
private |
Definition at line 96 of file HGCalSimHitValidation.cc.
Referenced by analyze(), analyzeHits(), defineGeometry(), dqmBeginRun(), and fillHitsInfo().