o First Version of TRDnSigma implementation (Xianguo) o still requires some catching...
[u/mrichter/AliRoot.git] / JETAN / ConfigJetAnalysisAOD.C
CommitLineData
c1f55a27 1AliJetFinder* ConfigJetAnalysis()
2{
3 //
4 // Configuration goes here
5 //
6 printf("ConfigJetAnalysis() \n");
7 printf("Reading AODs");
8 AliJetAODReaderHeader *jrh = new AliJetAODReaderHeader();
9 jrh->SetComment("AOD Reader");
10 jrh->SetPtCut(0.);
11 jrh->SetTestFilterMask(1<<0);
12 // Define reader and set its header
13 AliJetAODReader *er = new AliJetAODReader();
14 er->SetReaderHeader(jrh);
15
16
17 // Define jet header
18 AliUA1JetHeaderV1 *jh=new AliUA1JetHeaderV1();
19 jh->SetComment("UA1 jet code with default parameters");
20 jh->BackgMode(0);
21 jh->SetRadius(1.0);
22 jh->SetEtSeed(2.);
23 jh->SetLegoNbinPhi(420.);
24 jh->SetLegoNbinEta(120.);
25 jh->SetLegoEtaMin(-1.9);
26 jh->SetLegoEtaMax(+1.9);
27 jh->SetMinJetEt(5.);
28
29 // Define jet finder. Set its header and reader
30 jetFinder = new AliUA1JetFinderV1();
31 jetFinder->SetJetHeader(jh);
32 jetFinder->SetJetReader(er);
33 //
34 return jetFinder;
35}