#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::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::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 62 of file HGCalHitValidation.cc.
|
protected |
Definition at line 71 of file HGCalHitValidation.cc.
|
explicit |
Definition at line 121 of file HGCalHitValidation.cc.
References bhRecHitTokeng_, bhRecHitTokenh_, bhSimHitToken_, eeRecHitToken_, eeSimHitToken_, fhRecHitToken_, fhSimHitToken_, geometrySource_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ietaExcludeBH_, ifHCAL_, ifHCALsim_, and gen::k.
|
override |
Definition at line 147 of file HGCalHitValidation.cc.
|
overrideprotected |
Definition at line 252 of file HGCalHitValidation.cc.
References analyzeHGCalRecHit(), analyzeHGCalSimHit(), edm::SortedCollection< T, SORT >::begin(), bhRecHitTokeng_, bhRecHitTokenh_, bhSimHitToken_, HcalDDDSimConstants::cell(), TauDecayModes::dec, egammaForCoreTracking_cff::depth, HcalDDDRecConstants::HcalID::depth, SoftLeptonByDistance_cfi::distance, eeRecHitToken_, eeSimHitToken_, edm::SortedCollection< T, SORT >::end(), CastorDataFrameFilter_impl::energySum(), HcalCellType::HcalCell::eta, HcalDDDRecConstants::HcalID::eta, PVValHelper::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_, 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, HcalTestNumbering::unpackHcalIndex(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
|
protected |
Definition at line 479 of file HGCalHitValidation.cc.
References funct::cos(), TauDecayModes::dec, DEFINE_FWK_MODULE, PV3DBase< T, PVType, FrameType >::eta(), 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(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
protected |
Definition at line 444 of file HGCalHitValidation.cc.
References HGCalTopology::detectorType(), CastorDataFrameFilter_impl::energySum(), MonitorElement::Fill(), hgcCons_, hgcGeometry_, rpcPointValidation_cfi::simHit, trackerHits::simHits, HGCalTestNumbering::unpackHexagonIndex(), geometryCSVtoXML::xy, and ecaldqm::zside().
Referenced by analyze().
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 157 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 199 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 149 of file HGCalHitValidation.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 101 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 102 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 95 of file HGCalHitValidation.cc.
|
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 95 of file HGCalHitValidation.cc.
|
private |
Definition at line 96 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 100 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().
|
private |
Definition at line 95 of file HGCalHitValidation.cc.
|
private |
Definition at line 97 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 107 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 107 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 107 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 114 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 114 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 112 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 analyzeHGCalRecHit(), and bookHistograms().
|
private |
Definition at line 111 of file HGCalHitValidation.cc.
Referenced by analyzeHGCalRecHit(), 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 116 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 116 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 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 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 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 112 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 110 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 110 of file HGCalHitValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 110 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().
|
private |
Definition at line 93 of file HGCalHitValidation.cc.
Referenced by analyze(), and HGCalHitValidation().