ATLAS Offline Software
Obj3.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 // $Id$
14 #include "D3PDMakerTest/Obj3.h"
15 
16 
17 namespace D3PDTest {
18 
19 
21 {
22 }
23 
24 
25 Obj3::Obj3 (double pt, double eta, double phi, double m)
26 {
27  momentumBase().setPt (pt);
30  momentumBase().setM (m);
31 }
32 
33 
34 } // namespace D3PDTest
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >::pt
virtual double pt() const
transverse momentum
Definition: ParticleImpl.h:554
test_pyathena.pt
pt
Definition: test_pyathena.py:11
P4PtEtaPhiM::setM
virtual void setM(double theM)
set mass data member
Definition: P4PtEtaPhiM.h:124
ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >::m
virtual double m() const
mass
Definition: ParticleImpl.h:464
P4PtEtaPhiM::setPt
virtual void setPt(double thePt)
set pt data member
Definition: P4PtEtaPhiM.h:115
P4PtEtaPhiM::setPhi
virtual void setPhi(double thePhi)
set phi data member
Definition: P4PtEtaPhiM.h:121
Obj3.h
Test class for D3PD maker.
ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >::phi
virtual double phi() const
phi in [-pi,pi[
Definition: ParticleImpl.h:524
ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >::eta
virtual double eta() const
pseudo rapidity
Definition: ParticleImpl.h:514
P4PtEtaPhiM::setEta
virtual void setEta(double theEta)
set eta data member
Definition: P4PtEtaPhiM.h:118
ParticleImpl< NavigableTerminalNode, P4PtEtaPhiM >::momentumBase
const momentum_type & momentumBase() const
access to underlying base type (I4Momentum-like)
Definition: ParticleImpl.h:393
D3PDTest
Definition: MapDumper.h:25
D3PDTest::Obj3::Obj3
Obj3()
Definition: Obj3.cxx:20