1 #ifndef EcalEndcapSimHitsValidation_H 2 #define EcalEndcapSimHitsValidation_H 36 typedef std::map<uint32_t, float, std::less<uint32_t>>
MapType;
56 void endJob(
void)
override;
61 virtual float energyInMatrixEE(
int nCellInX,
int nCellInY,
int centralX,
int centralY,
int centralZ, MapType &themap);
64 int nCellInX,
int nCellInY,
int centralX,
int centralY,
int centralZ, MapType &themap);
67 int nCellInX,
int nCellInY,
int CentralX,
int CentralY,
int CentralZ, MapType &fillmap, MapType &themap);
MonitorElement * meEEe9oe16_
MonitorElement * meEEzpCrystals_
~EcalEndcapSimHitsValidation() override
Destructor.
edm::EDGetTokenT< PEcalValidInfo > ValidationCollectionToken
virtual float energyInMatrixEE(int nCellInX, int nCellInY, int centralX, int centralY, int centralZ, MapType &themap)
MonitorElement * meEEe16_
MonitorElement * meEEzmHits_
MonitorElement * meEEe1oe4_
MonitorElement * meEEzmOccupancy_
MonitorElement * meEEHitEnergy2_
dqm::legacy::MonitorElement MonitorElement
std::map< uint32_t, float, std::less< uint32_t > > MapType
MonitorElement * meEEcrystalEnergy_
MonitorElement * meEEe4oe9_
MonitorElement * meEEzpOccupancy_
MonitorElement * meEEe16oe25_
float eCluster4x4(float e33, MapType &themap)
std::string EEHitsCollection
MonitorElement * meEELongitudinalShower_
std::string ValidationCollection
MonitorElement * meEEe9oe25_
MonitorElement * meEEzmCrystals_
dqm::legacy::DQMStore DQMStore
MonitorElement * meEEhitLog10Energy25Norm_
bool fillEEMatrix(int nCellInX, int nCellInY, int CentralX, int CentralY, int CentralZ, MapType &fillmap, MapType &themap)
MonitorElement * meEEcrystalEnergy2_
MonitorElement * meEEHitEnergy_
MonitorElement * meEEzpHits_
MonitorElement * meEEe1oe9_
MonitorElement * meEEe1oe25_
edm::EDGetTokenT< edm::PCaloHitContainer > EEHitsToken
void endJob(void) override
uint32_t getUnitWithMaxEnergy(MapType &themap)
MonitorElement * meEEe25_
MonitorElement * meEEhitLog10Energy_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
MonitorElement * meEEhitLog10EnergyNorm_
std::vector< uint32_t > getIdsAroundMax(int nCellInX, int nCellInY, int centralX, int centralY, int centralZ, MapType &themap)
float eCluster2x2(MapType &themap)
EcalEndcapSimHitsValidation(const edm::ParameterSet &ps)
Constructor.