ATLAS Offline Software
Loading...
Searching...
No Matches
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
30static const InterfaceID IID_ITruthIsolationTool("ITruthIsolationTool", 1, 0);
31
32class ITruthIsolationTool : virtual public IAlgTool
33{
34
36 // Public enums:
38 public:
39
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
100inline const InterfaceID& ITruthIsolationTool::interfaceID()
101{
103}
104
105
106#endif //> MCPARTICLEKERNEL_ITRUTHISOLATIONTOOL_H
static const InterfaceID IID_ITruthIsolationTool("ITruthIsolationTool", 1, 0)
interface for AlgTools which want to compute and/or retrieve isolation energies for/from HepMC::GenEv...
virtual ~ITruthIsolationTool()
Destructor:
virtual StatusCode registerAlias(const std::string &originalMcEvtColl, const std::string &aliasMcEvtColl)=0
Make an alias in the map of isolation energies.
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...
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.
ParticleSelect
enumerator to decide which strategy to apply in the selection of particles during the Et-isolation co...
virtual StatusCode initialize()=0
static const InterfaceID & interfaceID()
Inline methods: