5 #ifndef ECALSIMPLESOURCE_H
6 #define ECALSIMPLESOURCE_H
77 const std::string&
to)
const;
85 return (iEta0<85)?iEta0-85:iEta0-84;
94 return (iPhi0+10)%360+1;
103 return (iEta0<28)?iEta0-28:iEta0-27;
virtual bool produce(edm::Event &evt)
std::auto_ptr< TFormula > formula_
std::auto_ptr< TFormula > tpFormula_
int cIndex2iPhi(int iPhi0) const
virtual ~EcalSimpleSource()
EcalSimpleSource(const edm::ParameterSet &pset, const edm::InputSourceDescription &sdesc)
int cIndex2iTtPhi(int iPhi0) const
static std::string from(" from ")
int cIndex2iTtEta(int iEta0) const
void replaceAll(std::string &s, const std::string &from, const std::string &to) const
std::auto_ptr< TFormula > simHitFormula_
int cIndex2iEta(int iEta0) const