ATLAS Offline Software
Loading...
Searching...
No Matches
TRT_CablingSvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
8
9#ifndef TRT_CABLINGSVC_H
10#define TRT_CABLINGSVC_H
11
13
14#include "Identifier/Identifier.h"
17
18#include "TRT_CablingData.h"
23
25
27
28#include "eformat/SourceIdentifier.h"
29
30#include <stdint.h>
31
32
33class TRT_CablingSvc : public extends<AthService, ITRT_CablingSvc>
34{
35
36public:
37
38 // Constructor
39 TRT_CablingSvc( const std::string& name, ISvcLocator *pSvcLocator ) ;
40
41 // Destructor
42 virtual ~TRT_CablingSvc() = default;
43
44 virtual StatusCode initialize() override;
45
46 // Get Identifier for each straw from BS
47 virtual Identifier getIdentifier(const eformat::SubDetector& subdetector,
48 const unsigned& rod, const int& bufferOffset, IdentifierHash& hashId) const override;
49
50 // Get buffer offset from staw Identifier
51 virtual uint32_t getBufferOffset( const Identifier &StrawId ) override;
52
53 // Get ROBIDs for each Detector Element (Straw Layer)
54 virtual std::vector<uint32_t> getRobID(Identifier& id) const override;
55
56 // Get all RODIDs for TRT
57 virtual const std::vector<uint32_t>& getAllRods() const override;
58
59private:
62
68};
69
70#endif // TRT_CABLINGSVC_H
This is a "hash" representation of an Identifier.
The Detector Manager for all TRT Detector elements, it acts as the interface to the detector elements...
TRT_FillCablingData_TB04 * m_cablingTool_TB
TRT_FillCablingData_DC3 * m_cablingTool_DC3
virtual uint32_t getBufferOffset(const Identifier &StrawId) override
TRT_CablingSvc(const std::string &name, ISvcLocator *pSvcLocator)
virtual const std::vector< uint32_t > & getAllRods() const override
TRT_FillCablingData_SR1 * m_cablingTool_SR1
TRT_CablingData * m_cabling
const InDetDD::TRT_DetectorManager * m_manager
TRT_FillCablingData_SR1_ECC * m_cablingTool_SR1_ECC
virtual ~TRT_CablingSvc()=default
virtual Identifier getIdentifier(const eformat::SubDetector &subdetector, const unsigned &rod, const int &bufferOffset, IdentifierHash &hashId) const override
virtual StatusCode initialize() override
virtual std::vector< uint32_t > getRobID(Identifier &id) const override