ATLAS Offline Software
Loading...
Searching...
No Matches
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
23
24#include "GaudiKernel/IAlgTool.h"
26
27class Identifier;
28
29namespace 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
virtual double timeOfFlight(const Identifier &id, const Amg::Vector3D &pos) const =0
Calculate time of flight from global position.
static const InterfaceID & interfaceID()
AlgTool and IAlgTool interface methods.
virtual ~IMuonTofTool()
Virtual destructor.
Eigen::Matrix< double, 3, 1 > Vector3D
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
static const InterfaceID IID_IMuonTofTool("Muon::IMuonTofTool", 1, 0)
Interface ID for IMuonCalibTool.