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

#include <PndDskTrackPoint.h>

Inheritance diagram for PndDskTrackPoint:

Public Member Functions

 PndDskTrackPoint ()
 
 PndDskTrackPoint (Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum, Double_t time, Double_t length, Double_t eLoss)
 
virtual ~PndDskTrackPoint ()
 
virtual void Print (const Option_t *opt) const
 

Detailed Description

Definition at line 11 of file PndDskTrackPoint.h.

Constructor & Destructor Documentation

PndDskTrackPoint::PndDskTrackPoint ( )

Default constructor

Definition at line 15 of file PndDskTrackPoint.cxx.

16  : FairMCPoint()
17 {
18 }
PndDskTrackPoint::PndDskTrackPoint ( Int_t  trackID,
Int_t  detectorID,
TVector3  position,
TVector3  momentum,
Double_t  time,
Double_t  length,
Double_t  eLoss 
)

Standard constructor with arguments

Parameters
trackIDIndex of MCTrack
detectorIDDetector ID where the first hit is produced
positionPosition of Cerenkov when created [cm]
momentumMomentum of Cerenkov when created [eV]
timeTime since event start when created [ns]
lengthTrack length since creation [cm]
eLossEnergy deposit [GeV]

Definition at line 23 of file PndDskTrackPoint.cxx.

25  : FairMCPoint(trackID, detectorID, position, momentum, time, length, eLoss)
26 {
27 }
PndDskTrackPoint::~PndDskTrackPoint ( )
virtual

Destructor

Definition at line 32 of file PndDskTrackPoint.cxx.

33 {
34 }

Member Function Documentation

void PndDskTrackPoint::Print ( const Option_t *  opt) const
virtual

Virtual method Print

Screen output of Cerenkov

Definition at line 40 of file PndDskTrackPoint.cxx.

References fX, fY, and fZ.

40  {
41  (void)opt; // to remove "unused" warnings
42  cout << "-I- PndDskTrackPoint: track" << fTrackID
43  << " created in detector " << fDetectorID << endl;
44  cout << " at Position (" << fX << ", " << fY << ", " << fZ
45  << ") cm" << endl;
46  cout << " with Momentum (" << fPx << ", " << fPy << ", " << fPz
47  << ") eV" << endl;
48  cout << " at Time " << fTime << " ns" << endl;
49 }
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: