//* 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
//* 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
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,