1 #ifndef SimCalorimetry_EcalElectronicsEmulationEcalSimpleProducer_h
2 #define SimCalorimetry_EcalElectronicsEmulationEcalSimpleProducer_h
80 return (iEta0<85)?iEta0-85:iEta0-84;
89 return (iPhi0+10)%360+1;
98 return (iEta0<28)?iEta0-28:iEta0-27;
int cIndex2iTtEta(int iEta0) const
std::auto_ptr< TFormula > simHitFormula_
virtual ~EcalSimpleProducer()
virtual void produce(edm::Event &evt, const edm::EventSetup &)
EcalSimpleProducer(const edm::ParameterSet &pset)
std::auto_ptr< TFormula > formula_
int cIndex2iEta(int iEta0) const
std::auto_ptr< TFormula > tpFormula_
int cIndex2iPhi(int iPhi0) const
int cIndex2iTtPhi(int iPhi0) const
void replaceAll(std::string &s, const std::string &from, const std::string &to) const