ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
TruthParticleID
McParticleKernel
McParticleKernel
ITruthIsolationTool.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// ITruthParticleCnvTool.h
8
// Header file for class ITruthParticleCnvTool
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef MCPARTICLEKERNEL_ITRUTHISOLATIONTOOL_H
12
#define MCPARTICLEKERNEL_ITRUTHISOLATIONTOOL_H
13
21
22
// STL includes
23
#include <string>
24
25
// FrameWork includes
26
#include "GaudiKernel/IAlgTool.h"
27
28
// Forward declaration
29
30
static
const
InterfaceID
IID_ITruthIsolationTool
(
"ITruthIsolationTool"
, 1, 0);
31
32
class
ITruthIsolationTool
:
virtual
public
IAlgTool
33
{
34
36
// Public enums:
38
public
:
39
43
enum
ParticleSelect
{
44
UseChargedOnly
= 0,
45
UseAll
46
};
47
49
// Public methods:
51
public
:
52
55
virtual
~ITruthIsolationTool
();
56
57
// Athena algorithm's Hooks
58
virtual
StatusCode
initialize
() = 0;
59
61
// Const methods:
63
static
const
InterfaceID&
interfaceID
();
64
72
virtual
const
std::string&
73
etIsolationsName
(
const
std::string& mcEvtName )
const
= 0;
74
76
// Non-const methods:
78
84
virtual
85
StatusCode
buildEtIsolations
(
const
std::string& mcEvtName,
86
ParticleSelect
c=
UseAll
) = 0;
87
90
virtual
91
StatusCode
registerAlias
(
const
std::string& originalMcEvtColl,
92
const
std::string& aliasMcEvtColl ) = 0;
93
94
95
};
96
100
inline
const
InterfaceID&
ITruthIsolationTool::interfaceID
()
101
{
102
return
IID_ITruthIsolationTool
;
103
}
104
105
106
#endif
//> MCPARTICLEKERNEL_ITRUTHISOLATIONTOOL_H
IID_ITruthIsolationTool
static const InterfaceID IID_ITruthIsolationTool("ITruthIsolationTool", 1, 0)
ITruthIsolationTool
interface for AlgTools which want to compute and/or retrieve isolation energies for/from HepMC::GenEv...
Definition
ITruthIsolationTool.h:33
ITruthIsolationTool::~ITruthIsolationTool
virtual ~ITruthIsolationTool()
Destructor:
Definition
ITruthIsolationTool.cxx:22
ITruthIsolationTool::registerAlias
virtual StatusCode registerAlias(const std::string &originalMcEvtColl, const std::string &aliasMcEvtColl)=0
Make an alias in the map of isolation energies.
ITruthIsolationTool::etIsolationsName
virtual const std::string & etIsolationsName(const std::string &mcEvtName) const =0
Return the name of the TruthEtIsolations container (ie: its StoreGate location) given the StoreGate l...
ITruthIsolationTool::buildEtIsolations
virtual StatusCode buildEtIsolations(const std::string &mcEvtName, ParticleSelect c=UseAll)=0
Computes the isolation energies for each of the HepMC::GenEvent contained into the McEventCollection.
ITruthIsolationTool::ParticleSelect
ParticleSelect
enumerator to decide which strategy to apply in the selection of particles during the Et-isolation co...
Definition
ITruthIsolationTool.h:43
ITruthIsolationTool::UseChargedOnly
@ UseChargedOnly
Definition
ITruthIsolationTool.h:44
ITruthIsolationTool::UseAll
@ UseAll
Definition
ITruthIsolationTool.h:45
ITruthIsolationTool::initialize
virtual StatusCode initialize()=0
ITruthIsolationTool::interfaceID
static const InterfaceID & interfaceID()
Inline methods:
Definition
ITruthIsolationTool.h:100
Generated on
for ATLAS Offline Software by
1.14.0