ATLAS Offline Software
Loading...
Searching...
No Matches
IN4MHLVAssociationTool.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id$
14
15
16#ifndef D3PDMAKERTEST_IN4MHLVASSOCIATIONTOOL_H
17#define D3PDMAKERTEST_IN4MHLVASSOCIATIONTOOL_H
18
19
21#include "CLHEP/Vector/LorentzVector.h"
23
24
25
26namespace D3PDTest {
27
28
33 : public D3PD::SingleAssociationTool<INavigable4Momentum,
34 CLHEP::HepLorentzVector>
35{
36public:
38 CLHEP::HepLorentzVector> Base;
39
40
47 IN4MHLVAssociationTool (const std::string& type,
48 const std::string& name,
49 const IInterface* parent);
50
51
58 virtual const CLHEP::HepLorentzVector* get (const INavigable4Momentum& p);
59
60
61private:
63 CLHEP::HepLorentzVector m_p;
64};
65
66
67} // namespace D3PDTest
68
69
70#endif // not D3PDMAKERTEST_IN4MHLVASSOCIATIONTOOL_H
Type-safe wrapper for single associator tools.
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
Type-safe wrapper for single associator tools.