37 _presample(iConfig.getUntrackedParameter<double>(
"nPresamples", 6.7)),
38 _nsamplesaftmax(iConfig.getUntrackedParameter<unsigned
int>(
"nSamplesAftMax", 80)),
39 _nsamplesbefmax(iConfig.getUntrackedParameter<unsigned
int>(
"nSamplesBefMax", 20)),
40 _noiseCut(iConfig.getUntrackedParameter<unsigned
int>(
"noiseCut", 7)),
41 _parabnbefmax(iConfig.getUntrackedParameter<unsigned
int>(
"paraBeforeMax", 8)),
42 _parabnaftmax(iConfig.getUntrackedParameter<unsigned
int>(
"paraAfterMax", 7)),
43 _thres(iConfig.getUntrackedParameter<unsigned
int>(
"threshold", 10)),
44 _lowlev(iConfig.getUntrackedParameter<unsigned
int>(
"lowLevel", 20)),
45 _highlev(iConfig.getUntrackedParameter<unsigned
int>(
"highLevel", 80)),
46 _nevlasers(iConfig.getUntrackedParameter<unsigned
int>(
"nEventLaser", 600))
90 matacqDigi = pmatacqDigi.
product();
102 DCCHeader = pDCCHeader.
product();
113 event = headerItr->getLV1();
120 runType = headerItr->getRunType();
121 runNum = headerItr->getRunNumber();
132 stringstream namefile;
134 namefile <<
resdir_ <<
"/MatacqPerEvt-Run" <<
runNum <<
".root";
141 tree =
new TTree(
"MatacqTree",
"MatacqTree");
171 mat <<
"matacq[" <<
nsamples <<
"]/D" << endl;
173 tree->Branch(
"event", &
event,
"event/I");
176 tree->Branch(
"matacq", &
matacq, mat.str().c_str());
178 tree->Branch(
"ttrig", &
ttrig,
"ttrig/D");
192 for (
int i = 0;
i < digis.
size(); ++
i) {