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 16 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 34 of file PndDrcBarPoint.h.

References fBarN.

34 { return fBarN % 10; };

◆ GetBoxId()

Int_t PndDrcBarPoint::GetBoxId ( ) const
inline

Definition at line 35 of file PndDrcBarPoint.h.

References fBarN.

35 { return fBarN / 10; };

◆ GetMass()

Double_t PndDrcBarPoint::GetMass ( ) const
inline

Definition at line 36 of file PndDrcBarPoint.h.

References fMass.

36 { return fMass; };

◆ GetPdgCode()

Int_t PndDrcBarPoint::GetPdgCode ( ) const
inline

Accessors

Definition at line 32 of file PndDrcBarPoint.h.

References fPdgCode.

32 { return fPdgCode; };

◆ GetThetaC()

Double_t PndDrcBarPoint::GetThetaC ( ) const
inline

Definition at line 33 of file PndDrcBarPoint.h.

References fThetaC.

33 { return fThetaC; };
Double_t fThetaC

◆ GetTrackStatus()

Int_t PndDrcBarPoint::GetTrackStatus ( ) const
inline

Definition at line 37 of file PndDrcBarPoint.h.

References fTrackStatus.

37 { 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 42 of file PndDrcBarPoint.h.

References fBarN.

42 { fBarN = bar; };

◆ SetPdgCode()

void PndDrcBarPoint::SetPdgCode ( Int_t  id)
inline

Modifiers **

Definition at line 40 of file PndDrcBarPoint.h.

References fPdgCode.

40 { fPdgCode = id; };

◆ SetThetaC()

void PndDrcBarPoint::SetThetaC ( Double_t  theta)
inline

Definition at line 41 of file PndDrcBarPoint.h.

References fThetaC.

41 { fThetaC = theta; };
Double_t fThetaC

◆ SetTrackStatus()

void PndDrcBarPoint::SetTrackStatus ( Int_t  status)
inline

Definition at line 43 of file PndDrcBarPoint.h.

References fTrackStatus, Print(), and status.

43 { fTrackStatus = status; };
int status[10]
Definition: f_Init.h:24

Member Data Documentation

◆ fBarN

Int_t PndDrcBarPoint::fBarN
protected

Definition at line 52 of file PndDrcBarPoint.h.

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

◆ fMass

Double_t PndDrcBarPoint::fMass
protected

Definition at line 53 of file PndDrcBarPoint.h.

Referenced by GetMass().

◆ fPdgCode

Int_t PndDrcBarPoint::fPdgCode
protected

Definition at line 50 of file PndDrcBarPoint.h.

Referenced by GetPdgCode(), and SetPdgCode().

◆ fThetaC

Double_t PndDrcBarPoint::fThetaC
protected

Definition at line 51 of file PndDrcBarPoint.h.

Referenced by GetThetaC(), and SetThetaC().

◆ fTrackStatus

Int_t PndDrcBarPoint::fTrackStatus
protected

Definition at line 54 of file PndDrcBarPoint.h.

Referenced by GetTrackStatus(), and SetTrackStatus().


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