Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions | |
void | analyze (edm::Event const &, edm::EventSetup const &) override |
void | beginJob () override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | endRun (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) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Private Attributes | |
const std::string | g4Label_ |
const std::string | hcalHits_ |
TH2F * | poszn_ [ndets_] |
TH2F * | poszp_ [ndets_] |
const bool | testNumber_ |
const edm::EDGetTokenT< edm::PCaloHitContainer > | tok_calo_ |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | tok_geom_ |
const edm::ESGetToken< HcalDDDRecConstants, HcalRecNumberingRecord > | tok_HRNDC_ |
const bool | verbose_ |
Static Private Attributes | |
static const int | ndets_ = 4 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Definition at line 40 of file HcalSimHitAnalysis.cc.
HcalSimHitAnalysis::HcalSimHitAnalysis | ( | const edm::ParameterSet & | ps | ) |
Definition at line 62 of file HcalSimHitAnalysis.cc.
References g4Label_, hcalHits_, TFileService::kSharedResource, and testNumber_.
|
overridedefault |
|
overrideprotectedvirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 118 of file HcalSimHitAnalysis.cc.
References funct::abs(), MillePedeFileConverter_cfg::e, edm::EventSetup::getData(), HcalGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hfClusterShapes_cfi::hits, l1ctLayer2EG_cff::id, hit::id, edm::HandleBase::isValid(), nhits, PV3DBase< T, PVType, FrameType >::perp(), poszn_, poszp_, HcalHitRelabeller::relabel(), testNumber_, tok_calo_, tok_geom_, tok_HRNDC_, verbose_, x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and ecaldqm::zside().
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 85 of file HcalSimHitAnalysis.cc.
References mps_fire::i, Skims_PA_cff::name, ndets_, poszn_, poszp_, AlCaHLTBitMon_QueryRunRegistry::string, compare::tfile, and runGCPTkAlMap::title.
|
inlineoverrideprotected |
Definition at line 49 of file HcalSimHitAnalysis.cc.
|
inlineoverrideprotected |
Definition at line 50 of file HcalSimHitAnalysis.cc.
|
static |
Definition at line 76 of file HcalSimHitAnalysis.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 54 of file HcalSimHitAnalysis.cc.
Referenced by HcalSimHitAnalysis().
|
private |
Definition at line 54 of file HcalSimHitAnalysis.cc.
Referenced by HcalSimHitAnalysis().
|
staticprivate |
Definition at line 53 of file HcalSimHitAnalysis.cc.
Referenced by beginJob().
|
private |
Definition at line 59 of file HcalSimHitAnalysis.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 59 of file HcalSimHitAnalysis.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 55 of file HcalSimHitAnalysis.cc.
Referenced by analyze(), and HcalSimHitAnalysis().
|
private |
Definition at line 56 of file HcalSimHitAnalysis.cc.
Referenced by analyze().
|
private |
Definition at line 57 of file HcalSimHitAnalysis.cc.
Referenced by analyze().
|
private |
Definition at line 58 of file HcalSimHitAnalysis.cc.
Referenced by analyze().
|
private |
Definition at line 55 of file HcalSimHitAnalysis.cc.
Referenced by analyze().