44 const std::vector<unsigned>& moduleIDs = std::vector<unsigned>());
52 void fillBin(
unsigned hapdID,
unsigned chID,
double weight = 1.);
60 void setBinContent(
unsigned hapdID,
unsigned chID,
double value);
67 void fillBin(
unsigned hapdID,
double weight = 1.);
80 void Draw(Option_t* option =
"")
override;
ARICH histogram with HAPD plane 3 options for bin segmentation are available type 0 - one bin per HAP...
void fillFromTH1(TH1 *hist)
Fill the channelHist from the histogram Type 0 channelHist has to be filled with 420*144bin TH1 (each...
void Draw(Option_t *option="") override
Draw the histogram.
void setBinContent(unsigned hapdID, unsigned chID, double value)
Set content of bin corresponding to hapd hapdID and channel chID.
ClassDefOverride(ARICHChannelHist, 2)
ClassDef.
std::vector< unsigned > m_hapd2binMap
map of bins
TLine lines[6]
array of lines
ARICHChannelHist()
Default constructor.
void fillBin(unsigned hapdID, unsigned chID, double weight=1.)
Add entry to bin corresponding to hapd hapdID and channel chID.
TText labels[6]
array of labels
void setPoly(TH2Poly *poly)
Fill pure TH2Poly from ARICHChannelHist, makes bins and fills content.
Abstract base class for different kinds of events.