CbmRoot
CbmRichPoint.cxx
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmRichPoint source file -----
3
// ----- Created 28/04/04 by B. Polichtchouk -----
4
// -------------------------------------------------------------------------
5
6
#include "
CbmRichPoint.h
"
7
8
#include <FairLogger.h>
// for Logger, LOG
9
#include <FairMCPoint.h>
// for FairMCPoint
10
11
#include <TVector3.h>
// for TVector3
12
13
14
// ----- Default constructor -------------------------------------------
15
CbmRichPoint::CbmRichPoint
() : FairMCPoint() {}
16
// -------------------------------------------------------------------------
17
18
19
// ----- Standard constructor ------------------------------------------
20
CbmRichPoint::CbmRichPoint
(Int_t trackID,
21
Int_t detID,
22
TVector3
pos
,
23
TVector3 mom,
24
Double_t tof,
25
Double_t length,
26
Double_t eLoss)
27
: FairMCPoint(trackID, detID,
pos
, mom, tof, length, eLoss) {}
28
// -------------------------------------------------------------------------
29
30
31
// ----- Destructor ----------------------------------------------------
32
CbmRichPoint::~CbmRichPoint
() {}
33
// -------------------------------------------------------------------------
34
35
36
// ----- Public method Print -------------------------------------------
37
void
CbmRichPoint::Print
(
const
Option_t*
/*opt*/
)
const
{
38
LOG(info) <<
"-I- CbmRichPoint: RICH Point for track "
<< fTrackID
39
<<
" in detector "
<< fDetectorID;
40
LOG(info) <<
" Position ("
<< fX <<
", "
<< fY <<
", "
<< fZ <<
") cm"
;
41
LOG(info) <<
" Momentum ("
<< fPx <<
", "
<< fPy <<
", "
<< fPz <<
") GeV"
;
42
LOG(info) <<
" Time "
<< fTime <<
" ns, Length "
<< fLength
43
<<
" cm, Energy loss "
<< fELoss * 1.0e06 <<
" keV"
;
44
}
45
// -------------------------------------------------------------------------
46
47
48
ClassImp
(
CbmRichPoint
)
CbmRichPoint.h
CbmRichPoint::Print
virtual void Print(const Option_t *opt) const
Definition:
CbmRichPoint.cxx:37
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition:
CbmConverterManager.cxx:12
pos
TVector3 pos
Definition:
CbmMvdSensorDigiToHitTask.cxx:60
CbmRichPoint
Definition:
CbmRichPoint.h:24
CbmRichPoint::~CbmRichPoint
virtual ~CbmRichPoint()
Definition:
CbmRichPoint.cxx:32
CbmRichPoint::CbmRichPoint
CbmRichPoint()
Definition:
CbmRichPoint.cxx:15
core
data
rich
CbmRichPoint.cxx
Generated on Wed Oct 28 2020 15:11:44 for CbmRoot by
1.8.18