#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 &) 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::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_, nameDetector_, nTimes_, AlCaHLTBitMon_QueryRunRegistry::string, testNumber_, times_, tok_hepMC_, tok_hits_, and verbosity_.
HGCalSimHitValidation::~HGCalSimHitValidation | ( | ) |
Definition at line 53 of file HGCalSimHitValidation.cc.
|
overrideprotected |
Definition at line 55 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_.
|
private |
Definition at line 101 of file HGCalSimHitValidation.cc.
References HGCalSimHitValidation::hitsinfo::cell, funct::cos(), TauDecayModes::dec, HcalDetId::depth(), PVValHelper::eta, HGCalSimHitValidation::hitsinfo::eta, fastmath::etaphi(), HGCalSimHitValidation::energysum::eTime, HGCalSimHitValidation::energysum::etotal, fillHitsInfo(), fillOccupancyMap(), HGCalDDDConstants::geomMode(), HcalDDDRecConstants::getEtaPhi(), HcalDDDRecConstants::getRZ(), HcalEndcap, hcons_, heRebuild_, hgcons_, HitOccupancy_Minus_, HitOccupancy_Plus_, mps_fire::i, HcalDetId::ietaAbs(), HcalDetId::iphi(), gen::k, HGCalSimHitValidation::hitsinfo::layer, HGCalDDDConstants::locateCell(), nameDetector_, nTimes_, HGCalTestNumbering::packSquareIndex(), HGCalSimHitValidation::hitsinfo::phi, HGCalSimHitValidation::hitsinfo::sector, funct::sin(), HGCalGeometryMode::Square, HcalDetId::subdet(), symmDet_, ntuplemaker::time, times_, transMap_, HGCalTestNumbering::unpackHexagonIndex(), HGCalTestNumbering::unpackSquareIndex(), verbosity_, HGCalDDDConstants::waferZ(), HGCalSimHitValidation::hitsinfo::x, geometryCSVtoXML::xy, HGCalSimHitValidation::hitsinfo::y, HGCalSimHitValidation::hitsinfo::z, HcalDigiParam_cfi::zside, and HcalDetId::zside().
Referenced by analyze().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 347 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_, nTimes_, pi, and DQMStore::IBooker::setCurrentFolder().
|
private |
Definition at line 270 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().
|
overrideprotected |
Definition at line 326 of file HGCalSimHitValidation.cc.
References defineGeometry(), edm::EventSetup::get(), HcalDDDRecConstants::getMaxDepth(), hcons_, heRebuild_, hgcons_, HGCalDDDConstants::layers(), layers_, nameDetector_, and verbosity_.
|
static |
Definition at line 376 of file HGCalSimHitValidation.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 249 of file HGCalSimHitValidation.cc.
References energy_, EtaPhi_Minus_, EtaPhi_Plus_, layers_, nameDetector_, and verbosity_.
Referenced by analyzeHits().
|
private |
Definition at line 241 of file HGCalSimHitValidation.cc.
Referenced by analyzeHits().
|
private |
Definition at line 93 of file HGCalSimHitValidation.h.
Referenced by HGCalSimHitValidation().
|
private |
Definition at line 108 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 106 of file HGCalSimHitValidation.h.
Referenced by bookHistograms(), and fillHitsInfo().
|
private |
Definition at line 95 of file HGCalSimHitValidation.h.
Referenced by analyze(), analyzeHits(), and dqmBeginRun().
|
private |
Definition at line 97 of file HGCalSimHitValidation.h.
Referenced by analyze(), analyzeHits(), dqmBeginRun(), and HGCalSimHitValidation().
|
private |
Definition at line 94 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 105 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), and bookHistograms().
|
private |
Definition at line 102 of file HGCalSimHitValidation.h.
Referenced by bookHistograms(), dqmBeginRun(), and fillHitsInfo().
|
private |
Definition at line 107 of file HGCalSimHitValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 107 of file HGCalSimHitValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 93 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), bookHistograms(), defineGeometry(), dqmBeginRun(), fillHitsInfo(), and HGCalSimHitValidation().
|
private |
Definition at line 99 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), bookHistograms(), and HGCalSimHitValidation().
|
private |
Definition at line 97 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), and defineGeometry().
|
private |
Definition at line 97 of file HGCalSimHitValidation.h.
Referenced by analyze(), and HGCalSimHitValidation().
|
private |
Definition at line 98 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), and HGCalSimHitValidation().
|
private |
Definition at line 101 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 103 of file HGCalSimHitValidation.h.
Referenced by analyzeHits(), and defineGeometry().
|
private |
Definition at line 96 of file HGCalSimHitValidation.h.
Referenced by analyze(), analyzeHits(), defineGeometry(), dqmBeginRun(), fillHitsInfo(), and HGCalSimHitValidation().