#include <ContainmentCorrectionAnalyzer.h>
Private Member Functions | |
float | ecalEta (float EtaParticle, float Zvertex, float plane_Radius) |
void | fillMcTruth (std::vector< SimTrack > &theSimTracks, std::vector< SimVertex > &theSimVertices) |
std::vector< EcalSimPhotonMCTruth > | findMcTruth (std::vector< SimTrack > &theSimTracks, std::vector< SimVertex > &theSimVertices) |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 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) |
Definition at line 48 of file ContainmentCorrectionAnalyzer.h.
|
explicit |
Definition at line 11 of file ContainmentCorrectionAnalyzer.cc.
References BarrelSuperClusterCollection_, EndcapSuperClusterCollection_, edm::ParameterSet::getParameter(), reducedBarrelRecHitCollection_, reducedEndcapRecHitCollection_, SimTrackCollection_, and SimVertexCollection_.
|
override |
Definition at line 24 of file ContainmentCorrectionAnalyzer.cc.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 42 of file ContainmentCorrectionAnalyzer.cc.
References BarrelSuperClusterCollection_, PbPb_ZMuSkimMuonDPG_cff::deltaR, MillePedeFileConverter_cfg::e, e1, e25, e9, ecalEta(), cosmicPhotonAnalyzer_cfi::eMax, EndcapSuperClusterCollection_, PVValHelper::eta, findMcTruth(), edm::Event::getByToken(), edm::EventSetup::getData(), edm::EventSetup::getHandle(), SiStripPI::getMaximum(), h_EB_converted, h_EB_e25EtrueReference, h_EB_e9EtrueReference, h_EB_eRecoEtrueReference, h_EB_eTrue, h_EE_converted, h_EE_e25EtrueReference, h_EE_e9EtrueReference, h_EE_eRecoEtrueReference, h_EE_eTrue, mps_fire::i, edm::EventBase::id(), iMC, hcalRecHitTable_cff::iphi, isConverted, edm::HandleBase::isValid(), MainPageGenerator::l, edm::EDConsumerBase::labelsForToken(), mcEnergy, mcEta, mcPhi, mcPt, nMCphotons, nRECOphotons, BPHMonitor_cfi::photons, pi, reco::CaloCluster::position(), conifer::pow(), reco::SuperCluster::preshowerEnergy(), edm::Handle< T >::product(), pTopologyToken, reco::SuperCluster::rawEnergy(), reducedBarrelRecHitCollection_, reducedEndcapRecHitCollection_, reco::SuperCluster::seed(), seedXtal, SimTrackCollection_, SimVertexCollection_, mathSSE::sqrt(), superClusterEnergy, superClusterEt, superClusterEta, superClusterPhi, L1BJetProducer_cff::vtx, x_vtx, y_vtx, and z_vtx.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 26 of file ContainmentCorrectionAnalyzer.cc.
References compareTotals::fs, h_EB_converted, h_EB_e25EtrueReference, h_EB_e9EtrueReference, h_EB_eRecoEtrueReference, h_EB_eTrue, h_EE_converted, h_EE_e25EtrueReference, h_EE_e9EtrueReference, h_EE_eRecoEtrueReference, and h_EE_eTrue.
|
private |
Definition at line 285 of file ContainmentCorrectionAnalyzer.cc.
References ETA, etaBarrelEndcap, dqm-mbProfile::log, Geom::pi(), R_ECAL, funct::tan(), and Z_Endcap.
Referenced by analyze().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 283 of file ContainmentCorrectionAnalyzer.cc.
|
private |
Definition at line 467 of file ContainmentCorrectionAnalyzer.cc.
References geantToIndex_, L1TkPrimaryVertex_cfi::nVtx, TrackCandidateProducer_cfi::simTracks, and HGCalValidator_cfi::simVertices.
Referenced by findMcTruth().
|
private |
store this electron since it's from a converted photon
Definition at line 322 of file ContainmentCorrectionAnalyzer.cc.
References funct::abs(), fillMcTruth(), geantToIndex_, caHitNtupletGeneratorKernels::if(), objects.autophobj::motherId, CoreSimVertex::position(), mps_fire::result, and bphysicsOniaDQM_cfi::vertex.
Referenced by analyze().
|
private |
Definition at line 65 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and ContainmentCorrectionAnalyzer().
|
private |
Definition at line 77 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 77 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 77 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 66 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and ContainmentCorrectionAnalyzer().
|
private |
Definition at line 81 of file ContainmentCorrectionAnalyzer.h.
Referenced by fillMcTruth(), and findMcTruth().
|
private |
Definition at line 91 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 85 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 84 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 83 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 89 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 92 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 88 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 87 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 86 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 90 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 73 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 72 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 72 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 72 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 72 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 71 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 75 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 69 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 67 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and ContainmentCorrectionAnalyzer().
|
private |
Definition at line 68 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and ContainmentCorrectionAnalyzer().
|
private |
Definition at line 78 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 63 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and ContainmentCorrectionAnalyzer().
|
private |
Definition at line 64 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze(), and ContainmentCorrectionAnalyzer().
|
private |
Definition at line 76 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 76 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 76 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 76 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 74 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 74 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 74 of file ContainmentCorrectionAnalyzer.h.
Referenced by analyze().