ATLAS Offline Software
Loading...
Searching...
No Matches
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
16namespace Trk {
17static const InterfaceID IID_IEnergyLossMonitor("IEnergyLossMonitor",1,0);
18
26
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() {
49 }
50
51} // end of namespace
52
53#endif
Scalar eta() const
pseudorapidity method
Very simple helper Tool to record the eneryloss steps track, this works only for single track events.
virtual void recordTrackState(const Amg::Vector3D &pos, const Amg::Vector3D &mom, double mass)=0
Record a single TrackState.
virtual void initializeTrack(double p, double E, double eta, double phi)=0
Initialize State.
static const InterfaceID & interfaceID()
Interface ID, declared here, and defined below.
virtual void finalizeTrack()=0
Finalization State.
Eigen::Matrix< double, 3, 1 > Vector3D
Ensure that the ATLAS eigen extensions are properly loaded.
@ phi
Definition ParamDefs.h:75
static const InterfaceID IID_IEnergyLossMonitor("IEnergyLossMonitor", 1, 0)