//---------------------------------------------------------------------
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);
+}