]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliJet.h
07-oct-2003 NvE Arguments of SetSignal and AddSignal memberfunctions of AliCalmodule...
[u/mrichter/AliRoot.git] / RALICE / AliJet.h
index e3a3880614d5763244e20d96b12125aac98fea5a..ee52b86799cd5606c6639b5b5c843dd10f234029 100644 (file)
 class AliJet : public TObject,public Ali4Vector
 {
  public:
-  AliJet();                          // Default constructor
-  AliJet(Int_t n);                   // Create a Jet to hold initially n Tracks
-  virtual ~AliJet();                 // Default destructor
-  AliJet(AliJet& j);                 // Copy constructor
-  virtual void SetOwner(Bool_t own=kTRUE);// Set ownership of all added objects
-  void Reset();                      // Reset all values
-  void AddTrack(AliTrack& t);        // Add a track to the jet
+  AliJet();                                // Default constructor
+  AliJet(Int_t n);                         // Create a Jet to hold initially n Tracks
+  virtual ~AliJet();                       // Default destructor
+  AliJet(AliJet& j);                       // Copy constructor
+  virtual void SetOwner(Bool_t own=kTRUE); // Set ownership of all added objects
+  virtual void Reset();                    // Reset all values
+  void AddTrack(AliTrack& t);              // Add a track to the jet
   void AddTrack(AliTrack* t) { AddTrack(*t); }
-  void Data(TString f);              // Print jet information in coordinate frame f 
-  void List(TString f="car");        // Print jet prim. track information for coord. frame f
-  void ListAll(TString f="car");     // Print jet prim. and decay track information for coord. frame f
-  Double_t GetEnergy();              // Provide the total jet energy
-  Double_t GetMomentum();            // Provide the value of the total jet 3-momentum
-  Ali3Vector Get3Momentum();         // Provide the total jet 3-momentum
-  Double_t GetInvmass();             // Provide the invariant mass  
-  Float_t GetCharge();               // Provide the total charge of the jet
-  Int_t GetNtracks();                // Return the number of tracks in the jet
-  AliTrack* GetTrack(Int_t i);       // Provide i-th track of the jet (1=first track)
-  AliTrack* GetIdTrack(Int_t id);    // Provide the track with user identifier "id"
-  Double_t GetPt();                  // Provide trans. momentum w.r.t. z-axis
-  Double_t GetPl();                  // Provide long. momentum w.r.t. z-axis
-  Double_t GetEt();                  // Provide trans. energy w.r.t. z-axis
-  Double_t GetEl();                  // Provide long. energy w.r.t. z-axis
-  Double_t GetMt();                  // Provide trans. mass w.r.t. z-axis
-  Double_t GetRapidity();            // Provide rapidity value w.r.t. z-axis
-  void SetTrackCopy(Int_t j);        // (De)activate creation of private copies in fTracks
-  Int_t GetTrackCopy();              // Provide TrackCopy flag value      
-  void SetId(Int_t id);              // Set the user defined identifier
-  Int_t GetId();                     // Provide the user defined identifier
+  virtual void Data(TString f="car");      // Print jet information in coordinate frame f 
+  virtual void List(TString f="car");      // Print jet prim. track information for coord. frame f
+  virtual void ListAll(TString f="car");   // Print jet prim. and decay track information for coord. frame f
+  Double_t GetEnergy();                    // Provide the total jet energy
+  Double_t GetMomentum();                  // Provide the value of the total jet 3-momentum
+  Ali3Vector Get3Momentum();               // Provide the total jet 3-momentum
+  Double_t GetInvmass();                   // Provide the invariant mass  
+  Float_t GetCharge();                     // Provide the total charge of the jet
+  Int_t GetNtracks();                      // Return the number of tracks in the jet
+  AliTrack* GetTrack(Int_t i);             // Provide i-th track of the jet (1=first track)
+  AliTrack* GetIdTrack(Int_t id);          // Provide the track with user identifier "id"
+  Double_t GetPt();                        // Provide trans. momentum w.r.t. z-axis
+  Double_t GetPl();                        // Provide long. momentum w.r.t. z-axis
+  Double_t GetEt();                        // Provide trans. energy w.r.t. z-axis
+  Double_t GetEl();                        // Provide long. energy w.r.t. z-axis
+  Double_t GetMt();                        // Provide trans. mass w.r.t. z-axis
+  Double_t GetRapidity();                  // Provide rapidity value w.r.t. z-axis
+  void SetTrackCopy(Int_t j);              // (De)activate creation of private copies in fTracks
+  Int_t GetTrackCopy();                    // Provide TrackCopy flag value      
+  void SetId(Int_t id);                    // Set the user defined identifier
+  Int_t GetId();                           // Provide the user defined identifier
 
  protected:
   void Init();                           // Initialisation of pointers etc...
@@ -59,6 +59,6 @@ class AliJet : public TObject,public Ali4Vector
   Int_t fTrackCopy;                      // Flag to denote creation of private copies in fTracks
   Int_t fUserId;                         // The user defined identifier
  
- ClassDef(AliJet,4) // Creation and investigation of a jet of particle tracks.
+ ClassDef(AliJet,5) // Creation and investigation of a jet of particle tracks.
 };
 #endif