#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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
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 74 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, outputFile_, rootFile_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 102 of file EnergyScaleAnalyzer.cc.
References rootFile_.
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 135 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(), cmsLHEtoEOSManager::l, edm::EDConsumerBase::labelsForToken(), HLT_FULL_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_, extraflags_cff::vtx, xVtx_, yVtx_, and zVtx_.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 109 of file EnergyScaleAnalyzer.cc.
References EnergyScaleAnalyzer::tree_structure_::mc_npar, mytree_, and tree_.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 472 of file EnergyScaleAnalyzer.cc.
References rootFile_.
|
private |
fill tree with kinematic variables of corrected Super Cluster
Definition at line 342 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, HCALHighEnergyHPDFilter_cfi::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().