CbmRoot
CbmHadron Class Reference

#include <CbmHadron.h>

Inheritance diagram for CbmHadron:
[legend]
Collaboration diagram for CbmHadron:
[legend]

Public Member Functions

 CbmHadron ()
 
 CbmHadron (Int_t charge, Double_t p, Double_t pt, Double_t pz, Int_t nMvdHits, Int_t nStsHits, Int_t nTrdHits, Double_t b, Double_t length, Double_t mass2, Int_t pdg, Bool_t ghost, Bool_t tdh)
 
virtual ~CbmHadron ()
 
Int_t GetCharge () const
 
Double_t GetP () const
 
Double_t GetPt () const
 
Double_t GetPz () const
 
Int_t GetNMvdHits () const
 
Int_t GetNStsHits () const
 
Int_t GetNTrdHits () const
 
Double_t GetB () const
 
Double_t GetLength () const
 
Double_t GetMass2 () const
 
Int_t GetPdg () const
 
Bool_t IsGhost () const
 
Bool_t IsTDH () const
 
void SetCharge (Int_t charge)
 
void SetP (Double_t p)
 
void SetPt (Double_t pt)
 
void SetPz (Double_t pz)
 
void SetNMvdHits (Int_t nMvdHits)
 
void SetNStsHits (Int_t nStsHits)
 
void SetNTrdHits (Int_t nTrdHits)
 
void SetB (Double_t b)
 
void SetLength (Double_t length)
 
void SetMass2 (Double_t mass2)
 
void SetPdg (Int_t pdg)
 
void SetGhost (Bool_t ghost)
 
void SetTDH (Bool_t tdh)
 

Private Attributes

Int_t fCharge
 
Double32_t fP
 
Double32_t fPt
 
Double32_t fPz
 
Int_t fNMvdHits
 
Int_t fNStsHits
 
Int_t fNTrdHits
 
Double32_t fB
 
Double32_t fLength
 
Double32_t fMass2
 
Int_t fPdg
 
Bool_t fGhost
 
Bool_t fTDH
 

Detailed Description

Definition at line 14 of file CbmHadron.h.

Constructor & Destructor Documentation

◆ CbmHadron() [1/2]

CbmHadron::CbmHadron ( )

Definition at line 10 of file CbmHadron.cxx.

◆ CbmHadron() [2/2]

CbmHadron::CbmHadron ( Int_t  charge,
Double_t  p,
Double_t  pt,
Double_t  pz,
Int_t  nMvdHits,
Int_t  nStsHits,
Int_t  nTrdHits,
Double_t  b,
Double_t  length,
Double_t  mass2,
Int_t  pdg,
Bool_t  ghost,
Bool_t  tdh 
)

Definition at line 29 of file CbmHadron.cxx.

◆ ~CbmHadron()

CbmHadron::~CbmHadron ( )
virtual

Definition at line 60 of file CbmHadron.cxx.

Member Function Documentation

◆ GetB()

Double_t CbmHadron::GetB ( ) const
inline

Definition at line 56 of file CbmHadron.h.

References fB.

◆ GetCharge()

Int_t CbmHadron::GetCharge ( ) const
inline

Definition at line 49 of file CbmHadron.h.

References fCharge.

◆ GetLength()

Double_t CbmHadron::GetLength ( ) const
inline

Definition at line 57 of file CbmHadron.h.

References fLength.

◆ GetMass2()

Double_t CbmHadron::GetMass2 ( ) const
inline

Definition at line 58 of file CbmHadron.h.

References fMass2.

◆ GetNMvdHits()

Int_t CbmHadron::GetNMvdHits ( ) const
inline

Definition at line 53 of file CbmHadron.h.

References fNMvdHits.

◆ GetNStsHits()

Int_t CbmHadron::GetNStsHits ( ) const
inline

Definition at line 54 of file CbmHadron.h.

References fNStsHits.

◆ GetNTrdHits()

Int_t CbmHadron::GetNTrdHits ( ) const
inline

Definition at line 55 of file CbmHadron.h.

References fNTrdHits.

◆ GetP()

Double_t CbmHadron::GetP ( ) const
inline

Definition at line 50 of file CbmHadron.h.

References fP.

◆ GetPdg()

Int_t CbmHadron::GetPdg ( ) const
inline

Definition at line 59 of file CbmHadron.h.

References fPdg.

◆ GetPt()

Double_t CbmHadron::GetPt ( ) const
inline

Definition at line 51 of file CbmHadron.h.

References fPt.

◆ GetPz()

Double_t CbmHadron::GetPz ( ) const
inline

Definition at line 52 of file CbmHadron.h.

References fPz.

◆ IsGhost()

