ATLAS Offline Software
IMuidTrackIsolation.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IMuidTrackIsolation
7 // tool interface for estimating the number, total charged momentum and most
8 // energetic inner detector tracks in a cone surrounding a muon
9 //
11 
12 #ifndef MUIDINTERFACES_IMUIDTRACKISOLATION_H
13 #define MUIDINTERFACES_IMUIDTRACKISOLATION_H
14 
15 #include <utility>
16 
17 #include "GaudiKernel/IAlgTool.h"
18 
19 namespace Rec {
20 
28  class IMuidTrackIsolation : virtual public IAlgTool {
29  public:
31  virtual ~IMuidTrackIsolation() = default;
32 
34  static const InterfaceID& interfaceID() {
35  static const InterfaceID IID_IMuidTrackIsolation("IMuidTrackIsolation", 1, 0);
36  return IID_IMuidTrackIsolation;
37  }
38 
42  virtual std::pair<int, double> trackIsolation(const EventContext& ctx, double eta, double phi) const = 0;
43  };
44 
45 } // namespace Rec
46 
47 #endif // MUIDINTERFACES_IMUIDTRACKISOLATION_H
Rec::IMuidTrackIsolation::interfaceID
static const InterfaceID & interfaceID()
AlgTool and IAlgTool interface methods.
Definition: IMuidTrackIsolation.h:34
Rec::IMuidTrackIsolation::~IMuidTrackIsolation
virtual ~IMuidTrackIsolation()=default
Virtual destructor.
Rec::IMuidTrackIsolation
Definition: IMuidTrackIsolation.h:28
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
Rec::IMuidTrackIsolation::trackIsolation
virtual std::pair< int, double > trackIsolation(const EventContext &ctx, double eta, double phi) const =0
IMuidTrackIsolation interface: get the number of tracks and summed momentum in a cone at the producti...