Classes | |
struct | EcalHit |
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 | 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 | |
TH1F * | edep_ [ndets_] |
TH1F * | edepAll_ [ndets_] |
TH1F * | edepEM_ [ndets_] |
TH1F * | edepHad_ [ndets_] |
TH1F * | eneInc_ |
TH1F * | etaInc_ |
TH1F * | etot_ [ndets_] |
TH1F * | etotg_ [ndets_] |
const std::string | g4Label_ |
const CaloGeometry * | geometry_ |
TH1F * | hit_ [ndets_] |
const std::vector< std::string > | hitLab_ |
const double | maxEnergy_ |
TH1F * | phiInc_ |
TH2F * | poszn_ [ndets_] |
TH2F * | poszp_ [ndets_] |
TH1F * | ptInc_ |
TH1F * | r1by25_ [ndets_] |
TH1F * | r1by9_ [ndets_] |
TH1F * | r9by25_ [ndets_] |
const int | selX_ |
TH1F * | sEtaEta_ [ndets_] |
TH1F * | sEtaPhi_ [ndets_] |
TH1F * | sPhiPhi_ [ndets_] |
TH1F * | time_ [ndets_] |
TH1F * | timeAll_ [ndets_] |
const double | tmax_ |
const edm::EDGetTokenT< edm::HepMCProduct > | tok_evt_ |
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | tokGeom_ |
const std::vector< edm::EDGetTokenT< edm::PCaloHitContainer > > | toks_calo_ |
const double | w0_ |
Static Private Attributes | |
static const int | ndets_ = 2 |
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 46 of file EcalSimHitStudy.cc.
EcalSimHitStudy::EcalSimHitStudy | ( | const edm::ParameterSet & | ps | ) |
Definition at line 83 of file EcalSimHitStudy.cc.
References g4Label_, hitLab_, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and edm::vector_transform().
|
inlineoverride |
Definition at line 49 of file EcalSimHitStudy.cc.
|
overrideprotectedvirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 256 of file EcalSimHitStudy.cc.
References funct::abs(), analyzeHits(), MillePedeFileConverter_cfg::e, eneInc_, etaInc_, geometry_, edm::EventSetup::getData(), edm::HepMCProduct::GetEvent(), edm::HandleBase::isValid(), AlCaHLTBitMon_ParallelJobs::p, phiInc_, ptInc_, tok_evt_, tokGeom_, and toks_calo_.
|
protected |
Definition at line 307 of file EcalSimHitStudy.cc.
References funct::abs(), TauDecayModes::dec, makePileupJSON::denom, HLT_2023v12_cff::dEta, HLT_2023v12_cff::dPhi, PVValHelper::dz, edep_, edepAll_, edepEM_, edepHad_, hcalRecHitTable_cff::energy, etot_, etotg_, geometry_, CaloGeometry::getGeometry(), hit_, hfClusterShapes_cfi::hits, l1ctLayer2EG_cff::id, hit::id, hcalRecHitTable_cff::iphi, dqmdumpme::k, dqm-mbProfile::log, M_PI, SiStripPI::max, position, poszn_, poszp_, r1by25_, r1by9_, r9by25_, singleTopDQM_cfi::select, selX_, sEtaEta_, sEtaPhi_, sPhiPhi_, hcalRecHitTable_cff::time, time_, timeAll_, tmax_, w(), w0_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and ecaldqm::zside().
Referenced by analyze().
|
overrideprotectedvirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 114 of file EcalSimHitStudy.cc.
References edep_, edepAll_, edepEM_, edepHad_, eneInc_, etaInc_, etot_, etotg_, hit_, mps_fire::i, maxEnergy_, Skims_PA_cff::name, ndets_, phiInc_, poszn_, poszp_, ptInc_, r1by25_, r1by9_, r9by25_, sEtaEta_, sEtaPhi_, sPhiPhi_, AlCaHLTBitMon_QueryRunRegistry::string, compare::tfile, time_, timeAll_, runGCPTkAlMap::title, and L1TOccupancyClient_cfi::ymax.
|
inlineoverrideprotected |
Definition at line 55 of file EcalSimHitStudy.cc.
|
inlineoverrideprotected |
Definition at line 56 of file EcalSimHitStudy.cc.
|
static |
Definition at line 102 of file EcalSimHitStudy.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 76 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 77 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 76 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 76 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 74 of file EcalSimHitStudy.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 74 of file EcalSimHitStudy.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 77 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 77 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 67 of file EcalSimHitStudy.cc.
Referenced by EcalSimHitStudy().
|
private |
Definition at line 73 of file EcalSimHitStudy.cc.
Referenced by analyze(), and analyzeHits().
|
private |
Definition at line 75 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 68 of file EcalSimHitStudy.cc.
Referenced by EcalSimHitStudy().
|
private |
Definition at line 69 of file EcalSimHitStudy.cc.
Referenced by beginJob().
|
staticprivate |
Definition at line 65 of file EcalSimHitStudy.cc.
Referenced by beginJob().
|
private |
Definition at line 74 of file EcalSimHitStudy.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 80 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 80 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 74 of file EcalSimHitStudy.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 78 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 78 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 78 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 70 of file EcalSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 79 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 79 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 79 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 75 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 75 of file EcalSimHitStudy.cc.
Referenced by analyzeHits(), and beginJob().
|
private |
Definition at line 69 of file EcalSimHitStudy.cc.
Referenced by analyzeHits().
|
private |
Definition at line 71 of file EcalSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 66 of file EcalSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 72 of file EcalSimHitStudy.cc.
Referenced by analyze().
|
private |
Definition at line 69 of file EcalSimHitStudy.cc.
Referenced by analyzeHits().