9 ESdigiCollectionToken_( consumes<
ESDigiCollection>( ps.getParameter<
edm::InputTag>(
"ESdigiCollection" ) ) )
24 sprintf (histo,
"multiplicity" ) ;
27 for (
int ii = 0;
ii < 3 ;
ii++ ) {
28 sprintf (histo,
"esRefHistos%02d",
ii) ;
32 for (
int ii = 0;
ii < 3 ;
ii++ ) {
33 sprintf (histo,
"esRefHistosCorr%02d",
ii) ;
37 meESDigi3D_ = ibooker.
book3D(
"meESDigi3D_",
"meESDigi3D_", 35, 983.5, 1018.5, 35, 983.5, 1018.5, 35, 983.5, 1018.5) ;
48 if( !EcalDigiES.
isValid() )
return;
53 std::vector<double> esADCCounts ;
58 for (
unsigned int digis=0; digis<EcalDigiES->
size(); ++digis) {
61 int nrSamples=esdf.
size();
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
MonitorElement * book1D(Args &&...args)
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
void reserve(size_t isize)
T const * product() const
MonitorElement * book2D(Args &&...args)
edm::EDGetTokenT< ESDigiCollection > ESdigiCollectionToken_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
Analyze.
MonitorElement * meESDigiMultiplicity_
int adc() const
get the ADC sample (singed 16 bits)
MonitorElement * book3D(Args &&...args)