ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimEvent
ISF_FastCaloSimEvent
TFCSTruthState.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ISF_FASTCALOSIMEVENT_TFCSTruthState_h
6
#define ISF_FASTCALOSIMEVENT_TFCSTruthState_h
7
8
#include <TLorentzVector.h>
9
10
#include "
ISF_FastCaloSimEvent/MLogging.h
"
11
12
13
class
TFCSTruthState
:
public
TLorentzVector,
public
ISF_FCS::MLogging
{
14
public
:
15
TFCSTruthState
();
16
TFCSTruthState
(Double_t
x
, Double_t
y
, Double_t
z
, Double_t t,
int
pdgid
);
17
18
void
set_pdgid
(
int
val) {
m_pdgid
= val; };
19
void
set_vertex
(
const
TLorentzVector &val) {
m_vertex
= val; };
20
void
set_vertex
(Double_t
x
, Double_t
y
, Double_t
z
, Double_t t = 0) {
21
m_vertex
.SetXYZT(
x
,
y
,
z
, t);
22
};
23
void
set_Ekin_off
(
double
val) {
m_ekin_off
= val; };
24
25
int
pdgid
()
const
{
return
m_pdgid
; };
26
double
Ekin
()
const
{
return
E() - M() +
m_ekin_off
; };
27
double
Ekin_off
()
const
{
return
m_ekin_off
; };
28
const
TLorentzVector &
vertex
()
const
{
return
m_vertex
; };
29
30
void
Print
(Option_t *option =
""
)
const
;
31
32
private
:
33
int
m_pdgid
;
34
TLorentzVector
m_vertex
;
35
double
m_ekin_off
= 0;
36
37
ClassDef(
TFCSTruthState
, 3)
// TFCSTruthState
38
};
39
40
#endif
MLogging.h
y
#define y
x
#define x
z
#define z
ISF_FCS::MLogging
Cut down AthMessaging.
Definition
MLogging.h:176
TFCSTruthState::m_ekin_off
double m_ekin_off
Definition
TFCSTruthState.h:35
TFCSTruthState::set_vertex
void set_vertex(Double_t x, Double_t y, Double_t z, Double_t t=0)
Definition
TFCSTruthState.h:20
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::set_pdgid
void set_pdgid(int val)
Definition
TFCSTruthState.h:18
TFCSTruthState::Ekin
double Ekin() const
Definition
TFCSTruthState.h:26
TFCSTruthState::set_vertex
void set_vertex(const TLorentzVector &val)
Definition
TFCSTruthState.h:19
TFCSTruthState::vertex
const TLorentzVector & vertex() const
Definition
TFCSTruthState.h:28
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
TFCSTruthState::set_Ekin_off
void set_Ekin_off(double val)
Definition
TFCSTruthState.h:23
Generated on
for ATLAS Offline Software by
1.17.0