forked from alisw/AliPhysics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add config for AOD, avoid fLego creation in gDirectory, added delete …
…in dtor
- Loading branch information
kleinb
committed
Jul 31, 2008
1 parent
8d69935
commit 6f1e7be
Showing
4 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
AliJetFinder* ConfigJetAnalysis() | ||
{ | ||
// | ||
// Configuration goes here | ||
// | ||
printf("ConfigJetAnalysis() \n"); | ||
printf("Reading AODs"); | ||
AliJetAODReaderHeader *jrh = new AliJetAODReaderHeader(); | ||
jrh->SetComment("AOD Reader"); | ||
jrh->SetPtCut(0.); | ||
jrh->SetTestFilterMask(1<<0); | ||
// Define reader and set its header | ||
AliJetAODReader *er = new AliJetAODReader(); | ||
er->SetReaderHeader(jrh); | ||
|
||
|
||
// Define jet header | ||
AliUA1JetHeaderV1 *jh=new AliUA1JetHeaderV1(); | ||
jh->SetComment("UA1 jet code with default parameters"); | ||
jh->BackgMode(0); | ||
jh->SetRadius(1.0); | ||
jh->SetEtSeed(2.); | ||
jh->SetLegoNbinPhi(420.); | ||
jh->SetLegoNbinEta(120.); | ||
jh->SetLegoEtaMin(-1.9); | ||
jh->SetLegoEtaMax(+1.9); | ||
jh->SetMinJetEt(5.); | ||
|
||
// Define jet finder. Set its header and reader | ||
jetFinder = new AliUA1JetFinderV1(); | ||
jetFinder->SetJetHeader(jh); | ||
jetFinder->SetJetReader(er); | ||
// | ||
return jetFinder; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters