#include <Validation/HGCalValidation/plugins/HGCalSimHitValidation.cc>
Classes | |
struct | energysum |
struct | hitsinfo |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginRunSummary (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 Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) |
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_ [netaBins] |
std::vector< MonitorElement * > | HitOccupancy_Plus_ [netaBins] |
unsigned int | layers_ |
MonitorElement * | MeanHitOccupancy_Minus_ [netaBins] |
MonitorElement * | MeanHitOccupancy_Plus_ [netaBins] |
std::string | nameDetector_ |
bool | symmDet_ |
bool | testNumber_ |
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 int | netaBins = 4 |
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, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Description: Validates SimHits of High Granularity Calorimeter Implementation: [Notes on implementation]
Definition at line 55 of file HGCalSimHitValidation.h.
|
explicit |
Definition at line 39 of file HGCalSimHitValidation.cc.
References caloHitSource_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), heRebuild_, HLT_25ns10e33_v2_cff::InputTag, nameDetector_, AlCaHLTBitMon_QueryRunRegistry::string, testNumber_, tok_hepMC_, tok_hits_, and verbosity_.
HGCalSimHitValidation::~HGCalSimHitValidation | ( | ) |
Definition at line 52 of file HGCalSimHitValidation.cc.
|
protectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 54 of file HGCalSimHitValidation.cc.
References analyzeHits(), HLT_25ns10e33_v2_cff::depth, eta, edm::Event::getByToken(), HcalDDDRecConstants::getHCID(), HcalEmpty, HcalEndcap, hcons_, heRebuild_, i, edm::HandleBase::id(), edm::HandleBase::isValid(), relval_2017::k, AlCaHLTBitMon_ParallelJobs::p, phi, DetId::rawId(), jetcorrextractor::sign(), testNumber_, tok_hepMC_, tok_hits_, HcalTestNumbering::unpackHcalIndex(), verbosity_, and z.
|
private |
Definition at line 110 of file HGCalSimHitValidation.cc.
References begin, HGCalSimHitValidation::hitsinfo::cell, funct::cos(), TauDecayModes::dec, HcalDetId::depth(), HGCalSimHitValidation::energysum::e100, HGCalSimHitValidation::energysum::e1000, HGCalSimHitValidation::energysum::e15, HGCalSimHitValidation::energysum::e25, HGCalSimHitValidation::energysum::e250, HGCalSimHitValidation::energysum::e50, relval_parameters_module::energy, eta, HGCalSimHitValidation::hitsinfo::eta, fastmath::etaphi(), HGCalSimHitValidation::energysum::etotal, fillHitsInfo(), fillOccupancyMap(), HGCalDDDConstants::geomMode(), HcalDDDRecConstants::getEtaPhi(), HcalDDDRecConstants::getRZ(), HcalEndcap, hcons_, heRebuild_, hgcons_, HitOccupancy_Minus_, HitOccupancy_Plus_, i, HcalDetId::ietaAbs(), HcalDetId::iphi(), HGCalSimHitValidation::hitsinfo::layer, HGCalDDDConstants::locateCell(), nameDetector_, netaBins, HGCalTestNumbering::packSquareIndex(), HGCalSimHitValidation::hitsinfo::phi, HGCalSimHitValidation::hitsinfo::sector, funct::sin(), Square, HcalDetId::subdet(), symmDet_, transMap_, HGCalTestNumbering::unpackHexagonIndex(), HGCalTestNumbering::unpackSquareIndex(), verbosity_, HGCalDDDConstants::waferZ(), HGCalSimHitValidation::hitsinfo::x, create_public_lumi_plots::xy, HGCalSimHitValidation::hitsinfo::y, HGCalSimHitValidation::hitsinfo::z, HcalDetId::zside(), and ecaldqm::zside().
Referenced by analyze().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 394 of file HGCalSimHitValidation.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), energy_, EtaPhi_Minus_, EtaPhi_Plus_, HitOccupancy_Minus_, HitOccupancy_Plus_, layers_, MeanHitOccupancy_Minus_, MeanHitOccupancy_Plus_, nameDetector_, netaBins, and DQMStore::IBooker::setCurrentFolder().
|
private |
Definition at line 315 of file HGCalSimHitValidation.cc.
References DDFilteredView::addFilter(), DDTrap::alpha1(), filterCSVwithJSON::copy, DDFilteredView::copyNumbers(), equals, alcazmumu_cfi::filter, DDFilteredView::firstChild(), hgcons_, AnalysisDataFormats_SUSYBSMObjects::hr, DDFilteredView::logicalPart(), mergeVDriftHistosByStation::name, DDBase< N, C >::name(), nameDetector_, DDFilteredView::next(), HGCalTestNumbering::packSquareIndex(), idealTransformation::rotation, DDFilteredView::rotation(), DDSpecificsFilter::setCriteria(), DDLogicalPart::solid(), Square, AlCaHLTBitMon_QueryRunRegistry::string, symmDet_, DDFilteredView::translation(), transMap_, relativeConstraints::value, verbosity_, x, y, and z.
Referenced by dqmBeginRun().
|
protectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 373 of file HGCalSimHitValidation.cc.
References defineGeometry(), edm::EventSetup::get(), HcalDDDRecConstants::getMaxDepth(), hcons_, heRebuild_, hgcons_, HGCalDDDConstants::layers(), layers_, nameDetector_, and verbosity_.
|
static |
Definition at line 427 of file HGCalSimHitValidation.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 294 of file HGCalSimHitValidation.cc.
References energy_, EtaPhi_Minus_, EtaPhi_Plus_, layers_, nameDetector_, and verbosity_.
Referenced by analyzeHits().
|
private |
Definition at line 286 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits().
|
private |
Definition at line 94 of file HGCalSimHitValidation.h.
Referenced by HGCalSimHitValidation().
|
private |
Definition at line 110 of file HGCalSimHitValidation.h.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 107 of file HGCalSimHitValidation.h.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 106 of file HGCalSimHitValidation.h.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 96 of file HGCalSimHitValidation.h.
Referenced by analyze(), analyzeHits(), and dqmBeginRun().
|
private |
Definition at line 98 of file HGCalSimHitValidation.h.
Referenced by analyze(), analyzeHits(), dqmBeginRun(), and HGCalSimHitValidation().
|
private |
Definition at line 95 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), defineGeometry(), and dqmBeginRun().
|
private |
Definition at line 105 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 104 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 101 of file HGCalSimHitValidation.h.
Referenced by bookHistograms(), dqmBeginRun(), and fillHitsInfo().
|
private |
Definition at line 109 of file HGCalSimHitValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 108 of file HGCalSimHitValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 94 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), bookHistograms(), defineGeometry(), dqmBeginRun(), fillHitsInfo(), and HGCalSimHitValidation().
|
staticprivate |
Definition at line 93 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 98 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), and defineGeometry().
|
private |
Definition at line 98 of file HGCalSimHitValidation.h.
Referenced by analyze(), and HGCalSimHitValidation().
|
private |
Definition at line 100 of file HGCalSimHitValidation.h.
Referenced by analyze(), and HGCalSimHitValidation().
|
private |
Definition at line 99 of file HGCalSimHitValidation.h.
Referenced by analyze(), and HGCalSimHitValidation().
|
private |
Definition at line 102 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), and defineGeometry().
|
private |
Definition at line 97 of file HGCalSimHitValidation.h.
Referenced by analyze(), analyzeHits(), defineGeometry(), dqmBeginRun(), fillHitsInfo(), and HGCalSimHitValidation().