StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
StProbPidTraits Class Reference

#include <StProbPidTraits.h>

Inheritance diagram for StProbPidTraits:
StTrackPidTraits StObject

Public Member Functions

 StProbPidTraits (const Int_t NDF=0, const StDetectorId Id=kUnknownId, const StPidParticle N=KPidParticles, const Float_t *PidArray=0, Double_t *Fractions=0)
 
Int_t GetNDF ()
 
TArrayF * GetPidArray ()
 
Double_t GetProbability (Int_t PartId)
 
Double_t GetChi2Prob (Int_t PartId) const
 
Double_t GetSum ()
 
void SetFractions (Double_t *Fractions)
 
void SetNDF (Int_t ndf)
 
void Print (Option_t *opt="") const
 
- Public Member Functions inherited from StTrackPidTraits
 StTrackPidTraits (StDetectorId)
 
 StTrackPidTraits (const dst_dedx_st &)
 
Short_t detector () const
 
- Public Member Functions inherited from StObject
 StObject (const StObject &sto)
 
StObjectoperator= (const StObject &sto)
 
virtual TObject * clone () const
 
Int_t isZombie () const
 
virtual void makeZombie (int flg=1)
 
UInt_t Ztreamer (TBuffer &R__b)
 
 ClassDef (StObject, 3) static UInt_t fgTally
 

Static Public Attributes

static StParticleDefinitionmPidParticleDefinitions [KPidParticles]
 

Protected Attributes

Int_t mNDF
 
TArrayF * mPidArray
 
Double_t mSum
 
Double_t * mFractions
 
Double_t mProbability [KPidParticles]
 
- Protected Attributes inherited from StTrackPidTraits
Short_t mDetectorId
 

Detailed Description

Author
Yuri Fisyak, Oct 2002

Definition at line 24 of file StProbPidTraits.h.

Member Data Documentation

StParticleDefinition * StProbPidTraits::mPidParticleDefinitions
static
Initial value:
= {
StElectron::instance(),
StProton::instance(),
StKaonMinus::instance(),
StPionMinus::instance(),
StMuonMinus::instance(),
StDeuteron::instance(),
StTriton::instance(),
StHe3::instance(),
StAlpha::instance()
}

Definition at line 37 of file StProbPidTraits.h.


The documentation for this class was generated from the following files: