ATLAS Offline Software
IIdToFixedIdTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  * Interface to the Tool responsible for wrapping ATLAS identifier to Standalone Muon Fixed Identifier
7  * --------------------------------------
8  *
9  * Author : Zdenko van Kesteren
10  * Creation Date: 20 May 2005
11  * Last Update : 20 May 2005
12  ***************************************************************************/
13 
14 #ifndef MUONCALIB_IIDTOFIXEDID_H
15 #define MUONCALIB_IIDTOFIXEDID_H
16 
17 #include "GaudiKernel/IAlgTool.h"
20 #include "Identifier/Identifier.h"
21 #include <string>
22 
23 namespace MuonCalib {
24 
31  static const InterfaceID IID_IIdToFixedIdTool( "MuonCalib::IdToFixedIdTool", 1, 0 );
32 
33  class IIdToFixedIdTool: virtual public IAlgTool {
34  public:
35  static const InterfaceID& interfaceID() { return IID_IIdToFixedIdTool; }
36  virtual ~IIdToFixedIdTool(){}
37 
38  virtual void print(const Identifier& id) const = 0;
39  virtual void print(const MuonFixedId& fid) const = 0;
40  virtual void print(const MuonFixedLongId& fid) const = 0;
41  virtual Identifier fixedIdToId(const MuonFixedId& fid) const = 0;
42  virtual MuonFixedId idToFixedId(const Identifier& id) const = 0;
43  virtual Identifier fixedLongIdToId(const MuonFixedLongId& fid) const = 0;
44  virtual MuonFixedLongId idToFixedLongId(const Identifier& id) const = 0;
45  virtual Identifier regionKeyToId(std::string key) const = 0;
46  };
47 }
48 #endif
MuonCalib::IIdToFixedIdTool::regionKeyToId
virtual Identifier regionKeyToId(std::string key) const =0
pure virtual member to retrieve an (ATHENA) Identifier for a given regionKey
MuonCalib::IIdToFixedIdTool::print
virtual void print(const Identifier &id) const =0
pure virtual member to print (ATHENA) Identifier
MuonCalib::MuonFixedLongId
Definition: MuonFixedLongId.h:50
MuonFixedLongId.h
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::IIdToFixedIdTool::idToFixedLongId
virtual MuonFixedLongId idToFixedLongId(const Identifier &id) const =0
pure virtual member to convert (ATHENA) Identifier to (Calib-EDM) MuonFixedLongId
MuonCalib::IIdToFixedIdTool::idToFixedId
virtual MuonFixedId idToFixedId(const Identifier &id) const =0
pure virtual member to convert (ATHENA) Identifier to (Calib-EDM) MuonFixedId
MuonCalib::IIdToFixedIdTool::interfaceID
static const InterfaceID & interfaceID()
retrieve Interface ID
Definition: IIdToFixedIdTool.h:42
MuonCalib::MuonFixedId
Definition: MuonFixedId.h:50
MuonCalib::IIdToFixedIdTool::fixedIdToId
virtual Identifier fixedIdToId(const MuonFixedId &fid) const =0
pure virtual member to convert (Calib-EDM) MuonFixedId to (ATHENA) Identifier
MuonCalib::IIdToFixedIdTool::~IIdToFixedIdTool
virtual ~IIdToFixedIdTool()
virtual IAlgTool destructor
Definition: IIdToFixedIdTool.h:43
MuonCalib::IIdToFixedIdTool::fixedLongIdToId
virtual Identifier fixedLongIdToId(const MuonFixedLongId &fid) const =0
pure virtual member to convert (Calib-EDM) MuonFixedLongId to (ATHENA) Identifier
MuonFixedId.h
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37
Identifier
Definition: IdentifierFieldParser.cxx:14