CbmRoot
Loading...
Searching...
No Matches
CbmRichPoint.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2004-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Boris Polichtchouk, Denis Bertini [committer], Florian Uhlig */
4
5
// -------------------------------------------------------------------------
6
// ----- CbmRichPoint source file -----
7
// ----- Created 28/04/04 by B. Polichtchouk -----
8
// -------------------------------------------------------------------------
9
10
#include "
CbmRichPoint.h
"
11
12
#include <FairMCPoint.h>
// for FairMCPoint
13
#include <Logger.h>
// for Logger, LOG
14
15
#include <TVector3.h>
// for TVector3
16
17
18
// ----- Default constructor -------------------------------------------
19
CbmRichPoint::CbmRichPoint
() : FairMCPoint() {}
20
// -------------------------------------------------------------------------
21
22
23
// ----- Standard constructor ------------------------------------------
24
CbmRichPoint::CbmRichPoint
(int32_t trackID, int32_t detID, TVector3
pos
, TVector3 mom,
double
tof,
double
length,
25
double
eLoss)
26
: FairMCPoint(trackID, detID,
pos
, mom, tof, length, eLoss)
27
{
28
}
29
// -------------------------------------------------------------------------
30
31
32
// ----- Destructor ----------------------------------------------------
33
CbmRichPoint::~CbmRichPoint
() {}
34
// -------------------------------------------------------------------------
35
36
37
// ----- Public method Print -------------------------------------------
38
void
CbmRichPoint::Print
(
const
Option_t*
/*opt*/
)
const
39
{
40
LOG(info) <<
"-I- CbmRichPoint: RICH Point for track "
<< fTrackID <<
" in detector "
<< fDetectorID;
41
LOG(info) <<
" Position ("
<< fX <<
", "
<< fY <<
", "
<< fZ <<
") cm"
;
42
LOG(info) <<
" Momentum ("
<< fPx <<
", "
<< fPy <<
", "
<< fPz <<
") GeV"
;
43
LOG(info) <<
" Time "
<< fTime <<
" ns, Length "
<< fLength <<
" cm, Energy loss "
<< fELoss * 1.0e06 <<
" keV"
;
44
}
45
// -------------------------------------------------------------------------
46
47
48
ClassImp
(
CbmRichPoint
)
ClassImp
ClassImp(CbmConverterManager)
pos
TVector3 pos
Definition
CbmMvdSensorDigiToHitTask.cxx:56
CbmRichPoint.h
CbmRichPoint
Definition
CbmRichPoint.h:29
CbmRichPoint::CbmRichPoint
CbmRichPoint()
Definition
CbmRichPoint.cxx:19
CbmRichPoint::~CbmRichPoint
virtual ~CbmRichPoint()
Definition
CbmRichPoint.cxx:33
CbmRichPoint::Print
virtual void Print(const Option_t *opt) const
Definition
CbmRichPoint.cxx:38
core
data
rich
CbmRichPoint.cxx
Generated on Sun Dec 22 2024 23:04:08 for CbmRoot by
1.12.0