 |
ATLAS Offline Software
|
Go to the documentation of this file.
14 const std::string&
name,
17 , m_patternUnitKey(
"TBTrigPat")
21 declareInterface<TBEventStreamerTool>(
this);
70 <<
"cannot build accept pattern mask."
72 return StatusCode::FAILURE;
82 <<
"cannot build reject pattern mask."
84 return StatusCode::FAILURE;
147 return StatusCode::SUCCESS;
165 if (evType != 1)
return StatusCode::SUCCESS;
185 ? StatusCode::SUCCESS
186 : StatusCode::FAILURE;
195 unsigned int nBits =
sizeof(theTriggerWord) * 8;
196 std::string thePattern;
198 for (
unsigned int i=0;
i<nBits;
i++ )
200 if ( ( theTriggerWord & testPattern ) == testPattern )
202 thePattern = thePattern +
"X";
206 thePattern = thePattern +
"O";
225 bit_mask_store::const_iterator findIter =
226 definedPattern.find(
pat);
227 if ( findIter != definedPattern.end() )
229 theMask = theMask | (*findIter).second;
234 <<
"requested pattern <"
236 <<
"> unknown, ignore..."
240 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
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.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)