A tool to decode TGC ROB fragments into TGC RDO.
More...
#include <TGC_RawDataProviderToolMT.h>
|
| virtual StatusCode | convert (const std::vector< uint32_t > &) const override |
| | convert from vector of ROB IDs is not available
|
| virtual StatusCode | convert (const std::vector< uint32_t > &, const EventContext &) const override |
| | EventContext ones.
|
A tool to decode TGC ROB fragments into TGC RDO.
This version is for athenaMT.
- Author
- Zvi Tarem zvi@c.nosp@m.alip.nosp@m.er.co.nosp@m..il
-
Mark Owen marko.nosp@m.wen@.nosp@m.cern..nosp@m.ch
Definition at line 25 of file TGC_RawDataProviderToolMT.h.
◆ TGC_RawDataProviderToolMT()
| Muon::TGC_RawDataProviderToolMT::TGC_RawDataProviderToolMT |
( |
const std::string & | t, |
|
|
const std::string & | n, |
|
|
const IInterface * | p ) |
◆ ~TGC_RawDataProviderToolMT()
| virtual Muon::TGC_RawDataProviderToolMT::~TGC_RawDataProviderToolMT |
( |
| ) |
|
|
virtualdefault |
◆ convert() [1/10]
| StatusCode Muon::TGC_RawDataProviderToolMT::convert |
( |
| ) |
const |
|
overridevirtual |
◆ convert() [2/10]
| StatusCode Muon::TGC_RawDataProviderToolMT::convert |
( |
const EventContext & | ctx | ) |
const |
|
overridevirtual |
Definition at line 83 of file TGC_RawDataProviderToolMT.cxx.
84{
85 std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*> vecOfRobf;
86 const std::vector<uint32_t>& robIds = m_hid2re.allRobIds();
87
88 m_robDataProvider->getROBData(ctx, robIds, vecOfRobf);
89
91}
◆ convert() [3/10]
| StatusCode Muon::TGC_RawDataProviderToolMT::convert |
( |
const ROBFragmentList & | vecRobs, |
|
|
const EventContext & | ctx ) const |
|
overridevirtual |
EventContext ones.
Definition at line 40 of file TGC_RawDataProviderToolMT.cxx.
41{
42
43 SG::WriteHandle<TgcRdoContainer> rdoContainerHandle(m_rdoContainerKey, ctx);
44
45
47 if(!externalCacheRDO){
48 ATH_CHECK( rdoContainerHandle.record( std::make_unique<TgcRdoContainer> (m_maxhashtoUse) ) );
50 }
51 else{
54 ATH_CHECK(rdoContainerHandle.record (std::make_unique<TgcRdoContainer>(
update.ptr() )));
56 }
57
59
60
61 if(!rdoContainer) {
62 ATH_MSG_ERROR(
"TGC RDO Container is null, cannot decode TGC data");
63 return StatusCode::FAILURE;
64 }
65
66 return convertIntoContainer(vecRobs, *rdoContainer);
67}
#define ATH_CHECK
Evaluate an expression and check for errors.
Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Current Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Current TgcRdoContainer
◆ convert() [4/10]
| StatusCode Muon::TGC_RawDataProviderToolMT::convert |
( |
const ROBFragmentList & | vecRobs, |
|
|
const std::vector< IdentifierHash > & | , |
|
|
const EventContext & | ctx ) const |
|
overridevirtual |
◆ convert() [5/10]
| StatusCode Muon::TGC_RawDataProviderToolMT::convert |
( |
const ROBFragmentList & | vecRobs | ) |
const |
|
overridevirtual |
◆ convert() [6/10]
| StatusCode Muon::TGC_RawDataProviderToolMT::convert |
( |
const ROBFragmentList & | vecRobs, |
|
|
const std::vector< IdentifierHash > & | rdoIdhVect ) const |
|
overridevirtual |
◆ convert() [7/10]
| StatusCode Muon::TGC_RawDataProviderToolMT::convert |
( |
const std::vector< IdentifierHash > & | rdoIdhVect, |
|
|
const EventContext & | ctx ) const |
|
overridevirtual |
Definition at line 97 of file TGC_RawDataProviderToolMT.cxx.
98{
99 std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*> vecOfRobf = getROBData(rdoIdhVect, ctx);
100
101 return convert(vecOfRobf, rdoIdhVect, ctx);
102}
◆ convert() [8/10]
| StatusCode Muon::TGC_RawDataProviderToolMT::convert |
( |
const std::vector< IdentifierHash > & | rdoIdhVect | ) |
const |
|
overridevirtual |
◆ convert() [9/10]
| virtual StatusCode Muon::TGC_RawDataProviderToolMT::convert |
( |
const std::vector< uint32_t > & | | ) |
const |
|
inlineoverrideprivatevirtual |
◆ convert() [10/10]
| virtual StatusCode Muon::TGC_RawDataProviderToolMT::convert |
( |
const std::vector< uint32_t > & | , |
|
|
const EventContext & | ) const |
|
inlineoverrideprivatevirtual |
◆ initialize()
| StatusCode Muon::TGC_RawDataProviderToolMT::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_rdoContainerCacheKey
The documentation for this class was generated from the following files: