}
//_____________________________________________________________________
-AliFMDQADataMakerRec& AliFMDQADataMakerRec::operator = (const AliFMDQADataMakerRec& qadm )
+AliFMDQADataMakerRec&
+AliFMDQADataMakerRec::operator = (const AliFMDQADataMakerRec& qadm )
{
+ //
+ // Assignment operator
+ //
+ // Parameters:
+ // qadm What to assign from
+ //
+ // Return:
+ // Reference to this
+ //
fRecPointsArray = qadm.fRecPointsArray;
return *this;
//_____________________________________________________________________
AliFMDQADataMakerRec::~AliFMDQADataMakerRec()
{
-
+ //
+ // Destrcutor
+ //
}
const Bool_t expert = kTRUE ;
const Bool_t image = kTRUE ;
- TH1I* hADCCounts = new TH1I("hADCCounts","Dist of ADC counts;ADC counts;Counts",1024,0,1024);
+ TH1I* hADCCounts = new TH1I("hADCCounts",
+ "Dist of ADC counts;ADC counts;Counts",
+ 1024,0,1024);
Add2DigitsList(hADCCounts, 0, !expert, image);
}
Int_t firstring = (det==1 ? 1 : 0);
for(Int_t iring = firstring;iring<=1;iring++) {
Char_t ring = (iring == 1 ? 'I' : 'O');
- hADCCounts = new TH1I(Form("hADCCounts_FMD%d%c",
- det, ring), Form("FMD%d%c ADC counts;Amplitude [ADC counts];Counts",det,ring),
- 1024,0,1023);
+ hADCCounts =
+ new TH1I(Form("hADCCounts_FMD%d%c", det, ring),
+ Form("FMD%d%c ADC counts;Amplitude [ADC counts];Counts",
+ det,ring),1024,0,1023);
hADCCounts->SetFillStyle(3001);
- hADCCounts->SetFillColor(colors[det-1]+2-2*iring);
-
+ hADCCounts->SetFillColor(colors[det-1]+2+iring);
+ hADCCounts->SetDrawOption("LOGY");
+
Int_t index1 = GetHalfringIndex(det, ring, 0,1);
Add2RawsList(hADCCounts, index1, !expert, image, !saveCorr);
board = board + b*16;
- hADCCounts = new TH1I(Form("hADCCounts_FMD%d%c_board%d",
- det, ring, board), "ADC counts;Amplitude [ADC counts];Counts",
- 1024,0,1023);
+ hADCCounts =
+ new TH1I(Form("hADCCounts_FMD%d%c_0x%02x", det, ring, board),
+ Form("FMD%d%c_0x%x ADC counts;Amplitude [ADC counts];Counts",
+ det,ring, board),1024,0,1023);
hADCCounts->SetXTitle("ADC counts");
hADCCounts->SetYTitle("");
+ hADCCounts->SetFillStyle(3001);
+ hADCCounts->SetFillColor(colors[det-1]+2+iring);
+ hADCCounts->SetDrawOption("LOGY");
Int_t index2 = GetHalfringIndex(det, ring, board/16,0);
Add2RawsList(hADCCounts, index2, expert, !image, !saveCorr);
//_____________________________________________________________________
void AliFMDQADataMakerRec::MakeESDs(AliESDEvent * esd)
{
+ //
+ // Analyse ESD event
+ //
+ // Parameters:
+ // esd ESD event
+ //
if(!esd) {
AliError("FMD ESD object not found!!") ;
return;
//_____________________________________________________________________
void AliFMDQADataMakerRec::MakeDigits(TTree * digitTree)
{
+ //
+ // Analyse digits
+ //
+ // Parameters:
+ // digitTree Tree of digits
+ //
if (fDigitsArray)
fDigitsArray->Clear();
//_____________________________________________________________________
void AliFMDQADataMakerRec::MakeRaws(AliRawReader* rawReader)
{
+ //
+ // Analyse raw
+ //
+ // Parameters:
+ // rawReader Raw reader
+ //
- AliFMDRawReader fmdReader(rawReader,0);
+ AliFMDRawReader fmdReader(rawReader,0);
if (fDigitsArray)
fDigitsArray->Clear();
Int_t AliFMDQADataMakerRec::GetHalfringIndex(UShort_t det,
Char_t ring,
UShort_t board,
- UShort_t monitor) {
-
+ UShort_t monitor) const
+{
+ //
+ // Get the half-ring index
+ //
+ // Parameters:
+ // det Detector
+ // ring Ring
+ // board Board number
+ // monitor Monitor
+ //
+ // Return:
+ // Half ring index
+ //
UShort_t iring = (ring == 'I' ? 1 : 0);
-
- Int_t index = ( ((det-1) << 3) | (iring << 2) | (board << 1) | (monitor << 0));
+ Int_t index = ( ((det-1) << 3) | (iring << 2) | (board << 1) |
+ (monitor << 0));
return index-2;
-
}
//_____________________________________________________________________