]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliDAJetHeader.cxx
Rename method Dump to DumpPayLoad to avoid compilation warning since mother class...
[u/mrichter/AliRoot.git] / JETAN / AliDAJetHeader.cxx
index e658afa11f97de39392becfc1295f5f48b115418..d34e8a9ef50e1b165d72453c67c623a7e0588ccb 100644 (file)
@@ -26,15 +26,24 @@ ClassImp(AliDAJetHeader)
 
 //---------------------------------------------------------------------
 AliDAJetHeader::AliDAJetHeader():
-       fDirectory("/home/perrino/events"),
-       fFileOut("jets.root"),
-       fPytOnly(kTRUE),
-       fPtCut(0.),
-       fEtaCut(.9),
-       fChgOnly(kTRUE),
+       AliJetHeader("AliDAJetHeader"),
        fSelectJets(kTRUE),
-       fNclustMax(14),
-       fFixedCl(kFALSE)
+       fRadius(0.7),
+       fNclustMax(10),
+       fFixedCl(kFALSE),
+       fEtMin(10.)
 {
     // Constructor
 }
+
+//---------------------------------------------------------------------
+void AliDAJetHeader::SetRadius(Float_t radius)
+{
+    // The radius requested is used to estimate the number of clusters
+    // to be found, in order to obtain jets with the expected area.
+    // It must not be intended as a sharp limit on the cluster shape
+    
+  Float_t fEtaLim = 0.9;
+  Int_t nclust = (Int_t) (4.*fEtaLim/(radius*radius)) + 1;
+  SetNclust(nclust);
+}