///////////////////////////////////////////////////////////////////////
/*
+Modified by fbellini on 01/11/2011
+- removed TLines as functions
+- changed shifters plots for 2012 DQM
+
Modified by fbellini on 01/11/2011
- added histograms for LTM monitoring
- fix for coverity
const Float_t AliTOFQADataMakerRec::fgkNbinsWidthTime=2.44;//width of bins in time plot
Float_t AliTOFQADataMakerRec::fgRangeMinTime=0.0;//range min in time plot
Float_t AliTOFQADataMakerRec::fgRangeMaxTime=620.0; //range max in time plot
-Int_t AliTOFQADataMakerRec::fgCutNmaxFiredMacropad=5;//cut on number of max fired macropad
+Int_t AliTOFQADataMakerRec::fgCutNmaxFiredMacropad=50;//cut on number of max fired macropad
const Int_t AliTOFQADataMakerRec::fgkFiredMacropadLimit=50;//cut on number of max fired macropad
// fLineExpTimeMax = new TLine(250., 0., 250., 0.);
// fLineExpTotMin = new TLine(5., 0., 5., 0.);
// fLineExpTotMax = new TLine(20., 0., 20., 0.);
- for (Int_t sm=0;sm<17;sm++){
+ /*
+ for (Int_t sm=0;sm<17;sm++){
fLineSMid[sm] = new TLine( sm+1, 0., sm+1, 91.);
}
for (Int_t sm=0;sm<22;sm++){
fLineLTMbitId[sm] = new TLine( 0., sm+1, 72. ,sm+1);
}
-
+ */
}
//____________________________________________________________________________
//
SetName((const char*)qadm.GetName()) ;
SetTitle((const char*)qadm.GetTitle());
-
+ /*
for (Int_t sm=0;sm<17;sm++){
fLineSMid[sm]=qadm.fLineSMid[sm];
}
for (Int_t sm=0;sm<22;sm++){
fLineLTMbitId[sm] = qadm.fLineLTMbitId[sm];
}
+ */
}
//__________________________________________________________________
delete fLineExpTotMin;
if (fLineExpTotMax)
delete fLineExpTotMax;
- for (Int_t sm=0;sm<17;sm++){
+ /*
+ for (Int_t sm=0;sm<17;sm++){
if (fLineSMid[sm])
delete fLineSMid[sm];
}
if (fLineLTMbitId[sm])
delete fLineLTMbitId[sm];
}
+ */
}
//----------------------------------------------------------------------------
AliTOFChannelOnlineStatusArray* AliTOFQADataMakerRec::GetCalibData()
//add lines for DQM shifter
fLineExpTimeMin = new TLine(200., 0., 200., 0.);
- fLineExpTimeMax = new TLine(250., 0., 250., 0.);
- fLineExpTotMin = new TLine(5., 0., 5., 0.);
- fLineExpTotMax = new TLine(20., 0., 20., 0.);
+ fLineExpTimeMax = new TLine(300., 0., 300., 0.);
+ fLineExpTotMin = new TLine(10., 0., 10., 0.);
+ fLineExpTotMax = new TLine(15., 0., 15., 0.);
fLineExpTimeMin->SetLineColor(kGreen);
fLineExpTimeMin->SetLineWidth(2);
fLineExpTotMax->SetLineColor(kGreen);
fLineExpTotMax->SetLineWidth(2);
- for (Int_t sm=0;sm<17;sm++){
+ /*
+ for (Int_t sm=0;sm<17;sm++){
fLineSMid[sm]->SetLineColor(kMagenta);
fLineSMid[sm]->SetLineWidth(2);
}
-
+ */
h5->GetListOfFunctions()->Add(fLineExpTimeMin);
h5->GetListOfFunctions()->Add(fLineExpTimeMax);
h10->GetListOfFunctions()->Add(fLineExpTotMin);
h10->GetListOfFunctions()->Add(fLineExpTotMax);
-
+ /*
for (Int_t sm=0;sm<17;sm++){
h16->GetListOfFunctions()->Add(fLineSMid[sm]);
h17->GetListOfFunctions()->Add(fLineSMid[sm]);
}
-
for (Int_t sm=0;sm<71;sm++){
fLineLTMid[sm]->SetLineColor(kBlack);
fLineLTMid[sm]->SetLineWidth(1);
h26->GetListOfFunctions()->Add(fLineLTMbitId[sm]);
h25->GetListOfFunctions()->Add(fLineLTMbitId[sm]);
}
-
+ */
TPaveText *phosHoleBox=new TPaveText(13,38,16,53,"b");
phosHoleBox->SetFillStyle(0);
phosHoleBox->SetFillColor(kWhite);
// h10->SetDrawOption("logy");
Add2RawsList(h0, 0, !expert, image, !saveCorr) ;
- Add2RawsList(h1, 1, expert, !image, !saveCorr) ;
- Add2RawsList(h2, 2, expert, !image, !saveCorr) ;
- Add2RawsList(h3, 3, expert, !image, !saveCorr) ;
- Add2RawsList(h4, 4, expert, !image, !saveCorr) ;
+ Add2RawsList(h1, 1, expert, !image, !saveCorr) ;
+ Add2RawsList(h2, 2, expert, !image, !saveCorr) ;
+ Add2RawsList(h3, 3, expert, !image, !saveCorr) ;
+ Add2RawsList(h4, 4, expert, !image, !saveCorr) ;
Add2RawsList(h5, 5, !expert, image, !saveCorr) ;
- Add2RawsList(h6, 6, expert, !image, !saveCorr) ;
- Add2RawsList(h7, 7, expert, !image, !saveCorr) ;
- Add2RawsList(h8, 8, expert, !image, !saveCorr) ;
- Add2RawsList(h9, 9, expert, !image, !saveCorr) ;
+ Add2RawsList(h6, 6, expert, !image, !saveCorr) ;
+ Add2RawsList(h7, 7, expert, !image, !saveCorr) ;
+ Add2RawsList(h8, 8, expert, !image, !saveCorr) ;
+ Add2RawsList(h9, 9, expert, !image, !saveCorr) ;
Add2RawsList(h10, 10, !expert, image, !saveCorr) ;
Add2RawsList(h11, 11, expert, !image, !saveCorr) ;
Add2RawsList(h12, 12, expert, !image, !saveCorr) ;
Add2RawsList(h13, 13, expert, !image, !saveCorr) ;
Add2RawsList(h14, 14, expert, !image, !saveCorr) ;
Add2RawsList(h15, 15, expert, !image, !saveCorr) ;
- Add2RawsList(h16, 16, !expert, image, !saveCorr) ;
- Add2RawsList(h17, 17, !expert, image, !saveCorr) ;
- Add2RawsList(h18, 18, expert, !image, !saveCorr) ;
- Add2RawsList(h19, 19, expert, !image, !saveCorr) ;
- Add2RawsList(h20, 20, expert, !image, !saveCorr) ;
- Add2RawsList(h21, 21, expert, !image, !saveCorr) ;
- Add2RawsList(h22, 22, !expert, image, !saveCorr) ;
- Add2RawsList(h23, 23, !expert, !image, !saveCorr) ;
- Add2RawsList(h24, 24, !expert, !image, !saveCorr) ;
- Add2RawsList(h25, 25, !expert, !image, !saveCorr) ;
- Add2RawsList(h26, 26, !expert, image, !saveCorr) ;
- Add2RawsList(h27, 27, !expert, image, !saveCorr) ;
- Add2RawsList(h28, 28, !expert, !image, !saveCorr) ;
- Add2RawsList(h29, 29, !expert, !image, !saveCorr) ;
+ Add2RawsList(h16, 16, !expert, image, !saveCorr) ;
+ Add2RawsList(h17, 17, !expert, image, !saveCorr) ;
+ Add2RawsList(h18, 18, expert, !image, !saveCorr) ;
+ Add2RawsList(h19, 19, expert, !image, !saveCorr) ;
+ Add2RawsList(h20, 20, !expert, image, !saveCorr) ;
+ Add2RawsList(h21, 21, !expert, image, !saveCorr) ;
+ Add2RawsList(h22, 22, expert, !image, !saveCorr) ;
+ Add2RawsList(h23, 23, expert, !image, !saveCorr) ;
+ Add2RawsList(h24, 24, expert, !image, !saveCorr) ;
+ Add2RawsList(h25, 25, expert, !image, !saveCorr) ;
+ Add2RawsList(h26, 26, expert, image, !saveCorr) ;
+ Add2RawsList(h27, 27, expert, !image, !saveCorr) ;
+ Add2RawsList(h28, 28, expert, !image, !saveCorr) ;
+ Add2RawsList(h29, 29, expert, !image, !saveCorr) ;
//
ClonePerTrigClass(AliQAv1::kRAWS); // this should be the last line
//
// makes data from Raws
//
+ // AliLog::SetClassDebugLevel("AliRawReader",0);
+ // AliLog::SetClassDebugLevel("AliTOFRawStream",0);
+ // AliLog::SetClassDebugLevel("AliTOFDecoderV2",0);
+ AliLog::SetGlobalLogLevel(AliLog::kError);
if (rawReader->GetType()==7) {
Double_t tdc2ns=AliTOFGeometry::TdcBinWidth()*1E-3;//in ns
//fired macropad map (from LTM hits) - only for low multi evts (UPC)
if ((nFiredMacropad<=fgCutNmaxFiredMacropad)){
iFiredMacropad++;
- AliInfo(Form("Event found with %i fired macropads in BCID = %i!",nFiredMacropad,BCID));
+ //AliInfo(Form("Event found with %i fired macropads in BCID = %i!",nFiredMacropad,BCID));
FillRawsData(26,indexCTTM[0],indexCTTM[1]);
Float_t halfSMphi=-999.0;
if (indexCTTM[0]<36)
}
}//end cut on number of fired macropad
} else {
- AliDebug(1,Form("Event of type %d found. Skipping non-physics event for QA.\n", rawReader->GetType()));
+ AliDebug(2,Form("Event of type %d found. Skipping non-physics event for QA.\n", rawReader->GetType()));
}
//fill reference map for DQM shifter only once in a detector cycle
stripOffset = nStripC+nStripB+nStripA+nStripB;
break;
default:
- AliDebug(1,Form("Wrong plate number in TOF (%d) !",iplate));
+ // AliDebug(2,Form("Wrong plate number in TOF (%d) !",iplate));
break;
};
Int_t zindex=npadZ*(istrip+stripOffset)+(ipadZ+1);
stripOffset = nStripC+nStripB+nStripA+nStripB;
break;
default:
- AliDebug(1,Form("Wrong plate number in TOF (%d) !",iplate));
+ //AliDebug(2,Form("Wrong plate number in TOF (%d) !",iplate));
stripOffset=-1;
break;
};
//
for (Int_t j=0;j<5;j++){
if (volumeID[j]<0) {
- AliDebug(1,Form("Invalid detector volume index for volumeID[%i]",j));
+ //AliDebug(2,Form("Invalid detector volume index for volumeID[%i]",j));
return kFALSE;
}
}
//Checks equipment ID validity
for (Int_t j=0;j<5;j++){
if (equipmentID[j]<0) {
- AliDebug(1,Form("Invalid equipment volume index for equipmentID[%i]",j));
+ // AliDebug(2,Form("Invalid equipment volume index for equipmentID[%i]",j));
return kFALSE;
}
}
//
// set default histogram ranges (tuned on 2011 pp collisions)
//
- AliInfo("Setting all histogram ranges to default values.");
+ //AliInfo("Setting all histogram ranges to default values.");
SetDefaultMultiHistogramRange();
SetDefaultTimeHistogramRange();
SetDefaultCutNmaxFiredMacropad();
//
SetMultiplicityHistoRange (0, 200);
SetNbinsMultiplicityHisto(200);
- AliInfo("Setting Multiplicity histogram ranges to default values.");
- AliInfo(Form("multMin = %i - multMax = %i - nMultBins = %i",
- fgRangeMinMultiplicity, fgRangeMaxMultiplicity, fgNbinsMultiplicity));
+ //AliInfo("Setting Multiplicity histogram ranges to default values.");
+ //AliInfo(Form("multMin = %i - multMax = %i - nMultBins = %i",
+ // fgRangeMinMultiplicity, fgRangeMaxMultiplicity, fgNbinsMultiplicity));
return;
}
SetNbinsTimeHisto(250);
SetTimeHistoRange (0.0,610.);
- AliInfo("Setting Time histogram ranges to default values:");
- AliInfo(Form("timeMin = %5.2f ns - timeMax = %5.2f ns - nTimeBins = %i",
- fgRangeMinTime, fgRangeMaxTime,fgNbinsTime));
+ // AliInfo("Setting Time histogram ranges to default values:");
+ // AliInfo(Form("timeMin = %5.2f ns - timeMax = %5.2f ns - nTimeBins = %i",
+ // fgRangeMinTime, fgRangeMaxTime,fgNbinsTime));
return;
}
//
// set default cut on fired macropad
//
- SetCutNmaxFiredMacropad(5);
- AliInfo(Form("Setting cut on fired macropad to default values: NfiredMacropad = %i", fgCutNmaxFiredMacropad));
+ SetCutNmaxFiredMacropad(50);
+ // AliInfo(Form("Setting cut on fired macropad to default values: NfiredMacropad = %i", fgCutNmaxFiredMacropad));
return;
}