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

#include <PndSciTPoint.h>

Inheritance diagram for PndSciTPoint:

Public Member Functions

 PndSciTPoint ()
 
 PndSciTPoint (Int_t eventID, Int_t trackID, Int_t detectorID, TString detName, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, Double_t tof, Double_t length, Double_t eLoss)
 
 PndSciTPoint (const PndSciTPoint &point)
 
virtual ~PndSciTPoint ()
 
TString GetDetName () 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
 
void PositionOut (TVector3 &pos)
 
void MomentumOut (TVector3 &mom)
 
void SetPositionOut (const TVector3 &pos)
 
void SetMomentumOut (const TVector3 &mom)
 
virtual void Print (const Option_t *opt) const
 

Protected Attributes

TString fDetName
 
Double_t fXout
 
Double_t fYout
 
Double_t fZout
 
Double_t fPxout
 
Double_t fPyout
 
Double_t fPzout
 

Detailed Description

Definition at line 17 of file PndSciTPoint.h.

Constructor & Destructor Documentation

PndSciTPoint::PndSciTPoint ( )

Definition at line 21 of file PndSciTPoint.cxx.

21  : FairMCPoint() ,
22  fDetName(""),
23  fXout(0.), fYout(0.), fZout(0.),
24  fPxout(0.),fPyout(0.),fPzout(0.)
25 {
26 }
Double_t fPxout
Definition: PndSciTPoint.h:79
Double_t fXout
Definition: PndSciTPoint.h:78
TString fDetName
Definition: PndSciTPoint.h:76
Double_t fPzout
Definition: PndSciTPoint.h:79
Double_t fPyout
Definition: PndSciTPoint.h:79
Double_t fZout
Definition: PndSciTPoint.h:78
Double_t fYout
Definition: PndSciTPoint.h:78
PndSciTPoint::PndSciTPoint ( Int_t  eventID,
Int_t  trackID,
Int_t  detectorID,
TString  detName,
TVector3  posin,
TVector3  momin,
TVector3  posout,
TVector3  momout,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Definition at line 30 of file PndSciTPoint.cxx.

38  : FairMCPoint(trackID, detectorID, posin, momin, tof, length, eLoss, (UInt_t) eventID) ,
39  fDetName(detName),
40  fXout(posout.X()), fYout(posout.Y()), fZout(posout.Z()),
41  fPxout(momout.Px()),fPyout(momout.Py()),fPzout(momout.Pz())
42 {
43  //FIXME: Do we need to call the event header here?
44  //FairEventHeader* evtHeader = FairRun::Instance()->GetEventHeader();
45  SetLink(FairLink(-1, eventID, "MCTrack", trackID));
46 }
Double_t fPxout
Definition: PndSciTPoint.h:79
Double_t fXout
Definition: PndSciTPoint.h:78
TString fDetName
Definition: PndSciTPoint.h:76
Double_t fPzout
Definition: PndSciTPoint.h:79
Double_t fPyout
Definition: PndSciTPoint.h:79
Double_t fZout
Definition: PndSciTPoint.h:78
Double_t fYout
Definition: PndSciTPoint.h:78
PndSciTPoint::PndSciTPoint ( const PndSciTPoint point)
inline

Definition at line 38 of file PndSciTPoint.h.

References point.

38  : FairMCPoint(point),
39  fDetName(point.fDetName),
40  fXout(point.fXout),
41  fYout(point.fYout),
42  fZout(point.fZout),
43  fPxout(point.fPxout),
44  fPyout(point.fPyout),
45  fPzout(point.fPzout)
46  { *this = point; };
Double_t fPxout
Definition: PndSciTPoint.h:79
Double_t fXout
Definition: PndSciTPoint.h:78
TString fDetName
Definition: PndSciTPoint.h:76
Double_t fPzout
Definition: PndSciTPoint.h:79
Double_t fPyout
Definition: PndSciTPoint.h:79
Double_t fZout
Definition: PndSciTPoint.h:78
Double_t fYout
Definition: PndSciTPoint.h:78
PndSdsMCPoint * point
Definition: anaLmdCluster.C:72
PndSciTPoint::~PndSciTPoint ( )
virtual

Definition at line 50 of file PndSciTPoint.cxx.

50 { }

Member Function Documentation

TString PndSciTPoint::GetDetName ( ) const
inline

Definition at line 53 of file PndSciTPoint.h.

References fDetName.

Referenced by PndSciTHitProducerIdeal::Exec(), and PndSciTDigiTask::Exec().

53 { return fDetName;};
TString fDetName
Definition: PndSciTPoint.h:76
Double_t PndSciTPoint::GetPxout ( ) const
inline

Definition at line 58 of file PndSciTPoint.h.

References fPxout.

58 { return fPxout; };
Double_t fPxout
Definition: PndSciTPoint.h:79
Double_t PndSciTPoint::GetPyout ( ) const
inline

Definition at line 59 of file PndSciTPoint.h.

References fPyout.

59 { return fPyout; };
Double_t fPyout
Definition: PndSciTPoint.h:79
Double_t PndSciTPoint::GetPzout ( ) const
inline

Definition at line 60 of file PndSciTPoint.h.

References fPzout.

60 { return fPzout; };
Double_t fPzout
Definition: PndSciTPoint.h:79
Double_t PndSciTPoint::GetXout ( ) const
inline

Definition at line 55 of file PndSciTPoint.h.

References fXout.

Referenced by ana_MCOpt().

55 { return fXout; };
Double_t fXout
Definition: PndSciTPoint.h:78
Double_t PndSciTPoint::GetYout ( ) const
inline

Definition at line 56 of file PndSciTPoint.h.

References fYout.

Referenced by ana_MCOpt().

56 { return fYout; };
Double_t fYout
Definition: PndSciTPoint.h:78
Double_t PndSciTPoint::GetZout ( ) const
inline

Definition at line 57 of file PndSciTPoint.h.

References fZout.

Referenced by ana_MCOpt().

57 { return fZout; };
Double_t fZout
Definition: PndSciTPoint.h:78
void PndSciTPoint::MomentumOut ( TVector3 &  mom)
inline

Definition at line 63 of file PndSciTPoint.h.

References fPxout, fPyout, and fPzout.

63 { mom.SetXYZ(fPxout, fPyout, fPzout); };
Double_t fPxout
Definition: PndSciTPoint.h:79
Double_t fPzout
Definition: PndSciTPoint.h:79
Double_t mom
Definition: plot_dirc.C:14
Double_t fPyout
Definition: PndSciTPoint.h:79
void PndSciTPoint::PositionOut ( TVector3 &  pos)
inline

Definition at line 62 of file PndSciTPoint.h.

References fXout, fYout, and fZout.

62 { pos.SetXYZ(fXout, fYout, fZout); };
TVector3 pos
Double_t fXout
Definition: PndSciTPoint.h:78
Double_t fZout
Definition: PndSciTPoint.h:78
Double_t fYout
Definition: PndSciTPoint.h:78
void PndSciTPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Definition at line 54 of file PndSciTPoint.cxx.

References fX, fY, and fZ.

54  {
55  cout << "-I- PndSciTPoint: forward tof Point for track "
56  <<" in detector " << endl;
57  cout << " Position (" << fX << ", " << fY << ", " << fZ
58  << ") cm" << endl;
59  cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz
60  << ") GeV" << " opt="<<opt<< endl;
61 
62 }
Double_t fX
Definition: PndCaloDraw.cxx:34
Double_t fZ
Definition: PndCaloDraw.cxx:34
Double_t fY
Definition: PndCaloDraw.cxx:34
void PndSciTPoint::SetMomentumOut ( const TVector3 &  mom)
inline

Definition at line 93 of file PndSciTPoint.h.

References fPxout, fPyout, and fPzout.

93  {
94  fPxout = mom.Px();
95  fPyout = mom.Py();
96  fPzout = mom.Pz();
97 }
Double_t fPxout
Definition: PndSciTPoint.h:79
Double_t fPzout
Definition: PndSciTPoint.h:79
Double_t mom
Definition: plot_dirc.C:14
Double_t fPyout
Definition: PndSciTPoint.h:79
void PndSciTPoint::SetPositionOut ( const TVector3 &  pos)
inline

Modifiers

Definition at line 87 of file PndSciTPoint.h.

References fXout, fYout, and fZout.

87  {
88  fXout = pos.X();
89  fYout = pos.Y();
90  fZout = pos.Z();
91 }
TVector3 pos
Double_t fXout
Definition: PndSciTPoint.h:78
Double_t fZout
Definition: PndSciTPoint.h:78
Double_t fYout
Definition: PndSciTPoint.h:78

Member Data Documentation

TString PndSciTPoint::fDetName
protected

Definition at line 76 of file PndSciTPoint.h.

Referenced by GetDetName().

Double_t PndSciTPoint::fPxout
protected

Definition at line 79 of file PndSciTPoint.h.

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

Double_t PndSciTPoint::fPyout
protected

Definition at line 79 of file PndSciTPoint.h.

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

Double_t PndSciTPoint::fPzout
protected

Definition at line 79 of file PndSciTPoint.h.

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

Double_t PndSciTPoint::fXout
protected

Definition at line 78 of file PndSciTPoint.h.

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

Double_t PndSciTPoint::fYout
protected

Definition at line 78 of file PndSciTPoint.h.

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

Double_t PndSciTPoint::fZout
protected

Definition at line 78 of file PndSciTPoint.h.

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


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