1 #ifndef FastSimulation__HcalRecHitsMaker__h
2 #define FastSimulation__HcalRecHitsMaker__h
45 void Fill(
int id,
float energy, std::vector<int> & myHits,
float noise,
float correctionfactor);
49 void cleanSubDet(std::vector<float>& hits,std::vector<int>& cells);
83 static std::vector<float>
peds_;
85 static std::vector<float>
sat_;
static std::vector< float > peds_
HcalRecHitsMaker(edm::ParameterSet const &p, int, const RandomEngine *random)
static std::vector< float > sat_
std::vector< GaussianTail * > myGaussianTailGenerators_
void Fill(int id, float energy, std::vector< int > &myHits, float noise, float correctionfactor)
int fCtoAdc(double fc) const
std::vector< double > hcalHotFraction_
unsigned createVectorOfSubdetectorCells(const CaloGeometry &, int subdetn, std::vector< int > &)
double noiseInfCfromDB(const HcalDbService *conditions, const HcalDetId &detId)
std::vector< double > noise_
std::vector< float > hcalRecHits_
static std::vector< float > TPGFactor_
const RandomEngine * random_
static std::vector< int > hfhi_
unsigned createVectorsOfCells(const edm::EventSetup &es)
std::vector< double > corrfac_
static std::vector< float > noisesigma_
double fractionOOT(int time_slice)
std::vector< double > threshold_
static std::vector< int > hohi_
static std::vector< int > fctoadc_
void loadPCaloHits(const edm::Event &iEvent)
std::string hcalfileinpath_
static std::vector< HcalDetId > theDetIds_
static unsigned maxIndex_
const HcalRespCorrs * myRespCorr
unsigned noisifySubdet(std::vector< float > &theMap, std::vector< int > &theHits, const std::vector< int > &thecells, unsigned ncells, double hcalHotFraction_, const GaussianTail *, double sigma, double threshold, double correctionfactor)
static std::vector< float > gains_
void loadHcalRecHits(edm::Event &iEvent, HBHERecHitCollection &hbheHits, HBHEDigiCollection &hbheDigis)
void cleanSubDet(std::vector< float > &hits, std::vector< int > &cells)
std::vector< int > firedCells_
static std::vector< int > hbhi_
static std::vector< float > miscalib_
static std::vector< int > hehi_
void init(const edm::EventSetup &es, bool dodigis, bool domiscalib)