FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
pnddata
RichData
PndRichPDPoint.cxx
Go to the documentation of this file.
1
#include "
PndRichPDPoint.h
"
2
3
#include <iostream>
4
using
std::cout;
5
using
std::endl;
6
7
8
// ----- Default constructor -------------------------------------------
9
PndRichPDPoint::PndRichPDPoint
()
10
: FairMCPoint()
11
{
12
}
13
// -------------------------------------------------------------------------
14
15
// ----- Standard constructor ------------------------------------------
16
PndRichPDPoint::PndRichPDPoint
(Int_t trackID, Int_t detID,
17
TVector3
pos
, TVector3
mom
,
18
Double_t
tof,
Double_t
length,
19
Double_t
eLoss, UInt_t EventId)
20
: FairMCPoint(trackID, detID, pos, mom, tof, length, eLoss, EventId)
21
{
22
}
23
// -------------------------------------------------------------------------
24
25
// ----- Destructor ----------------------------------------------------
26
PndRichPDPoint::~PndRichPDPoint
() { }
27
// -------------------------------------------------------------------------
28
29
// ----- Public method Print -------------------------------------------
30
void
PndRichPDPoint::Print
(
const
Option_t* opt)
const
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
}
41
// -------------------------------------------------------------------------
42
43
ClassImp
(
PndRichPDPoint
)
44
pos
TVector3 pos
Definition:
GammaSpectraAnalysis.C:43
fX
Double_t fX
Definition:
PndCaloDraw.cxx:34
mom
Double_t mom
Definition:
plot_dirc.C:14
fZ
Double_t fZ
Definition:
PndCaloDraw.cxx:34
PndRichPDPoint.h
PndRichPDPoint
Definition:
PndRichPDPoint.h:10
Double_t
Double_t
Definition:
SimCompleteLinkDef.h:6
fY
Double_t fY
Definition:
PndCaloDraw.cxx:34
ClassImp
ClassImp(PndAnaContFact)
PndRichPDPoint::~PndRichPDPoint
virtual ~PndRichPDPoint()
Definition:
PndRichPDPoint.cxx:26
PndRichPDPoint::Print
virtual void Print(const Option_t *opt) const
Definition:
PndRichPDPoint.cxx:30
PndRichPDPoint::PndRichPDPoint
PndRichPDPoint()
Definition:
PndRichPDPoint.cxx:9
Generated on Wed Apr 3 2019 10:02:56 for FairRoot/PandaRoot by
1.8.5