|
ATLAS Offline Software
|
Go to the documentation of this file.
12 const std::string&
type,
13 const std::string&
name,
16 , m_patternUnitKey(
"TBTrigPat")
50 <<
"cannot build accept pattern mask."
52 return StatusCode::FAILURE;
62 <<
"cannot build reject pattern mask."
64 return StatusCode::FAILURE;
85 report << MSG::INFO <<
"+--------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+" <<
endmsg;
87 report << MSG::INFO <<
"| accept | " ;
91 report << MSG::INFO << decoded.substr(
i,1) <<
" | ";
98 report << MSG::INFO <<
"+--------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+" <<
endmsg;
99 report << MSG::INFO <<
"| reject | ";
104 report << MSG::INFO << decoded.substr(
i,1) <<
" | ";
111 report << MSG::INFO <<
"+--------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+" <<
endmsg;
112 report << MSG::INFO <<
"| ignore | ";
118 report << MSG::INFO << decoded.substr(
i,1) <<
" | ";
125 report << MSG::INFO <<
"+--------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+" <<
endmsg;
127 return StatusCode::SUCCESS;
158 ? StatusCode::SUCCESS
159 : StatusCode::FAILURE;
168 unsigned int nBits =
sizeof(theTriggerWord) ;
169 std::string thePattern;
172 for (
unsigned int i=0;
i<nBits;
i++ )
174 if ( ( theTriggerWord & testPattern ) == testPattern )
176 thePattern = thePattern +
"X";
180 thePattern = thePattern +
"O";
199 bit_mask_store::const_iterator findIter =
200 definedPattern.find(
pat);
201 if ( findIter != definedPattern.end() )
203 theMask = theMask | (*findIter).second;
208 <<
"requested pattern <"
210 <<
"> unknown, ignore..."
214 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
unsigned int getTriggerWord() const
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.