ATLAS Offline Software
IMuidCaloEnergy.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IMuidCaloEnergy
7 // tool interface for estimating the energy loss of a muon with its error.
8 //
10 
11 #ifndef MUIDINTERFACES_IMUIDCALOENERGY_H
12 #define MUIDINTERFACES_IMUIDCALOENERGY_H
13 
14 #include "GaudiKernel/IAlgTool.h"
16 
17 class CaloEnergy;
18 
19 namespace Trk {
20  class TrackStateOnSurface;
21 }
22 
23 namespace Rec {
24 
31  class IMuidCaloEnergy : virtual public IAlgTool {
32  public:
34  virtual ~IMuidCaloEnergy() = default;
35 
37  static const InterfaceID& interfaceID() {
39  static const InterfaceID IID_IMuidCaloEnergy("IMuidCaloEnergy", 1, 0);
40 
41  return IID_IMuidCaloEnergy;
42  }
43 
46  virtual std::unique_ptr<CaloEnergy> energyLoss(const EventContext& ctx, double trackMomentum, double eta, double phi) const = 0;
47 
50  virtual std::unique_ptr<Trk::TrackStateOnSurface> trackStateOnSurface(
51  const EventContext& ctx, const Trk::TrackParameters& middleParameters, const Trk::TrackParameters* innerParameters = nullptr,
52  const Trk::TrackParameters* outerParameters = nullptr) const = 0;
53  };
54 
55 } // namespace Rec
56 
57 #endif // MUIDINTERFACES_IMUIDCALOENERGY_H
str::trackMomentum
const std::string trackMomentum
Definition: BTagTrackIpAccessor.cxx:15
TrackParameters.h
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
CaloEnergy
class extending the basic Trk::EnergyLoss to describe the measured or parameterised muon energy loss ...
Definition: CaloEnergy.h:28
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
Rec::IMuidCaloEnergy::trackStateOnSurface
virtual std::unique_ptr< Trk::TrackStateOnSurface > trackStateOnSurface(const EventContext &ctx, const Trk::TrackParameters &middleParameters, const Trk::TrackParameters *innerParameters=nullptr, const Trk::TrackParameters *outerParameters=nullptr) const =0
IMuidCaloEnergy interface: TrackStateOnSurface for parameters and energyLoss at the calorimeter mid-s...
Rec
Name: MuonSpContainer.h Package : offline/Reconstruction/MuonIdentification/muonEvent.
Definition: FakeTrackBuilder.h:10
Trk::ParametersBase
Definition: ParametersBase.h:55
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Rec::IMuidCaloEnergy::energyLoss
virtual std::unique_ptr< CaloEnergy > energyLoss(const EventContext &ctx, double trackMomentum, double eta, double phi) const =0
IMuidCaloEnergy interface: to get the total energyLoss in the calorimeters.
Rec::IMuidCaloEnergy::~IMuidCaloEnergy
virtual ~IMuidCaloEnergy()=default
Virtual destructor.
Rec::IMuidCaloEnergy
Definition: IMuidCaloEnergy.h:31
Rec::IMuidCaloEnergy::interfaceID
static const InterfaceID & interfaceID()
AlgTool and IAlgTool interface methods.
Definition: IMuidCaloEnergy.h:37