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.
Jet analysis via deterministic annealing.
- Loading branch information
morsch
committed
Dec 8, 2008
1 parent
5b33a96
commit d77533f
Showing
1 changed file
with
28 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
AliJetFinder* ConfigJetAnalysis() | ||
{ | ||
// | ||
// Configuration goes here | ||
// | ||
printf("ConfigJetAnalysis() \n"); | ||
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 | ||
AliDAJetHeader *jh=new AliDAJetHeader(); | ||
jh->SetComment("DA jet code with default parameters"); | ||
jh->SelectJets(kTRUE); | ||
jh->SetNclust(10); | ||
|
||
// Define jet finder. Set its header and reader | ||
jetFinder = new AliDAJetFinder(); | ||
jetFinder->SetJetHeader(jh); | ||
jetFinder->SetJetReader(er); | ||
// | ||
return jetFinder; | ||
} |