ATLAS Offline Software
TileCondIdTransforms.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 #ifndef TILECONDITIONS_TILECONDIDTRANSFORMS_H
6 #define TILECONDITIONS_TILECONDIDTRANSFORMS_H
7 
8 // Athena includes
12 
13 class TileID;
14 class TileHWID;
15 
17 
18  public:
19 
20  static const InterfaceID& interfaceID();
21  TileCondIdTransforms(const std::string& type, const std::string& name, const IInterface* parent);
22  virtual ~TileCondIdTransforms() {}
23 
26 
27  const TileHWID* getTileHWID() const { return m_tileHWID; }
28 
29  void getIndices(const HWIdentifier &hwid
30  , unsigned int& ros
31  , unsigned int& drawer
32  , unsigned int& channel
33  , unsigned int& adc) const;
34 
35  void getIndices(const HWIdentifier &hwid
36  , unsigned int& drawerIdx
37  , unsigned int& channel
38  , unsigned int& adc) const;
39 
40  void getIndices(const HWIdentifier &hwid
41  , unsigned int& drawerIdx
42  , unsigned int& channel) const;
43 
44  void getIndices(IdentifierHash hash_id
45  , unsigned int& drawerIdx
46  , unsigned int& channel) const;
47 
48  private:
49 
51  const TileID* m_tileID;
52 };
53 
54 #endif
TileCondIdTransforms
Definition: TileCondIdTransforms.h:16
plotting.yearwise_efficiency.channel
channel
Definition: yearwise_efficiency.py:24
TileCondIdTransforms::getTileHWID
const TileHWID * getTileHWID() const
Definition: TileCondIdTransforms.h:27
HWIdentifier
Definition: HWIdentifier.h:13
Example_ReadSampleNoise.drawer
drawer
Definition: Example_ReadSampleNoise.py:39
TileCondIdTransforms::initialize
StatusCode initialize()
Definition: TileCondIdTransforms.cxx:38
TileHWID
Helper class for TileCal online (hardware) identifiers.
Definition: TileHWID.h:49
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
maskDeadModules.ros
ros
Definition: maskDeadModules.py:35
TileCondIdTransforms::getIndices
void getIndices(const HWIdentifier &hwid, unsigned int &ros, unsigned int &drawer, unsigned int &channel, unsigned int &adc) const
Definition: TileCondIdTransforms.cxx:60
TileCondIdTransforms::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileCondIdTransforms.h:50
HWIdentifier.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
IdentifierHash.h
TileCondIdTransforms::TileCondIdTransforms
TileCondIdTransforms(const std::string &type, const std::string &name, const IInterface *parent)
Definition: TileCondIdTransforms.cxx:27
TileCondIdTransforms::m_tileID
const TileID * m_tileID
Definition: TileCondIdTransforms.h:51
ReadFloatFromCool.adc
adc
Definition: ReadFloatFromCool.py:48
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TileCondIdTransforms::interfaceID
static const InterfaceID & interfaceID()
Definition: TileCondIdTransforms.cxx:21
TileCondIdTransforms::finalize
StatusCode finalize()
Definition: TileCondIdTransforms.cxx:53
AthAlgTool
Definition: AthAlgTool.h:26
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition: IdentifierHash.h:25
TileCondIdTransforms::~TileCondIdTransforms
virtual ~TileCondIdTransforms()
Definition: TileCondIdTransforms.h:22