ATLAS Offline Software
Loading...
Searching...
No Matches
ITRT_CablingSvc.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5//
6// TRT_CablingSvc class - interface class for TRT Mapping
7//
8
9#ifndef ITRT_CABLINGSVC_H
10#define ITRT_CABLINGSVC_H
11
12#include "GaudiKernel/IInterface.h"
13
14#include "eformat/SourceIdentifier.h"
15
16#include <vector>
17
18
19class IdentifierHash;
20class Identifier;
21
22
23class ITRT_CablingSvc: virtual public IInterface
24{
25
26public:
28
29 virtual ~ITRT_CablingSvc(){}
30
31 // Get Identifiers of Collections for the given ROBID
32 // virtual const std::vector<IdentifierHash>& getCollID(uint32_t rob_id) = 0 ;
33
34 // Get Identifier for each straw from BS
35 virtual Identifier getIdentifier(const eformat::SubDetector& subdetector,
36 const unsigned& rod, const int& bufferOffset,
37 IdentifierHash& hashId) const = 0 ;
38
39 // Get buffer offset from staw Identifier
40 virtual uint32_t getBufferOffset( const Identifier &StrawId ) = 0;
41
42 // Get ROBIDs for each Detector Element (Straw Layer)
43 virtual std::vector<uint32_t> getRobID(Identifier& id) const = 0;
44
45 // Get all RODIDs for TRT
46 virtual const std::vector<uint32_t>& getAllRods() const = 0;
47
48 // Get number of straws in ROD (DC, BS creation)
49 // virtual int getNumStrawInROD(uint32_t rod_id) const = 0;
50
51 // Get ROD for each straw (DC, BS creation)
52 // virtual uint32_t getRodID(Identifier& id) const = 0;
53
54 // Get Straw and ROD ID (DC, BS creation)
55 // virtual void getStrawRodID(Identifier& id, uint32_t& rod_id,
56 // uint32_t& straw_number) const = 0;
57
58 // Set parameters
59 // virtual void set_parameters() = 0;
60
61};
62
63#endif // ITRT_CABLINGSVC_H
virtual std::vector< uint32_t > getRobID(Identifier &id) const =0
virtual ~ITRT_CablingSvc()
virtual uint32_t getBufferOffset(const Identifier &StrawId)=0
DeclareInterfaceID(ITRT_CablingSvc, 1, 0)
virtual const std::vector< uint32_t > & getAllRods() const =0
virtual Identifier getIdentifier(const eformat::SubDetector &subdetector, const unsigned &rod, const int &bufferOffset, IdentifierHash &hashId) const =0
This is a "hash" representation of an Identifier.