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>
Go to the source code of this file.
|
| D3PD |
| Block filler tool for noisy FEB information.
|
|
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.
◆ 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);
\
*m_eta =
static_cast<float> (
p.eta()); \
*m_phi =
static_cast<float> (
p.phi()); \
*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.