#include <Riostream.h>
#include <TSystem.h>
#include "AliReconstruction.h"
-#include "AliTRDCalibra.h"
+#include "../TRD/AliTRDCalibra.h"
+#include <TStopwatch.h>
#endif
AliTRDCalibra *calibra = AliTRDCalibra::Instance();
////What do you want to use?
- //calibra->SetMItracking(); //Offline tracking
- calibra->Setmcmtracking();
+ calibra->SetMITracking(); //Offline tracking
+ //calibra->Setmcmtracking();
////Do you want to try the correction due to the angles of the tracks for mcm tracklets?
- calibra->Setmcmcorrectangle();
+ calibra->SetMcmCorrectAngle();
////What do you want to fill?
calibra->SetCH2dOn();//relative gain calibration
////Do you want to accept more tracks?
- calibra->SetProcent(2);//For the gain if one group has a signal above 1.2 the other group then fill
+ calibra->SetProcent(1.2);//For the gain if one group has a signal above 1.2 the other group then fill
calibra->SetDifference(10);//For the drift velocity if one group has at least 10 time bins then fill
calibra->SetNumberClusters(18);//For mcm tracklets only fill only with tracklet with at least 18 clusters
rec.SetRunHLTTracking(kFALSE);
rec.SetFillESD("");
rec.SetFillTriggerESD(kFALSE);
+ rec.SetRunVertexFinder(kFALSE);
rec.Run();
timer.Stop();
timer.Print();
-
+ calibra->Write2d();
TStopwatch timerfit;
calibra->FitPHOnline();
calibra->FitCHOnline();
calibra->FitPRFOnline();
-
+
timerfit.Stop();
timerfit.Print();