Updating the functionality of AliAnalysisHadEtCorrections to accomodate centrality...
[u/mrichter/AliRoot.git] / prod / LHC09a1 / ConfigJetAnalysisMC.C
CommitLineData
afea418a 1AliJetFinder* ConfigJetAnalysis()
2{
3 //
4 // Configuration goes here
5 //
6 printf("ConfigJetAnalysis() \n");
7 Printf("For MC events");
8 AliJetKineReaderHeader *jrh = new AliJetKineReaderHeader();
9 jrh->SetComment("MC full Kinematics");
10 jrh->SetFastSimTPC(kFALSE);
11 jrh->SetFastSimEMCAL(kFALSE);
12 jrh->SetFiducialEta(-2.1,2.1);
13 jrh->SetPtCut(0.);
14
15 // Define reader and set its header
16 AliJetKineReader *er = new AliJetKineReader();
17 er->SetReaderHeader(jrh);
18
19
20 // Define jet header
21 AliUA1JetHeaderV1 *jh=new AliUA1JetHeaderV1();
22 jh->SetComment("UA1 jet code with MC parameters");
23 jh->BackgMode(0);
24 jh->SetRadius(1.0);
25 jh->SetEtSeed(4.);
26 jh->SetLegoNbinPhi(432.);
27 jh->SetLegoNbinEta(274.);
28 jh->SetLegoEtaMin(-2);
29 jh->SetLegoEtaMax(+2);
30 jh->SetJetEtaMin(-1.5);
31 jh->SetJetEtaMax(1.5);
32 jh->SetMinJetEt(5.);
33
34 // Define jet finder. Set its header and reader
35 jetFinder = new AliUA1JetFinderV1();
36 jetFinder->SetJetHeader(jh);
37 jetFinder->SetJetReader(er);
38 return jetFinder;
39}