13 ESdigiCollection_(ps.getParameter<edm::
InputTag>(
"ESdigiCollection"))
33 if (
verbose_ ) dbe_->showDirStructure();
42 sprintf (histo,
"multiplicity" ) ;
45 for (
int ii = 0;
ii < 3 ;
ii++ ) {
46 sprintf (histo,
"esRefHistos%02d",
ii) ;
50 for (
int ii = 0;
ii < 3 ;
ii++ ) {
51 sprintf (histo,
"esRefHistosCorr%02d",
ii) ;
52 meESDigiCorr_[
ii] = dbe_->book2D(histo, histo, 35, 983.5, 1018.5, 35, 983.5, 1018.5) ;
55 meESDigi3D_ = dbe_->book3D(
"meESDigi3D_",
"meESDigi3D_", 35, 983.5, 1018.5, 35, 983.5, 1018.5, 35, 983.5, 1018.5) ;
67 if( !EcalDigiES.
isValid() )
return;
72 std::vector<double> esADCCounts ;
77 for (
unsigned int digis=0; digis<EcalDigiES->size(); ++digis) {
80 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
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
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::InputTag ESdigiCollection_
T const * product() const
MonitorElement * meESDigiMultiplicity_
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
int adc() const
get the ADC sample (singed 16 bits)