CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
EgammaSuperClusters Class Reference

#include <EgammaSuperClusters.h>

Inheritance diagram for EgammaSuperClusters:
DQMEDAnalyzer edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > edm::stream::EDAnalyzerBase edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
 EgammaSuperClusters (const edm::ParameterSet &)
 
 ~EgammaSuperClusters ()
 
- Public Member Functions inherited from DQMEDAnalyzer
virtual void beginRun (edm::Run const &, edm::EventSetup const &) final
 
virtual void beginStream (edm::StreamID id) final
 
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
 DQMEDAnalyzer (void)
 
virtual void endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
virtual void endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final
 
uint32_t streamId () const
 
- Public Member Functions inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
 EDAnalyzer ()=default
 
- Public Member Functions inherited from edm::stream::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDAnalyzerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Member Functions

void closestMCParticle (HepMC::GenEvent const *, reco::SuperCluster const &, double &, double &) const
 
float ecalEta (float, float, float) const
 

Private Attributes

edm::EDGetTokenT
< reco::SuperClusterCollection
barrelCorSuperClusterCollectionToken_
 
edm::EDGetTokenT
< reco::SuperClusterCollection
barrelRawSuperClusterCollectionToken_
 
edm::EDGetTokenT
< EcalRecHitCollection
barrelRecHitCollectionToken_
 
edm::EDGetTokenT
< reco::SuperClusterCollection
endcapCorSuperClusterCollectionToken_
 
edm::EDGetTokenT
< reco::SuperClusterCollection
endcapPreSuperClusterCollectionToken_
 
edm::EDGetTokenT
< reco::SuperClusterCollection
endcapRawSuperClusterCollectionToken_
 
edm::EDGetTokenT
< EcalRecHitCollection
endcapRecHitCollectionToken_
 
MonitorElementhist_EB_CorSC_deltaR_
 
MonitorElementhist_EB_CorSC_EoverTruth_
 
MonitorElementhist_EB_CorSC_ET_
 
MonitorElementhist_EB_CorSC_ET_vs_Eta_
 
MonitorElementhist_EB_CorSC_ET_vs_Phi_
 
MonitorElementhist_EB_CorSC_Eta_
 
MonitorElementhist_EB_CorSC_etaWidth_
 
MonitorElementhist_EB_CorSC_NumBC_
 
MonitorElementhist_EB_CorSC_Phi_
 
MonitorElementhist_EB_CorSC_phiWidth_
 
MonitorElementhist_EB_CorSC_S1toS9_
 
MonitorElementhist_EB_CorSC_S25toE_
 
MonitorElementhist_EB_CorSC_Size_
 
MonitorElementhist_EB_RawSC_deltaR_
 
MonitorElementhist_EB_RawSC_EoverTruth_
 
MonitorElementhist_EB_RawSC_ET_
 
MonitorElementhist_EB_RawSC_Eta_
 
MonitorElementhist_EB_RawSC_NumBC_
 
MonitorElementhist_EB_RawSC_Phi_
 
MonitorElementhist_EB_RawSC_S1toS9_
 
MonitorElementhist_EB_RawSC_S25toE_
 
MonitorElementhist_EB_RawSC_Size_
 
MonitorElementhist_EE_CorSC_deltaR_
 
MonitorElementhist_EE_CorSC_EoverTruth_
 
MonitorElementhist_EE_CorSC_ET_
 
MonitorElementhist_EE_CorSC_ET_vs_Eta_
 
MonitorElementhist_EE_CorSC_ET_vs_Phi_
 
MonitorElementhist_EE_CorSC_ET_vs_R_
 
MonitorElementhist_EE_CorSC_Eta_
 
MonitorElementhist_EE_CorSC_etaWidth_
 
MonitorElementhist_EE_CorSC_NumBC_
 
MonitorElementhist_EE_CorSC_Phi_
 
MonitorElementhist_EE_CorSC_phiWidth_
 
MonitorElementhist_EE_CorSC_preshowerE_
 
MonitorElementhist_EE_CorSC_S1toS9_
 
MonitorElementhist_EE_CorSC_S25toE_
 
MonitorElementhist_EE_CorSC_Size_
 
MonitorElementhist_EE_PreSC_deltaR_
 
MonitorElementhist_EE_PreSC_EoverTruth_
 
MonitorElementhist_EE_PreSC_ET_
 
MonitorElementhist_EE_PreSC_Eta_
 
MonitorElementhist_EE_PreSC_NumBC_
 
