PandaRoot
PndDrcBarPoint Class Reference

#include <PndDrcBarPoint.h>

Inheritance diagram for PndDrcBarPoint:

Public Member Functions

 PndDrcBarPoint ()
 
 PndDrcBarPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Int_t pdgCode, Double_t thetaC, Int_t nBar, Int_t eventID, Double_t mass)
 
virtual ~PndDrcBarPoint ()
 
Int_t GetPdgCode () const
 
Double_t GetThetaC () const
 
Int_t GetBarId () const
 
Int_t GetBoxId () const
 
Double_t GetMass () const
 
Int_t GetTrackStatus () const
 
void SetPdgCode (Int_t id)
 
void SetThetaC (Double_t theta)
 
void SetBarN (Int_t bar)
 
void SetTrackStatus (Int_t status)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Int_t fPdgCode
 
Double_t fThetaC
 
Int_t fBarN
 
Double_t fMass
 
Int_t fTrackStatus
 

Detailed Description

PndDrcBarPoint.h

Definition at line 28 of file PndDrcBarPoint.h.

Constructor & Destructor Documentation

◆ PndDrcBarPoint() [1/2]

PndDrcBarPoint::PndDrcBarPoint ( )

Default constructor

◆ PndDrcBarPoint() [2/2]

PndDrcBarPoint::PndDrcBarPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Int_t  pdgCode,
Double_t  thetaC,
Int_t  nBar,
Int_t  eventID,
Double_t  mass 
)

Constructor with arguments

◆ ~PndDrcBarPoint()

virtual PndDrcBarPoint::~PndDrcBarPoint ( )
virtual

Copy constructor Destructor

Member Function Documentation

◆ GetBarId()

Int_t PndDrcBarPoint::GetBarId ( ) const
inline

Definition at line 46 of file PndDrcBarPoint.h.

References fBarN.

46 { return fBarN % 10; };

◆ GetBoxId()

Int_t PndDrcBarPoint::GetBoxId ( ) const
inline

Definition at line 47 of file PndDrcBarPoint.h.

References fBarN.

47 { return fBarN / 10; };

◆ GetMass()

Double_t PndDrcBarPoint::GetMass ( ) const
inline

Definition at line 48 of file PndDrcBarPoint.h.

References fMass.

48 { return fMass; };

◆ GetPdgCode()

Int_t PndDrcBarPoint::GetPdgCode ( ) const
inline

Accessors

Definition at line 44 of file PndDrcBarPoint.h.

References fPdgCode.

44 { return fPdgCode; };

◆ GetThetaC()

Double_t PndDrcBarPoint::GetThetaC ( ) const
inline

Definition at line 45 of file PndDrcBarPoint.h.

References fThetaC.

45 { return fThetaC; };
Double_t fThetaC

◆ GetTrackStatus()

Int_t PndDrcBarPoint::GetTrackStatus ( ) const
inline

Definition at line 49 of file PndDrcBarPoint.h.

References fTrackStatus.

49 { return fTrackStatus; };

◆ Print()

virtual void PndDrcBarPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Referenced by SetTrackStatus().

◆ SetBarN()

void PndDrcBarPoint::SetBarN ( Int_t  bar)
inline

Definition at line 54 of file PndDrcBarPoint.h.

References fBarN.

54 { fBarN = bar; };

◆ SetPdgCode()

void PndDrcBarPoint::SetPdgCode ( Int_t  id)
inline

Modifiers **

Definition at line 52 of file PndDrcBarPoint.h.

References fPdgCode.

52 { fPdgCode = id; };

◆ SetThetaC()

void PndDrcBarPoint::SetThetaC ( Double_t  theta)
inline

Definition at line 53 of file PndDrcBarPoint.h.

References fThetaC.

53 { fThetaC = theta; };
Double_t fThetaC

◆ SetTrackStatus()

void PndDrcBarPoint::SetTrackStatus ( Int_t  status)
inline

Definition at line 55 of file PndDrcBarPoint.h.

References fTrackStatus, Print(), and status.

55 { fTrackStatus = status; };
int status[10]
Definition: f_Init.h:48

Member Data Documentation

◆ fBarN

Int_t PndDrcBarPoint::fBarN
protected

Definition at line 64 of file PndDrcBarPoint.h.

Referenced by GetBarId(), GetBoxId(), and SetBarN().

◆ fMass

Double_t PndDrcBarPoint::fMass
protected

Definition at line 65 of file PndDrcBarPoint.h.

Referenced by GetMass().

◆ fPdgCode

Int_t PndDrcBarPoint::fPdgCode
protected

Definition at line 62 of file PndDrcBarPoint.h.

Referenced by GetPdgCode(), and SetPdgCode().

◆ fThetaC

Double_t PndDrcBarPoint::fThetaC
protected

Definition at line 63 of file PndDrcBarPoint.h.

Referenced by GetThetaC(), and SetThetaC().

◆ fTrackStatus

Int_t PndDrcBarPoint::fTrackStatus
protected

Definition at line 66 of file PndDrcBarPoint.h.

Referenced by GetTrackStatus(), and SetTrackStatus().


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