|
ATLAS Offline Software
|
Definition at line 273 of file TrigBStoxAODTool.cxx.
◆ MuonHelper()
◆ AODContainerClid()
CLID BStoXAODHelper::MuonHelper::AODContainerClid |
( |
| ) |
|
|
inlinevirtual |
◆ AODElementClid()
CLID BStoXAODHelper::MuonHelper::AODElementClid |
( |
| ) |
|
|
inlinevirtual |
◆ format()
template<typename T >
std::string BStoXAODHelper::IHelper::format |
( |
const std::string & |
label | ) |
|
|
inlineinherited |
◆ help()
virtual StatusCode BStoXAODHelper::MuonHelper::help |
( |
const std::string & |
label, |
|
|
const std::string & |
newLabel |
|
) |
| |
|
inlinevirtual |
Implements BStoXAODHelper::IHelper.
Definition at line 282 of file TrigBStoxAODTool.cxx.
285 ATH_MSG_WARNING(
"muon label: " << format<xAOD::MuonContainer>(newLabel) <<
" not found for xAOD conversion");
286 return StatusCode::SUCCESS;
290 if(!xaodCombTrackParticles){
291 ATH_MSG_WARNING(
"muon label: " << format<xAOD::TrackParticleContainer>(newLabel+
"_CombTrackParticles") <<
" not found for xAOD conversion");
292 return StatusCode::SUCCESS;
296 if(!xaodCombTrackParticles){
297 ATH_MSG_WARNING(
"muon label: " << format<xAOD::TrackParticleContainer>(newLabel+
"_ExtrapTrackParticles") <<
" not found for xAOD conversion");
298 return StatusCode::SUCCESS;
304 ATH_MSG_WARNING(
"muon label: " << format<TrigMuonEFInfoContainer>(
label) <<
" not found for xAOD conversion");
305 return StatusCode::SUCCESS;
308 CHECK(this->
m_tool->convertTrigMuonEFInfoContainer( *aod, *xaodMuon, xaodCombTrackParticles, xaodExtrapTrackParticles));
313 return StatusCode::SUCCESS;
◆ help_fillTrigPassBits()
Implements BStoXAODHelper::IHelper.
Definition at line 316 of file TrigBStoxAODTool.cxx.
321 return StatusCode::SUCCESS;
324 if( aod->
size() != tpb_aod->
size() ) {
325 ATH_MSG_WARNING(
"sizes of the muon container " <<
label <<
" and the corresponding (?) trigpassbits object are different: "
326 << aod->
size() <<
" vs " << tpb_aod->
size() <<
", will not convert TrigPassBits for this container" );
328 xAOD::MuonContainer* xaodMuon = this->
m_sg->template tryRetrieve<xAOD::MuonContainer>(format<xAOD::MuonContainer>(newLabel));
330 ATH_MSG_WARNING(
"xAOD key: " << format<xAOD::MuonContainer>(newLabel) <<
" not found");
331 return StatusCode::SUCCESS;
333 ATH_MSG_DEBUG(
"xAOD muon container " << format<xAOD::MuonContainer>(newLabel) <<
" extracted of size " << xaodMuon->
size());
335 if(aod->
size() != xaodMuon->
size()) {
336 ATH_MSG_ERROR(
"containers before and after the conversion are of different sizes");
337 return StatusCode::FAILURE;
356 tpb_xaod = xBits.release();
357 return StatusCode::SUCCESS;
◆ initialize()
◆ msg()
MsgStream& BStoXAODHelper::IHelper::msg |
( |
MSG::Level |
l | ) |
|
|
inlineinherited |
◆ msgLvl()
bool BStoXAODHelper::IHelper::msgLvl |
( |
const MSG::Level |
l | ) |
|
|
inlineinherited |
◆ tool()
◆ xAODContainerClid()
CLID BStoXAODHelper::MuonHelper::xAODContainerClid |
( |
| ) |
|
|
inlinevirtual |
◆ xAODElementClid()
CLID BStoXAODHelper::MuonHelper::xAODElementClid |
( |
| ) |
|
|
inlinevirtual |
◆ m_AODprefix
const std::string BStoXAODHelper::IHelper::m_AODprefix = "HLT" |
|
protectedinherited |
◆ m_msg
MsgStream* BStoXAODHelper::IHelper::m_msg {nullptr} |
|
protectedinherited |
◆ m_sg
◆ m_tool
The documentation for this struct was generated from the following file:
bool isPassing(const OBJ *obj, const CONT *container) const
Check if an element of a container is passing/failing.
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
std::vector< Identifier > ID
T * tryRetrieve() const
Variant of the above which doesn't print a warning message.
const std::string m_AODprefix
unsigned int size() const
gets size of the bits array
std::string formatSGkey(const std::string &prefix, const std::string &containername, const std::string &label)
declaration of formatting function.
Default, invalid implementation of ClassID_traits.
std::unique_ptr< TrigPassBits_v1 > makeTrigPassBits(const CONT *container, uint32_t containerKey=xAOD::TrigPassBits_v1::DEFAULT_KEY)
Helper function creating a new object to describe a target container.
#define CHECK(...)
Evaluate an expression and check for errors.
bool isPassing(const TrigPassBits *bits, const T *obj, const CONTAINER *container)
Check the bit for the object in the associated bits object.
const T * tryConstRetrieve() const
void markPassing(const OBJ *obj, const CONT *container, bool passed=true)
Mark one of the elements of the target container as passing/failing.
#define ATH_MSG_WARNING(x)
const T * at(size_type n) const
Access an element, as an rvalue.
size_type size() const noexcept
Returns the number of elements in the collection.