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