AliPhysics  vAN-20150429 (ffa5c54)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
ConfigCaloFilter.C
Go to the documentation of this file.
12 {
13  AliAnalysisTaskCaloFilter * filter = new AliAnalysisTaskCaloFilter("EMCALFilter");
14  filter->SelectCollisionCandidates();
15  filter->SetCaloFilter(AliAnalysisTaskCaloFilter::kEMCAL); //kPHOS, kEMCAL or kBoth
17  //filter->SetDebugLevel(10);
18 
19  filter->SetVzCut(10.); // kEMCAL to have effect
20  filter->SetEnergyCut(10.); // kEMCAL to have effect
21  filter->SetNcellsCut(2);
22 
23  filter->SwitchOnFillTracks();
24  filter->SwitchOnFillAODFile();
25 
26  filter->PrintInfo();
27 
28  return filter;
29 }
AliAnalysisTaskCaloFilter * ConfigCaloFilter()
Filter Calorimeter ESDs into AODs.