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 Attributes | Static Private Attributes
ElectronStudy Class Reference

#include <ElectronStudy.h>

Inheritance diagram for ElectronStudy:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 
 ElectronStudy (const edm::ParameterSet &ps)
 
 ~ElectronStudy ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- 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 Attributes

double etaBins [NEtaBins+1]
 
std::string g4Label
 
TH1F * histoE1x1 [NPBins+1][NEtaBins+1]
 
TH1F * histoE3x3 [NPBins+1][NEtaBins+1]
 
TH1F * histoE5x5 [NPBins+1][NEtaBins+1]
 
TH1F * histoR1 [NPBins+1][NEtaBins+1]
 
TH1F * histoR2 [NPBins+1][NEtaBins+1]
 
TH1F * histoR3 [NPBins+1][NEtaBins+1]
 
bool histos
 
std::string hitLabEB
 
std::string hitLabEE
 
int hotZone
 
double pBins [NPBins+1]
 
std::string sourceLabel
 
edm::EDGetTokenT
< edm::PCaloHitContainer
tok_EBhit_
 
edm::EDGetTokenT
< edm::PCaloHitContainer
tok_EEhit_
 
edm::EDGetTokenT
< edm::SimTrackContainer
tok_simTk_
 
edm::EDGetTokenT
< edm::SimVertexContainer
tok_simVtx_
 
int verbose
 

Static Private Attributes

static const int NEtaBins = 3
 
static const int NPBins = 8
 

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 &)
 
- 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

Definition at line 33 of file ElectronStudy.h.

Constructor & Destructor Documentation

ElectronStudy::ElectronStudy ( const edm::ParameterSet ps)

Definition at line 15 of file ElectronStudy.cc.

ElectronStudy::~ElectronStudy ( )
inline

Definition at line 38 of file ElectronStudy.h.

38 {}

Member Function Documentation

void ElectronStudy::analyze ( const edm::Event e,
const edm::EventSetup c 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 88 of file ElectronStudy.cc.

Member Data Documentation

double ElectronStudy::etaBins[NEtaBins+1]
private
std::string ElectronStudy::g4Label
private

Definition at line 53 of file ElectronStudy.h.

TH1F * ElectronStudy::histoE1x1[NPBins+1][NEtaBins+1]
private

Definition at line 57 of file ElectronStudy.h.

TH1F* ElectronStudy::histoE3x3[NPBins+1][NEtaBins+1]
private

Definition at line 58 of file ElectronStudy.h.

TH1F * ElectronStudy::histoE5x5[NPBins+1][NEtaBins+1]
private

Definition at line 58 of file ElectronStudy.h.

TH1F* ElectronStudy::histoR1[NPBins+1][NEtaBins+1]
private

Definition at line 56 of file ElectronStudy.h.

TH1F * ElectronStudy::histoR2[NPBins+1][NEtaBins+1]
private

Definition at line 56 of file ElectronStudy.h.

TH1F* ElectronStudy::histoR3[NPBins+1][NEtaBins+1]
private

Definition at line 57 of file ElectronStudy.h.

bool ElectronStudy::histos
private

Definition at line 55 of file ElectronStudy.h.

std::string ElectronStudy::hitLabEB
private

Definition at line 53 of file ElectronStudy.h.

std::string ElectronStudy::hitLabEE
private

Definition at line 53 of file ElectronStudy.h.

int ElectronStudy::hotZone
private

Definition at line 54 of file ElectronStudy.h.

const int ElectronStudy::NEtaBins = 3
staticprivate

Definition at line 44 of file ElectronStudy.h.

const int ElectronStudy::NPBins = 8
staticprivate

Definition at line 45 of file ElectronStudy.h.

double ElectronStudy::pBins[NPBins+1]
private

Definition at line 46 of file ElectronStudy.h.

std::string ElectronStudy::sourceLabel
private

Definition at line 53 of file ElectronStudy.h.

edm::EDGetTokenT<edm::PCaloHitContainer> ElectronStudy::tok_EBhit_
private

Definition at line 48 of file ElectronStudy.h.

edm::EDGetTokenT<edm::PCaloHitContainer> ElectronStudy::tok_EEhit_
private

Definition at line 49 of file ElectronStudy.h.

edm::EDGetTokenT<edm::SimTrackContainer> ElectronStudy::tok_simTk_
private

Definition at line 50 of file ElectronStudy.h.

edm::EDGetTokenT<edm::SimVertexContainer> ElectronStudy::tok_simVtx_
private

Definition at line 51 of file ElectronStudy.h.

int ElectronStudy::verbose
private