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
CbmMuchPointInfo
Definition
CbmMuchPointInfo.h:15
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::fCharge
Int_t fCharge
Definition
CbmMuchPointInfo.h:49
CbmMuchPointInfo::fStationId
Int_t fStationId
Definition
CbmMuchPointInfo.h:50
core
detectors
much
CbmMuchPointInfo.cxx
Generated on Sun Dec 22 2024 23:04:09 for CbmRoot by
1.12.0