CMS 3D CMS Logo

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

#include <EcalBarrelSimHitsValidation.h>

Inheritance diagram for EcalBarrelSimHitsValidation:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 EcalBarrelSimHitsValidation (const edm::ParameterSet &ps)
 Constructor. More...
 
 ~EcalBarrelSimHitsValidation ()
 Destructor. More...
 
- 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 ()
 

Protected Member Functions

void analyze (const edm::Event &e, const edm::EventSetup &c)
 Analyze. More...
 
void beginJob ()
 
void endJob (void)
 
- 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)
 

Private Types

typedef std::map< uint32_t,
float, std::less< uint32_t > > 
MapType
 

Private Member Functions

float eCluster2x2 (MapType &themap)
 
float eCluster4x4 (float e33, MapType &themap)
 
virtual float energyInMatrixEB (int nCellInEta, int nCellInPhi, int centralEta, int centralPhi, int centralZ, MapType &themap)
 
bool fillEBMatrix (int nCellInEta, int nCellInPhi, int CentralEta, int CentralPhi, int CentralZ, MapType &fillmap, MapType &themap)
 
std::vector< uint32_t > getIdsAroundMax (int nCellInEta, int nCellInPhi, int centralEta, int centralPhi, int centralZ, MapType &themap)
 
uint32_t getUnitWithMaxEnergy (MapType &themap)
 

Private Attributes

DQMStoredbe_
 
std::string EBHitsCollection
 
edm::EDGetTokenT
< edm::PCaloHitContainer
EBHitsToken
 
float eRLength [26]
 
std::string g4InfoLabel
 
MonitorElementmeEBcrystalEnergy2_
 
MonitorElementmeEBcrystalEnergy_
 
MonitorElementmeEBe16_
 
MonitorElementmeEBe16oe25_
 
MonitorElementmeEBe1_
 
MonitorElementmeEBe1oe25_
 
MonitorElementmeEBe1oe4_
 
MonitorElementmeEBe1oe9_
 
MonitorElementmeEBe25_
 
MonitorElementmeEBe4_
 
MonitorElementmeEBe4oe9_
 
MonitorElementmeEBe9_
 
MonitorElementmeEBe9oe16_
 
MonitorElementmeEBe9oe25_
 
MonitorElementmeEBhitEnergy2_
 
MonitorElementmeEBhitEnergy_
 
MonitorElementmeEBhitLog10Energy25Norm_
 
MonitorElementmeEBhitLog10Energy_
 
MonitorElementmeEBhitLog10EnergyNorm_
 
MonitorElementmeEBLongitudinalShower_
 
MonitorElementmeEBOccupancy_
 
MonitorElementmenEBCrystals_
 
MonitorElementmenEBHits_
 
int myEntries
 
std::string outputFile_
 
std::string ValidationCollection
 
edm::EDGetTokenT< PEcalValidInfoValidationCollectionToken
 
bool verbose_
 

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

Detailed Description

Definition at line 36 of file EcalBarrelSimHitsValidation.h.

Member Typedef Documentation

typedef std::map<uint32_t,float,std::less<uint32_t> > EcalBarrelSimHitsValidation::MapType
private

Definition at line 38 of file EcalBarrelSimHitsValidation.h.

Constructor & Destructor Documentation

EcalBarrelSimHitsValidation::EcalBarrelSimHitsValidation ( const edm::ParameterSet ps)

Constructor.

Definition at line 17 of file EcalBarrelSimHitsValidation.cc.

EcalBarrelSimHitsValidation::~EcalBarrelSimHitsValidation ( )

Destructor.

Definition at line 144 of file EcalBarrelSimHitsValidation.cc.

Member Function Documentation

void EcalBarrelSimHitsValidation::analyze ( const edm::Event e,
const edm::EventSetup c 
)
protectedvirtual

Analyze.

Implements edm::EDAnalyzer.

Definition at line 159 of file EcalBarrelSimHitsValidation.cc.

void EcalBarrelSimHitsValidation::beginJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 148 of file EcalBarrelSimHitsValidation.cc.

float EcalBarrelSimHitsValidation::eCluster2x2 ( MapType themap)
private

Definition at line 396 of file EcalBarrelSimHitsValidation.cc.

