ATLAS Offline Software
Loading...
Searching...
No Matches
RpcSectorLogicContainer.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONRDO_RPCSECTORLOGICCONTAINER_H
6#define MUONRDO_RPCSECTORLOGICCONTAINER_H
7
8#include<stdint.h>
9#include<vector>
10
13
15
16//
17// S. Rosati Jun 2006
18//
19
20class RpcSectorLogicContainer : public DataVector<RpcSectorLogic> {
21
22 public:
23 typedef uint32_t SectorListElement_t;
25
28
31
33 bool findSector(const uint16_t sectorId, const uint16_t side=0) const;
34
36 bool setSector(uint16_t sectorId, const uint16_t side=0);
37
38 const SectorListElement_t* sectorList() const;
40
41 private:
42
43 // Dataword to contain the list of already filled sectors
45
46};
47
48CLASS_DEF( RpcSectorLogicContainer , 1298668563 , 1 )
49
50#endif
51
52
53
54
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
void setSectorList(const SectorList_t &sectorList)
SectorListElement_t SectorList_t[2]
const SectorListElement_t * sectorList() const
bool setSector(uint16_t sectorId, const uint16_t side=0)
Flag the sector as already decoded.
bool findSector(const uint16_t sectorId, const uint16_t side=0) const
Check if the sector has already been decoded.
RpcSectorLogicContainer()
Default constructor.