/search.css" rel="stylesheet" type="text/css"/> /search.js">
#include <PulseParamGenAlg.h>
Public Member Functions | |
DetInfo (const Detector &det) | |
Public Attributes | |
TFile * | histFile |
int | sensorFullPackedData [NUM_PMTS] |
TH2F * | hists [NUM_HISTS] |
Detector | det |
TimeStamp | lastMuonTrig |
Definition at line 19 of file PulseParamGenAlg.h.
DetInfo::DetInfo | ( | const Detector & | det | ) |
Definition at line 67 of file PulseParamGenAlg.cc.
: det(det), lastMuonTrig(0,0) { fill(sensorFullPackedData, sensorFullPackedData + NUM_PMTS, -1); string detName = det.detName(); trim(detName); string fname = string("hists_") + detName + ".root"; histFile = new TFile(fname.c_str(), "recreate"); for (int pmtIdx = 0; pmtIdx < NUM_PMTS; ++pmtIdx) for (int adc = ADC_MIN; adc <= ADC_MAX; adc += ADC_INC) { TH2F* &h = hists[HIST_IDX(pmtIdx, adc)]; h = new TH2F(histName(pmtIdx, adc).c_str(), histTitle(detName, pmtIdx, adc).c_str(), DT_BINS, 0, DT_MAX, PED_BINS, PED_MIN, PED_MAX); initAxes(h); } }
TFile* DetInfo::histFile |
Definition at line 22 of file PulseParamGenAlg.h.
int DetInfo::sensorFullPackedData[NUM_PMTS] |
Definition at line 23 of file PulseParamGenAlg.h.
TH2F* DetInfo::hists[NUM_HISTS] |
Definition at line 24 of file PulseParamGenAlg.h.
Definition at line 25 of file PulseParamGenAlg.h.
Definition at line 26 of file PulseParamGenAlg.h.