Go to the documentation of this file. 1 #ifndef _EcalSimHitsValidProducer_h
2 #define _EcalSimHitsValidProducer_h
26 public Observer<const BeginOfEvent *>,
28 public Observer<const EndOfEvent *> {
30 typedef std::map<uint32_t, float, std::less<uint32_t>>
MapType;
42 void update(
const G4Step *)
override;
54 int nCellInEta,
int nCellInPhi,
int CentralEta,
int CentralPhi,
int CentralZ,
MapType &fillmap,
MapType &themap);
57 int nCellInEta,
int nCellInPhi,
int CentralEta,
int CentralPhi,
int CentralZ,
MapType &fillmap,
MapType &themap);
float eCluster4x4(float e33, MapType &themap)
void produce(edm::Event &, const edm::EventSetup &) override
float eCluster2x2(MapType &themap)
bool fillEBMatrix(int nCellInEta, int nCellInPhi, int CentralEta, int CentralPhi, int CentralZ, MapType &fillmap, MapType &themap)
FloatVector phiOfESCaloG4Hit
FloatVector eOfEECaloG4Hit
math::XYZTLorentzVector theMomentum
float energyInEEMatrix(int nCellInX, int nCellInY, int centralX, int centralY, int centralZ, MapType &themap)
~EcalSimHitsValidProducer() override
FloatVector etaOfESCaloG4Hit
math::XYZTLorentzVector theVertex
float energyInEBMatrix(int nCellInX, int nCellInY, int centralX, int centralY, int centralZ, MapType &themap)
uint32_t getUnitWithMaxEnergy(MapType &themap)
FloatVector phiOfEECaloG4Hit
std::map< uint32_t, float, std::less< uint32_t > > MapType
void update(const BeginOfEvent *) override
This routine will be called when the appropriate signal arrives.
EcalSimHitsValidProducer(const edm::ParameterSet &)
FloatVector tOfEBCaloG4Hit
FloatVector eOfESCaloG4Hit
FloatVector tOfESCaloG4Hit
FloatVector tOfEECaloG4Hit
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
FloatVector etaOfEBCaloG4Hit
FloatVector eOfEEMinusCaloG4Hit
FloatVector phiOfEBCaloG4Hit
std::vector< float > FloatVector
void fillEventInfo(PEcalValidInfo &)
bool fillEEMatrix(int nCellInEta, int nCellInPhi, int CentralEta, int CentralPhi, int CentralZ, MapType &fillmap, MapType &themap)
FloatVector etaOfEECaloG4Hit
const EcalSimHitsValidProducer & operator=(const EcalSimHitsValidProducer &)=delete
FloatVector eOfEEPlusCaloG4Hit
FloatVector eOfEBCaloG4Hit