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 | analyzeHits (const edm::Handle< edm::PSimHitContainer > &, int) |
void | analyzeHits (std::vector< PCaloHit > &, std::vector< PCaloHit > &, std::vector< PCaloHit > &) |
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 () |
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 CaloGeometry * | caloGeometry_ |
TH1F * | edep_ [nCalo_] |
TH1F * | edepC_ [nCalo_] |
TH1F * | edepEM_ [nCalo_] |
TH1F * | edepHad_ [nCalo_] |
TH1F * | edepT_ [nCalo_] |
TH1F * | edepTk_ [nTrack_] |
const double | eMIP_ |
TH1F * | eneInc_ |
TH1F * | eta_ [nCalo_] |
TH1F * | etaInc_ |
TH1F * | etot_ [nCalo_] |
TH1F * | etotg_ [nCalo_] |
const std::string | g4Label_ |
const HcalGeometry * | hcalGeom_ |
TH1F * | hit_ [nCalo_] |
TH1F * | hitHigh |
const std::vector< std::string > | hitLab_ |
TH1F * | hitLow |
TH1F * | hitMu |
TH1F * | hitTk_ [nTrack_] |
const double | maxEnergy_ |
const std::vector< std::string > | muonLab_ = {"MuonRPCHits", "MuonCSCHits", "MuonDTHits", "MuonGEMHits"} |
TH1F * | phi_ [nCalo_] |
TH1F * | phiInc_ |
TH1F * | ptInc_ |
const bool | storeRL_ |
const bool | testNumber_ |
TH1F * | time_ [nCalo_] |
TH1F * | timeAll_ [nCalo_] |
const std::vector< std::string > | tkHighLab_ |
const std::vector< std::string > | tkLowLab_ |
const double | tmax_ |
TH1F * | tofTk_ [nTrack_] |
const edm::EDGetTokenT< edm::HepMCProduct > | tok_evt_ |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | tokGeom_ |
const std::vector< edm::EDGetTokenT< edm::PCaloHitContainer > > | toks_calo_ |
std::vector< edm::EDGetTokenT< edm::PSimHitContainer > > | toks_tkHigh_ |
std::vector< edm::EDGetTokenT< edm::PSimHitContainer > > | toks_tkLow_ |
std::vector< edm::EDGetTokenT< edm::PSimHitContainer > > | toks_track_ |
Static Private Attributes | |
static constexpr int | nCalo_ = 9 |
static constexpr int | nTrack_ = 16 |
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 47 of file CaloSimHitStudy.cc.
CaloSimHitStudy::CaloSimHitStudy | ( | const edm::ParameterSet & | ps | ) |
Definition at line 101 of file CaloSimHitStudy.cc.
References g4Label_, hitLab_, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and edm::vector_transform().
|
inlineoverride |
Definition at line 50 of file CaloSimHitStudy.cc.
|
overrideprotectedvirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 309 of file CaloSimHitStudy.cc.
References analyzeHits(), caloGeometry_, MillePedeFileConverter_cfg::e, eneInc_, etaInc_, edm::HepMCProduct::GetEvent(), CaloGeometry::getSubdetectorGeometry(), DetId::Hcal, HcalBarrel, hcalGeom_, hitHigh, hitLow, hitMu, mps_fire::i, edm::HandleBase::isValid(), AlCaHLTBitMon_ParallelJobs::p, phiInc_, ptInc_, tok_evt_, tokGeom_, toks_calo_, toks_tkHigh_, toks_tkLow_, and toks_track_.
|
protected |
Definition at line 389 of file CaloSimHitStudy.cc.
References caloGeometry_, LEDCalibrationChannels::depth, edep_, edepEM_, edepHad_, eta_, etot_, etotg_, CaloGeometry::getPosition(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hit_, hfClusterShapes_cfi::hits, mps_fire::i, l1ctLayer2EG_cff::id, heavyIonCSV_trainingSettings::idx, LEDCalibrationChannels::ieta, PCaloHit::kEcalDepthIdMask, nCalo_, phi, phi_, point, storeRL_, HcalDetId::subdet(), testNumber_, protons_cff::time, time_, timeAll_, HcalTestNumbering::unpackHcalIndex(), and z.
Referenced by analyze().
|
protected |
Definition at line 559 of file CaloSimHitStudy.cc.
References edepTk_, hfClusterShapes_cfi::hits, hitTk_, label, muonLab_, nTrack_, AlCaHLTBitMon_QueryRunRegistry::string, tkHighLab_, tkLowLab_, and tofTk_.
|
protected |
Definition at line 581 of file CaloSimHitStudy.cc.
References LEDCalibrationChannels::depth, edepC_, edepT_, eMIP_, HcalBarrel, HcalEndcap, HcalOuter, mps_fire::i, LEDCalibrationChannels::ieta, PCaloHit::kEcalDepthIdMask, phi, testNumber_, protons_cff::time, tmax_, HcalTestNumbering::unpackHcalIndex(), and z.
|
inlineoverrideprotectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 54 of file CaloSimHitStudy.cc.
|
inlineoverrideprotected |
Definition at line 56 of file CaloSimHitStudy.cc.
|
inlineoverrideprotected |
Definition at line 57 of file CaloSimHitStudy.cc.
|
static |
Definition at line 295 of file CaloSimHitStudy.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 75 of file CaloSimHitStudy.cc.
Referenced by analyze(), and analyzeHits().
|
private |
Definition at line 95 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 96 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 94 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 94 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 96 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 98 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 66 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 97 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 96 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 97 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 95 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 95 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 64 of file CaloSimHitStudy.cc.
Referenced by CaloSimHitStudy().
|
private |
Definition at line 76 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 94 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 97 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file CaloSimHitStudy.cc.
Referenced by CaloSimHitStudy().
|
private |
Definition at line 97 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 97 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 98 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 66 of file CaloSimHitStudy.cc.
|
private |
Definition at line 78 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
staticprivate |
Definition at line 92 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
staticprivate |
Definition at line 93 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 96 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 97 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 97 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 67 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 67 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 94 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 95 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 79 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 85 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 66 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 98 of file CaloSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 69 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 68 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 70 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 73 of file CaloSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 71 of file CaloSimHitStudy.cc.
Referenced by analyze().