FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
DskData
PndDskTrackPoint.cxx
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// ----- PndDskTrackPoint source file -----
3
// ----- Created 27/03/09 by P. Koch -----
4
// ----------------------------------------------------------------------------
5
6
#include <iostream>
7
using
std::cout;
8
using
std::endl;
9
10
#include "
PndDskTrackPoint.h
"
11
12
13
14
// ----- Default constructor ----------------------------------------------
15
PndDskTrackPoint::PndDskTrackPoint
()
16
: FairMCPoint()
17
{
18
}
19
// ----------------------------------------------------------------------------
20
21
22
// ----- Standard constructor ---------------------------------------------
23
PndDskTrackPoint::PndDskTrackPoint
(Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum,
24
Double_t
time,
Double_t
length,
Double_t
eLoss)
25
: FairMCPoint(trackID, detectorID, position, momentum, time, length, eLoss)
26
{
27
}
28
// ----------------------------------------------------------------------------
29
30
31
// ----- Destructor -------------------------------------------------------
32
PndDskTrackPoint::~PndDskTrackPoint
()
33
{
34
}
35
// ----------------------------------------------------------------------------
36
37
38
// ----- Public method Print ----------------------------------------------
39
void
40
PndDskTrackPoint::Print
(
const
Option_t* opt)
const
{
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
}
50
// ----------------------------------------------------------------------------
51
52
ClassImp
(
PndDskTrackPoint
)
PndDskTrackPoint.h
fX
Double_t fX
Definition:
PndCaloDraw.cxx:34
fZ
Double_t fZ
Definition:
PndCaloDraw.cxx:34
PndDskTrackPoint
Definition:
PndDskTrackPoint.h:11
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
PndDskTrackPoint::PndDskTrackPoint
PndDskTrackPoint()
Definition:
PndDskTrackPoint.cxx:15
PndDskTrackPoint::Print
virtual void Print(const Option_t *opt) const
Definition:
PndDskTrackPoint.cxx:40
PndDskTrackPoint::~PndDskTrackPoint
virtual ~PndDskTrackPoint()
Definition:
PndDskTrackPoint.cxx:32
fY
Double_t fY
Definition:
PndCaloDraw.cxx:34
ClassImp
ClassImp(PndAnaContFact)
Generated on Wed Apr 3 2019 08:43:54 for FairRoot/PandaRoot by
1.8.5