ATLAS Offline Software
Loading...
Searching...
No Matches
Muon::RpcRdoToPrepDataToolMT::State Struct Reference

#include <RpcRdoToPrepDataToolMT.h>

Collaboration diagram for Muon::RpcRdoToPrepDataToolMT::State:

Public Member Functions

 State (const IMuonIdHelperSvc *idHelperSvc)
RpcPrepDataCollectiongetPrepCollection (const Identifier &id)
RpcCoinDataCollectiongetCoinCollection (const Identifier &id)

Public Attributes

const IMuonIdHelperSvcm_idHelperSvc {nullptr}
std::vector< std::unique_ptr< RpcPrepDataCollection > > rpcPrepDataCollections {}
std::vector< std::unique_ptr< RpcCoinDataCollection > > rpcCoinDataCollections {}
std::unique_ptr< RpcPrepDataContainerprepDataCont {nullptr}
 Pointer of the prep container stored in store gate.
std::unique_ptr< RpcCoinDataContainercoinDataCont {nullptr}
 Pointer of the coin container stored in store gate.
bool m_fullEventDone {false}
std::unordered_set< IdentifierHashm_decodedOfflineHashIds {}
std::unordered_set< IdentifierHashm_ambiguousCollections {}
std::unordered_set< uint32_t > m_decodedRobIds {}

Detailed Description

Definition at line 48 of file RpcRdoToPrepDataToolMT.h.

Constructor & Destructor Documentation

◆ State()

Muon::RpcRdoToPrepDataToolMT::State::State ( const IMuonIdHelperSvc * idHelperSvc)

Definition at line 21 of file RpcRdoToPrepDataToolMT.cxx.

21 :
22 m_idHelperSvc{idHelperSvc} {
23 const IdentifierHash hashMax = m_idHelperSvc->rpcIdHelper().module_hash_max();
24 rpcPrepDataCollections.resize(hashMax);
25 rpcCoinDataCollections.resize(hashMax);
26}
std::vector< std::unique_ptr< RpcPrepDataCollection > > rpcPrepDataCollections
std::vector< std::unique_ptr< RpcCoinDataCollection > > rpcCoinDataCollections

Member Function Documentation

◆ getCoinCollection()

RpcCoinDataCollection * Muon::RpcRdoToPrepDataToolMT::State::getCoinCollection ( const Identifier & id)

Definition at line 37 of file RpcRdoToPrepDataToolMT.cxx.

37 {
38 const IdentifierHash rpdModHash = m_idHelperSvc->moduleHash(chanId);
39 std::unique_ptr<RpcCoinDataCollection>& coll = rpcCoinDataCollections[rpdModHash];
40 if (!coll) {
41 coll = std::make_unique<RpcCoinDataCollection>(rpdModHash);
42 coll->setIdentifier(m_idHelperSvc->chamberId(chanId));
43 }
44 return coll.get();
45}

◆ getPrepCollection()

RpcPrepDataCollection * Muon::RpcRdoToPrepDataToolMT::State::getPrepCollection ( const Identifier & id)

Definition at line 27 of file RpcRdoToPrepDataToolMT.cxx.

27 {
28
29 const IdentifierHash rpdModHash = m_idHelperSvc->moduleHash(chanId);
30 std::unique_ptr<RpcPrepDataCollection>& coll = rpcPrepDataCollections[rpdModHash];
31 if (!coll) {
32 coll = std::make_unique<RpcPrepDataCollection>(rpdModHash);
33 coll->setIdentifier(m_idHelperSvc->chamberId(chanId));
34 }
35 return coll.get();
36}

Member Data Documentation

◆ coinDataCont

std::unique_ptr<RpcCoinDataContainer> Muon::RpcRdoToPrepDataToolMT::State::coinDataCont {nullptr}

Pointer of the coin container stored in store gate.

Definition at line 63 of file RpcRdoToPrepDataToolMT.h.

63{nullptr};

◆ m_ambiguousCollections

std::unordered_set<IdentifierHash> Muon::RpcRdoToPrepDataToolMT::State::m_ambiguousCollections {}

Definition at line 75 of file RpcRdoToPrepDataToolMT.h.

75{};

◆ m_decodedOfflineHashIds

std::unordered_set<IdentifierHash> Muon::RpcRdoToPrepDataToolMT::State::m_decodedOfflineHashIds {}

Definition at line 71 of file RpcRdoToPrepDataToolMT.h.

71{};

◆ m_decodedRobIds

std::unordered_set<uint32_t> Muon::RpcRdoToPrepDataToolMT::State::m_decodedRobIds {}

Definition at line 78 of file RpcRdoToPrepDataToolMT.h.

78{};

◆ m_fullEventDone

bool Muon::RpcRdoToPrepDataToolMT::State::m_fullEventDone {false}

Definition at line 67 of file RpcRdoToPrepDataToolMT.h.

67{false};

◆ m_idHelperSvc

const IMuonIdHelperSvc* Muon::RpcRdoToPrepDataToolMT::State::m_idHelperSvc {nullptr}

Definition at line 55 of file RpcRdoToPrepDataToolMT.h.

55{nullptr};

◆ prepDataCont

std::unique_ptr<RpcPrepDataContainer> Muon::RpcRdoToPrepDataToolMT::State::prepDataCont {nullptr}

Pointer of the prep container stored in store gate.

Definition at line 61 of file RpcRdoToPrepDataToolMT.h.

61{nullptr};

◆ rpcCoinDataCollections

std::vector<std::unique_ptr<RpcCoinDataCollection> > Muon::RpcRdoToPrepDataToolMT::State::rpcCoinDataCollections {}

Definition at line 58 of file RpcRdoToPrepDataToolMT.h.

58{};

◆ rpcPrepDataCollections

std::vector<std::unique_ptr<RpcPrepDataCollection> > Muon::RpcRdoToPrepDataToolMT::State::rpcPrepDataCollections {}

Definition at line 57 of file RpcRdoToPrepDataToolMT.h.

57{};

The documentation for this struct was generated from the following files: