1 #ifndef EcalBarrelSimHitsValidation_H 2 #define EcalBarrelSimHitsValidation_H 38 typedef std::map<uint32_t,float,std::less<uint32_t> >
MapType;
57 void endJob(
void)
override;
64 int centralEta,
int centralPhi,
int centralZ,
68 int centralEta,
int centralPhi,
int centralZ,
73 int CentralEta,
int CentralPhi,
int CentralZ,
74 MapType& fillmap, MapType& themap);
std::map< uint32_t, float, std::less< uint32_t > > MapType
std::vector< uint32_t > getIdsAroundMax(int nCellInEta, int nCellInPhi, int centralEta, int centralPhi, int centralZ, MapType &themap)
MonitorElement * meEBhitLog10Energy_
MonitorElement * meEBe16oe25_
MonitorElement * meEBe16_
void endJob(void) override
MonitorElement * meEBe9oe16_
MonitorElement * meEBe1oe9_
MonitorElement * meEBhitLog10EnergyNorm_
MonitorElement * meEBe9oe25_
MonitorElement * menEBCrystals_
MonitorElement * meEBe25_
MonitorElement * meEBhitLog10Energy25Norm_
MonitorElement * menEBHits_
float eCluster4x4(float e33, MapType &themap)
MonitorElement * meEBe1oe4_
std::string ValidationCollection
MonitorElement * meEBLongitudinalShower_
~EcalBarrelSimHitsValidation() override
Destructor.
edm::EDGetTokenT< edm::PCaloHitContainer > EBHitsToken
edm::EDGetTokenT< PEcalValidInfo > ValidationCollectionToken
MonitorElement * meEBe4oe9_
uint32_t getUnitWithMaxEnergy(MapType &themap)
virtual float energyInMatrixEB(int nCellInEta, int nCellInPhi, int centralEta, int centralPhi, int centralZ, MapType &themap)
MonitorElement * meEBcrystalEnergy2_
std::string EBHitsCollection
MonitorElement * meEBhitEnergy2_
float eCluster2x2(MapType &themap)
bool fillEBMatrix(int nCellInEta, int nCellInPhi, int CentralEta, int CentralPhi, int CentralZ, MapType &fillmap, MapType &themap)
MonitorElement * meEBOccupancy_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
MonitorElement * meEBcrystalEnergy_
MonitorElement * meEBhitEnergy_
EcalBarrelSimHitsValidation(const edm::ParameterSet &ps)
Constructor.
MonitorElement * meEBe1oe25_