18 ESdigiCollection_(ps.getParameter<edm::
InputTag>(
"ESdigiCollection"))
38 if (
verbose_ ) dbe_->showDirStructure();
43 for (
int i = 0;
i < 3 ;
i++ ) {
50 dbe_->setCurrentFolder(
"EcalDigisV/EcalDigiTask");
52 sprintf (histo,
"EcalDigiTask Preshower digis multiplicity" ) ;
55 for (
int i = 0;
i < 3 ;
i++ ) {
57 sprintf (histo,
"EcalDigiTask Preshower ADC pulse %02d",
i+1) ;
58 meESDigiADC_[
i] = dbe_->book1D(histo, histo, 4096, -0.5, 4095.5) ;
74 if( !EcalDigiES.
isValid() )
return;
82 std::vector<double> esADCCounts ;
87 for (
unsigned int digis=0; digis<EcalDigiES->size(); ++digis) {
90 int nrSamples=esdf.
size();
105 LogDebug(
"DigiInfo") <<
"Preshower Digi for ESDetId: z side " << esid.
zside() <<
" plane " << esid.
plane() << esid.
six() <<
',' << esid.
siy() <<
':' << esid.
strip();
106 for (
int i = 0;
i < 3 ;
i++ ) {
107 LogDebug(
"DigiInfo") <<
"sample " <<
i <<
" ADC = " << esADCCounts[
i];
111 for (
int i = 0 ;
i < 3 ;
i++ ) {
T getUntrackedParameter(std::string const &, T const &) const
edm::InputTag ESdigiCollection_
MonitorElement * meESDigiADC_[3]
const ESDetId & id() const
MonitorElement * meESDigiMultiplicity_
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
static const int MAXSAMPLES
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
T const * product() const
EcalPreshowerDigisValidation(const edm::ParameterSet &ps)
Constructor.
int adc() const
get the ADC sample (singed 16 bits)