40 _presample( iConfig.getUntrackedParameter< double >(
"nPresamples", 6.7 ) ),
41 _nsamplesaftmax(iConfig.getUntrackedParameter< unsigned int >(
"nSamplesAftMax", 80 ) ),
42 _nsamplesbefmax(iConfig.getUntrackedParameter< unsigned int >(
"nSamplesBefMax", 20 ) ),
43 _noiseCut( iConfig.getUntrackedParameter< unsigned int >(
"noiseCut", 7 ) ),
44 _parabnbefmax( iConfig.getUntrackedParameter< unsigned int >(
"paraBeforeMax", 8 ) ),
45 _parabnaftmax( iConfig.getUntrackedParameter< unsigned int >(
"paraAfterMax", 7 ) ),
46 _thres( iConfig.getUntrackedParameter< unsigned int >(
"threshold", 10 ) ),
47 _lowlev( iConfig.getUntrackedParameter< unsigned int >(
"lowLevel", 20 ) ),
48 _highlev( iConfig.getUntrackedParameter< unsigned int >(
"highLevel", 80 ) ),
49 _nevlasers( iConfig.getUntrackedParameter< unsigned int >(
"nEventLaser", 600 ) )
101 matacqDigi=pmatacqDigi.
product();
114 DCCHeader=pDCCHeader.
product();
126 event=headerItr->getLV1();
133 runType=headerItr->getRunType();
134 runNum=headerItr->getRunNumber();
155 tree =
new TTree(
"MatacqTree",
"MatacqTree");
186 mat <<
"matacq["<<
nsamples<<
"]/D"<< endl;
188 tree->Branch(
"event", &
event,
"event/I" );
191 tree->Branch(
"matacq", &
matacq , mat.str().c_str() );
193 tree->Branch(
"ttrig", &
ttrig ,
"ttrig/D" );
195 tree->SetBranchAddress(
"event", &
event );
200 tree->SetBranchAddress(
"ttrig", &
ttrig );
207 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< T >::const_iterator const_iterator
~EcalPerEvtMatacqAnalyzer()
const float adcCount(const int &i) const
const T & max(const T &a, const T &b)
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