ATLAS Offline Software
IEnergyLossMonitor.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IEnergyLossMonitor.h, (c) ATLAS DETECTOR Software
8 
9 
10 #ifndef TRK_IENERGYLOSSMONITOR_H
11 #define TRK_IENERGYLOSSMONITOR_H
12 
13 #include "GaudiKernel/IAlgTool.h"
15 
16 namespace Trk {
17 static const InterfaceID IID_IEnergyLossMonitor("IEnergyLossMonitor",1,0);
18 
27  class IEnergyLossMonitor : virtual public IAlgTool {
28  public:
30  static const InterfaceID& interfaceID();
31 
33  virtual void initializeTrack(double p,
34  double E,
35  double eta,
36  double phi) = 0;
37 
39  virtual void recordTrackState(const Amg::Vector3D& pos,
40  const Amg::Vector3D& mom,
41  double mass) = 0;
43  virtual void finalizeTrack() = 0;
44 
45 };
46 
47  inline const InterfaceID& Trk::IEnergyLossMonitor::interfaceID() {
48  return IID_IEnergyLossMonitor;
49  }
50 
51 } // end of namespace
52 
53 #endif
Trk::IEnergyLossMonitor::recordTrackState
virtual void recordTrackState(const Amg::Vector3D &pos, const Amg::Vector3D &mom, double mass)=0
Record a single TrackState.
Trk::IEnergyLossMonitor::interfaceID
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
Definition: IEnergyLossMonitor.h:47
Base_Fragment.mass
mass
Definition: Sherpa_i/share/common/Base_Fragment.py:59
GeoPrimitives.h
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
ParticleGun_EoverP_Config.mom
mom
Definition: ParticleGun_EoverP_Config.py:63
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
VP1PartSpect::E
@ E
Definition: VP1PartSpectFlags.h:21
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
Trk::IEnergyLossMonitor
Definition: IEnergyLossMonitor.h:27
Trk::phi
@ phi
Definition: ParamDefs.h:75
Trk::IEnergyLossMonitor::initializeTrack
virtual void initializeTrack(double p, double E, double eta, double phi)=0
Initialize State.
Trk::IEnergyLossMonitor::finalizeTrack
virtual void finalizeTrack()=0
Finalization State.