ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimEvent
src
TFCSTruthState.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ISF_FastCaloSimEvent/TFCSTruthState.h
"
6
#include <iostream>
7
8
//=============================================
9
//======= TFCSTruthState =========
10
//=============================================
11
12
TFCSTruthState::TFCSTruthState
()
13
: TLorentzVector(),
m_pdgid
(0),
m_vertex
(0, 0, 0, 0) {}
14
15
TFCSTruthState::TFCSTruthState
(Double_t
x
, Double_t
y
, Double_t
z
, Double_t t,
16
int
pdgid
)
17
: TLorentzVector(
x
,
y
,
z
, t),
m_vertex
(0, 0, 0, 0) {
18
m_pdgid
=
pdgid
;
19
}
20
21
void
TFCSTruthState::Print
(Option_t *)
const
{
22
ATH_MSG_INFO
(
"PDGID="
<<
m_pdgid
<<
" pT="
<< Pt() <<
" eta="
<<
Eta
()
23
<<
" phi="
<<
Phi
() <<
" E="
<< E()
24
<<
" Ekin_off="
<<
Ekin_off
());
25
}
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition
AthMsgStreamMacros.h:31
Phi
@ Phi
Definition
RPCdef.h:8
Eta
@ Eta
Definition
RPCdef.h:8
TFCSTruthState.h
y
#define y
x
#define x
z
#define z
TFCSTruthState::m_pdgid
int m_pdgid
Definition
TFCSTruthState.h:33
TFCSTruthState::Print
void Print(Option_t *option="") const
Definition
TFCSTruthState.cxx:21
TFCSTruthState::pdgid
int pdgid() const
Definition
TFCSTruthState.h:25
TFCSTruthState::Ekin_off
double Ekin_off() const
Definition
TFCSTruthState.h:27
TFCSTruthState::TFCSTruthState
TFCSTruthState()
Definition
TFCSTruthState.cxx:12
TFCSTruthState::m_vertex
TLorentzVector m_vertex
Definition
TFCSTruthState.h:34
Generated on
for ATLAS Offline Software by
1.14.0