ATLAS Offline Software
Loading...
Searching...
No Matches
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
17class CaloEnergy;
18
19namespace Trk {
21}
22
23namespace 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
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
class extending the basic Trk::EnergyLoss to describe the measured or parameterised muon energy loss ...
Definition CaloEnergy.h:28
Base class for MuidCaloEnergy AlgTool.
static const InterfaceID & interfaceID()
AlgTool and IAlgTool interface methods.
virtual ~IMuidCaloEnergy()=default
Virtual destructor.
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...
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.
represents the track state (measurement, material, fit parameters and quality) at a surface.
Gaudi Tools.
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersBase< TrackParametersDim, Charged > TrackParameters