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) |
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 int | allSteps_ |
const CaloGeometry * | caloGeometry_ |
const std::vector< std::string > | detNames_ |
std::map< int, unsigned int > | etaDepth_ |
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_ |
std::vector< TH2F * > | h_rzH_ |
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_ |
const edm::EDGetTokenT< edm::PassiveHitContainer > | tok_passive_ |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | tokGeom_ |
const std::vector< edm::EDGetTokenT< edm::PCaloHitContainer > > | toks_calo_ |
const double | tScale_ |
Static Private Attributes | |
static constexpr 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 87 of file CaloSimHitAnalysis.cc.
References g4Label_, hitLab_, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and edm::vector_transform().
|
inlineoverride |
Definition at line 48 of file CaloSimHitAnalysis.cc.
|
overrideprotectedvirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 279 of file CaloSimHitAnalysis.cc.
References analyzeHits(), analyzePassiveHits(), caloGeometry_, MillePedeFileConverter_cfg::e, CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, hcalGeom_, mps_fire::i, edm::HandleBase::isValid(), passive_, tok_passive_, tokGeom_, and toks_calo_.
|
protected |
Definition at line 318 of file CaloSimHitAnalysis.cc.
References funct::abs(), caloGeometry_, TauDecayModes::dec, hcalRecHitTable_cff::depth, 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, hfClusterShapes_cfi::hits, l1ctLayer2EG_cff::id, hit::id, heavyIonCSV_trainingSettings::idx, hcalRecHitTable_cff::ieta, dqmdumpme::k, nCalo_, phi, point, DetId::rawId(), edm::second(), HcalDetId::subdet(), tCut_, testNumber_, hcalRecHitTable_cff::time, timeSliceUnit_, tMax_, tScale_, HcalTestNumbering::unpackHcalIndex(), and z.
Referenced by analyze().
|
protected |
Definition at line 466 of file CaloSimHitAnalysis.cc.
References allSteps_, HcalDetId::depth(), detNames_, etaDepth_, h_edepp_, h_edepTk_, h_hitp_, h_rzH_, h_stepp_, h_timep_, h_timeTk_, h_trackp_, DetId::Hcal, hfClusterShapes_cfi::hits, hit::id, HcalDetId::ietaAbs(), dqmdumpme::k, Skims_PA_cff::name, findQualityFiles::rr, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, pwdgSkimBPark_cfi::tracks, hit::x, hit::y, and hit::z.
Referenced by analyze().
|
inlineoverrideprotectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 52 of file CaloSimHitAnalysis.cc.
|
inlineoverrideprotected |
Definition at line 54 of file CaloSimHitAnalysis.cc.
|
inlineoverrideprotected |
Definition at line 55 of file CaloSimHitAnalysis.cc.
|
static |
Definition at line 259 of file CaloSimHitAnalysis.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, SummaryClient_cfi::labels, names, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 66 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 72 of file CaloSimHitAnalysis.cc.
Referenced by analyze(), and analyzeHits().
|
private |
Definition at line 67 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 84 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 61 of file CaloSimHitAnalysis.cc.
Referenced by CaloSimHitAnalysis().
|
private |
Definition at line 77 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 76 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 78 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 78 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 81 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 77 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 76 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 82 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 80 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 76 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 81 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 78 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 80 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 80 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 83 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 81 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 76 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 81 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 77 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 82 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 81 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits().
|
private |
Definition at line 78 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 73 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.
|
private |
Definition at line 64 of file CaloSimHitAnalysis.cc.
|
staticprivate |
Definition at line 75 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 65 of file CaloSimHitAnalysis.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 65 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 63 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 64 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().
|
private |
Definition at line 70 of file CaloSimHitAnalysis.cc.
Referenced by analyze().
|
private |
Definition at line 68 of file CaloSimHitAnalysis.cc.
Referenced by analyze().
|
private |
Definition at line 69 of file CaloSimHitAnalysis.cc.
Referenced by analyze().
|
private |
Definition at line 64 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().