ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDMaker
D3PDMakerTest
src
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
20
#include "
D3PDMakerUtils/SingleAssociationTool.h
"
21
#include "CLHEP/Vector/LorentzVector.h"
22
#include "
EventKernel/INavigable4Momentum.h
"
23
24
25
26
namespace
D3PDTest
{
27
28
32
class
IN4MHLVAssociationTool
33
:
public
D3PD::SingleAssociationTool
<INavigable4Momentum,
34
CLHEP::HepLorentzVector>
35
{
36
public
:
37
typedef
D3PD::SingleAssociationTool
<
INavigable4Momentum
,
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
61
private
:
63
CLHEP::HepLorentzVector
m_p
;
64
};
65
66
67
}
// namespace D3PDTest
68
69
70
#endif
// not D3PDMAKERTEST_IN4MHLVASSOCIATIONTOOL_H
INavigable4Momentum.h
SingleAssociationTool.h
Type-safe wrapper for single associator tools.
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
D3PD::SingleAssociationTool
Type-safe wrapper for single associator tools.
Definition
SingleAssociationTool.h:133
INavigable4Momentum
Definition
INavigable4Momentum.h:21
D3PDTest
Definition
MapDumper.h:25
type
Generated on
for ATLAS Offline Software by
1.17.0