Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
PFSuperClusterTreeMaker (const PSet &) | |
~PFSuperClusterTreeMaker () | |
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 Types | |
typedef TTree * | treeptr |
Private Member Functions | |
void | processSuperClusterFillTree (const edm::Event &, const reco::SuperCluster &) |
void | setTreeArraysForSize (const size_t N_ECAL, const size_t N_PS) |
Private Attributes | |
std::shared_ptr < PFEnergyCalibration > | _calib |
bool | _dogen |
edm::Service< TFileService > | _fs |
edm::InputTag | _geninput |
edm::InputTag | _scInputEB |
edm::InputTag | _scInputEE |
treeptr | _tree |
edm::InputTag | _vtxsrc |
std::shared_ptr< Float_t > | clusterCalibEnergy |
std::shared_ptr< Float_t > | clusterDEtaToCentroid |
std::shared_ptr< Float_t > | clusterDEtaToGen |
std::shared_ptr< Float_t > | clusterDEtaToSeed |
std::shared_ptr< Float_t > | clusterDPhiToCentroid |
std::shared_ptr< Float_t > | clusterDPhiToGen |
std::shared_ptr< Float_t > | clusterDPhiToSeed |
std::shared_ptr< Float_t > | clusterEta |
std::shared_ptr< Float_t > | clusterHitFractionSharedWithSeed |
std::shared_ptr< Int_t > | clusterInDynDPhi |
std::shared_ptr< Int_t > | clusterInMustache |
std::shared_ptr< Float_t > | clusterPhi |
std::shared_ptr< Float_t > | clusterRawEnergy |
Float_t | genDRToCentroid |
Float_t | genDRToSeed |
Float_t | genEnergy |
Float_t | genEta |
Float_t | genPhi |
Int_t | N_ECALClusters |
Int_t | N_PSClusters |
Int_t | nVtx |
std::shared_ptr< Float_t > | psClusterEta |
std::shared_ptr< Float_t > | psClusterPhi |
std::shared_ptr< Float_t > | psClusterRawEnergy |
Float_t | scCalibratedEnergy |
Float_t | scEta |
Float_t | scEtaWidth |
Float_t | scPhi |
Float_t | scPhiWidth |
Float_t | scPreshowerEnergy |
Float_t | scR |
Float_t | scRawEnergy |
Float_t | scSeedCalibratedEnergy |
Float_t | scSeedEta |
Float_t | scSeedPhi |
Float_t | scSeedRawEnergy |
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) |
Definition at line 80 of file PFSuperClusterTreeMaker.cc.
|
private |
Definition at line 81 of file PFSuperClusterTreeMaker.cc.
PFSuperClusterTreeMaker::PFSuperClusterTreeMaker | ( | const PSet & | p | ) |
Definition at line 258 of file PFSuperClusterTreeMaker.cc.
References _calib, _dogen, _fs, _geninput, _scInputEB, _scInputEE, _tree, _vtxsrc, clusterCalibEnergy, clusterDEtaToCentroid, clusterDEtaToGen, clusterDEtaToSeed, clusterDPhiToCentroid, clusterDPhiToGen, clusterDPhiToSeed, clusterEta, clusterHitFractionSharedWithSeed, clusterInDynDPhi, clusterInMustache, clusterPhi, clusterRawEnergy, genDRToCentroid, genDRToSeed, genEnergy, genEta, genPhi, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), TFileDirectory::make(), N_ECALClusters, N_PSClusters, nVtx, psClusterEta, psClusterPhi, psClusterRawEnergy, scCalibratedEnergy, scEta, scEtaWidth, scPhi, scPhiWidth, scPreshowerEnergy, scR, scRawEnergy, scSeedCalibratedEnergy, scSeedEta, scSeedPhi, and scSeedRawEnergy.
|
inline |
Definition at line 84 of file PFSuperClusterTreeMaker.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 114 of file PFSuperClusterTreeMaker.cc.
References _scInputEB, _scInputEE, _vtxsrc, edm::hlt::Exception, edm::Event::getByLabel(), edm::HandleBase::isValid(), nVtx, and processSuperClusterFillTree().
|
private |
Definition at line 143 of file PFSuperClusterTreeMaker.cc.
References _calib, _dogen, _geninput, _tree, asciidump::at, clusterCalibEnergy, clusterDEtaToCentroid, clusterDEtaToGen, clusterDEtaToSeed, clusterDPhiToCentroid, clusterDPhiToGen, clusterDPhiToSeed, clusterEta, clusterHitFractionSharedWithSeed, clusterInDynDPhi, clusterInMustache, clusterPhi, clusterRawEnergy, reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), reco::deltaR(), PFLayer::ECAL_BARREL, reco::CaloCluster::energy(), reco::CaloCluster::eta(), reco::SuperCluster::etaWidth(), edm::hlt::Exception, genDRToCentroid, genDRToSeed, genEnergy, genEta, EgammaValidation_cff::genp, genPhi, edm::Event::getByLabel(), i, reco::MustacheKernel::inDynamicDPhiWindow(), reco::MustacheKernel::inMustache(), edm::Ref< C, T, F >::isNonnull(), edm::HandleBase::isValid(), max(), N_ECALClusters, N_PSClusters, reco::CaloCluster::phi(), Phi_mpi_pi(), reco::SuperCluster::phiWidth(), reco::CaloCluster::position(), reco::SuperCluster::preshowerClustersBegin(), reco::SuperCluster::preshowerClustersEnd(), reco::SuperCluster::preshowerEnergy(), psClusterEta, psClusterPhi, psClusterRawEnergy, reco::SuperCluster::rawEnergy(), scCalibratedEnergy, scEta, scEtaWidth, scPhi, scPhiWidth, scPreshowerEnergy, scR, scRawEnergy, scSeedCalibratedEnergy, scSeedEta, scSeedPhi, scSeedRawEnergy, reco::SuperCluster::seed(), and setTreeArraysForSize().
Referenced by analyze().
|
private |
Definition at line 349 of file PFSuperClusterTreeMaker.cc.
References _dogen, _tree, clusterCalibEnergy, clusterDEtaToCentroid, clusterDEtaToGen, clusterDEtaToSeed, clusterDPhiToCentroid, clusterDPhiToGen, clusterDPhiToSeed, clusterEta, clusterHitFractionSharedWithSeed, clusterInDynDPhi, clusterInMustache, clusterPhi, clusterRawEnergy, psClusterEta, psClusterPhi, and psClusterRawEnergy.
Referenced by processSuperClusterFillTree().
|
private |
Definition at line 93 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 89 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 88 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker().
|
private |
Definition at line 90 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 92 of file PFSuperClusterTreeMaker.cc.
Referenced by analyze(), and PFSuperClusterTreeMaker().
|
private |
Definition at line 92 of file PFSuperClusterTreeMaker.cc.
Referenced by analyze(), and PFSuperClusterTreeMaker().
|
private |
Definition at line 98 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 91 of file PFSuperClusterTreeMaker.cc.
Referenced by analyze(), and PFSuperClusterTreeMaker().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 109 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 109 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 105 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 103 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 103 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 103 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 103 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 103 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 104 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 110 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 99 of file PFSuperClusterTreeMaker.cc.
Referenced by analyze(), and PFSuperClusterTreeMaker().
|
private |
Definition at line 111 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 111 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 111 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), processSuperClusterFillTree(), and setTreeArraysForSize().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().
|
private |
Definition at line 100 of file PFSuperClusterTreeMaker.cc.
Referenced by PFSuperClusterTreeMaker(), and processSuperClusterFillTree().