ATLAS Offline Software
IMuonTofTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // IMuonTofTool.h
6 // Header file for class MuonPattern
8 // (c) ATLAS Detector software
10 // nveldik@nikhef.nl
12 
13 #ifndef MUON_IMUONTOFTOOL_H
14 #define MUON_IMUONTOFTOOL_H
15 
24 #include "GaudiKernel/IAlgTool.h"
26 
27 class Identifier;
28 
29 namespace Muon {
30 
32  static const InterfaceID IID_IMuonTofTool("Muon::IMuonTofTool", 1, 0);
33 
34  class IMuonTofTool : virtual public IAlgTool {
35  public:
37  virtual ~IMuonTofTool(){};
38 
40  static const InterfaceID& interfaceID() { return IID_IMuonTofTool; }
41 
43  virtual double timeOfFlight(const Identifier& id, const Amg::Vector3D& pos) const = 0;
44  };
45 
46 } // namespace Muon
47 
48 #endif
Muon::IMuonTofTool::interfaceID
static const InterfaceID & interfaceID()
AlgTool and IAlgTool interface methods.
Definition: IMuonTofTool.h:40
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::IMuonTofTool
Definition: IMuonTofTool.h:34
Muon::IMuonTofTool::timeOfFlight
virtual double timeOfFlight(const Identifier &id, const Amg::Vector3D &pos) const =0
Calculate time of flight from global position
GeoPrimitives.h
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
Muon::IMuonTofTool::~IMuonTofTool
virtual ~IMuonTofTool()
Virtual destructor.
Definition: IMuonTofTool.h:37