#include "AliTRDtrigParam.h"
#include "AliTRDmcm.h"
#include "AliTRDzmaps.h"
+#include "AliTRDCalibraFillHisto.h"
#include "Cal/AliTRDCalPIDLQ.h"
ClassImp(AliTRDtrigger)
return kFALSE;
}
- // Open input
- if (fRunLoader->GetAliRun() == 0x0) {
- fRunLoader->LoadgAlice();
- }
- gAlice = fRunLoader->GetAliRun();
- if (!(gAlice)) {
- fRunLoader->LoadgAlice();
- gAlice = fRunLoader->GetAliRun();
- if (!(gAlice)) {
- AliError("Could not find AliRun object.");
- return kFALSE;
- }
- }
-
// Import the Trees for the event nEvent in the file
fRunLoader->GetEvent(nEvent);
Int_t nTimeTotal = fCalib->GetNumberOfTimeBins();
+ // Calibration fill 2D
+ AliTRDCalibraFillHisto *calibra = AliTRDCalibraFillHisto::Instance();
+ if (!calibra) {
+ AliInfo("Could not get Calibra instance\n");
+ }
+
fTrkTest->Reset();
fTrkTest->SetDetector(det);
}
*/
// LTU Pt cut
-
fTrkTest->MakeTrackletGraph(fGeo,fField);
+
+ // TRD Online calibration
+ if (calibra->GetMcmTracking()) {
+ calibra->UpdateHistogramcm(fTrkTest);
+ }
+
fTrkTest->MakeClusAmpGraph();
+
if (TMath::Abs(fTrkTest->GetPt()) < fTrigParam->GetLtuPtCut()) {
return kFALSE;
}