#include <Validation/EcalClusters/src/EnergyScaleAnalyzer.cc>
Classes | |
struct | tree_structure_ |
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | endJob () |
EnergyScaleAnalyzer (const edm::ParameterSet &) | |
~EnergyScaleAnalyzer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 | |
float | energyMax_ |
float | etaMax_ |
float | etaMaxVtx_ |
float | eTMax_ |
float | eTMaxVtx_ |
int | evtN |
std::string | hepMCLabel_ |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 49 of file EnergyScaleAnalyzer.h.
|
explicit |
Definition at line 75 of file EnergyScaleAnalyzer.cc.
References evtN, edm::ParameterSet::getParameter(), hepMCLabel_, outputFile_, rootFile_, and AlCaHLTBitMon_QueryRunRegistry::string.
EnergyScaleAnalyzer::~EnergyScaleAnalyzer | ( | ) |
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 117 of file EnergyScaleAnalyzer.cc.
References abs, kinem::delta_R(), dynamicHybridSuperClusters_cfi::dynamicHybridSuperClusters, fillTree(), MCTruth::genEvent, configurableAnalysis::GenParticle, edm::Event::getByLabel(), edm::Event::getManyByType(), hepMCLabel_, unifiedSCCollection_cfi::hybridSuperClusters, i, 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, AlCaHLTBitMon_ParallelJobs::p, EnergyScaleAnalyzer::tree_structure_::parID, funct::sin(), tree_, xVtx_, yVtx_, and zVtx_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 97 of file EnergyScaleAnalyzer.cc.
References EnergyScaleAnalyzer::tree_structure_::mc_npar, mytree_, and tree_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 443 of file EnergyScaleAnalyzer.cc.
References rootFile_.
|
private |
fill tree with kinematic variables of corrected Super Cluster
Definition at line 317 of file EnergyScaleAnalyzer.cc.
References kinem::delta_R(), PFRecoTauDiscriminationAgainstElectronDeadECAL_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, relval_parameters_module::energy, energyMax_, eta(), etaMax_, etaMaxVtx_, eTMax_, eTMaxVtx_, create_public_lumi_plots::log, mytree_, phi, phiMax_, phiMaxVtx_, rClust_vtx_, funct::sin(), mathSSE::sqrt(), funct::tan(), thetaMax_, thetaMaxVtx_, xClust_vtx_, xClust_zero_, yClust_vtx_, yClust_zero_, zClust_vtx_, and zClust_zero_.
Referenced by analyze().
|
private |
Definition at line 135 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 136 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 137 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 146 of file EnergyScaleAnalyzer.h.
Referenced by EnergyScaleAnalyzer().
|
private |
Definition at line 64 of file EnergyScaleAnalyzer.h.
Referenced by analyze(), and EnergyScaleAnalyzer().
|
private |
Definition at line 70 of file EnergyScaleAnalyzer.h.
Referenced by beginJob(), and fillTree().
|
private |
Definition at line 62 of file EnergyScaleAnalyzer.h.
Referenced by EnergyScaleAnalyzer().
|
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 133 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 67 of file EnergyScaleAnalyzer.h.
Referenced by endJob(), EnergyScaleAnalyzer(), and ~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 118 of file EnergyScaleAnalyzer.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 125 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 121 of file EnergyScaleAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 130 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 126 of file EnergyScaleAnalyzer.h.
Referenced by fillTree().
|
private |
Definition at line 122 of file EnergyScaleAnalyzer.h.
Referenced by analyze().
|
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().