CbmRoot
Loading...
Searching...
No Matches
CbmMuchPointInfo.cxx
Go to the documentation of this file.
1
/* Copyright (C) 2007-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Evgeny Kryshen, Florian Uhlig [committer] */
4
5
// -------------------------------------------------------------------------
6
// ----- CbmMuchPointInfo source file -----
7
// ----- Created 21/11/07 by E. Kryshen -----
8
// -------------------------------------------------------------------------
9
10
11
#include "
CbmMuchPointInfo.h
"
12
13
14
ClassImp
(
CbmMuchPointInfo
)
15
16
// -------------------------------------------------------------------------
17
CbmMuchPointInfo::CbmMuchPointInfo
()
18
: TObject()
19
, fKine(0.)
20
, fLength(0.)
21
, fPdgCode(0)
22
, fMotherPdg(0)
23
, fCharge(0)
24
, fStationId(0)
25
, fS(0.)
26
, fNPads(0)
27
{
28
}
29
// -------------------------------------------------------------------------
30
31
// -------------------------------------------------------------------------
32
CbmMuchPointInfo::CbmMuchPointInfo
(
Int_t
pdgCode,
Int_t
motherPdg, Double_t kine, Double_t length,
Int_t
stationId)
33
: TObject()
34
,
fKine
(kine)
35
,
fLength
(length)
36
,
fPdgCode
(pdgCode)
37
,
fMotherPdg
(motherPdg)
38
,
fCharge
(0)
39
,
fStationId
(stationId)
40
,
fS
(0)
41
,
fNPads
(0)
42
{
43
}
44
// -------------------------------------------------------------------------
45
46
47
// -------------------------------------------------------------------------
48
void
CbmMuchPointInfo::Print
(Option_t*)
const
49
{
50
printf(
"PointInfo:pdg=%i,kine=%6.4f,length=%4.2f,st_id=%i,charge=%i\n"
,
fPdgCode
,
fKine
,
fLength
,
fStationId
,
51
fCharge
);
52
}
53
// -------------------------------------------------------------------------
ClassImp
ClassImp(CbmMuchPointInfo) CbmMuchPointInfo
Definition
CbmMuchPointInfo.cxx:14
CbmMuchPointInfo.h
Int_t
int Int_t
Definition
RootTypesDef.h:16
CbmMuchPointInfo
Definition
CbmMuchPointInfo.h:15
CbmMuchPointInfo::fMotherPdg
Int_t fMotherPdg
Definition
CbmMuchPointInfo.h:48
CbmMuchPointInfo::fS
Double_t fS
Definition
CbmMuchPointInfo.h:51
CbmMuchPointInfo::fLength
Double_t fLength
Definition
CbmMuchPointInfo.h:46
CbmMuchPointInfo::Print
void Print(Option_t *="") const
Definition
CbmMuchPointInfo.cxx:48
CbmMuchPointInfo::fPdgCode
Int_t fPdgCode
Definition
CbmMuchPointInfo.h:47
CbmMuchPointInfo::fKine
Double_t fKine
Definition
CbmMuchPointInfo.h:45
CbmMuchPointInfo::CbmMuchPointInfo
CbmMuchPointInfo()
CbmMuchPointInfo::fNPads
Int_t fNPads
Definition
CbmMuchPointInfo.h:52
CbmMuchPointInfo::fCharge
Int_t fCharge
Definition
CbmMuchPointInfo.h:49
CbmMuchPointInfo::fStationId
Int_t fStationId
Definition
CbmMuchPointInfo.h:50
core
detectors
much
CbmMuchPointInfo.cxx
Generated on Fri Jan 30 2026 23:05:23 for CbmRoot by
1.13.2