![]() |
AliRoot Core
3dc7879 (3dc7879)
|
Make histograms from VTrackerData and VPainter objects. More...
#include <AliMUONTrackerDataHistogrammer.h>
Public Member Functions | |
AliMUONTrackerDataHistogrammer (const AliMUONVTrackerData &data, Int_t externalDim, Int_t internalDim=-1) | |
virtual | ~AliMUONTrackerDataHistogrammer () |
TH1 * | CreateChannelHisto (Int_t detElemId, Int_t manuId, Int_t manuChannel) const |
Bool_t | IsInternalMode () const |
Whether we are working with internal dimensions or external ones. More... | |
Static Public Member Functions | |
static TH1 * | CreateHisto (const AliMUONVPainter &painter, Int_t externalDim, Int_t internalDim) |
Private Member Functions | |
TH1 * | CreateManuHisto (Int_t detElemId, Int_t manuId, Int_t nbins, Double_t xmin, Double_t xmax) const |
TH1 * | CreateHisto (const char *basename, Int_t nbins, Double_t xmin, Double_t xmax) const |
void | GetDataRange (const TObjArray &manuList, Double_t &xmin, Double_t &xmax) const |
void | Add (TH1 &h, const AliMUONSparseHisto &sh) const |
void | AddBusPatchHisto (TH1 &h, Int_t busPatchId) const |
void | AddDEHisto (TH1 &h, Int_t detElemId) const |
void | AddManuHisto (TH1 &h, Int_t detElemId, Int_t manuId) const |
Private Attributes | |
const AliMUONVTrackerData & | fkData |
data we'll histogram More... | |
Int_t | fExternalDim |
(external) dimension we'll histogram More... | |
Int_t | fInternalDim |
(internal) dimension we'll make histogram for More... | |
Make histograms from VTrackerData and VPainter objects.
Class to generate histograms from AliMUONVTrackerData (and AliMUONVPainter) objects
Definition at line 24 of file AliMUONTrackerDataHistogrammer.h.
CLASSIMP AliMUONTrackerDataHistogrammer::AliMUONTrackerDataHistogrammer | ( | const AliMUONVTrackerData & | data, |
Int_t | externalDim, | ||
Int_t | internalDim = -1 |
||
) |
ctor
Definition at line 50 of file AliMUONTrackerDataHistogrammer.cxx.
|
virtual |
dtor
Definition at line 62 of file AliMUONTrackerDataHistogrammer.cxx.
|
private |
Add sparse histo content to histogram.
Definition at line 69 of file AliMUONTrackerDataHistogrammer.cxx.
Referenced by AddManuHisto(), CreateChannelHisto(), and IsInternalMode().
|
private |
Add data from one bus patch to the histogram
Definition at line 92 of file AliMUONTrackerDataHistogrammer.cxx.
Referenced by AddDEHisto(), and IsInternalMode().
|
private |
Add data from one detection element to the histogram
Definition at line 108 of file AliMUONTrackerDataHistogrammer.cxx.
Referenced by IsInternalMode().
|
private |
Add data from a given manu to histogram
Definition at line 125 of file AliMUONTrackerDataHistogrammer.cxx.
Referenced by AddBusPatchHisto(), CreateManuHisto(), and IsInternalMode().
TH1 * AliMUONTrackerDataHistogrammer::CreateChannelHisto | ( | Int_t | detElemId, |
Int_t | manuId, | ||
Int_t | manuChannel | ||
) | const |
Create histogram of a given channel. Note that in order to keep memory footprint as low as possible, you should delete the returned pointer as soon as possible...
Definition at line 173 of file AliMUONTrackerDataHistogrammer.cxx.
Referenced by AliMUONManuPadPainter::DrawHistogramClone().
|
static |
Create an histogram, from given dim of given data, for all the channels handled by painter
Definition at line 228 of file AliMUONTrackerDataHistogrammer.cxx.
Referenced by CreateChannelHisto(), CreateHisto(), CreateManuHisto(), AliMUONVPainter::DrawHistogramClone(), AliMUONVPainter::DrawInternalHistogramClone(), and IsInternalMode().
|
private |
Create a single histogram
Definition at line 205 of file AliMUONTrackerDataHistogrammer.cxx.
|
private |
Create histogram of a given manu. Note that in order to keep memory footprint as low as possible, you should delete the returned pointer as soon as possible...
Definition at line 320 of file AliMUONTrackerDataHistogrammer.cxx.
Referenced by CreateHisto(), and IsInternalMode().
|
private |
Get data range (in case of InternalMode() only) spanned by the manus in manuArray
Definition at line 346 of file AliMUONTrackerDataHistogrammer.cxx.
Referenced by CreateHisto(), and IsInternalMode().
|
inline |
Whether we are working with internal dimensions or external ones.
Definition at line 40 of file AliMUONTrackerDataHistogrammer.h.
Referenced by AddManuHisto(), CreateHisto(), and GetDataRange().
|
private |
(external) dimension we'll histogram
Definition at line 60 of file AliMUONTrackerDataHistogrammer.h.
Referenced by AddManuHisto(), CreateChannelHisto(), and CreateManuHisto().
|
private |
(internal) dimension we'll make histogram for
Definition at line 61 of file AliMUONTrackerDataHistogrammer.h.
Referenced by AddManuHisto(), CreateManuHisto(), GetDataRange(), and IsInternalMode().
|
private |
data we'll histogram
Definition at line 59 of file AliMUONTrackerDataHistogrammer.h.
Referenced by AddBusPatchHisto(), AddDEHisto(), AddManuHisto(), CreateChannelHisto(), CreateManuHisto(), and GetDataRange().