ATLAS Offline Software
Loading...
Searching...
No Matches
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
6#include <iostream>
7
8//=============================================
9//======= TFCSTruthState =========
10//=============================================
11
13 : TLorentzVector(), m_pdgid(0), m_vertex(0, 0, 0, 0) {}
14
15TFCSTruthState::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
21void 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}
#define ATH_MSG_INFO(x)
@ Phi
Definition RPCdef.h:8
@ Eta
Definition RPCdef.h:8
#define y
#define x
#define z
void Print(Option_t *option="") const
int pdgid() const
double Ekin_off() const
TLorentzVector m_vertex