Jet analysis via deterministic annealing.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Dec 2008 08:09:17 +0000 (08:09 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Dec 2008 08:09:17 +0000 (08:09 +0000)
JETAN/ConfigJetAnalysisDA.C [new file with mode: 0644]

diff --git a/JETAN/ConfigJetAnalysisDA.C b/JETAN/ConfigJetAnalysisDA.C
new file mode 100644 (file)
index 0000000..31ef84e
--- /dev/null
@@ -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;
+}