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 54 of file RpcRdoToPrepDataToolMT.h.

Constructor & Destructor Documentation

◆ State()

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

Definition at line 19 of file RpcRdoToPrepDataToolMT.cxx.

19 :
20 m_idHelperSvc{idHelperSvc} {
21 const IdentifierHash hashMax = m_idHelperSvc->rpcIdHelper().module_hash_max();
22 rpcPrepDataCollections.resize(hashMax);
23 rpcCoinDataCollections.resize(hashMax);
24}
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 35 of file RpcRdoToPrepDataToolMT.cxx.

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

◆ getPrepCollection()

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

Definition at line 25 of file RpcRdoToPrepDataToolMT.cxx.

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

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 69 of file RpcRdoToPrepDataToolMT.h.

69{nullptr};

◆ m_ambiguousCollections

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

Definition at line 81 of file RpcRdoToPrepDataToolMT.h.

81{};

◆ m_decodedOfflineHashIds

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

Definition at line 77 of file RpcRdoToPrepDataToolMT.h.

77{};

◆ m_decodedRobIds

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

Definition at line 84 of file RpcRdoToPrepDataToolMT.h.

84{};

◆ m_fullEventDone

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

Definition at line 73 of file RpcRdoToPrepDataToolMT.h.

73{false};

◆ m_idHelperSvc

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

Definition at line 61 of file RpcRdoToPrepDataToolMT.h.

61{nullptr};

◆ prepDataCont

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

Pointer of the prep container stored in store gate.

Definition at line 67 of file RpcRdoToPrepDataToolMT.h.

67{nullptr};

◆ rpcCoinDataCollections

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

Definition at line 64 of file RpcRdoToPrepDataToolMT.h.

64{};

◆ rpcPrepDataCollections

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

Definition at line 63 of file RpcRdoToPrepDataToolMT.h.

63{};

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