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 | analyzeHits (std::vector< PCaloHit > &, int) |
void | analyzePassiveHits (std::vector< PassiveHit > &hits) |
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) |
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) |
Private Attributes | |
const CaloGeometry * | caloGeometry_ |
const std::vector< std::string > | detNames_ |
const std::string | g4Label_ |
TH1F * | h_edep1_ [nCalo_] |
TH1F * | h_edep_ [nCalo_] |
TH1F * | h_edepEM_ [nCalo_] |
TH1F * | h_edepHad_ [nCalo_] |
TH1F * | h_edepp_ |
TH1F * | h_edepT1_ [nCalo_] |
TH1F * | h_edepT_ [nCalo_] |
std::vector< TH1F * > | h_edepTk_ |
TH1F * | h_eta_ [nCalo_] |
TH2F * | h_etaphi_ |
TH1F * | h_etot_ [nCalo_] |
TH1F * | h_etotg_ [nCalo_] |
TH1F * | h_hit_ [nCalo_] |
TH1F * | h_hitp_ |
TH1F * | h_phi_ [nCalo_] |
TH1F * | h_rr_ [nCalo_] |
TH2F * | h_rz1_ |
TH2F * | h_rz_ |
TH1F * | h_stepp_ |
TH1F * | h_time_ [nCalo_] |
TH1F * | h_timep_ |
TH1F * | h_timeT_ [nCalo_] |
std::vector< TH1F * > | h_timeTk_ |
TH1F * | h_trackp_ |
TH1F * | h_zz_ [nCalo_] |
const HcalGeometry * | hcalGeom_ |
const std::vector< std::string > | hitLab_ |
const double | maxEnergy_ |
const double | maxTime_ |
const bool | passive_ |
const double | tCut_ |
const bool | testNumber_ |
const std::vector< double > | timeSliceUnit_ |
const double | tMax_ |
edm::EDGetTokenT< edm::PassiveHitContainer > | tok_passive_ |
std::vector< edm::EDGetTokenT< edm::PCaloHitContainer > > | toks_calo_ |
const double | tScale_ |
Static Private Attributes | |
static int | nCalo_ = 6 |
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 45 of file CaloSimHitAnalysis.cc.
CaloSimHitAnalysis::CaloSimHitAnalysis | ( | const edm::ParameterSet & | ps | ) |
Definition at line 83 of file CaloSimHitAnalysis.cc.
References detNames_, g4Label_, h_edep1_, h_edep_, h_edepEM_, h_edepHad_, h_edepp_, h_edepT1_, h_edepT_, h_edepTk_, h_eta_, h_etaphi_, h_etot_, h_etotg_, h_hit_, h_hitp_, h_phi_, h_rr_, h_rz1_, h_rz_, h_stepp_, h_time_, h_timep_, h_timeT_, h_timeTk_, h_trackp_, h_zz_, hitLab_, mps_fire::i, HLT_2018_cff::InputTag, edm::Service< T >::isAvailable(), dqmdumpme::k, TFileService::kSharedResource, M_PI, TFileService::make(), maxEnergy_, maxTime_, Skims_PA_cff::name, nCalo_, passive_, AlCaHLTBitMon_QueryRunRegistry::string, tCut_, compare::tfile, timeSliceUnit_, overlapproblemtsosanalyzer_cfi::title, tMax_, tok_passive_, toks_calo_, and L1TOccupancyClient_cfi::ymax.
|
inlineoverride |
|
overrideprotectedvirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 259 of file CaloSimHitAnalysis.cc.
References analyzeHits(), analyzePassiveHits(), caloGeometry_, edm::EventID::event(), edm::Event::getByToken(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, hcalGeom_, mps_fire::i, edm::EventBase::id(), edm::HandleBase::isValid(), passive_, edm::ESHandle< T >::product(), edm::EventID::run(), tok_passive_, and toks_calo_.
Referenced by beginJob().
|
protected |
Definition at line 296 of file CaloSimHitAnalysis.cc.
References funct::abs(), caloGeometry_, TauDecayModes::dec, LEDCalibrationChannels::depth, PV3DBase< T, PVType, FrameType >::eta(), dqmdumpme::first, CaloGeometry::getPosition(), HcalGeometry::getPosition(), h_edep1_, h_edep_, h_edepEM_, h_edepHad_, h_edepT1_, h_edepT_, h_eta_, h_etaphi_, h_etot_, h_etotg_, h_hit_, h_phi_, h_rr_, h_rz1_, h_rz_, h_time_, h_timeT_, h_zz_, HcalBarrel, HcalEndcap, HcalForward, hcalGeom_, HcalOuter, triggerObjects_cff::id, hit::id, training_settings::idx, LEDCalibrationChannels::ieta, dqmdumpme::k, nCalo_, PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), point, DetId::rawId(), edm::second(), HcalDetId::subdet(), tCut_, testNumber_, ntuplemaker::time, timeSliceUnit_, tMax_, tScale_, HcalTestNumbering::unpackHcalIndex(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze(), and endRun().
|
protected |
Definition at line 440 of file CaloSimHitAnalysis.cc.
References DEFINE_FWK_MODULE, detNames_, h_edepp_, h_edepTk_, h_hitp_, h_stepp_, h_timep_, h_timeTk_, h_trackp_, hit::id, dqmdumpme::k, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and PDWG_EXOHSCP_cff::tracks.
Referenced by analyze(), and endRun().
|
inlineoverrideprotectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 52 of file CaloSimHitAnalysis.cc.
References analyze().
|
inlineoverrideprotected |
Definition at line 54 of file CaloSimHitAnalysis.cc.
|
inlineoverrideprotected |
Definition at line 55 of file CaloSimHitAnalysis.cc.
References analyzeHits(), analyzePassiveHits(), and hfClusterShapes_cfi::hits.
|
static |
Definition at line 240 of file CaloSimHitAnalysis.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), SummaryClient_cfi::labels, names, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ~CaloSimHitAnalysis().
|
private |
Definition at line 70 of file CaloSimHitAnalysis.cc.
Referenced by analyze(), and analyzeHits().
|
private |
Definition at line 66 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 61 of file CaloSimHitAnalysis.cc.
Referenced by CaloSimHitAnalysis().
|
private |
Definition at line 75 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 74 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 76 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 76 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 75 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 74 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 80 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 77 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 78 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 77 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 77 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 74 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 77 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 76 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 78 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 78 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 74 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 75 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 80 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 76 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 71 of file CaloSimHitAnalysis.cc.
Referenced by analyze(), and analyzeHits().
|
private |
Definition at line 62 of file CaloSimHitAnalysis.cc.
Referenced by CaloSimHitAnalysis().
|
private |
Definition at line 64 of file CaloSimHitAnalysis.cc.
Referenced by CaloSimHitAnalysis().
|
private |
Definition at line 64 of file CaloSimHitAnalysis.cc.
Referenced by CaloSimHitAnalysis().
|
staticprivate |
Definition at line 73 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 65 of file CaloSimHitAnalysis.cc.
Referenced by analyze(), and CaloSimHitAnalysis().
|
private |
Definition at line 64 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 65 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 63 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 64 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 68 of file CaloSimHitAnalysis.cc.
Referenced by analyze(), and CaloSimHitAnalysis().
|
private |
Definition at line 67 of file CaloSimHitAnalysis.cc.
Referenced by analyze(), and CaloSimHitAnalysis().
|
private |
Definition at line 64 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().