ATLAS Offline Software
Loading...
Searching...
No Matches
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
16#include "CLHEP/Vector/LorentzVector.h"
17
18
19namespace D3PDTest {
20
21
29 const std::string& name,
30 const IInterface* parent)
31 : Base (type, name, parent)
32{
33}
34
35
42const CLHEP::HepLorentzVector*
44{
45 m_p = p.hlv();
46 return &m_p;
47}
48
49
50} // namespace D3PDTest
Test code: IN4M -> HLV.
IN4MHLVAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
Standard Gaudi tool constructor.
virtual const CLHEP::HepLorentzVector * get(const INavigable4Momentum &p)
Return the target object.
CLHEP::HepLorentzVector m_p
Hold the allocated object.
D3PD::SingleAssociationTool< INavigable4Momentum, CLHEP::HepLorentzVector > Base