MonitorElementhist_EE_PreSC_Phi_
 
MonitorElementhist_EE_PreSC_preshowerE_
 
MonitorElementhist_EE_PreSC_S1toS9_
 
MonitorElementhist_EE_PreSC_S25toE_
 
MonitorElementhist_EE_PreSC_Size_
 
MonitorElementhist_EE_RawSC_deltaR_
 
MonitorElementhist_EE_RawSC_EoverTruth_
 
MonitorElementhist_EE_RawSC_ET_
 
MonitorElementhist_EE_RawSC_Eta_
 
MonitorElementhist_EE_RawSC_NumBC_
 
MonitorElementhist_EE_RawSC_Phi_
 
MonitorElementhist_EE_RawSC_S1toS9_
 
MonitorElementhist_EE_RawSC_S25toE_
 
MonitorElementhist_EE_RawSC_Size_
 
HistSpec hsdeltaR_
 
HistSpec hsEoverTruth_
 
HistSpec hsET_
 
HistSpec hsEta_
 
HistSpec hsetaWidth_
 
HistSpec hsNumBC_
 
HistSpec hsPhi_
 
HistSpec hsphiWidth_
 
HistSpec hspreshowerE_
 
HistSpec hsR_
 
HistSpec hsS1toS9_
 
HistSpec hsS25toE_
 
HistSpec hsSize_
 
edm::EDGetTokenT
< edm::HepMCProduct
MCTruthCollectionToken_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > >
typedef CacheContexts< T...> CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T...> HasAbility
 
typedef
CacheTypes::LuminosityBlockCache 
LuminosityBlockCache
 
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache
LuminosityBlockContext
 
typedef
CacheTypes::LuminosityBlockSummaryCache 
LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache,
GlobalCache
RunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 
- Public Types inherited from edm::stream::EDAnalyzerBase
typedef EDAnalyzerAdaptorBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from DQMEDAnalyzer
static std::shared_ptr
< dqmDetails::NoCache
globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *)
 
static std::shared_ptr
< dqmDetails::NoCache
globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *)
 
static void globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *)
 
static void globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *)
 
- Static Public Member Functions inherited from edm::stream::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)
 
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)
 

Detailed Description

Description: SVSuite Super Cluster Validation

Implementation: \

Author
: Michael A. Balazs, Nov 2006

Definition at line 26 of file EgammaSuperClusters.h.

Constructor & Destructor Documentation

EgammaSuperClusters::EgammaSuperClusters ( const edm::ParameterSet ps)
explicit

Definition at line 18 of file EgammaSuperClusters.cc.

EgammaSuperClusters::~EgammaSuperClusters ( )

Definition at line 99 of file EgammaSuperClusters.cc.

Member Function Documentation

void EgammaSuperClusters::analyze ( const edm::Event evt,
const edm::EventSetup es 
)
overridevirtual

Implements edm::stream::EDAnalyzerBase.

Definition at line 325 of file EgammaSuperClusters.cc.

