BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
Loading...
Searching...
No Matches
CbmHit.cxx
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmHit source file -----
3
// ----- Created 16/11/07 by V. Friese -----
4
// -------------------------------------------------------------------------
5
6
#include "
CbmHit.h
"
7
8
#include <iostream>
9
using namespace
std
;
10
11
// ----- Default constructor -------------------------------------------
12
CbmHit::CbmHit
()
13
:
FairHit
()
14
,
fCovXY
(0.)
15
{}
16
// -------------------------------------------------------------------------
17
18
// ----- Standard constructor ------------------------------------------
19
CbmHit::CbmHit
(
Int_t
detId,
TVector3
& pos,
TVector3
& dpos,
Double_t
covXY,
Int_t
index)
20
:
FairHit
(detId, pos, dpos, index)
21
,
fCovXY
(covXY)
22
{}
23
// -------------------------------------------------------------------------
24
25
// ----- Destructor ----------------------------------------------------
26
CbmHit::~CbmHit
() {}
27
// -------------------------------------------------------------------------
28
29
// ----- Public method Print -------------------------------------------
30
void
CbmHit::Print
(
const
Option_t
* opt)
const
31
{
32
cout.precision(5);
33
cout <<
"Hit at ("
<< fX <<
", "
<< fY <<
", "
<< fZ <<
") cm, "
34
<<
"Detector "
<< fDetectorID <<
", Station "
<<
GetStationNr
() << endl;
35
}
36
// -------------------------------------------------------------------------
Int_t
int Int_t
Double_t
double Double_t
Option_t
const char Option_t
CbmHit.h
CbmHit::CbmHit
CbmHit()
Default constructor.
Definition
CbmHit.cxx:12
CbmHit::Print
virtual void Print(const Option_t *opt=0) const
Output to screen.
Definition
CbmHit.cxx:30
CbmHit::GetStationNr
virtual Int_t GetStationNr() const =0
CbmHit::fCovXY
Double32_t fCovXY
Definition
CbmHit.h:48
CbmHit::~CbmHit
virtual ~CbmHit()
Destructor.
Definition
CbmHit.cxx:26
FairHit
TVector3
std
Definition
json.hpp:4446
base
cbm
CbmHit.cxx
Generated on
for BmnRoot by
1.17.0