FairRoot/PandaRoot
Public Member Functions | Private Member Functions | List of all members
PndRichPoint Class Reference

#include <PndRichPoint.h>

Inheritance diagram for PndRichPoint:

Public Member Functions

 PndRichPoint ()
 
 PndRichPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Double_t eLoss)
 
virtual ~PndRichPoint ()
 
virtual void Print (const Option_t *opt) const
 

Private Member Functions

 PndRichPoint (const PndRichPoint &point)
 
PndRichPoint operator= (const PndRichPoint &point)
 

Detailed Description

Definition at line 10 of file PndRichPoint.h.

Constructor & Destructor Documentation

PndRichPoint::PndRichPoint ( )

Default constructor

Definition at line 9 of file PndRichPoint.cxx.

10  : FairMCPoint()
11 {
12 }
PndRichPoint::PndRichPoint ( Int_t  trackID,
Int_t  detID,
TVector3  pos,
TVector3  mom,
Double_t  tof,
Double_t  length,
Double_t  eLoss 
)

Constructor with arguments

Parameters
trackIDIndex of MCTrack
detIDDetector ID
posCcoordinates at entrance to active volume [cm]
momMomentum of track at entrance [GeV]
tofTime since event start [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

Definition at line 16 of file PndRichPoint.cxx.

20  : FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss)
21 {
22 }
TVector3 pos
Double_t mom
Definition: plot_dirc.C:14
PndRichPoint::~PndRichPoint ( )
virtual

Destructor

Definition at line 26 of file PndRichPoint.cxx.

26 { }
PndRichPoint::PndRichPoint ( const PndRichPoint point)
private

Copy constructor

Member Function Documentation

PndRichPoint PndRichPoint::operator= ( const PndRichPoint point)
private
void PndRichPoint::Print ( const Option_t *  opt) const
virtual

Output to screen

Definition at line 30 of file PndRichPoint.cxx.

References fX, fY, and fZ.

31 {
32  cout << "-I- PndRichPoint: PndRich point for track " << fTrackID
33  << " in detector " << fDetectorID << endl;
34  cout << " Position (" << fX << ", " << fY << ", " << fZ
35  << ") cm" << endl;
36  cout << " Momentum (" << fPx << ", " << fPy << ", " << fPz
37  << ") GeV" << endl;
38  cout << " Time " << fTime << " ns, Length " << fLength
39  << " cm, Energy loss " << fELoss*1.0e06 << " keV" << endl;
40 }
Double_t fX
Definition: PndCaloDraw.cxx:34
Double_t fZ
Definition: PndCaloDraw.cxx:34
Double_t fY
Definition: PndCaloDraw.cxx:34

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