FairRoot/PandaRoot
Public Member Functions | Protected Attributes | List of all members
PndFtofPoint Class Reference

#include <PndFtofPoint.h>

Inheritance diagram for PndFtofPoint:

Public Member Functions

 PndFtofPoint ()
 
 PndFtofPoint (Int_t trackID, Int_t evtID, Int_t detID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss, Double_t charge, Double_t mass, Int_t pdgCode, Double_t distance, Double_t PLin, Double_t PLout)
 
 PndFtofPoint (const PndFtofPoint &point)
 
virtual ~PndFtofPoint ()
 
Int_t GetVolumeID () const
 
Double_t GetXin () const
 
Double_t GetYin () const
 
Double_t GetZin () const
 
Double_t GetPxin () const
 
Double_t GetPyin () const
 
Double_t GetPzin () const
 
Double_t GetPLin () const
 
Double_t GetPLout () const
 
Double_t GetXout () const
 
Double_t GetYout () const
 
Double_t GetZout () const
 
Double_t GetPxout () const
 
Double_t GetPyout () const
 
Double_t GetPzout () const
 
Double_t Getdist () const
 
TString GetDetName () const
 
Double_t GetMass () const
 
void PositionIn (TVector3 &pos)
 
void MomentumIn (TVector3 &mom)
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
void SetPositionIn (const TVector3 &pos)
 
void SetMomentumIn (const TVector3 &mom)
 
void SetPositionOut (const TVector3 &pos)
 
void SetMomentumOut (const TVector3 &mom)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

Double32_t fPLin
 
Double32_t fPLout
 
Double32_t fmass
 
Double32_t fcharge
 
Double32_t fXin
 
Double32_t fYin
 
Double32_t fZin
 
Double32_t fPxin
 
Double32_t fPyin
 
Double32_t fPzin
 
Double32_t fXout
 
Double32_t fYout
 
Double32_t fZout
 
Double32_t fPxout
 
Double32_t fPyout
 
Double32_t fPzout
 
Double32_t fdist
 
TString fDetName
 
Int_t fVolumeID
 
Int_t fpdgCode
 

Detailed Description

Definition at line 15 of file PndFtofPoint.h.

Constructor & Destructor Documentation

PndFtofPoint::PndFtofPoint ( )

Default constructor

Definition at line 18 of file PndFtofPoint.cxx.

