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 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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
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_ |
edm::EDGetTokenT < edm::PassiveHitContainer > | tok_passive_ |
const edm::ESGetToken < CaloGeometry, CaloGeometryRecord > | tokGeom_ |
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 44 of file CaloSimHitAnalysis.cc.
CaloSimHitAnalysis::CaloSimHitAnalysis | ( | const edm::ParameterSet & | ps | ) |
Definition at line 86 of file CaloSimHitAnalysis.cc.
References allSteps_, HLT_FULL_cff::depth, detNames_, PVValHelper::eta, etaDepth_, 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_rzH_, h_stepp_, h_time_, h_timep_, h_timeT_, h_timeTk_, h_trackp_, h_zz_, hitLab_, mps_fire::i, HLT_FULL_cff::InputTag, edm::Service< T >::isAvailable(), isotrackApplyRegressor::k, TFileService::kSharedResource, M_PI, TFileService::make(), maxEnergy_, maxTime_, mergeVDriftHistosByStation::name, nCalo_, passive_, AlCaHLTBitMon_QueryRunRegistry::string, tCut_, compare::tfile, timeSliceUnit_, runGCPTkAlMap::title, tMax_, tok_passive_, toks_calo_, and SiStrip_OfflineMonitoring_cff::ymax.
|
inlineoverride |
Definition at line 47 of file CaloSimHitAnalysis.cc.
|
overrideprotectedvirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 278 of file CaloSimHitAnalysis.cc.
References analyzeHits(), analyzePassiveHits(), caloGeometry_, edm::EventID::event(), edm::Event::getByToken(), edm::EventSetup::getData(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, hcalGeom_, mps_fire::i, edm::EventBase::id(), edm::HandleBase::isValid(), passive_, edm::EventID::run(), tok_passive_, tokGeom_, and toks_calo_.
|
protected |
Definition at line 319 of file CaloSimHitAnalysis.cc.
References funct::abs(), caloGeometry_, TauDecayModes::dec, HLT_FULL_cff::depth, PV3DBase< T, PVType, FrameType >::eta(), 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, gpuClustering::id, hit::id, isotrackApplyRegressor::k, nCalo_, PV3DBase< T, PVType, FrameType >::perp(), phi, PV3DBase< T, PVType, FrameType >::phi(), point, DetId::rawId(), edm::second(), HcalDetId::subdet(), tCut_, testNumber_, timeSliceUnit_, tMax_, tScale_, HcalTestNumbering::unpackHcalIndex(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by analyze().
|
protected |
Definition at line 463 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, hit::id, HcalDetId::ietaAbs(), isotrackApplyRegressor::k, mergeVDriftHistosByStation::name, findQualityFiles::rr, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, tracks, hit::x, hit::y, and hit::z.
Referenced by analyze().
|
inlineoverrideprotectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 51 of file CaloSimHitAnalysis.cc.
|
inlineoverrideprotected |
Definition at line 53 of file CaloSimHitAnalysis.cc.
|
inlineoverrideprotected |
Definition at line 54 of file CaloSimHitAnalysis.cc.
|
static |
Definition at line 258 of file CaloSimHitAnalysis.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, HLT_FULL_cff::labels, names, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 65 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 71 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 83 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 60 of file CaloSimHitAnalysis.cc.
Referenced by CaloSimHitAnalysis().
|
private |
Definition at line 76 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 75 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 80 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 75 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 81 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), 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 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 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 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 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 79 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 82 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 80 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 76 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 81 of file CaloSimHitAnalysis.cc.
Referenced by analyzePassiveHits(), 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 72 of file CaloSimHitAnalysis.cc.
Referenced by analyze(), and analyzeHits().
|
private |
Definition at line 61 of file CaloSimHitAnalysis.cc.
Referenced by CaloSimHitAnalysis().
|
private |
Definition at line 63 of file CaloSimHitAnalysis.cc.
Referenced by CaloSimHitAnalysis().
|
private |
Definition at line 63 of file CaloSimHitAnalysis.cc.
Referenced by CaloSimHitAnalysis().
|
staticprivate |
Definition at line 74 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 64 of file CaloSimHitAnalysis.cc.
Referenced by analyze(), and CaloSimHitAnalysis().
|
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().
|
private |
Definition at line 62 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 63 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits(), and CaloSimHitAnalysis().
|
private |
Definition at line 69 of file CaloSimHitAnalysis.cc.
Referenced by analyze(), and CaloSimHitAnalysis().
|
private |
Definition at line 67 of file CaloSimHitAnalysis.cc.
Referenced by analyze().
|
private |
Definition at line 68 of file CaloSimHitAnalysis.cc.
Referenced by analyze(), and CaloSimHitAnalysis().
|
private |
Definition at line 63 of file CaloSimHitAnalysis.cc.
Referenced by analyzeHits().