29 if (
verbose_ ) dbe_->showDirStructure();
38 sprintf (histo,
"multiplicity" ) ;
41 for (
int ii = 0;
ii < 3 ;
ii++ ) {
42 sprintf (histo,
"esRefHistos%02d",
ii) ;
46 for (
int ii = 0;
ii < 3 ;
ii++ ) {
47 sprintf (histo,
"esRefHistosCorr%02d",
ii) ;
48 meESDigiCorr_[
ii] = dbe_->book2D(histo, histo, 35, 983.5, 1018.5, 35, 983.5, 1018.5) ;
51 meESDigi3D_ = dbe_->book3D(
"meESDigi3D_",
"meESDigi3D_", 35, 983.5, 1018.5, 35, 983.5, 1018.5, 35, 983.5, 1018.5) ;
63 if( !EcalDigiES.
isValid() )
return;
68 std::vector<double> esADCCounts ;
73 for (
unsigned int digis=0; digis<EcalDigiES->size(); ++digis) {
76 int nrSamples=esdf.
size();
int adc(sample_type sample)
get the ADC sample (12 bits)
MonitorElement * meESDigi3D_
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
EcalPreshowerNoiseDistrib(const edm::ParameterSet &ps)
Constructor.
MonitorElement * meESDigiADC_[3]
MonitorElement * meESDigiCorr_[3]
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
static const int MAXSAMPLES
T const * product() const
edm::EDGetTokenT< ESDigiCollection > ESdigiCollectionToken_
MonitorElement * meESDigiMultiplicity_
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
int adc() const
get the ADC sample (singed 16 bits)