18  : FairMCPoint(),
19  fPLin(0), fPLout(0),
20  fmass(0),fcharge(0),
21  fXin(0), fYin(0), fZin(0),
22  fPxin(0), fPyin(0), fPzin(0),
23  fXout(0), fYout(0), fZout(0),
24  fPxout(0), fPyout(0), fPzout(0),
25  fdist(0), fDetName(), fVolumeID(-999), fpdgCode(0)
26 {
27 }
Double32_t fXout
Definition: PndFtofPoint.h:114
Double32_t fPyout
Definition: PndFtofPoint.h:115
Double32_t fPzin
Definition: PndFtofPoint.h:113
Double32_t fdist
Definition: PndFtofPoint.h:115
Double32_t fZout
Definition: PndFtofPoint.h:114
Double32_t fPLout
Definition: PndFtofPoint.h:110
Double32_t fPzout
Definition: PndFtofPoint.h:115
TString fDetName
Definition: PndFtofPoint.h:117
Double32_t fYout
Definition: PndFtofPoint.h:114
Double32_t fPxout
Definition: PndFtofPoint.h:115
Double32_t fPxin
Definition: PndFtofPoint.h:113
Double32_t fPyin
Definition: PndFtofPoint.h:113
Double32_t fPLin
Definition: PndFtofPoint.h:110
Double32_t fYin
Definition: PndFtofPoint.h:112
Double32_t fmass
Definition: PndFtofPoint.h:111
Double32_t fcharge
Definition: PndFtofPoint.h:111
Double32_t fXin
Definition: PndFtofPoint.h:112
Double32_t fZin
Definition: PndFtofPoint.h:112
PndFtofPoint::PndFtofPoint ( Int_t  trackID,
Int_t  evtID,
Int_t  detID,
TString  detName,
TVector3  posin,
TVector3  momin,
TVector3  posout,
TVector3  momout,
Double_t  tof,
Double_t  length,
Double_t  eLoss,
Double_t  charge,
Double_t  mass,
Int_t  pdgCode,
Double_t  distance,
Double_t  PLin,
Double_t  PLout 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posInCcoordinates at entrance to active volume [cm]
posOutCoordinates at exit of active volume [cm]
momInMomentum of track at entrance [GeV]
momOutMomentum of track at exit [GeV]
posInLocalLocal coordinates at entrance to active volume [cm]
posOutLocalLocal coordinates at exit of active volume [cm]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

Definition at line 33 of file PndFtofPoint.cxx.

44  : FairMCPoint(trackID, detID, posin, momin, tof, length, eLoss, evtID),
45  fPLin(PLin), fPLout(PLout),
46  fmass(mass), fcharge(charge),
47  fXin(posin.X()), fYin(posin.Y()), fZin(posin.Z()),
48  fPxin(momin.X()), fPyin(momin.Py()), fPzin(momin.Pz()),
49  fXout(posout.X()), fYout(posout.Y()), fZout(posout.Z()),
50  fPxout(momout.Px()), fPyout(momout.Py()), fPzout(momout.Pz()),
51  fdist(dist), fDetName(detName), fVolumeID(-999), fpdgCode(pdgCode)
52 {
53 }
Double32_t fXout
Definition: PndFtofPoint.h:114
Double32_t fPyout
Definition: PndFtofPoint.h:115
Double32_t fPzin
Definition: PndFtofPoint.h:113
Double32_t fdist
Definition: PndFtofPoint.h:115
Double32_t fZout
Definition: PndFtofPoint.h:114
Double32_t fPLout
Definition: PndFtofPoint.h:110
Double32_t fPzout
Definition: PndFtofPoint.h:115
TString fDetName
Definition: PndFtofPoint.h:117
Double32_t fYout
Definition: PndFtofPoint.h:114
Double32_t fPxout
Definition: PndFtofPoint.h:115
Double32_t fPxin
Definition: PndFtofPoint.h:113
Double32_t fPyin
Definition: PndFtofPoint.h:113
Double32_t fPLin
Definition: PndFtofPoint.h:110
Double32_t fYin
Definition: PndFtofPoint.h:112
Double32_t fmass
Definition: PndFtofPoint.h:111
Double32_t fcharge
Definition: PndFtofPoint.h:111
Double32_t fXin
Definition: PndFtofPoint.h:112
Double32_t fZin
Definition: PndFtofPoint.h:112
PndFtofPoint::PndFtofPoint ( const PndFtofPoint point)
inline

Copy constructor

Definition at line 54 of file PndFtofPoint.h.

References point.

54 : FairMCPoint(point) { *this = point; };
TClonesArray * point
Definition: anaLmdDigi.C:29
PndFtofPoint::~PndFtofPoint ( )
virtual

Destructor

Definition at line 57 of file PndFtofPoint.cxx.

57 { }

Member Function Documentation

TString PndFtofPoint::GetDetName ( ) const
inline

Definition at line 84 of file PndFtofPoint.h.

References fDetName.

Referenced by PndFtofHitProducerIdeal::Exec().

84 { return fDetName;};
TString fDetName
Definition: PndFtofPoint.h:117
Double_t PndFtofPoint::Getdist ( ) const
inline

Definition at line 81 of file PndFtofPoint.h.

References fdist.

81 { return fdist; };
Double32_t fdist
Definition: PndFtofPoint.h:115
Double_t PndFtofPoint::GetMass ( ) const
inline

Definition at line 85 of file PndFtofPoint.h.

References fmass.

85 { return fmass; };
Double32_t fmass
Definition: PndFtofPoint.h:111
Double_t PndFtofPoint::GetPLin ( ) const
inline

Definition at line 72 of file PndFtofPoint.h.

References fPLin.

72 { return fPLin; };
Double32_t fPLin
Definition: PndFtofPoint.h:110
Double_t PndFtofPoint::GetPLout ( ) const
inline

Definition at line 73 of file PndFtofPoint.h.

References fPLout.

73 { return fPLout; };
Double32_t fPLout
Definition: PndFtofPoint.h:110
Double_t PndFtofPoint::GetPxin ( ) const
inline

Definition at line 66 of file PndFtofPoint.h.

References fPxin.

66 { return fPxin; };
Double32_t fPxin
Definition: PndFtofPoint.h:113
Double_t PndFtofPoint::GetPxout ( ) const
inline

Definition at line 78 of file PndFtofPoint.h.

References fPxout.

78 { return fPxout; };
Double32_t fPxout
Definition: PndFtofPoint.h:115
Double_t PndFtofPoint::GetPyin ( ) const
inline

Definition at line 67 of file PndFtofPoint.h.

References fPyin.

67 { return fPyin; };
Double32_t fPyin
Definition: PndFtofPoint.h:113
Double_t PndFtofPoint::GetPyout ( ) const
inline

Definition at line 79 of file PndFtofPoint.h.

References fPyout.

79 { return fPyout; };
Double32_t fPyout
Definition: PndFtofPoint.h:115
Double_t PndFtofPoint::GetPzin ( ) const
inline

Definition at line 68 of file PndFtofPoint.h.

References fPzin.

68 { return fPzin; };
Double32_t fPzin
Definition: PndFtofPoint.h:113
Double_t PndFtofPoint::GetPzout ( ) const
inline

Definition at line 80 of file PndFtofPoint.h.

References fPzout.

80 { return fPzout; };
Double32_t fPzout
Definition: PndFtofPoint.h:115
Int_t PndFtofPoint::GetVolumeID ( ) const
inline

Accessors

Definition at line 62 of file PndFtofPoint.h.

References fVolumeID.

Referenced by PndFtofHitProducerIdeal::Exec().

62 { return fVolumeID; };
Double_t PndFtofPoint::GetXin ( ) const
inline

Definition at line 63 of file PndFtofPoint.h.

References fXin.

63 { return fXin; };
Double32_t fXin
Definition: PndFtofPoint.h:112
Double_t PndFtofPoint::GetXout ( ) const
inline

Definition at line 75 of file PndFtofPoint.h.

References fXout.

75 { return fXout; };
Double32_t fXout
Definition: PndFtofPoint.h:114
Double_t PndFtofPoint::GetYin ( ) const
inline

Definition at line 64 of file PndFtofPoint.h.

References fYin.

64 { return fYin; };
Double32_t fYin
Definition: PndFtofPoint.h:112
Double_t PndFtofPoint::GetYout ( ) const
inline

Definition at line 76 of file PndFtofPoint.h.

References fYout.

76 { return fYout; };
Double32_t fYout
Definition: PndFtofPoint.h:114
Double_t PndFtofPoint::GetZin ( ) const
inline

Definition at line 65 of file PndFtofPoint.h.

References fZin.

65 { return fZin; };
Double32_t fZin
Definition: PndFtofPoint.h:112
Double_t PndFtofPoint::GetZout ( ) const
inline

Definition at line 77 of file PndFtofPoint.h.

References fZout.

77 { return fZout; };
Double32_t fZout
Definition: PndFtofPoint.h:114
void PndFtofPoint::MomentumIn ( TVector3 &  mom)
inline

Definition at line 88 of file PndFtofPoint.h.

References fPxin, fPyin, and fPzin.

88 { mom.SetXYZ(fPxin, fPyin, fPzin); };
Double32_t fPzin
Definition: PndFtofPoint.h:113
Double_t mom
Definition: plot_dirc.C:14
Double32_t fPxin
Definition: PndFtofPoint.h:113
Double32_t fPyin
Definition: PndFtofPoint.h:113
void PndFtofPoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 91 of file PndFtofPoint.h.

References fPxout, fPyout, and fPzout.

91 { mom.SetXYZ(fPxout, fPyout, fPzout); };
Double32_t fPyout
Definition: PndFtofPoint.h:115
Double32_t fPzout
Definition: PndFtofPoint.h:115
Double_t mom
Definition: plot_dirc.C:14
Double32_t fPxout
Definition: PndFtofPoint.h:115
void PndFtofPoint::PositionIn ( TVector3 &  pos)
inline

Definition at line 87 of file PndFtofPoint.h.

References fXin, fYin, and fZin.

87 { pos.SetXYZ(fXin, fYin, fZin); };
TVector3 pos
Double32_t fYin
Definition: PndFtofPoint.h:112
Double32_t fXin
Definition: PndFtofPoint.h:112
Double32_t fZin
Definition: PndFtofPoint.h:112
void PndFtofPoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 90 of file PndFtofPoint.h.

References fXout, fYout, and fZout.

90 { pos.SetXYZ(fXout, fYout, fZout); };
Double32_t fXout
Definition: PndFtofPoint.h:114
TVector3 pos
Double32_t fZout
Definition: PndFtofPoint.h:114
Double32_t fYout
Definition: PndFtofPoint.h:114
void PndFtofPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Definition at line 61 of file PndFtofPoint.cxx.

References fX, fY, and fZ.

61  {
62  cout << "-I- PndFtofPoint: forward tof Point for track "
63  <<" in detector " << endl;
64  cout << " Position (" << fX << ", " << fY << ", " << fZ
65  << ") cm" << endl;
66  cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz
67  << ") GeV" << endl;
68 
69 }
Double_t fX
Definition: PndCaloDraw.cxx:34
Double_t fZ
Definition: PndCaloDraw.cxx:34
Double_t fY
Definition: PndCaloDraw.cxx:34
void PndFtofPoint::SetMomentumIn ( const TVector3 &  mom)
inline

Definition at line 131 of file PndFtofPoint.h.

References fPxin, fPyin, and fPzin.

131  {
132  fPxin = mom.X();
133  fPyin = mom.Py();
134  fPzin = mom.Pz();
135 }
Double32_t fPzin
Definition: PndFtofPoint.h:113
Double_t mom
Definition: plot_dirc.C:14
Double32_t fPxin
Definition: PndFtofPoint.h:113
Double32_t fPyin
Definition: PndFtofPoint.h:113
void PndFtofPoint::SetMomentumOut ( const TVector3 &  mom)
inline

Definition at line 143 of file PndFtofPoint.h.

References fPxout, fPyout, and fPzout.

143  {
144  fPxout = mom.Px();
145  fPyout = mom.Py();
146  fPzout = mom.Pz();
147 }
Double32_t fPyout
Definition: PndFtofPoint.h:115
Double32_t fPzout
Definition: PndFtofPoint.h:115
Double_t mom
Definition: plot_dirc.C:14
Double32_t fPxout
Definition: PndFtofPoint.h:115
void PndFtofPoint::SetPositionIn ( const TVector3 &  pos)
inline

Modifiers

Definition at line 125 of file PndFtofPoint.h.

References fXin, fYin, and fZin.

125  {
126  fXin = pos.X();
127  fYin = pos.Y();
128  fZin = pos.Z();
129 }
TVector3 pos
Double32_t fYin
Definition: PndFtofPoint.h:112
Double32_t fXin
Definition: PndFtofPoint.h:112
Double32_t fZin
Definition: PndFtofPoint.h:112
void PndFtofPoint::SetPositionOut ( const TVector3 &  pos)
inline

Definition at line 137 of file PndFtofPoint.h.

References fXout, fYout, and fZout.

137  {
138  fXout = pos.X();
139  fYout = pos.Y();
140  fZout = pos.Z();
141 }
Double32_t fXout
Definition: PndFtofPoint.h:114
TVector3 pos
Double32_t fZout
Definition: PndFtofPoint.h:114
Double32_t fYout
Definition: PndFtofPoint.h:114

Member Data Documentation

Double32_t PndFtofPoint::fcharge
protected

Definition at line 111 of file PndFtofPoint.h.

TString PndFtofPoint::fDetName
protected

Definition at line 117 of file PndFtofPoint.h.

Referenced by GetDetName().

Double32_t PndFtofPoint::fdist
protected

Definition at line 115 of file PndFtofPoint.h.

Referenced by Getdist().

Double32_t PndFtofPoint::fmass
protected

Definition at line 111 of file PndFtofPoint.h.

Referenced by GetMass().

Int_t PndFtofPoint::fpdgCode
protected

Definition at line 119 of file PndFtofPoint.h.

Double32_t PndFtofPoint::fPLin
protected

Definition at line 110 of file PndFtofPoint.h.

Referenced by GetPLin().

Double32_t PndFtofPoint::fPLout
protected

Definition at line 110 of file PndFtofPoint.h.

Referenced by GetPLout().

Double32_t PndFtofPoint::fPxin
protected

Definition at line 113 of file PndFtofPoint.h.

Referenced by GetPxin(), MomentumIn(), and SetMomentumIn().

Double32_t PndFtofPoint::fPxout
protected

Definition at line 115 of file PndFtofPoint.h.

Referenced by GetPxout(), MomentumOut(), and SetMomentumOut().

Double32_t PndFtofPoint::fPyin
protected

Definition at line 113 of file PndFtofPoint.h.

Referenced by GetPyin(), MomentumIn(), and SetMomentumIn().

Double32_t PndFtofPoint::fPyout
protected

Definition at line 115 of file PndFtofPoint.h.

Referenced by GetPyout(), MomentumOut(), and SetMomentumOut().

Double32_t PndFtofPoint::fPzin
protected

Definition at line 113 of file PndFtofPoint.h.

Referenced by GetPzin(), MomentumIn(), and SetMomentumIn().

Double32_t PndFtofPoint::fPzout
protected

Definition at line 115 of file PndFtofPoint.h.

Referenced by GetPzout(), MomentumOut(), and SetMomentumOut().

Int_t PndFtofPoint::fVolumeID
protected

Definition at line 119 of file PndFtofPoint.h.

Referenced by GetVolumeID().

Double32_t PndFtofPoint::fXin
protected

Definition at line 112 of file PndFtofPoint.h.

Referenced by GetXin(), PositionIn(), and SetPositionIn().

Double32_t PndFtofPoint::fXout
protected

Definition at line 114 of file PndFtofPoint.h.

Referenced by GetXout(), PositionOut(), and SetPositionOut().

Double32_t PndFtofPoint::fYin
protected

Definition at line 112 of file PndFtofPoint.h.

Referenced by GetYin(), PositionIn(), and SetPositionIn().

Double32_t PndFtofPoint::fYout
protected

Definition at line 114 of file PndFtofPoint.h.

Referenced by GetYout(), PositionOut(), and SetPositionOut().

Double32_t PndFtofPoint::fZin
protected

Definition at line 112 of file PndFtofPoint.h.

Referenced by GetZin(), PositionIn(), and SetPositionIn().

Double32_t PndFtofPoint::fZout
protected

Definition at line 114 of file PndFtofPoint.h.

Referenced by GetZout(), PositionOut(), and SetPositionOut().


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