39 _presample( iConfig.getUntrackedParameter< double >(
"nPresamples", 6.7 ) ),
40 _nsamplesaftmax(iConfig.getUntrackedParameter< unsigned int >(
"nSamplesAftMax", 80 ) ),
41 _nsamplesbefmax(iConfig.getUntrackedParameter< unsigned int >(
"nSamplesBefMax", 20 ) ),
42 _noiseCut( iConfig.getUntrackedParameter< unsigned int >(
"noiseCut", 7 ) ),
43 _parabnbefmax( iConfig.getUntrackedParameter< unsigned int >(
"paraBeforeMax", 8 ) ),
44 _parabnaftmax( iConfig.getUntrackedParameter< unsigned int >(
"paraAfterMax", 7 ) ),
45 _thres( iConfig.getUntrackedParameter< unsigned int >(
"threshold", 10 ) ),
46 _lowlev( iConfig.getUntrackedParameter< unsigned int >(
"lowLevel", 20 ) ),
47 _highlev( iConfig.getUntrackedParameter< unsigned int >(
"highLevel", 80 ) ),
48 _nevlasers( iConfig.getUntrackedParameter< unsigned int >(
"nEventLaser", 600 ) )
100 matacqDigi=pmatacqDigi.
product();
113 DCCHeader=pDCCHeader.
product();
125 event=headerItr->getLV1();
132 runType=headerItr->getRunType();
133 runNum=headerItr->getRunNumber();
154 tree =
new TTree(
"MatacqTree",
"MatacqTree");
185 mat <<
"matacq["<<
nsamples<<
"]/D"<< endl;
187 tree->Branch(
"event", &
event,
"event/I" );
190 tree->Branch(
"matacq", &
matacq , mat.str().c_str() );
192 tree->Branch(
"ttrig", &
ttrig ,
"ttrig/D" );
194 tree->SetBranchAddress(
"event", &
event );
199 tree->SetBranchAddress(
"ttrig", &
ttrig );
206 for(
int i=0;
i<digis.
size(); ++
i){
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
std::string eventHeaderProducer_
std::vector< EcalDCCHeaderBlock >::const_iterator const_iterator
~EcalPerEvtMatacqAnalyzer()
const float adcCount(const int &i) const
EcalPerEvtMatacqAnalyzer(const edm::ParameterSet &iConfig)
std::string eventHeaderCollection_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const_iterator end() const
T const * product() const
std::string digiCollection_
virtual void analyze(const edm::Event &e, const edm::EventSetup &c)
std::string digiProducer_
const_iterator begin() const