ATLAS Offline Software
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
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
TFCSTruthState::Print
void Print(Option_t *option="") const
Definition:
TFCSTruthState.cxx:21
x
#define x
z
#define z
TFCSTruthState::m_pdgid
int m_pdgid
Definition:
TFCSTruthState.h:33
VP1PartSpect::E
@ E
Definition:
VP1PartSpectFlags.h:21
TFCSTruthState::pdgid
int pdgid() const
Definition:
TFCSTruthState.h:25
TFCSTruthState::Ekin_off
double Ekin_off() const
Definition:
TFCSTruthState.h:27
Prompt::Def::Pt
@ Pt
Definition:
VarHolder.h:76
TFCSTruthState.h
y
#define y
TFCSTruthState::TFCSTruthState
TFCSTruthState()
Definition:
TFCSTruthState.cxx:12
Eta
@ Eta
Definition:
RPCdef.h:8
Generated on Sun Dec 22 2024 21:19:18 for ATLAS Offline Software by
1.8.18