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

#include <PndRichPDPoint.h>

Inheritance diagram for PndRichPDPoint:

Public Member Functions

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

Private Member Functions

 PndRichPDPoint (const PndRichPDPoint &point)
 
PndRichPDPoint operator= (const PndRichPDPoint &point)
 

Detailed Description

Definition at line 10 of file PndRichPDPoint.h.

Constructor & Destructor Documentation

PndRichPDPoint::PndRichPDPoint ( )

Default constructor

Definition at line 9 of file PndRichPDPoint.cxx.

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

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 PndRichPDPoint.cxx.

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

Destructor

Definition at line 26 of file PndRichPDPoint.cxx.

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

Copy constructor

Member Function Documentation

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

Output to screen

Definition at line 30 of file PndRichPDPoint.cxx.

References fX, fY, and fZ.

31 {
32  cout << "-I- PndRichPDPoint: 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" << " opt="<<opt<< 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: