#include <EcalBarrelSimHitsValidation.h>
Public Member Functions | |
EcalBarrelSimHitsValidation (const edm::ParameterSet &ps) | |
Constructor. More... | |
~EcalBarrelSimHitsValidation () | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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 | |
DQMStore * | dbe_ |
std::string | EBHitsCollection |
float | eRLength [26] |
std::string | g4InfoLabel |
MonitorElement * | meEBcrystalEnergy2_ |
MonitorElement * | meEBcrystalEnergy_ |
MonitorElement * | meEBe16_ |
MonitorElement * | meEBe16oe25_ |
MonitorElement * | meEBe1_ |
MonitorElement * | meEBe1oe25_ |
MonitorElement * | meEBe1oe4_ |
MonitorElement * | meEBe1oe9_ |
MonitorElement * | meEBe25_ |
MonitorElement * | meEBe4_ |
MonitorElement * | meEBe4oe9_ |
MonitorElement * | meEBe9_ |
MonitorElement * | meEBe9oe16_ |
MonitorElement * | meEBe9oe25_ |
MonitorElement * | meEBhitEnergy2_ |
MonitorElement * | meEBhitEnergy_ |
MonitorElement * | meEBhitLog10Energy25Norm_ |
MonitorElement * | meEBhitLog10Energy_ |
MonitorElement * | meEBhitLog10EnergyNorm_ |
MonitorElement * | meEBLongitudinalShower_ |
MonitorElement * | meEBOccupancy_ |
MonitorElement * | menEBCrystals_ |
MonitorElement * | menEBHits_ |
int | myEntries |
std::string | outputFile_ |
std::string | ValidationCollection |
bool | verbose_ |
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 &) |
Definition at line 36 of file EcalBarrelSimHitsValidation.h.
|
private |
Definition at line 38 of file EcalBarrelSimHitsValidation.h.
EcalBarrelSimHitsValidation::EcalBarrelSimHitsValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 17 of file EcalBarrelSimHitsValidation.cc.
References dbe_, eRLength, edm::ParameterSet::getUntrackedParameter(), interpolateCardsSimple::histo, meEBcrystalEnergy2_, meEBcrystalEnergy_, meEBe16_, meEBe16oe25_, meEBe1_, meEBe1oe25_, meEBe1oe4_, meEBe1oe9_, meEBe25_, meEBe4_, meEBe4oe9_, meEBe9_, meEBe9oe16_, meEBe9oe25_, meEBhitEnergy2_, meEBhitEnergy_, meEBhitLog10Energy25Norm_, meEBhitLog10Energy_, meEBhitLog10EnergyNorm_, meEBLongitudinalShower_, meEBOccupancy_, menEBCrystals_, menEBHits_, myEntries, cppFunctionSkipper::operator, and verbose_.
EcalBarrelSimHitsValidation::~EcalBarrelSimHitsValidation | ( | ) |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 157 of file EcalBarrelSimHitsValidation.cc.
References EBHitsCollection, eCluster2x2(), eCluster4x4(), relval_parameters_module::energy, energyInMatrixEB(), eRLength, edm::EventID::event(), MonitorElement::Fill(), HcalObjRepresent::Fill(), fillEBMatrix(), g4InfoLabel, edm::Event::getByLabel(), getIdsAroundMax(), getUnitWithMaxEnergy(), i, edm::EventBase::id(), EBDetId::ietaAbs(), EBDetId::iphi(), edm::HandleBase::isValid(), j, LogDebug, Association::map, meEBcrystalEnergy2_, meEBcrystalEnergy_, meEBe16_, meEBe16oe25_, meEBe1_, meEBe1oe25_, meEBe1oe4_, meEBe1oe9_, meEBe25_, meEBe4_, meEBe4oe9_, meEBe9_, meEBe9oe16_, meEBe9oe25_, meEBhitEnergy2_, meEBhitEnergy_, meEBhitLog10Energy25Norm_, meEBhitLog10Energy_, meEBhitLog10EnergyNorm_, meEBLongitudinalShower_, meEBOccupancy_, menEBCrystals_, menEBHits_, myEntries, MonitorElement::Reset(), edm::EventID::run(), ValidationCollection, and EBDetId::zside().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 146 of file EcalBarrelSimHitsValidation.cc.
|
private |
|
private |
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 150 of file EcalBarrelSimHitsValidation.cc.
|
privatevirtual |
Definition at line 303 of file EcalBarrelSimHitsValidation.cc.
References abs, getHLTprescales::index, LogDebug, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 364 of file EcalBarrelSimHitsValidation.cc.
References abs, getUnitWithMaxEnergy(), i, getHLTprescales::index, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 337 of file EcalBarrelSimHitsValidation.cc.
References abs, getHLTprescales::index, and DetId::rawId().
Referenced by analyze().
|
private |
Definition at line 434 of file EcalBarrelSimHitsValidation.cc.
References LogDebug.
Referenced by analyze(), and fillEBMatrix().
|
private |
Definition at line 85 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().
|
private |
Definition at line 80 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze().
|
private |
Definition at line 90 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 79 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze().
|
private |
Definition at line 112 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 110 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 117 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 126 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 114 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 124 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 120 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 121 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 118 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 115 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 122 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 116 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 123 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 125 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 108 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 100 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 106 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 102 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 104 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 98 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 96 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 94 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 92 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 89 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze(), and EcalBarrelSimHitsValidation().
|
private |
Definition at line 87 of file EcalBarrelSimHitsValidation.h.
|
private |
Definition at line 81 of file EcalBarrelSimHitsValidation.h.
Referenced by analyze().
|
private |
Definition at line 83 of file EcalBarrelSimHitsValidation.h.
Referenced by EcalBarrelSimHitsValidation().