ATLAS Offline Software
ITrackIsolationTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ITrackIsolationTool.h, (c) ATLAS Detector software
8 #ifndef TRKISOLATIONTOOLS_ITRACKISOALTIONTOOL_H
9 #define TRKISOLATIONTOOLS_ITRACKISOALTIONTOOL_H
10 
11 #include "AsgTools/AsgTool.h"
13 #include "xAODTracking/Vertex.h"
15 #include "IsolationCommon.h"
16 #include <set>
17 
18 namespace xAOD {
19 
26  class ITrackIsolationTool : virtual public asg::IAsgTool {
28  public:
29 
43  virtual bool trackIsolation( TrackIsolation& result, const IParticle& tp,
44  const std::vector<Iso::IsolationType>& cones,
45  TrackCorrection corrections,
46  const Vertex* vertex = 0,
47  const std::set<const xAOD::TrackParticle*>* exclusionSet = 0,
48  const TrackParticleContainer* indetTrackParticles = 0) const = 0;
49 
50  };
51 
52 } // end of namespace
53 
54 #endif
xAOD::ITrackIsolationTool
interface for tools calculating track isolation
Definition: ITrackIsolationTool.h:26
get_generator_info.result
result
Definition: get_generator_info.py:21
xAOD::TrackCorrection
Definition: IsolationCommon.h:18
IsolationType.h
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition: IAsgTool.h:41
ParticleTest.tp
tp
Definition: ParticleTest.py:25
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition: Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::ITrackIsolationTool::trackIsolation
virtual bool trackIsolation(TrackIsolation &result, const IParticle &tp, const std::vector< Iso::IsolationType > &cones, TrackCorrection corrections, const Vertex *vertex=0, const std::set< const xAOD::TrackParticle * > *exclusionSet=0, const TrackParticleContainer *indetTrackParticles=0) const =0
ITrackIsolationTool interface: Calculates the track isolation.
IsolationCommon.h
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition: AsgToolMacros.h:40
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
Vertex.h
xAOD::TrackIsolation
Definition: IsolationCommon.h:33
TrackParticle.h
Trk::vertex
@ vertex
Definition: MeasurementType.h:21
xAOD::Vertex_v1
Class describing a Vertex.
Definition: Vertex_v1.h:42
AsgTool.h