]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliKFParticleBase.h
ESD QA Histograms implemented in AliITSQADataMakerRec. (A. Dainese)
[u/mrichter/AliRoot.git] / STEER / AliKFParticleBase.h
index 8bb610b3614494575538db4c7094417c1f9d254f..c0096d01ea5fc01cf0115aa0e39297b1bfee7ffd 100644 (file)
@@ -64,7 +64,12 @@ class AliKFParticleBase :public TObject {
 
   //* Destructor 
 
-  virtual ~AliKFParticleBase(){};
+  virtual ~AliKFParticleBase() { ; }
+
+ //* Initialisation from "cartesian" coordinates ( X Y Z Px Py Pz )
+ //* Parameters, covariance matrix, charge, and mass hypothesis should be provided 
+
+  void Initialize( const Double_t Param[], const Double_t Cov[], Int_t Charge, Double_t Mass );
 
   //* Initialise covariance matrix and set current parameters to 0.0 
 
@@ -99,10 +104,10 @@ class AliKFParticleBase :public TObject {
   //* Accessors with calculations( &value, &estimated sigma )
   //* error flag returned (0 means no error during calculations) 
 
-  Int_t GetMomentum    ( Double_t &P, Double_t &SigmaP ) const ;
-  Int_t GetMass        ( Double_t &M, Double_t &SigmaM ) const ;
-  Int_t GetDecayLength ( Double_t &L, Double_t &SigmaL ) const ;
-  Int_t GetLifeTime    ( Double_t &T, Double_t &SigmaT ) const ;
+  Int_t GetMomentum    ( Double_t &pmom, Double_t &sigmap ) const ;
+  Int_t GetMass        ( Double_t &mass, Double_t &sigmam ) const ;
+  Int_t GetDecayLength ( Double_t &dlen, Double_t &sigmal ) const ;
+  Int_t GetLifeTime    ( Double_t &tauc, Double_t &sigmat ) const ;
 
   //*
   //*  MODIFIERS
@@ -143,10 +148,15 @@ class AliKFParticleBase :public TObject {
 
   void SetProductionVertex( const AliKFParticleBase &Vtx );
 
-  //* Set hard mass constraint 
+  //* Set mass constraint 
 
-  void SetMassConstraint( Double_t Mass );
+  void SetMassConstraint( Double_t Mass, Double_t SigmaMass = 0 );
   
+  //* Set no decay length for resonances
+
+  void SetNoDecayLength();
+
+
   //* Everything in one go  
 
   void Construct( const AliKFParticleBase *vDaughters[], Int_t NDaughters,