ATLAS Offline Software
Namespaces | Macros
FourMomFillerTool.cxx File Reference

Block filler tool for a four-momentum. More...

#include "FourMomFillerTool.h"
#include "EventKernel/INavigable4Momentum.h"
#include "EventKernel/I4Momentum.h"
#include "AthenaKernel/errorcheck.h"
#include "CLHEP/Vector/LorentzVector.h"
#include "TLorentzVector.h"
#include <typeinfo>
#include <cmath>
Include dependency graph for FourMomFillerTool.cxx:

Go to the source code of this file.

Namespaces

 D3PD
 Block filler tool for noisy FEB information.
 

Macros

#define FILL_BODY(P, PT, TANTH)
 

Detailed Description

Block filler tool for a four-momentum.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Aug, 2009

Definition in file FourMomFillerTool.cxx.

Macro Definition Documentation

◆ FILL_BODY

#define FILL_BODY (   P,
  PT,
  TANTH 
)
Value:
do { \
if (m_do_E) *m_E = static_cast<float> (p.e()); \
if (m_do_p) *m_p = static_cast<float> (P); \
if (m_do_Et) *m_Et = static_cast<float> (p.et()); \
if (m_do_pt) *m_pt = static_cast<float> (PT); \
if (m_do_m) *m_m = static_cast<float> (p.m()); \
if (m_do_rapidity) *m_y = static_cast<float> (p.rapidity()); \
if (m_do_tanth) *m_tanth = static_cast<float> (TANTH); \
if (m_do_etaphi) { \
*m_eta = static_cast<float> (p.eta()); \
*m_phi = static_cast<float> (p.phi()); \
} \
if (m_do_rect) { \
*m_px = static_cast<float> (p.px()); \
*m_py = static_cast<float> (p.py()); \
*m_pz = static_cast<float> (p.pz()); \
} \
} while(0)

Definition at line 89 of file FourMomFillerTool.cxx.

DMTest::P
P_v1 P
Definition: P.h:23
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
if
if(febId1==febId2)
Definition: LArRodBlockPhysicsV0.cxx:567
H5Utils::internal::PT
H5::PredType PT
Definition: H5Traits.cxx:15