Bool_t CbmHadron::IsGhost ( ) const
inline

Definition at line 60 of file CbmHadron.h.

References fGhost.

◆ IsTDH()

Bool_t CbmHadron::IsTDH ( ) const
inline

Definition at line 61 of file CbmHadron.h.

References fTDH.

◆ SetB()

void CbmHadron::SetB ( Double_t  b)
inline

Definition at line 70 of file CbmHadron.h.

References fB.

◆ SetCharge()

void CbmHadron::SetCharge ( Int_t  charge)
inline

Definition at line 63 of file CbmHadron.h.

References fCharge.

◆ SetGhost()

void CbmHadron::SetGhost ( Bool_t  ghost)
inline

Definition at line 74 of file CbmHadron.h.

References fGhost.

◆ SetLength()

void CbmHadron::SetLength ( Double_t  length)
inline

Definition at line 71 of file CbmHadron.h.

References fLength.

◆ SetMass2()

void CbmHadron::SetMass2 ( Double_t  mass2)
inline

Definition at line 72 of file CbmHadron.h.

References fMass2.

◆ SetNMvdHits()

void CbmHadron::SetNMvdHits ( Int_t  nMvdHits)
inline

Definition at line 67 of file CbmHadron.h.

References fNMvdHits.

◆ SetNStsHits()

void CbmHadron::SetNStsHits ( Int_t  nStsHits)
inline

Definition at line 68 of file CbmHadron.h.

References fNStsHits, and nStsHits.

◆ SetNTrdHits()

void CbmHadron::SetNTrdHits ( Int_t  nTrdHits)
inline

Definition at line 69 of file CbmHadron.h.

References fNTrdHits.

◆ SetP()

void CbmHadron::SetP ( Double_t  p)
inline

Definition at line 64 of file CbmHadron.h.

References fP.

◆ SetPdg()

void CbmHadron::SetPdg ( Int_t  pdg)
inline

Definition at line 73 of file CbmHadron.h.

References fPdg.

◆ SetPt()

void CbmHadron::SetPt ( Double_t  pt)
inline

Definition at line 65 of file CbmHadron.h.

References fPt.

◆ SetPz()

void CbmHadron::SetPz ( Double_t  pz)
inline

Definition at line 66 of file CbmHadron.h.

References fPz.

◆ SetTDH()

void CbmHadron::SetTDH ( Bool_t  tdh)
inline

Definition at line 75 of file CbmHadron.h.

References fTDH.

Member Data Documentation

◆ fB

Double32_t CbmHadron::fB
private

Definition at line 41 of file CbmHadron.h.

Referenced by GetB(), and SetB().

◆ fCharge

Int_t CbmHadron::fCharge
private

Definition at line 34 of file CbmHadron.h.

Referenced by GetCharge(), and SetCharge().

◆ fGhost

Bool_t CbmHadron::fGhost
private

Definition at line 45 of file CbmHadron.h.

Referenced by IsGhost(), and SetGhost().

◆ fLength

Double32_t CbmHadron::fLength
private

Definition at line 42 of file CbmHadron.h.

Referenced by GetLength(), and SetLength().

◆ fMass2

Double32_t CbmHadron::fMass2
private

Definition at line 43 of file CbmHadron.h.

Referenced by GetMass2(), and SetMass2().

◆ fNMvdHits

Int_t CbmHadron::fNMvdHits
private

Definition at line 38 of file CbmHadron.h.

Referenced by GetNMvdHits(), and SetNMvdHits().

◆ fNStsHits

Int_t CbmHadron::fNStsHits
private

Definition at line 39 of file CbmHadron.h.

Referenced by GetNStsHits(), and SetNStsHits().

◆ fNTrdHits

Int_t CbmHadron::fNTrdHits
private

Definition at line 40 of file CbmHadron.h.

Referenced by GetNTrdHits(), and SetNTrdHits().

◆ fP

Double32_t CbmHadron::fP
private

Definition at line 35 of file CbmHadron.h.

Referenced by GetP(), and SetP().

◆ fPdg

Int_t CbmHadron::fPdg
private

Definition at line 44 of file CbmHadron.h.

Referenced by GetPdg(), and SetPdg().

◆ fPt

Double32_t CbmHadron::fPt
private

Definition at line 36 of file CbmHadron.h.

Referenced by GetPt(), and SetPt().

◆ fPz

Double32_t CbmHadron::fPz
private

Definition at line 37 of file CbmHadron.h.

Referenced by GetPz(), and SetPz().

◆ fTDH

Bool_t CbmHadron::fTDH
private

Definition at line 46 of file CbmHadron.h.

Referenced by IsTDH(), and SetTDH().


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