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::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) |
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_ [maxTime_] |
std::vector< MonitorElement * > | EtaPhi_Minus_ |
std::vector< MonitorElement * > | EtaPhi_Plus_ |
int | firstLayer_ |
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_ |
Static Private Attributes | |
static const unsigned int | maxTime_ = 6 |
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 |
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 111 of file HGCalSimHitValidation.cc.
References caloHitSource_, heRebuild_, HLT_2018_cff::InputTag, maxTime_, nameDetector_, nTimes_, times_, tok_hepMC_, and tok_hits_.
|
inlineoverride |
Definition at line 75 of file HGCalSimHitValidation.cc.
References analyze(), analyzeHits(), bookHistograms(), defineGeometry(), dqmBeginRun(), fillDescriptions(), fillHitsInfo(), fillOccupancyMap(), and hfClusterShapes_cfi::hits.
|
overrideprotected |
Definition at line 136 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(), dqmdumpme::k, AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), HcalHitRelabeller::relabel(), HcalDetId::subdet(), testNumber_, tok_hepMC_, tok_hits_, and verbosity_.
Referenced by ~HGCalSimHitValidation().
|
private |
Definition at line 179 of file HGCalSimHitValidation.cc.
References HGCalSimHitValidation::hitsinfo::cell, hgcalTopologyTester_cfi::cell2, HGCalSimHitValidation::hitsinfo::cell2, HGCSiliconDetId::cellU(), HGCSiliconDetId::cellV(), funct::cos(), TauDecayModes::dec, HcalDetId::depth(), HCALHighEnergyHPDFilter_cfi::energy, PVValHelper::eta, HGCalSimHitValidation::hitsinfo::eta, fastmath::etaphi(), HGCalSimHitValidation::energysum::eTime, HGCalSimHitValidation::energysum::etotal, fillHitsInfo(), fillOccupancyMap(), firstLayer_, 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(), dqmdumpme::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(), HcalDetId::zside(), and ecaldqm::zside().
Referenced by analyze(), and ~HGCalSimHitValidation().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 435 of file HGCalSimHitValidation.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), DEFINE_FWK_MODULE, energy_, EtaPhi_Minus_, EtaPhi_Plus_, firstLayer_, HitOccupancy_Minus_, HitOccupancy_Plus_, layers_, MeanHitOccupancy_Minus_, MeanHitOccupancy_Plus_, nameDetector_, nTimes_, pi, and dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().
Referenced by ~HGCalSimHitValidation().
|
private |
Definition at line 366 of file HGCalSimHitValidation.cc.
References DDTrap::alpha1(), filterCSVwithJSON::copy, DDFilteredView::copyNumbers(), ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), DDName::fullname(), hgcons_, AnalysisDataFormats_SUSYBSMObjects::hr, DDFilteredView::logicalPart(), Skims_PA_cff::name, DDBase< N, C >::name(), nameDetector_, DDFilteredView::next(), HGCalTestNumbering::packSquareIndex(), idealTransformation::rotation, DDFilteredView::rotation(), fileinputsource_cfi::sec, 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 414 of file HGCalSimHitValidation.cc.
References defineGeometry(), HGCalDDDConstants::firstLayer(), firstLayer_, edm::EventSetup::get(), HcalDDDRecConstants::getMaxDepth(), hcons_, heRebuild_, hgcons_, HGCalDDDConstants::layers(), layers_, nameDetector_, and verbosity_.
Referenced by ~HGCalSimHitValidation().
|
static |
Definition at line 125 of file HGCalSimHitValidation.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ~HGCalSimHitValidation().
|
private |
Definition at line 349 of file HGCalSimHitValidation.cc.
References energy_, EtaPhi_Minus_, EtaPhi_Plus_, layers_, nameDetector_, and verbosity_.
Referenced by analyzeHits(), and ~HGCalSimHitValidation().
|
private |
Definition at line 341 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and ~HGCalSimHitValidation().
|
private |
Definition at line 91 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 104 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 104 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 100 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), bookHistograms(), and dqmBeginRun().
|
private |
Definition at line 93 of file HGCalSimHitValidation.cc.
Referenced by analyze(), analyzeHits(), and dqmBeginRun().
|
private |
Definition at line 96 of file HGCalSimHitValidation.cc.
Referenced by analyze(), analyzeHits(), dqmBeginRun(), and HGCalSimHitValidation().
|
private |
Definition at line 92 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), defineGeometry(), and dqmBeginRun().
|
private |
Definition at line 103 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 103 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 99 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms(), dqmBeginRun(), and fillHitsInfo().
|
staticprivate |
Definition at line 106 of file HGCalSimHitValidation.cc.
Referenced by HGCalSimHitValidation().
|
private |
Definition at line 105 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 105 of file HGCalSimHitValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 91 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), bookHistograms(), defineGeometry(), dqmBeginRun(), fillHitsInfo(), and HGCalSimHitValidation().
|
private |
Definition at line 108 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), bookHistograms(), and HGCalSimHitValidation().
|
private |
Definition at line 96 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and defineGeometry().
|
private |
Definition at line 96 of file HGCalSimHitValidation.cc.
Referenced by analyze().
|
private |
Definition at line 94 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and HGCalSimHitValidation().
|
private |
Definition at line 98 of file HGCalSimHitValidation.cc.
Referenced by analyze(), and HGCalSimHitValidation().
|
private |
Definition at line 97 of file HGCalSimHitValidation.cc.
Referenced by analyze(), and HGCalSimHitValidation().
|
private |
Definition at line 101 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits(), and defineGeometry().
|
private |
Definition at line 95 of file HGCalSimHitValidation.cc.
Referenced by analyze(), analyzeHits(), defineGeometry(), dqmBeginRun(), and fillHitsInfo().