float EcalBarrelSimHitsValidation::eCluster4x4 ( float  e33,
MapType themap 
)
private

Definition at line 416 of file EcalBarrelSimHitsValidation.cc.

void EcalBarrelSimHitsValidation::endJob ( void  )
protectedvirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 152 of file EcalBarrelSimHitsValidation.cc.

float EcalBarrelSimHitsValidation::energyInMatrixEB ( int  nCellInEta,
int  nCellInPhi,
int  centralEta,
int  centralPhi,
int  centralZ,
MapType themap 
)
privatevirtual

Definition at line 305 of file EcalBarrelSimHitsValidation.cc.

bool EcalBarrelSimHitsValidation::fillEBMatrix ( int  nCellInEta,
int  nCellInPhi,
int  CentralEta,
int  CentralPhi,
int  CentralZ,
MapType fillmap,
MapType themap 
)
private

Definition at line 366 of file EcalBarrelSimHitsValidation.cc.

std::vector< uint32_t > EcalBarrelSimHitsValidation::getIdsAroundMax ( int  nCellInEta,
int  nCellInPhi,
int  centralEta,
int  centralPhi,
int  centralZ,
MapType themap 
)
private

Definition at line 339 of file EcalBarrelSimHitsValidation.cc.

uint32_t EcalBarrelSimHitsValidation::getUnitWithMaxEnergy ( MapType themap)
private

Definition at line 436 of file EcalBarrelSimHitsValidation.cc.

Member Data Documentation

DQMStore* EcalBarrelSimHitsValidation::dbe_
private

Definition at line 88 of file EcalBarrelSimHitsValidation.h.

std::string EcalBarrelSimHitsValidation::EBHitsCollection
private

Definition at line 80 of file EcalBarrelSimHitsValidation.h.

edm::EDGetTokenT<edm::PCaloHitContainer> EcalBarrelSimHitsValidation::EBHitsToken
private

Definition at line 83 of file EcalBarrelSimHitsValidation.h.

float EcalBarrelSimHitsValidation::eRLength[26]
private

Definition at line 93 of file EcalBarrelSimHitsValidation.h.

std::string EcalBarrelSimHitsValidation::g4InfoLabel
private

Definition at line 79 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBcrystalEnergy2_
private

Definition at line 115 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBcrystalEnergy_
private

Definition at line 113 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe16_
private

Definition at line 120 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe16oe25_
private

Definition at line 129 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe1_
private

Definition at line 117 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe1oe25_
private

Definition at line 127 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe1oe4_
private

Definition at line 123 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe1oe9_
private

Definition at line 124 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe25_
private

Definition at line 121 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe4_
private

Definition at line 118 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe4oe9_
private

Definition at line 125 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe9_
private

Definition at line 119 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe9oe16_
private

Definition at line 126 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBe9oe25_
private

Definition at line 128 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBhitEnergy2_
private

Definition at line 111 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBhitEnergy_
private

Definition at line 103 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBhitLog10Energy25Norm_
private

Definition at line 109 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBhitLog10Energy_
private

Definition at line 105 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBhitLog10EnergyNorm_
private

Definition at line 107 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBLongitudinalShower_
private

Definition at line 101 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::meEBOccupancy_
private

Definition at line 99 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::menEBCrystals_
private

Definition at line 97 of file EcalBarrelSimHitsValidation.h.

MonitorElement* EcalBarrelSimHitsValidation::menEBHits_
private

Definition at line 95 of file EcalBarrelSimHitsValidation.h.

int EcalBarrelSimHitsValidation::myEntries
private

Definition at line 92 of file EcalBarrelSimHitsValidation.h.

std::string EcalBarrelSimHitsValidation::outputFile_
private

Definition at line 90 of file EcalBarrelSimHitsValidation.h.

std::string EcalBarrelSimHitsValidation::ValidationCollection
private

Definition at line 81 of file EcalBarrelSimHitsValidation.h.

edm::EDGetTokenT<PEcalValidInfo> EcalBarrelSimHitsValidation::ValidationCollectionToken
private

Definition at line 84 of file EcalBarrelSimHitsValidation.h.

bool EcalBarrelSimHitsValidation::verbose_
private

Definition at line 86 of file EcalBarrelSimHitsValidation.h.