]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RALICE/AliEvent.h
30-nov-2002 NvE Vertex position errors based on fResolution introduced in AliCollider...
[u/mrichter/AliRoot.git] / RALICE / AliEvent.h
index a8993ada690254276c60570af8d39b8d17465f54..33ec029691d182b39233aa95b6b8bedcc3ac0c1b 100644 (file)
@@ -3,7 +3,7 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-// $Id: AliEvent.h,v 1.4 2002/06/25 09:38:28 nick Exp $
+// $Id: AliEvent.h,v 1.5 2002/10/28 14:41:34 nick Exp $
 
 #include "Riostream.h"
 #include <math.h>
@@ -25,14 +25,16 @@ class AliEvent : public AliVertex
   void SetDayTime(TDatime& stamp);        // Set the date and time stamp
   void SetRunNumber(Int_t run);           // Set the run number
   void SetEventNumber(Int_t evt);         // Set the event number
-  void SetProjectile(Int_t a,Int_t z,Double_t pnuc); // Set projectile A, Z and momentum value per nucleon
+  void SetProjectile(Int_t a,Int_t z,Double_t pnuc,Int_t id=0); // Set projectile A, Z, p per nucleon and id
   Int_t GetProjectileA();                 // Provide A value of the projectile
   Int_t GetProjectileZ();                 // Provide Z value of the projectile
   Double_t GetProjectilePnuc();           // Provide the projectile momentum value per nucleon
-  void SetTarget(Int_t a,Int_t z,Double_t pnuc); // Set target A, Z and momentum value per nucleon
+  Int_t GetProjectileId();                // Provide the user defined particle ID of the projectile
+  void SetTarget(Int_t a,Int_t z,Double_t pnuc,Int_t id=0); // Set target A, Z, p per nucleon and id
   Int_t GetTargetA();                     // Provide A value of the target
   Int_t GetTargetZ();                     // Provide Z value of the target
   Double_t GetTargetPnuc();               // Provide the target momentum value per nucleon
+  Int_t GetTargetId();                    // Provide the user defined particle ID of the target
   void Reset();                           // Reset all values
   TDatime GetDayTime();                   // Provide the date and time stamp
   Int_t GetRunNumber();                   // Provide the run number
@@ -54,13 +56,15 @@ class AliEvent : public AliVertex
   Int_t fAproj;             // The projectile A value
   Int_t fZproj;             // The projectile Z value
   Double_t fPnucProj;       // The projectile momentum per nucleon
+  Int_t fIdProj;            // User defined projectile particle ID
   Int_t fAtarg;             // The target A value
   Int_t fZtarg;             // The target Z value
   Double_t fPnucTarg;       // The target momentum per nucleon
+  Int_t fIdTarg;            // User defined target particle ID
   Int_t fNcals;             // The number of calorimeter systems 
   TObjArray* fCalorimeters; // Array to hold the pointers to the calorimeter systems
   Int_t fCalCopy;           // Flag to denote creation of private copies in fCalorimeters
 
- ClassDef(AliEvent,3) // Creation and investigation of an Alice physics event.
+ ClassDef(AliEvent,4) // Creation and investigation of an Alice physics event.
 };
 #endif