#include <Validation/HGCalValidation/plugins/HGCalHitValidation.cc>
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 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) |
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: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 62 of file HGCalHitValidation.cc.
|
protected |
Definition at line 71 of file HGCalHitValidation.cc.
|
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.
HGCalHitValidation::~HGCalHitValidation | ( | ) |
Definition at line 145 of file HGCalHitValidation.cc.
|
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(), stringResolutionProvider_cfi::eta, HcalCellType::HcalCell::eta, HcalDDDRecConstants::HcalID::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().
|
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(), funct::sin(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
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().
|
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().
|
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().
|
static |
Definition at line 147 of file HGCalHitValidation.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 100 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 101 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 94 of file HGCalHitValidation.cc.
|
private |
Definition at line 97 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 98 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 94 of file HGCalHitValidation.cc.
|
private |
Definition at line 95 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 99 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 94 of file HGCalHitValidation.cc.
|
private |
Definition at line 96 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 90 of file HGCalHitValidation.cc.
Referenced by dqmBeginRun(), and HGCalHitValidation().
|
private |
Definition at line 88 of file HGCalHitValidation.cc.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 87 of file HGCalHitValidation.cc.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 89 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and dqmBeginRun().
|
private |
Definition at line 106 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 106 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 106 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 113 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 113 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 111 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 110 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 110 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 110 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 104 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 104 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 104 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 115 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 115 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 111 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 108 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 108 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 108 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 105 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 105 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 105 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 114 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 114 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 111 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 109 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 109 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 109 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 85 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalSimHit(), and dqmBeginRun().
|
private |
Definition at line 86 of file HGCalHitValidation.cc.
Referenced by analyze(), analyzeHGCalSimHit(), and dqmBeginRun().
|
private |
Definition at line 91 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 92 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().