ATLAS Offline Software
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 
12 #include "AthenaKernel/CLASS_DEF.h"
13 
14 #include "MuonRDO/RpcSectorLogic.h"
15 
16 //
17 // S. Rosati Jun 2006
18 //
19 
20 class RpcSectorLogicContainer : public DataVector<RpcSectorLogic> {
21 
22  public:
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 
48 CLASS_DEF( RpcSectorLogicContainer , 1298668563 , 1 )
49 
50 #endif
51 
52 
53 
54 
RpcSectorLogicContainer::sectorList
const SectorListElement_t * sectorList() const
Definition: RpcSectorLogicContainer.cxx:31
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
RpcSectorLogicContainer::m_sectorList
SectorList_t m_sectorList
Definition: RpcSectorLogicContainer.h:44
RpcSectorLogicContainer::~RpcSectorLogicContainer
~RpcSectorLogicContainer()
Destructor.
Definition: RpcSectorLogicContainer.h:30
TRT::Hit::side
@ side
Definition: HitInfo.h:83
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:93
RpcSectorLogicContainer
Definition: RpcSectorLogicContainer.h:20
RpcSectorLogicContainer::RpcSectorLogicContainer
RpcSectorLogicContainer()
Default constructor.
Definition: RpcSectorLogicContainer.cxx:7
RpcSectorLogicContainer::SectorList_t
SectorListElement_t SectorList_t[2]
Definition: RpcSectorLogicContainer.h:24
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
RpcSectorLogicContainer::SectorListElement_t
uint32_t SectorListElement_t
Definition: RpcSectorLogicContainer.h:23
RpcSectorLogicContainer::setSectorList
void setSectorList(const SectorList_t &sectorList)
Definition: RpcSectorLogicContainer.cxx:37
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
RpcSectorLogic.h
RpcSectorLogicContainer::findSector
bool findSector(const uint16_t sectorId, const uint16_t side=0) const
Check if the sector has already been decoded.
Definition: RpcSectorLogicContainer.cxx:13
RpcSectorLogicContainer::setSector
bool setSector(uint16_t sectorId, const uint16_t side=0)
Flag the sector as already decoded.
Definition: RpcSectorLogicContainer.cxx:18
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CLASS_DEF.h
macros to associate a CLID to a type