void EgammaSuperClusters::bookHistograms ( DQMStore::IBooker _ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overridevirtual

Implements DQMEDAnalyzer.

Definition at line 104 of file EgammaSuperClusters.cc.

void EgammaSuperClusters::closestMCParticle ( HepMC::GenEvent const *  genEvent,
reco::SuperCluster const &  sc,
double &  dRClosest,
double &  energyClosest 
) const
private

Definition at line 578 of file EgammaSuperClusters.cc.

float EgammaSuperClusters::ecalEta ( float  EtaParticle,
float  Zvertex,
float  plane_Radius 
) const
private

Definition at line 622 of file EgammaSuperClusters.cc.

Member Data Documentation

edm::EDGetTokenT<reco::SuperClusterCollection> EgammaSuperClusters::barrelCorSuperClusterCollectionToken_
private

Definition at line 41 of file EgammaSuperClusters.h.

edm::EDGetTokenT<reco::SuperClusterCollection> EgammaSuperClusters::barrelRawSuperClusterCollectionToken_
private

Definition at line 40 of file EgammaSuperClusters.h.

edm::EDGetTokenT<EcalRecHitCollection> EgammaSuperClusters::barrelRecHitCollectionToken_
private

Definition at line 49 of file EgammaSuperClusters.h.

edm::EDGetTokenT<reco::SuperClusterCollection> EgammaSuperClusters::endcapCorSuperClusterCollectionToken_
private

Definition at line 46 of file EgammaSuperClusters.h.

edm::EDGetTokenT<reco::SuperClusterCollection> EgammaSuperClusters::endcapPreSuperClusterCollectionToken_
private

Definition at line 45 of file EgammaSuperClusters.h.

edm::EDGetTokenT<reco::SuperClusterCollection> EgammaSuperClusters::endcapRawSuperClusterCollectionToken_
private

Definition at line 44 of file EgammaSuperClusters.h.

edm::EDGetTokenT<EcalRecHitCollection> EgammaSuperClusters::endcapRecHitCollectionToken_
private

Definition at line 50 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_deltaR_
private

Definition at line 108 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_EoverTruth_
private

Definition at line 103 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_ET_
private

Definition at line 78 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_ET_vs_Eta_
private

Definition at line 117 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_ET_vs_Phi_
private

Definition at line 118 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_Eta_
private

Definition at line 83 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_etaWidth_
private

Definition at line 116 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_NumBC_
private

Definition at line 73 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_Phi_
private

Definition at line 88 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_phiWidth_
private

Definition at line 114 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_S1toS9_
private

Definition at line 93 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_S25toE_
private

Definition at line 98 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_CorSC_Size_
private

Definition at line 68 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_RawSC_deltaR_
private

Definition at line 106 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_RawSC_EoverTruth_
private

Definition at line 101 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_RawSC_ET_
private

Definition at line 76 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_RawSC_Eta_
private

Definition at line 81 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_RawSC_NumBC_
private

Definition at line 71 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_RawSC_Phi_
private

Definition at line 86 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_RawSC_S1toS9_
private

Definition at line 91 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_RawSC_S25toE_
private

Definition at line 96 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EB_RawSC_Size_
private

Definition at line 66 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_deltaR_
private

Definition at line 109 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_EoverTruth_
private

Definition at line 104 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_ET_
private

Definition at line 79 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_ET_vs_Eta_
private

Definition at line 119 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_ET_vs_Phi_
private

Definition at line 120 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_ET_vs_R_
private

Definition at line 121 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_Eta_
private

Definition at line 84 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_etaWidth_
private

Definition at line 115 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_NumBC_
private

Definition at line 74 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_Phi_
private

Definition at line 89 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_phiWidth_
private

Definition at line 113 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_preshowerE_
private

Definition at line 112 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_S1toS9_
private

Definition at line 94 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_S25toE_
private

Definition at line 99 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_CorSC_Size_
private

Definition at line 69 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_PreSC_deltaR_
private

Definition at line 110 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_PreSC_EoverTruth_
private

Definition at line 105 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_PreSC_ET_
private

Definition at line 80 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_PreSC_Eta_
private

Definition at line 85 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_PreSC_NumBC_
private

Definition at line 75 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_PreSC_Phi_
private

Definition at line 90 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_PreSC_preshowerE_
private

Definition at line 111 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_PreSC_S1toS9_
private

Definition at line 95 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_PreSC_S25toE_
private

Definition at line 100 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_PreSC_Size_
private

Definition at line 70 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_RawSC_deltaR_
private

Definition at line 107 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_RawSC_EoverTruth_
private

Definition at line 102 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_RawSC_ET_
private

Definition at line 77 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_RawSC_Eta_
private

Definition at line 82 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_RawSC_NumBC_
private

Definition at line 72 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_RawSC_Phi_
private

Definition at line 87 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_RawSC_S1toS9_
private

Definition at line 92 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_RawSC_S25toE_
private

Definition at line 97 of file EgammaSuperClusters.h.

MonitorElement* EgammaSuperClusters::hist_EE_RawSC_Size_
private

Definition at line 67 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsdeltaR_
private

Definition at line 60 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsEoverTruth_
private

Definition at line 59 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsET_
private

Definition at line 54 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsEta_
private

Definition at line 55 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsetaWidth_
private

Definition at line 62 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsNumBC_
private

Definition at line 53 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsPhi_
private

Definition at line 56 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsphiWidth_
private

Definition at line 61 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hspreshowerE_
private

Definition at line 63 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsR_
private

Definition at line 64 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsS1toS9_
private

Definition at line 57 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsS25toE_
private

Definition at line 58 of file EgammaSuperClusters.h.

HistSpec EgammaSuperClusters::hsSize_
private

Definition at line 52 of file EgammaSuperClusters.h.

edm::EDGetTokenT<edm::HepMCProduct> EgammaSuperClusters::MCTruthCollectionToken_
private

Definition at line 37 of file EgammaSuperClusters.h.