1 #ifndef FastSimulation__EcalPreshowerRecHitsMaker__h
2 #define FastSimulation__EcalPreshowerRecHitsMaker__h
42 void noisifySubdet(
std::map<uint32_t, std::pair<float,bool> >& theMap,
const std::vector<uint32_t>& thecells,
unsigned ncells);
45 void Fill(uint32_t
id,
float energy,
std::map<uint32_t,std::pair<float,bool> >& myHits,
bool signal=
true);
std::vector< uint32_t > escells_
double preshowerHotFraction_
std::map< uint32_t, std::pair< float, bool > > ecalsRecHits_
const RandomEngine * random_
void noisifySubdet(std::map< uint32_t, std::pair< float, bool > > &theMap, const std::vector< uint32_t > &thecells, unsigned ncells)
unsigned createVectorsOfCells(const edm::EventSetup &es)
EcalPreshowerRecHitsMaker(edm::ParameterSet const &p, const RandomEngine *random)
~EcalPreshowerRecHitsMaker()
const GaussianTail * myGaussianTailGenerator_
void Fill(uint32_t id, float energy, std::map< uint32_t, std::pair< float, bool > > &myHits, bool signal=true)
void loadPCaloHits(const edm::Event &iEvent)
void noisifySignal(std::map< uint32_t, std::pair< float, bool > > &theMap)
void loadEcalPreshowerRecHits(edm::Event &iEvent, ESRecHitCollection &esRecHits)
void init(const edm::EventSetup &es)