AliPhysics  5eaf189 (5eaf189)
ConfigCaloFilter.C
Go to the documentation of this file.
13 {
14  AliAnalysisTaskCaloFilter * filter = new AliAnalysisTaskCaloFilter("EMCALFilter");
15  filter->SelectCollisionCandidates();
16  filter->SetCaloFilter(AliAnalysisTaskCaloFilter::kEMCAL); //kPHOS, kEMCAL or kBoth
18  //filter->SetDebugLevel(10);
19 
20  filter->SetVzCut(10.); // kEMCAL to have effect
21  filter->SetEnergyCut(10.); // kEMCAL to have effect
22  filter->SetNcellsCut(2);
23 
24  filter->SwitchOnFillTracks();
25  filter->SwitchOnFillAODFile();
26 
27  filter->PrintInfo();
28 
29  return filter;
30 }
AliAnalysisTaskCaloFilter * ConfigCaloFilter()
Filter Calorimeter ESDs into AODs.