#include "AliTRDCalibra.h"
#include "Cal/AliTRDCalDet.h"
-
ClassImp(AliTRDPreprocessor)
//______________________________________________________________________________________________
UInt_t AliTRDPreprocessor::Process(TMap* /*dcsAliasMap*/)
{
//
- // Process the calibraion data for the HLT part
+ // Process the calibration data for the HLT part
//
// How long does it take for the HLT part?
metaData.SetResponsible("Raphaelle Bailhache");
metaData.SetComment("This preprocessor fills reference data.");
-
// Take the file from the HLT file exchange server
TList *filesources = GetFileSources(kHLT,"GAINDRIFTPRF");
if (!filesources) {
Double_t statisticmean[3] = { 0.0, 0.0, 0.0 }; // Mean values of the number of entries in these histos
Int_t numbertotalgroup[3] = { 0, 0, 0 }; // Total number of groups
-
- // Loop over the files taken from the HLT/
+ // Loop over the files taken from the HLT
TIter iter(filesources);
TObjString *source;
while ((source = dynamic_cast<TObjString *> (iter.Next()))) {
// Set the mode of calibration from the TObject, store the reference data and try to fit them
if (histogain) {
calibra->SetModeCalibrationFromTObject((TObject *) histogain,0);
- Store("Data","Gain",(TObject *) histogain,&metaData,0,0);
+ StoreReferenceData("HLTData","Gain",(TObject *) histogain,&metaData);
AliInfo("Take the CH reference data. Now we will try to fit\n");
calibra->SetMinEntries(100); // If there is less than 100 entries in the histo: no fit
calibra->FitCHOnline(histogain);
if (histodriftvelocity) {
calibra->SetModeCalibrationFromTObject((TObject *) histodriftvelocity,1);
- Store("Data","VdriftT0",(TObject *) histodriftvelocity,&metaData,0,0);
+ StoreReferenceData("HLTData","VdriftT0",(TObject *) histodriftvelocity,&metaData);
AliInfo("Take the PH reference data. Now we will try to fit\n");
calibra->SetMinEntries(100*20); // If there is less than 2000
calibra->FitPHOnline(histodriftvelocity);
if (histoprf) {
calibra->SetModeCalibrationFromTObject((TObject *) histoprf,2);
- Store("Data","PRF",(TObject *) histoprf,&metaData,0,0);
+ StoreReferenceData("HLTData","PRF",(TObject *) histoprf,&metaData);
AliInfo("Take the PRF reference data. Now we will try to fit\n");
calibra->SetMinEntries(100*20); // If there is less than 2000
calibra->SetRangeFitPRF(0.5);