]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - JETAN/AliJet.cxx
Obsolete code removed.
[u/mrichter/AliRoot.git] / JETAN / AliJet.cxx
index cf9cee8a37d37bcd85fa3d7c8d0b6f06f87e234c..4367b6697589d520259148710bf8333e657248ec 100644 (file)
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
+
+/* $Id$ */
  
 //---------------------------------------------------------------------
 // Jet class 
 // Stores the output of a jet algorithm
 // Author: jgcn@mda.cinvestav.mx
 //---------------------------------------------------------------------
+
  
 #include <Riostream.h>
 #include <TClonesArray.h>
@@ -37,7 +40,11 @@ AliJet::AliJet():
   fJets(0),
   fEtaIn(0),
   fPhiIn(0),
-  fPtIn(0)
+  fPtIn(0),
+  fPtChPtCutIn(0),
+  fEnTotChPtCutIn(0),
+  fDetIn(0),
+  fTrackRef(new TRefArray())
 {
   // Default constructor
   fJets = new TClonesArray("TLorentzVector",1000);
@@ -48,6 +55,9 @@ AliJet::AliJet():
   fPtFromSignal = TArrayF();
   fMultiplicities = TArrayI();
   fNCells = TArrayI();
+  fPtChPtCutIn = TArrayF();
+  fEnTotChPtCutIn = TArrayF();
+  fDetIn = TArrayI();
 } 
 
 ////////////////////////////////////////////////////////////////////////
@@ -242,6 +252,25 @@ void AliJet::SetPhiIn(Float_t* x)
 {
   if (fNInput>0) fPhiIn.Set(fNInput, x);
 }
+////////////////////////////////////////////////////////////////////////
+
+void AliJet::SetPtChargedPtCutIn(Float_t* x)
+{
+  if (fNInput>0) fPtChPtCutIn.Set(fNInput, x);
+}
+////////////////////////////////////////////////////////////////////////
+
+void AliJet::SetEnTotChargedPtCutIn(Float_t* x)
+{
+  if (fNInput>0) fEnTotChPtCutIn.Set(fNInput, x);
+}
+
+////////////////////////////////////////////////////////////////////////
+
+void AliJet::SetDetectorFlagIn(Int_t* x)
+{
+  if (fNInput>0) fDetIn.Set(fNInput, x);
+}
 
 ////////////////////////////////////////////////////////////////////////
 
@@ -283,6 +312,9 @@ void AliJet::ClearJets(Option_t *option)
   fEtaIn.Set(0);
   fPtIn.Set(0);
   fNCells.Set(0);
+  fPtChPtCutIn.Set(0);
+  fEnTotChPtCutIn.Set(0);
+  fDetIn.Set(0);
 }
 
 ////////////////////////////////////////////////////////////////////////