FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairTutPropHit.cxx
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2020 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
#include "
FairTutPropHit.h
"
9
10
FairTutPropHit::FairTutPropHit
()
11
:
FairHit
()
12
, fTrackID(-1)
13
, fPx(0.)
14
, fPy(0.)
15
, fPz(0.)
16
, fDPx(0.)
17
, fDPy(0.)
18
, fDPz(0.)
19
{}
20
21
FairTutPropHit::FairTutPropHit
(
int
detID,
22
int
mcindex,
23
const
TVector3& pos,
24
const
TVector3& dpos,
25
int
trackID,
26
int
pdgCode,
27
double
charge,
28
const
TVector3& mom,
29
const
TVector3& dmom)
30
:
FairHit
(detID, pos, dpos, mcindex)
31
, fTrackID(trackID)
32
, fPdgCode(pdgCode)
33
, fCharge(charge)
34
, fPx(mom.
X
())
35
, fPy(mom.Y())
36
, fPz(mom.Z())
37
, fDPx(dmom.
X
())
38
, fDPy(dmom.Y())
39
, fDPz(dmom.Z())
40
{}
41
42
FairTutPropHit::~FairTutPropHit
() {}
43
44
ClassImp
(
FairTutPropHit
);
FairTutPropHit.h
ClassImp
ClassImp(FairEventBuilder)
X
Definition:
cxx11-test-constructor-delegation.cpp:1
FairHit
Definition:
FairHit.h:29
FairTutPropHit::FairTutPropHit
FairTutPropHit()
Definition:
FairTutPropHit.cxx:10
FairTutPropHit::~FairTutPropHit
virtual ~FairTutPropHit()
Definition:
FairTutPropHit.cxx:42
FairTutPropHit
Definition:
FairTutPropHit.h:23
FairRoot
examples
advanced
propagator
src
FairTutPropHit.cxx
Generated on Mon Mar 8 2021 12:14:05 for FairRoot by
1.8.5