ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerTest
src
IN4MHLVAssociationTool.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$
12
13
14
#include "
IN4MHLVAssociationTool.h
"
15
#include "
EventKernel/INavigable4Momentum.h
"
16
#include "CLHEP/Vector/LorentzVector.h"
17
18
19
namespace
D3PDTest
{
20
21
28
IN4MHLVAssociationTool::IN4MHLVAssociationTool
(
const
std::string&
type
,
29
const
std::string& name,
30
const
IInterface* parent)
31
:
Base
(
type
, name, parent)
32
{
33
}
34
35
42
const
CLHEP::HepLorentzVector*
43
IN4MHLVAssociationTool::get
(
const
INavigable4Momentum
& p)
44
{
45
m_p
= p.hlv();
46
return
&
m_p
;
47
}
48
49
50
}
// namespace D3PDTest
IN4MHLVAssociationTool.h
Test code: IN4M -> HLV.
INavigable4Momentum.h
D3PDTest::IN4MHLVAssociationTool::IN4MHLVAssociationTool
IN4MHLVAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
Definition
IN4MHLVAssociationTool.cxx:28
D3PDTest::IN4MHLVAssociationTool::get
virtual const CLHEP::HepLorentzVector * get(const INavigable4Momentum &p)
Return the target object.
Definition
IN4MHLVAssociationTool.cxx:43
D3PDTest::IN4MHLVAssociationTool::m_p
CLHEP::HepLorentzVector m_p
Hold the allocated object.
Definition
IN4MHLVAssociationTool.h:63
D3PDTest::IN4MHLVAssociationTool::Base
D3PD::SingleAssociationTool< INavigable4Momentum, CLHEP::HepLorentzVector > Base
Definition
IN4MHLVAssociationTool.h:38
INavigable4Momentum
Definition
INavigable4Momentum.h:21
D3PDTest
Definition
MapDumper.h:25
type
Generated on
for ATLAS Offline Software by
1.14.0