#include <Validation/HGCalValidation/plugins/HGCalHitValidation.cc>
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 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::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) |
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_ |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 61 of file HGCalHitValidation.cc.
|
protected |
Definition at line 68 of file HGCalHitValidation.cc.
|
explicit |
Definition at line 116 of file HGCalHitValidation.cc.
References bhRecHitTokeng_, bhRecHitTokenh_, bhSimHitToken_, eeRecHitToken_, eeSimHitToken_, fhRecHitToken_, fhSimHitToken_, geometrySource_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ietaExcludeBH_, ifHCAL_, ifHCALsim_, and dqmdumpme::k.
|
override |
Definition at line 139 of file HGCalHitValidation.cc.
|
overrideprotected |
Definition at line 234 of file HGCalHitValidation.cc.
References analyzeHGCalRecHit(), analyzeHGCalSimHit(), edm::SortedCollection< T, SORT >::begin(), bhRecHitTokeng_, bhRecHitTokenh_, hgcalTriggerNtuples_cfi::bhSimHits, bhSimHitToken_, HcalDDDSimConstants::cell(), TauDecayModes::dec, HcalDDDRecConstants::HcalID::depth, LEDCalibrationChannels::depth, HLT_2018_cff::distance, eeRecHitToken_, hgcalTriggerNtuples_cfi::eeSimHits, eeSimHitToken_, edm::SortedCollection< T, SORT >::end(), HCALHighEnergyHPDFilter_cfi::energy, CastorDataFrameFilter_impl::energySum(), HcalCellType::HcalCell::eta, HcalDDDRecConstants::HcalID::eta, PVValHelper::eta, fhRecHitToken_, hgcalTriggerNtuples_cfi::fhSimHits, fhSimHitToken_, dqm::impl::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_, ifHCALsim_, edm::HandleBase::isValid(), phi, HcalCellType::HcalCell::phi, HcalDDDRecConstants::HcalID::phi, edm::Handle< T >::product(), HcalCellType::HcalCell::rz, Validation_hcalonly_cfi::sign, rpcPointValidation_cfi::simHit, bscTrigger_cfi::theHits, HcalTestNumbering::unpackHcalIndex(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
|
protected |
Definition at line 440 of file HGCalHitValidation.cc.
References funct::cos(), TauDecayModes::dec, DEFINE_FWK_MODULE, HCALHighEnergyHPDFilter_cfi::energy, PV3DBase< T, PVType, FrameType >::eta(), dqm::impl::MonitorElement::Fill(), CaloSubdetectorGeometry::getGeometry(), DetId::Hcal, HcalEndcap, hcGeometry_, hebdEtaVsEta, hebdPhiVsPhi, hebdzVsZ, hebEnRec, hebEnSimRec, hebRecVsSimX, hebRecVsSimY, hebRecVsSimZ, PV3DBase< T, PVType, FrameType >::phi(), PVValHelper::pT, funct::sin(), Geom::Phi< T1, Range >::value(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
protected |
Definition at line 403 of file HGCalHitValidation.cc.
References HGCalTopology::detectorType(), HCALHighEnergyHPDFilter_cfi::energy, CastorDataFrameFilter_impl::energySum(), dqm::impl::MonitorElement::Fill(), hgcCons_, hgcGeometry_, rpcPointValidation_cfi::simHit, FastTrackerRecHitCombiner_cfi::simHits, HGCalTestNumbering::unpackHexagonIndex(), geometryCSVtoXML::xy, and ecaldqm::zside().
Referenced by analyze().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 149 of file HGCalHitValidation.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::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 dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder().
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 187 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 141 of file HGCalHitValidation.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 98 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 92 of file HGCalHitValidation.cc.
|
private |
Definition at line 95 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 96 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 92 of file HGCalHitValidation.cc.
|
private |
Definition at line 93 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 97 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 92 of file HGCalHitValidation.cc.
|
private |
Definition at line 94 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 87 of file HGCalHitValidation.cc.
Referenced by dqmBeginRun(), and HGCalHitValidation().
|
private |
Definition at line 85 of file HGCalHitValidation.cc.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 84 of file HGCalHitValidation.cc.
Referenced by analyze(), and dqmBeginRun().
|
private |
Definition at line 86 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and dqmBeginRun().
|
private |
Definition at line 104 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 104 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 104 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 111 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), 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 analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 108 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 108 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 108 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 102 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 102 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 102 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 113 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 113 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 106 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 106 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 106 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 103 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 103 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 103 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 112 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 112 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 107 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 107 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 107 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 82 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalSimHit(), and dqmBeginRun().
|
private |
Definition at line 83 of file HGCalHitValidation.cc.
Referenced by analyze(), analyzeHGCalSimHit(), and dqmBeginRun().
|
private |
Definition at line 88 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 89 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 90 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().