FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
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 17 of file PndDrcBarPoint.h.

Constructor & Destructor Documentation

PndDrcBarPoint::PndDrcBarPoint ( )

Default constructor

Definition at line 15 of file PndDrcBarPoint.cxx.

16  :FairMCPoint(),
17  fPdgCode(0),
18  fThetaC(0.),
19  fBarN(0.),
20  fMass(0.),
21  fTrackStatus(0.)
22 {
23 }
Double_t fThetaC
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

Definition at line 29 of file PndDrcBarPoint.cxx.

31  :FairMCPoint(trackID,detID,pos,mom, tof, length, 0.0, (UInt_t) eventID),
32  fPdgCode( pdgCode),
33  fThetaC( thetaC),
34  fBarN( barN),
35  fMass( mass),
36  fTrackStatus(0)
37 {
38 }
TVector3 pos
Double_t fThetaC
Double_t mom
Definition: plot_dirc.C:14
Double_t thetaC
Definition: plot_dirc.C:16
PndDrcBarPoint::~PndDrcBarPoint ( )
virtual

Copy constructor Destructor

Definition at line 44 of file PndDrcBarPoint.cxx.

44 { }

Member Function Documentation

Int_t PndDrcBarPoint::GetBarId ( ) const
inline
Int_t PndDrcBarPoint::GetBoxId ( ) const
inline
Double_t PndDrcBarPoint::GetMass ( ) const
inline

Definition at line 45 of file PndDrcBarPoint.h.

References fMass.

Referenced by PndDrcHitProducerIdeal::Exec(), DrawHits::ProcessBarHit(), and PndDrcHitProducerReal::ProcessBarPoint().

45 { return fMass;};
Int_t PndDrcBarPoint::GetPdgCode ( ) const
inline

Accessors

Definition at line 41 of file PndDrcBarPoint.h.

References fPdgCode.

Referenced by PndDrcDigiTask::ActivatePixel(), and PndDrcReco::Exec().

41 { return fPdgCode;};
Double_t PndDrcBarPoint::GetThetaC ( ) const
inline
Int_t PndDrcBarPoint::GetTrackStatus ( ) const
inline

Definition at line 46 of file PndDrcBarPoint.h.

References fTrackStatus.

46 { return fTrackStatus;};
void PndDrcBarPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Definition at line 49 of file PndDrcBarPoint.cxx.

References fX, fY, and fZ.

49  {
50  (void)opt; // to remove "unused" warnings
51  cout << "-I- PndDrcPoint: DRC Point for trackID---> " << fTrackID
52  << " in detector " << fDetectorID << endl;
53 
54  cout << " Position (" << fX << ", " << fY << ", " << fZ
55  << ") cm" << endl;
56  cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz
57  << ") GeV" << endl;
58  cout << " Time " << fTime << " ns, Length " << fLength
59  << " cm "<< endl;
60 
61 }
Double_t fX
Definition: PndCaloDraw.cxx:34
Double_t fZ
Definition: PndCaloDraw.cxx:34
Double_t fY
Definition: PndCaloDraw.cxx:34
void PndDrcBarPoint::SetBarN ( Int_t  bar)
inline

Definition at line 52 of file PndDrcBarPoint.h.

References fBarN.

52 { fBarN = bar; };
void PndDrcBarPoint::SetPdgCode ( Int_t  id)
inline

Modifiers **

Definition at line 50 of file PndDrcBarPoint.h.

References fPdgCode.

50 { fPdgCode = id; };
void PndDrcBarPoint::SetThetaC ( Double_t  theta)
inline

Definition at line 51 of file PndDrcBarPoint.h.

References fThetaC, and theta.

void PndDrcBarPoint::SetTrackStatus ( Int_t  status)
inline

Definition at line 53 of file PndDrcBarPoint.h.

References fTrackStatus, and status.

53 { fTrackStatus = status; };
int status[10]
Definition: f_Init.h:28

Member Data Documentation

Int_t PndDrcBarPoint::fBarN
protected

Definition at line 65 of file PndDrcBarPoint.h.

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

Double_t PndDrcBarPoint::fMass
protected

Definition at line 66 of file PndDrcBarPoint.h.

Referenced by GetMass().

Int_t PndDrcBarPoint::fPdgCode
protected

Definition at line 63 of file PndDrcBarPoint.h.

Referenced by GetPdgCode(), and SetPdgCode().

Double_t PndDrcBarPoint::fThetaC
protected

Definition at line 64 of file PndDrcBarPoint.h.

Referenced by GetThetaC(), and SetThetaC().

Int_t PndDrcBarPoint::fTrackStatus
protected

Definition at line 67 of file PndDrcBarPoint.h.

Referenced by GetTrackStatus(), and SetTrackStatus().


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