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);
void update(const BeginOfEvent *) override
This routine will be called when the appropriate signal arrives.
FloatVector eOfEEMinusCaloG4Hit
math::XYZTLorentzVector theMomentum
FloatVector eOfESCaloG4Hit
bool fillEEMatrix(int nCellInEta, int nCellInPhi, int CentralEta, int CentralPhi, int CentralZ, MapType &fillmap, MapType &themap)
FloatVector etaOfESCaloG4Hit
FloatVector eOfEBCaloG4Hit
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
void fillEventInfo(PEcalValidInfo &)
std::vector< float > FloatVector
uint32_t getUnitWithMaxEnergy(MapType &themap)
bool fillEBMatrix(int nCellInEta, int nCellInPhi, int CentralEta, int CentralPhi, int CentralZ, MapType &fillmap, MapType &themap)
float energyInEBMatrix(int nCellInX, int nCellInY, int centralX, int centralY, int centralZ, MapType &themap)
FloatVector etaOfEBCaloG4Hit
FloatVector phiOfEECaloG4Hit
FloatVector eOfEEPlusCaloG4Hit
std::map< uint32_t, float, std::less< uint32_t > > MapType
FloatVector phiOfEBCaloG4Hit
float energyInEEMatrix(int nCellInX, int nCellInY, int centralX, int centralY, int centralZ, MapType &themap)
const EcalSimHitsValidProducer & operator=(const EcalSimHitsValidProducer &)=delete
FloatVector tOfEECaloG4Hit
FloatVector tOfESCaloG4Hit
math::XYZTLorentzVector theVertex
void produce(edm::Event &, const edm::EventSetup &) override
FloatVector eOfEECaloG4Hit
float eCluster2x2(MapType &themap)
~EcalSimHitsValidProducer() override
FloatVector phiOfESCaloG4Hit
FloatVector etaOfEECaloG4Hit
EcalSimHitsValidProducer(const edm::ParameterSet &)
FloatVector tOfEBCaloG4Hit
float eCluster4x4(float e33, MapType &themap)