EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairRecoCandidate Class Referenceabstract

#include <EicRoot/blob/master/pnddata/FairRecoCandidate.h>

+ Inheritance diagram for FairRecoCandidate:
+ Collaboration diagram for FairRecoCandidate:

Public Member Functions

 FairRecoCandidate ()
 
virtual ~FairRecoCandidate ()
 
virtual Int_t GetCharge () const =0
 
virtual TVector3 GetPosition () const =0
 
virtual TVector3 GetMomentum () const =0
 
virtual Double_t GetEnergy () const =0
 
virtual TLorentzVector GetLorentzVector () const =0
 
virtual TVector3 GetFirstHit () const =0
 
virtual TVector3 GetLastHit () const =0
 
virtual const Float_t * GetErrorP7 () const =0
 
virtual const Float_t * GetCov () const =0
 
virtual const Float_t * GetParams () const =0
 
virtual TMatrixD & Cov7 () const =0
 
virtual TMatrixD & P4Cov () const =0
 
virtual Int_t GetMcIndex () const =0
 
virtual Int_t GetTrackIndex () const =0
 
virtual Int_t GetTrackBranch () const =0
 
virtual Int_t GetDegreesOfFreedom () const =0
 
virtual Int_t GetFitStatus () const =0
 
virtual Float_t GetChiSquared () const =0
 
virtual Float_t GetElectronPidLH () const =0
 
virtual Float_t GetMuonPidLH () const =0
 
virtual Float_t GetPionPidLH () const =0
 
virtual Float_t GetKaonPidLH () const =0
 
virtual Float_t GetProtonPidLH () const =0
 
void PrintOn (std::ostream &o=std::cout) const
 
- Public Member Functions inherited from FairMultiLinkedData
 FairMultiLinkedData ()
 Default constructor.
 
 FairMultiLinkedData (std::set< FairLink > links, Bool_t persistanceCheck=kTRUE)
 Constructor.
 
 FairMultiLinkedData (TString dataType, std::vector< Int_t > links, Int_t fileId=-1, Int_t evtId=-1, Bool_t persistanceCheck=kTRUE, Bool_t bypass=kFALSE, Float_t mult=1.0)
 Constructor.
 
 FairMultiLinkedData (Int_t dataType, std::vector< Int_t > links, Int_t fileId=-1, Int_t evtId=-1, Bool_t persistanceCheck=kTRUE, Bool_t bypass=kFALSE, Float_t mult=1.0)
 Constructor.
 
virtual ~FairMultiLinkedData ()
 
virtual std::set< FairLinkGetLinks () const
 returns stored links as FairLinks
 
virtual Int_t GetNLinks () const
 returns the number of stored links
 
virtual FairLink GetLink (Int_t pos) const
 returns the FairLink at the given position
 
virtual FairMultiLinkedData GetLinksWithType (Int_t type) const
 Gives you a list of links which contain the given type.
 
TObjectGetData (FairLink &myLink)
 Get the TObject the Link is pointing to.
 
virtual Int_t GetDefaultType ()
 
Bool_t GetPersistanceCheck ()
 Returns the value of PersistanceCheck.
 
Int_t GetVerbose ()
 Returns the verbosity level.
 
virtual void SetDefaultType (Int_t type)
 
virtual void SetPersistanceCheck (Bool_t check)
 Controls if a persistance check of a link is done or not.
 
virtual void SetVerbose (Int_t level)
 Sets the verbosity level.
 
virtual void SetLinks (FairMultiLinkedData links, Float_t mult=1.0)
 Sets the links as vector of FairLink.
 
virtual void SetLink (FairLink link, Bool_t bypass=kFALSE, Float_t mult=1.0)
 Sets the Links with a single FairLink.
 
virtual void AddLinks (FairMultiLinkedData links, Float_t mult=1.0)
 Adds a List of FairLinks (FairMultiLinkedData) to fLinks.
 
virtual void AddLink (FairLink link, Bool_t bypass=kFALSE, Float_t mult=1.0)
 Adds a FairLink link at the end of fLinks. If multi is kTRUE a link is allowed more than once otherwise it is stored only once.
 
virtual void InsertLink (FairLink link)
 Inserts a link into the list of links without persistance checking.
 
