2D Centrality files
[u/mrichter/AliRoot.git] / JETAN / ConfigJetAnalysisDA.C
CommitLineData
e2d8f4e1 1AliJetFinder* ConfigJetAnalysis()
2{
3 //
4 // Configuration goes here
5 //
6 printf("ConfigJetAnalysis() \n");
7 AliJetAODReaderHeader *jrh = new AliJetAODReaderHeader();
8 jrh->SetComment("AOD Reader");
9 jrh->SetPtCut(0.);
10 jrh->SetTestFilterMask(1<<0);
11 // Define reader and set its header
12 AliJetAODReader *er = new AliJetAODReader();
13 er->SetReaderHeader(jrh);
14
15
16 // Define jet header
17 AliDAJetHeader *jh=new AliDAJetHeader();
18 jh->SetComment("DA jet code with default parameters");
19 jh->SelectJets(kTRUE);
20 jh->SetNclust(10);
21
22 // Define jet finder. Set its header and reader
23 jetFinder = new AliDAJetFinder();
24 jetFinder->SetJetHeader(jh);
25 jetFinder->SetJetReader(er);
26 //
27 return jetFinder;
28}