50 : fDomId(domId), fIndex(index), fPmtId(pmtId) { fAfterpulse =
false; }
74 void FillSignal(
const std::vector<signal>& sigSample,
long long int time);
90 void FillDurations(
const std::vector<dom>& domSample,
double cutValues[
domNb][
pmtNb],
const std::vector<int>& vDomId);
92 void FillDurations(
const std::vector<event>& eventSample,
double cutValues[
domNb][
pmtNb],
const std::vector<int>& vDomId);
101 void FillFrequency(
const std::vector<dom>& domSample,
double cutValues[
domNb][
pmtNb],
const std::vector<int>& vDomId);
103 void FillFrequency(
const std::vector<event>& eventSample,
double cutValues[
domNb][
pmtNb],
const std::vector<int>& vDomId);
108 void DrawPmtStat(
const std::vector<pmt>& pmtSample);
110 void DrawPmtStats(
const std::vector<dom>& domSample,
const std::vector<int>& vDomId);
112 void DrawPmtStats(
const std::vector<event>& eventSample,
const std::vector<int>& vDomId);
116 void InitDeltaT(
const std::vector<int>& vDomId);
118 void FillDeltaT(
const std::vector<triggeredSignals>& vTrigger,
const int domId,
const int refID);
120 void FillDeltaT(
const std::vector<triggeredSignals>& vTrigger);
128 void FillDomDeltaT(
const std::vector<triggeredSignals>& vTrigger,
const std::vector<int>& vDomId);
140 void InitEventPerSlice(
const bool individualPmt,
const std::vector<int>& vDomId);
142 void FillEventPerSlice(
const std::vector<dom>& domSample,
const bool individualPmt,
const std::vector<int>& vDomId);
147 int FindDomIndex(
const int id,
const std::vector<int>& vDomId);
152 void FillSliceTimeSeries(
const std::vector<dom>& domSample,
const std::vector<int>& vDomId);
164 TH1D* fhDuration1peMean[
domNb];
165 TH1D* fhDuration1peFit[
domNb];
167 TCanvas* fcDuration1peMean[
domNb];
168 TCanvas* fcDuration1peFit[
domNb];
175 TH1I* fhSignalSpe[
domNb];
176 TCanvas* fcSignalSpe[
domNb];
183 TH1I* fhCoincRate[
domNb];
184 TCanvas* fcCoincRate[
domNb];
185 TH1D* fhEventPerSlice[
domNb];
186 TCanvas* fcEventPerSlice[
domNb];
189 TH1D* fhSliceTimeSeries[
domNb];
190 TCanvas* fcSliceTimeSeries[
domNb];
void DrawDuration()
draw the histo
void DrawSliceTimeSeries()
draw the slice time series histo.
void DrawPmtStat(const std::vector< pmt > &pmtSample)
draw the number of signal as a function of the pmt number (for one dom)
histo(const int domId, const int index, const int pmtId)
void InitDeltaT(const int refID)
initialize the delta T histo (time difference between pmts).
void FillDeltaT(const std::vector< triggeredSignals > &vTrigger, const int domId, const int refID)
fill the time difference between all pmts and the reference pmt (given by the integer) ...
void FillFrequency(const int domId, const std::vector< pmt > &pmtSample, double cutValues[domNb][pmtNb])
fill the histo with the time difference between 2 signals for a list of signals (one histo per Pmt nu...
void InitDuration()
initialize the duration histo
void DrawDurations()
draw the histo, one per pmt
void InitSignal()
initialize the signal histo.
void FillEventPerSlice(const std::vector< dom > &domSample, const bool individualPmt, const std::vector< int > &vDomId)
fill the event per slice histo.
const int GetPmtId() const
get the ID of the Pmt use for specific plots (signal, duration)
void FillDomDeltaT(const std::vector< triggeredSignals > &vTrigger, const std::vector< int > &vDomId)
fill the time difference between all Dom neighbors
void SetRunId(const int id)
set the ID of the run
void FillCoincidenceRate(const std::vector< triggeredSignals > &vTrigger)
Fill the coincidence rate histo.
void InitFrequency(const std::vector< int > &vDomId)
initialize the frequency histo (depends on the pmt id).
void SetPmtId(const int id)
set the ID of the Pmt
void DrawDomDeltaT()
draw the histo
replace drawing.h: do online histos
void SetIndex(const int id)
set the ID of the event
void DrawCoincidenceRate()
draw the coincidence rate histo.
void DrawEventPerSlice(const bool individualPmt, double cutValues[domNb][pmtNb], const std::vector< int > &vDomId)
draw the event per slice histo.
void DrawSignal()
draw the histo
void SetDomId(const int id)
set the Id of the DOM
void FillSliceTimeSeries(const std::vector< dom > &domSample, const std::vector< int > &vDomId)
fill the slice time series histo.
void DrawFrequency()
draw the histo, one per pmt
void FillSignal(const signal &sig)
fill the histo with one signal (it can be for instance one signal of one Pmt of one DOM) ...
void InitCoincidenceRate(const std::vector< int > &vDomId)
initialize the coincidence rate histo.
void DrawPmtStats(const std::vector< dom > &domSample, const std::vector< int > &vDomId)
draw the number of signal as a function of the pmt number (for one event)
void FillDurations(const int domId, const std::vector< pmt > &pmtSample, double cutValues[domNb][pmtNb])
fill the histo with all the signal durations of a list of signal (one histo per Pmt number) ...
const int GetRunId() const
get the ID of the run
const int GetDomId() const
get the Id of the DOM use for specific plots (signal, signals, duration, PmtStat) ...
int FindDomIndex(const int id, const std::vector< int > &vDomId)
find the index associates to a Dom Id
void InitDomDeltaT(const std::vector< int > &vDomId)
initialize the delta T histo (time difference between doms).
void FillDuration(const std::vector< signal > &sig)
fill the histo with the duration of a list of signals (it can be for instance all signals of one Pmt ...
void InitEventPerSlice(const bool individualPmt, const std::vector< int > &vDomId)
initialize the event per slice histo.
void InitSliceTimeSeries(const std::vector< int > &vDomId)
initialize the slice time series histo.
const int GetIndex() const
get the ID of the event use for specific plots (signal, signals, duration, PmtStat) ...
void InitDurations(const std::vector< int > &vDomId)
initialize the duration histo (depends on the pmt id).