virtual void AddAllWeights (Double_t weight)
 Adds weight to all Links.
 
virtual void SetAllWeights (Double_t weight)
 Sets a common weight for Links.
 
virtual void MultiplyAllWeights (Double_t weight)
 Multiplies all Links with weight.
 
virtual Bool_t IsLinkInList (FairLink link)
 Test if a given link is in fLinks.
 
virtual Bool_t IsLinkInList (Int_t type, Int_t index)
 Same as IsLinkInList(FairLink) just with type and index given separately.
 
virtual Int_t LinkPosInList (FairLink link)
 returns position of link in fLinks. If it is not in the list -1 is returned
 
virtual Int_t LinkPosInList (Int_t type, Int_t index)
 Same as LinkPosInList(FairLink)
 
virtual void DeleteLink (FairLink link)
 Deletes a link ouf of fLinks.
 
virtual void DeleteLink (Int_t type, Int_t index)
 Deletes a link ouf of fLinks.
 
virtual void Reset ()
 
virtual void ResetLinks ()
 Clears fLinks.
 
void Print (std::ostream &out=std::cout) const
 Output.
 

Additional Inherited Members

- Protected Member Functions inherited from FairMultiLinkedData
virtual void SimpleAddLinks (Int_t fileId, Int_t evtId, Int_t dataType, std::vector< Int_t > links, Bool_t bypass, Float_t mult)
 
 ClassDef (FairMultiLinkedData, 3)
 
- Protected Attributes inherited from FairMultiLinkedData
std::set< FairLinkfLinks
 
Bool_t fPersistanceCheck
 
Int_t fVerbose
 
Int_t fDefaultType
 

Detailed Description

Definition at line 30 of file FairRecoCandidate.h.

View newest version in sPHENIX GitHub at line 30 of file FairRecoCandidate.h

Constructor & Destructor Documentation

FairRecoCandidate::FairRecoCandidate ( )
inline

Definition at line 35 of file FairRecoCandidate.h.

View newest version in sPHENIX GitHub at line 35 of file FairRecoCandidate.h

virtual FairRecoCandidate::~FairRecoCandidate ( )
inlinevirtual

Definition at line 36 of file FairRecoCandidate.h.

View newest version in sPHENIX GitHub at line 36 of file FairRecoCandidate.h

Member Function Documentation

virtual TMatrixD& FairRecoCandidate::Cov7 ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Int_t FairRecoCandidate::GetCharge ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Float_t FairRecoCandidate::GetChiSquared ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual const Float_t* FairRecoCandidate::GetCov ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Int_t FairRecoCandidate::GetDegreesOfFreedom ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Float_t FairRecoCandidate::GetElectronPidLH ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Double_t FairRecoCandidate::GetEnergy ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual const Float_t* FairRecoCandidate::GetErrorP7 ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual TVector3 FairRecoCandidate::GetFirstHit ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Int_t FairRecoCandidate::GetFitStatus ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Float_t FairRecoCandidate::GetKaonPidLH ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual TVector3 FairRecoCandidate::GetLastHit ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual TLorentzVector FairRecoCandidate::GetLorentzVector ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Int_t FairRecoCandidate::GetMcIndex ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual TVector3 FairRecoCandidate::GetMomentum ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Float_t FairRecoCandidate::GetMuonPidLH ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual const Float_t* FairRecoCandidate::GetParams ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Float_t FairRecoCandidate::GetPionPidLH ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual TVector3 FairRecoCandidate::GetPosition ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Float_t FairRecoCandidate::GetProtonPidLH ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Int_t FairRecoCandidate::GetTrackBranch ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual Int_t FairRecoCandidate::GetTrackIndex ( ) const
pure virtual

Implemented in PndPidCandidate.

virtual TMatrixD& FairRecoCandidate::P4Cov ( ) const
pure virtual

Implemented in PndPidCandidate.

void FairRecoCandidate::PrintOn ( std::ostream &  o = std::cout) const

Definition at line 26 of file FairRecoCandidate.cxx.

View newest version in sPHENIX GitHub at line 26 of file FairRecoCandidate.cxx

References p.

Referenced by operator<<().

+ Here is the caller graph for this function:


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