CbmRoot
CbmMuchPointInfo.cxx
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- CbmMuchPointInfo source file -----
3
// ----- Created 21/11/07 by E. Kryshen -----
4
// -------------------------------------------------------------------------
5
6
7
#include "
CbmMuchPointInfo.h
"
8
9
10
ClassImp
(
CbmMuchPointInfo
)
11
12
// -------------------------------------------------------------------------
13
CbmMuchPointInfo::CbmMuchPointInfo
()
14
: TObject()
15
, fKine(0.)
16
, fLength(0.)
17
, fPdgCode(0)
18
, fMotherPdg(0)
19
, fCharge(0)
20
, fStationId(0)
21
, fS(0.)
22
, fNPads(0) {}
23
// -------------------------------------------------------------------------
24
25
// -------------------------------------------------------------------------
26
CbmMuchPointInfo::CbmMuchPointInfo
(Int_t pdgCode,
27
Int_t motherPdg,
28
Double_t kine,
29
Double_t length,
30
Int_t stationId)
31
: TObject()
32
, fKine(kine)
33
, fLength(length)
34
, fPdgCode(pdgCode)
35
, fMotherPdg(motherPdg)
36
, fCharge(0)
37
, fStationId(stationId)
38
, fS(0)
39
, fNPads(0) {}
40
// -------------------------------------------------------------------------
41
42
43
// -------------------------------------------------------------------------
44
void
CbmMuchPointInfo::Print
(Option_t*)
const
{
45
printf(
"PointInfo:pdg=%i,kine=%6.4f,length=%4.2f,st_id=%i,charge=%i\n"
,
46
fPdgCode
,
47
fKine
,
48
fLength
,
49
fStationId
,
50
fCharge
);
51
}
52
// -------------------------------------------------------------------------
ClassImp
ClassImp(CbmMuchPointInfo) CbmMuchPointInfo
Definition:
CbmMuchPointInfo.cxx:10
CbmMuchPointInfo::fCharge
Int_t fCharge
Definition:
CbmMuchPointInfo.h:48
CbmMuchPointInfo::fLength
Double_t fLength
Definition:
CbmMuchPointInfo.h:45
CbmMuchPointInfo
Definition:
CbmMuchPointInfo.h:11
CbmMuchPointInfo::CbmMuchPointInfo
CbmMuchPointInfo()
CbmMuchPointInfo::fPdgCode
Int_t fPdgCode
Definition:
CbmMuchPointInfo.h:46
CbmMuchPointInfo::Print
void Print(Option_t *="") const
Definition:
CbmMuchPointInfo.cxx:44
CbmMuchPointInfo::fStationId
Int_t fStationId
Definition:
CbmMuchPointInfo.h:49
CbmMuchPointInfo::fKine
Double_t fKine
Definition:
CbmMuchPointInfo.h:44
CbmMuchPointInfo.h
sim
detectors
much
qa
CbmMuchPointInfo.cxx
Generated on Wed Oct 28 2020 15:11:42 for CbmRoot by
1.8.18