]>
Commit | Line | Data |
---|---|---|
1ee39b3a | 1 | #if ! defined (__CINT__) || defined (__MAKECINT__) |
705f8b0a | 2 | #include "AliLog.h" |
1ee39b3a | 3 | #include "AliAnalysisManager.h" |
4 | #include "AliAnalysisDataContainer.h" | |
d4f4bb29 | 5 | #include "PWG1/TRD/AliTRDcheckESD.h" |
1ee39b3a | 6 | #endif |
7 | ||
8 | void AddTRDcheckESD(AliAnalysisManager *mgr) | |
9 | { | |
3d2a3dff | 10 | //AliLog::SetClassDebugLevel("AliTRDcheckESD", 5); |
76106bcc | 11 | AliTRDcheckESD *checkESD = new AliTRDcheckESD((char*)"TRDcheckESD"); |
1ee39b3a | 12 | mgr->AddTask(checkESD); |
705f8b0a | 13 | checkESD->SetMC(mgr->GetMCtruthEventHandler()); |
36d21092 | 14 | checkESD->SetCollision(/*kFALSE*/); |
705f8b0a | 15 | checkESD->SetDebugLevel(0); |
705f8b0a | 16 | |
3d83da78 | 17 | mgr->ConnectInput(checkESD, 0, mgr->GetCommonInputContainer()); |
997f86cb | 18 | mgr->ConnectOutput(checkESD, 1, mgr->CreateContainer(checkESD->GetName(), TObjArray::Class(), AliAnalysisManager::kOutputContainer, Form("%s:TRD_Performance",mgr->GetCommonFileName()))); |
1ee39b3a | 19 | } |
20 |