#include <EnergyScaleAnalyzer.h>
Classes | |
struct | tree_structure_ |
Private Member Functions | |
void | fillTree (const reco::SuperClusterCollection *scColl, const reco::SuperClusterCollection *corrSCColl, HepMC::GenParticle *mc, tree_structure_ &tree_, float xV, float yV, float zV, int scType) |
Private Attributes | |
edm::EDGetTokenT< reco::SuperClusterCollection > | correctedDynamicHybridSuperClusters_token |
edm::EDGetTokenT< reco::SuperClusterCollection > | correctedFixedMatrixSuperClustersWithPreshower_token |
edm::EDGetTokenT< reco::SuperClusterCollection > | correctedHybridSuperClusters_token |
edm::EDGetTokenT< reco::SuperClusterCollection > | dynamicHybridSuperClusters_token |
float | energyMax_ |
float | etaMax_ |
float | etaMaxVtx_ |
float | eTMax_ |
float | eTMaxVtx_ |
int | evtN |
edm::EDGetTokenT< reco::SuperClusterCollection > | fixedMatrixSuperClustersWithPreshower_token |
edm::EDGetTokenT< edm::HepMCProduct > | hepMCLabel_ |
edm::EDGetTokenT< reco::SuperClusterCollection > | hybridSuperClusters_token |
TTree * | mytree_ |
std::string | outputFile_ |
float | phiMax_ |
float | phiMaxVtx_ |
float | rClust_vtx_ |
TFile * | rootFile_ |
float | thetaMax_ |
float | thetaMaxVtx_ |
tree_structure_ | tree_ |
float | xClust_vtx_ |
float | xClust_zero_ |
float | xVtx_ |
float | yClust_vtx_ |
float | yClust_zero_ |
float | yVtx_ |
float | zClust_vtx_ |
float | zClust_zero_ |
float | zVtx_ |
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) |
Validation/EcalClusters/src/EnergyScaleAnalyzer.cc
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 48 of file EnergyScaleAnalyzer.h.
|
explicit |
Definition at line 70 of file EnergyScaleAnalyzer.cc.
References correctedDynamicHybridSuperClusters_token, correctedFixedMatrixSuperClustersWithPreshower_token, correctedHybridSuperClusters_token, dynamicHybridSuperClusters_token, evtN, fixedMatrixSuperClustersWithPreshower_token, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hepMCLabel_, hybridSuperClusters_token, ProducerED_cfi::InputTag, outputFile_, rootFile_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 131 of file EnergyScaleAnalyzer.cc.
References funct::abs(), correctedDynamicHybridSuperClusters_token, correctedFixedMatrixSuperClustersWithPreshower_token, correctedHybridSuperClusters_token, kinem::delta_R(), dynamicHybridSuperClusters_cfi::dynamicHybridSuperClusters, dynamicHybridSuperClusters_token, fillTree(), fixedMatrixSuperClustersWithPreshower_token, genWeightsTable_cfi::genEvent, GenParticle::GenParticle, edm::Event::getByToken(), edm::Event::getManyByType(), MuonClassifier_cff::hepMC, hepMCLabel_, unifiedSCCollection_cfi::hybridSuperClusters, hybridSuperClusters_token, mps_fire::i, sistrip::SpyUtilities::isValid(), MainPageGenerator::l, edm::EDConsumerBase::labelsForToken(), HLT_2023v12_cff::max_eta, CaloTowersParam_cfi::mc, EnergyScaleAnalyzer::tree_structure_::mc_e, EnergyScaleAnalyzer::tree_structure_::mc_et, EnergyScaleAnalyzer::tree_structure_::mc_eta, EnergyScaleAnalyzer::tree_structure_::mc_npar, EnergyScaleAnalyzer::tree_structure_::mc_phi, EnergyScaleAnalyzer::tree_structure_::mc_sep, EnergyScaleAnalyzer::tree_structure_::mc_theta, HerwigMaxPtPartonFilter_cfi::moduleLabel, AlCaHLTBitMon_ParallelJobs::p, EnergyScaleAnalyzer::tree_structure_::parID, edm::Handle< T >::product(), funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, tree_, L1BJetProducer_cff::vtx, xVtx_, yVtx_, and zVtx_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 105 of file EnergyScaleAnalyzer.cc.
References EnergyScaleAnalyzer::tree_structure_::mc_npar, mytree_, and tree_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 468 of file EnergyScaleAnalyzer.cc.
References rootFile_.
|
private |
fill tree with kinematic variables of corrected Super Cluster
Definition at line 338 of file EnergyScaleAnalyzer.cc.
References kinem::delta_R(), HGC3DClusterGenMatchSelector_cfi::dR, EnergyScaleAnalyzer::tree_structure_::em_br, EnergyScaleAnalyzer::tree_structure_::em_dR, EnergyScaleAnalyzer::tree_structure_::em_e, EnergyScaleAnalyzer::tree_structure_::em_et, EnergyScaleAnalyzer::tree_structure_::em_eta, EnergyScaleAnalyzer::tree_structure_::em_ew, EnergyScaleAnalyzer::tree_structure_::em_isInCrack, EnergyScaleAnalyzer::tree_structure_::em_nBC, EnergyScaleAnalyzer::tree_structure_::em_nCell, EnergyScaleAnalyzer::tree_structure_::em_pe, EnergyScaleAnalyzer::tree_structure_::em_pet, EnergyScaleAnalyzer::tree_structure_::em_peta, EnergyScaleAnalyzer::tree_structure_::em_phi, EnergyScaleAnalyzer::tree_structure_::em_ptheta, EnergyScaleAnalyzer::tree_structure_::em_pw, EnergyScaleAnalyzer::tree_structure_::em_scType, EnergyScaleAnalyzer::tree_structure_::em_theta, EnergyScaleAnalyzer::tree_structure_::emCorr_e, EnergyScaleAnalyzer::tree_structure_::emCorr_et, EnergyScaleAnalyzer::tree_structure_::emCorr_eta, EnergyScaleAnalyzer::tree_structure_::emCorr_pet, EnergyScaleAnalyzer::tree_structure_::emCorr_peta, EnergyScaleAnalyzer::tree_structure_::emCorr_phi, EnergyScaleAnalyzer::tree_structure_::emCorr_ptheta, EnergyScaleAnalyzer::tree_structure_::emCorr_theta, hcalRecHitTable_cff::energy, energyMax_, etaMax_, etaMaxVtx_, eTMax_, eTMaxVtx_, dqm-mbProfile::log, CaloTowersParam_cfi::mc, mytree_, phiMax_, phiMaxVtx_, rClust_vtx_, funct::sin(), mathSSE::sqrt(), funct::tan(), thetaMax_, thetaMaxVtx_, tree_, xClust_vtx_, xClust_zero_, yClust_vtx_, yClust_zero_, zClust_vtx_, and zClust_zero_.
Referenced by analyze().
|
private |
Definition at line 64 of file EnergyScaleAnalyzer.h.
Referenced by analyze(), and EnergyScaleAnalyzer().
|
private |
Definition at line 65 of file EnergyScaleAnalyzer.h.
Referenced by analyze(), and EnergyScaleAnalyzer().
|
private |
Definition at line 63 of file EnergyScaleAnalyzer.h.
Referenced by analyze(), and EnergyScaleAnalyzer().
|
private |
Definition at line 62 of file EnergyScaleAnalyzer.h.
Referenced by analyze(), and EnergyScaleAnalyzer().
|
private |
Definition at line 137 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 140 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 141 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 138 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 139 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 148 of file EnergyScaleAnalyzer.h.
Referenced by EnergyScaleAnalyzer().
|
private |
Definition at line 66 of file EnergyScaleAnalyzer.h.
Referenced by analyze(), and EnergyScaleAnalyzer().
|
private |
Definition at line 60 of file EnergyScaleAnalyzer.h.
Referenced by analyze(), and EnergyScaleAnalyzer().
|
private |
Definition at line 61 of file EnergyScaleAnalyzer.h.
Referenced by analyze(), and EnergyScaleAnalyzer().
|
private |
Definition at line 72 of file EnergyScaleAnalyzer.h.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 58 of file EnergyScaleAnalyzer.h.
Referenced by EnergyScaleAnalyzer().
|
private |
Definition at line 142 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 143 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 135 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 69 of file EnergyScaleAnalyzer.h.
Referenced by endJob(), EnergyScaleAnalyzer(), and ~EnergyScaleAnalyzer().
|
private |
Definition at line 144 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 145 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 120 of file EnergyScaleAnalyzer.h.
Referenced by analyze(), beginJob(), and fillTree().
|
private |
Definition at line 131 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 127 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 123 of file EnergyScaleAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 132 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 128 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 124 of file EnergyScaleAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 133 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 129 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 125 of file EnergyScaleAnalyzer.h.
Referenced by analyze().