ATLAS Offline Software
|
Public Member Functions | |
def | __init__ (self) |
def | load (self, rob) |
def | appName (self) |
virtual bool | accepted () const |
reject or accept More... | |
virtual bool | error () const |
problems during processing More... | |
virtual uint32_t | error_bits () const |
bit flags to explain problems during processing More... | |
bool | serialize (std::vector< uint32_t > &output, const unsigned int mod_id) |
bool | serialize (std::vector< uint32_t > &output) |
get the result of the processing as the raw vector of 32 bit unsigned integers More... | |
bool | serialize (uint32_t *&output, int &data_size, const int max_size=-1, const unsigned int mod_id=0) |
bool | deserialize (const std::vector< uint32_t > &source) |
GenericResult::deserialize( const std::vector<uint32_t>& source ) More... | |
bool | deserialize (uint32_t *source, const int data_size) |
GenericResult::deserialize( uint32_t* source, const int data_size ) More... | |
uint32_t | getHLTResultClassVersion () const |
HLTResult version (set accessor is private) More... | |
uint32_t | getLvl1Id () const |
gets event number (Lvl1-id) More... | |
void | setLvl1Id (uint32_t id) |
sets event number (Lvl1-id) More... | |
bool | isAccepted () const |
gets HLT decision More... | |
void | setAccepted (bool acc) |
sets HLT decision More... | |
bool | isPassThrough () const |
forced-accepted (FA) event configuration the FA request(s) are set per chain and hlt level by the tigger configuration; isForcedAccepted() is set to true if a chain has been accepted owing to the FA mechanism; this is independent of whether the event would been accepted anyway by this chain where the FA has been applied More... | |
void | setPassThrough (bool fa) |
set passTrough flag More... | |
ErrorCode | getHLTStatus () const |
overall hlt status: if StatusCode::isFailure(), event should be discarded from physics stream (and, eg, send to debug stream) (StatusCode enums are: Failure=0, Success=1, Recoverable=2, see GaudiKernel/ StatusCode.h for more information) More... | |
void | setHLTStatus (ErrorCode hltStatus) |
ErrorCode | getLvlConverterStatus () const |
overall hlt status: if StatusCode::isFailure(), event should be discarded from physics stream (and, eg, send to debug stream) (StatusCode enums are: Failure=0, Success=1, Recoverable=2, see GaudiKernel/ StatusCode.h for more information) More... | |
void | setLvlConverterStatus (ErrorCode status) |
HLTLevel | getHLTLevel () const |
hlt level (L2 or EF) More... | |
void | setHLTLevel (HLTLevel hltLevel) |
bool | isValid () const |
is the result valid More... | |
uint32_t | getNumOfSatisfiedSigs () const |
get number of satisfied signatures More... | |
void | setNumOfSatisfiedSigs (uint32_t sigs) |
sget number of satisfied signatures More... | |
void | setErrorCoordinates (unsigned int chainCounter=0, unsigned int step=0) |
sets the information about the error, namely chain in which the error happened and the step More... | |
void | getErrorCoordinates (unsigned int &chainCounter, unsigned int &step) const |
get error coordinates More... | |
bool | isCreatedOutsideHLT () const |
is HLTResult created externally, in PSC in example More... | |
void | setCreatedOutsideHLT (bool created) |
void | setConfigSuperMasterKey (uint32_t key) |
sets the key of the menu which was used to trigger this event More... | |
uint32_t | getConfigSuperMasterKey () const |
gets the key of the menu which was used to trigger this event More... | |
void | setConfigPrescalesKey (uint32_t key) |
sets the key of the prescales config which was used to trigger this event More... | |
uint32_t | getConfigPrescalesKey () const |
gets the key of the prescales config which was used to trigger this event More... | |
bool | isHLTResultTruncated () const |
is serialized HLTResult truncated More... | |
void | setHLTResultTruncated (bool truncated) |
const std::vector< uint32_t > & | getNavigationResult () const |
retrieve the sub-payloads (can be used to retrieve/write data) More... | |
std::vector< uint32_t > & | getNavigationResult () |
gets ref to the internal array holding serialized navigation More... | |
const std::vector< uint32_t > & | getNavigationResult_DSonly () const |
std::vector< uint32_t > & | getNavigationResult_DSonly () |
gets ref to the internal array holding serialized navigation More... | |
const std::vector< uint32_t > & | getChainResult () const |
std::vector< uint32_t > & | getChainResult () |
gets ref to the internal array holding serialized chains More... | |
const std::vector< uint32_t > & | getExtras () const |
std::vector< uint32_t > & | getExtras () |
std::vector< unsigned int > & | getNavigationResultCuts () |
gets ref to the internal array holding places for safe navigation truncations More... | |
const std::vector< unsigned int > & | getNavigationResultCuts () const |
std::vector< unsigned int > & | getNavigationResultCuts_DSonly () |
gets ref to the internal array holding places for safe navigation truncations More... | |
const std::vector< unsigned int > & | getNavigationResultCuts_DSonly () const |
std::vector< std::pair< CLID, std::string > > & | getNavigationResultIDName () |
gets ref to the internal vector of pairs of CLID and collection name More... | |
const std::vector< std::pair< CLID, std::string > > & | getNavigationResultIDName () const |
std::vector< std::pair< CLID, std::string > > & | getNavigationResultIDName_DSonly () |
gets ref to the internal vector of pairs of CLID and collection name More... | |
const std::vector< std::pair< CLID, std::string > > & | getNavigationResultIDName_DSonly () const |
std::map< unsigned int, std::set< std::pair< CLID, std::string > > > & | getScoutingMap () |
methods to get and set the Scouting Map saved into HLTResult More... | |
const std::map< unsigned int, std::set< std::pair< CLID, std::string > > > & | getScoutingMap () const |
void | setScoutingMap (const std::map< unsigned int, std::set< std::pair< CLID, std::string > > > &map_modid_clid_name) |
HLTExtraData & | getExtraData () |
unsigned int | size () const |
std::vector< unsigned int > | partSizes () const |
bool | isEmpty () const |
true if result is empty More... | |
void | listOfModIDs (std::vector< unsigned int > &mod_ids) const |
map of satisfied signatures (needed by TriggerDecisionMaker) returns a vector of satisfied signatures for this event; it is a vector of pairs where first is signature ID, second is signature label(name). More... | |
std::vector< unsigned int > | listOfModIDs () const |
return the rob module ID vector More... | |
Public Attributes | |
as_int_v | |
nav_payload | |
Private Types | |
enum | InitBits { IndHLTResultClassVersion = 0, IndEventNumber, IndHLTDecision, IndPassThrough, IndHLTStatus, IndLvlConverterStatus, IndHLTLevelInfo, IndNumOfSatisfiedSigs, IndErrorInChain, IndErrorInStep, IndCreatedOutsideHLT, IndHLTResultTruncated, IndConfigSuperMasterKey, IndConfigPrescalesKey, IndNumOfFixedBit } |
fixed bits; general trigger and status information More... | |
using | CutPairs = std::vector< std::pair< unsigned int, unsigned int > > |
using | CutPairVecs = std::pair< CutPairs, CutPairs > |
Private Member Functions | |
def | __unpack_navigation (self) |
bool | serialize_regular (uint32_t *&output, int &data_size, int max_size) |
bool | serialize_DS (uint32_t *&output, int &data_size, int max_size, unsigned int mod_id) |
bool | serialize_bootstrap (uint32_t *&output, int &data_size, bool &truncating, int max_size, unsigned int estimated_size) |
bool | serialize_body_regular (uint32_t *output, int &data_size, unsigned int umax_size, bool truncating) const |
bool | serialize_body_DS (uint32_t *output, int &data_size, unsigned int max_size, unsigned int nav_size, const CutPairVecs &dscuts, bool truncating) const |
bool | serialize_navigation_reg (uint32_t *output, int &data_size, unsigned int umax_size, bool truncating) const |
bool | serialize_navigation_DS (uint32_t *output, int &data_size, unsigned int umax_size, unsigned int nav_size, const CutPairVecs &dscuts, bool truncating) const |
void | updateExtras () |
unsigned int | estimateSize () const |
Estimate the size this HLTResult would ocuppy once serialized. More... | |
CutPairVecs | findDSCuts (unsigned int) const |
Find the pairs of cut points that mark the boundaries of DS collections for the given module id. More... | |
bool | unpackFromStorable (const std::vector< uint32_t > &raw) |
split the rawResult vector into rawPartialResult's More... | |
Static Private Member Functions | |
static unsigned int | calc_total_size_DS (unsigned int ds_nav_size) |
Calculate the size of a DS result, given the size of its navigation. More... | |
Private Attributes | |
std::vector< uint32_t > | m_headerResult |
the full payload, and sub-payloads More... | |
std::vector< uint32_t > | m_chainsResult |
storege of serialized chains More... | |
std::vector< uint32_t > | m_navigationResult |
storage of navigation (serialized also) More... | |
std::vector< uint32_t > | m_navigationResult_DSonly |
storage of navigation (serialized also) for DataScouting More... | |
std::vector< uint32_t > | m_extras |
extra storeage (which can be used to store some operational infos) More... | |
std::vector< std::pair< CLID, std::string > > | m_id_name |
std::vector< std::pair< CLID, std::string > > | m_id_name_DSonly |
std::map< unsigned int, std::set< std::pair< CLID, std::string > > > | m_modID_id_name |
std::vector< unsigned int > | m_navigationResultCuts |
std::vector< unsigned int > | m_navigationResultCuts_DSonly |
HLTExtraData * | m_extraData |
object for m_extras deserialization (on demand) More... | |
Static Private Attributes | |
static const uint32_t | m_HLTResultClassVersion = 3 |
the version of this HLTResult class More... | |
Definition at line 11 of file hltResult.py.
|
privateinherited |
Definition at line 378 of file HLTResult.h.
|
privateinherited |
Definition at line 379 of file HLTResult.h.
|
privateinherited |
fixed bits; general trigger and status information
Enumerator | |
---|---|
IndHLTResultClassVersion | |
IndEventNumber | event number (from EventInfo::EventID::event_number()) |
IndHLTDecision | |
IndPassThrough | has the event been forced (passed through) |
IndHLTStatus | |
IndLvlConverterStatus | LvlConverter status corresponding to ErrorCode enums. |
IndHLTLevelInfo | the HLT level |
IndNumOfSatisfiedSigs | number of satisfied signatures |
IndErrorInChain | chain ID in which the error occured, in normal conditions sbould be 0 |
IndErrorInStep | step number in which error occured, in normal conditions sbould be 0 |
IndCreatedOutsideHLT | also an error identifier |
IndHLTResultTruncated | the serialize function could not fit everything into the given max data_size |
IndConfigSuperMasterKey | configuration key for the menu |
IndConfigPrescalesKey | configuration key for prescales |
IndNumOfFixedBit | total number of fixed bits |
Definition at line 361 of file HLTResult.h.
def python.hltResult.hltResult.__init__ | ( | self | ) |
Definition at line 12 of file hltResult.py.
|
private |
Definition at line 29 of file hltResult.py.
|
inlinevirtualinherited |
reject or accept
Implements GenericResult.
Definition at line 71 of file HLTResult.h.
def python.hltResult.hltResult.appName | ( | self | ) |
Definition at line 49 of file hltResult.py.
|
staticprivateinherited |
Calculate the size of a DS result, given the size of its navigation.
Definition at line 271 of file HLTResult.cxx.
|
virtualinherited |
GenericResult::deserialize( const std::vector<uint32_t>& source )
Implements GenericResult.
Definition at line 482 of file HLTResult.cxx.
|
virtualinherited |
GenericResult::deserialize( uint32_t* source, const int data_size )
Implements GenericResult.
Definition at line 487 of file HLTResult.cxx.
|
virtualinherited |
problems during processing
Implements GenericResult.
Definition at line 102 of file HLTResult.cxx.
|
virtualinherited |
bit flags to explain problems during processing
Implements GenericResult.
Definition at line 106 of file HLTResult.cxx.
|
privateinherited |
Estimate the size this HLTResult would ocuppy once serialized.
Definition at line 124 of file HLTResult.cxx.
|
privateinherited |
Find the pairs of cut points that mark the boundaries of DS collections for the given module id.
Definition at line 243 of file HLTResult.cxx.
|
inlineinherited |
gets ref to the internal array holding serialized chains
Definition at line 297 of file HLTResult.h.
|
inlineinherited |
Definition at line 258 of file HLTResult.h.
|
inherited |
gets the key of the prescales config which was used to trigger this event
Definition at line 650 of file HLTResult.cxx.
|
inherited |
gets the key of the menu which was used to trigger this event
Definition at line 638 of file HLTResult.cxx.
|
inlineinherited |
get error coordinates
Definition at line 210 of file HLTResult.h.
|
inherited |
Definition at line 658 of file HLTResult.cxx.
|
inlineinherited |
Definition at line 304 of file HLTResult.h.
|
inlineinherited |
Definition at line 259 of file HLTResult.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
overall hlt status: if StatusCode::isFailure(), event should be discarded from physics stream (and, eg, send to debug stream) (StatusCode enums are: Failure=0, Success=1, Recoverable=2, see GaudiKernel/ StatusCode.h for more information)
Definition at line 164 of file HLTResult.h.
|
inlineinherited |
|
inlineinherited |
overall hlt status: if StatusCode::isFailure(), event should be discarded from physics stream (and, eg, send to debug stream) (StatusCode enums are: Failure=0, Success=1, Recoverable=2, see GaudiKernel/ StatusCode.h for more information)
Definition at line 173 of file HLTResult.h.
|
inlineinherited |
gets ref to the internal array holding serialized navigation
Definition at line 287 of file HLTResult.h.
|
inlineinherited |
retrieve the sub-payloads (can be used to retrieve/write data)
Definition at line 256 of file HLTResult.h.
|
inlineinherited |
gets ref to the internal array holding serialized navigation
Definition at line 292 of file HLTResult.h.
|
inlineinherited |
Definition at line 257 of file HLTResult.h.
|
inlineinherited |
gets ref to the internal array holding places for safe navigation truncations
Definition at line 264 of file HLTResult.h.
|
inlineinherited |
Definition at line 265 of file HLTResult.h.
|
inlineinherited |
gets ref to the internal array holding places for safe navigation truncations
Definition at line 270 of file HLTResult.h.
|
inlineinherited |
Definition at line 271 of file HLTResult.h.
|
inlineinherited |
gets ref to the internal vector of pairs of CLID and collection name
Definition at line 276 of file HLTResult.h.
|
inlineinherited |
Definition at line 277 of file HLTResult.h.
|
inlineinherited |
gets ref to the internal vector of pairs of CLID and collection name
Definition at line 281 of file HLTResult.h.
|
inlineinherited |
Definition at line 282 of file HLTResult.h.
|
inlineinherited |
|
inlineinherited |
methods to get and set the Scouting Map saved into HLTResult
Definition at line 309 of file HLTResult.h.
|
inlineinherited |
Definition at line 310 of file HLTResult.h.
|
inlineinherited |
|
inlineinherited |
|
inherited |
true if result is empty
Definition at line 626 of file HLTResult.cxx.
|
inlineinherited |
is serialized HLTResult truncated
Definition at line 248 of file HLTResult.h.
|
inlineinherited |
forced-accepted (FA) event configuration the FA request(s) are set per chain and hlt level by the tigger configuration; isForcedAccepted() is set to true if a chain has been accepted owing to the FA mechanism; this is independent of whether the event would been accepted anyway by this chain where the FA has been applied
Definition at line 152 of file HLTResult.h.
|
inlineinherited |
is the result valid
Definition at line 186 of file HLTResult.h.
|
inherited |
return the rob module ID vector
Definition at line 93 of file HLTResult.cxx.
|
inherited |
map of satisfied signatures (needed by TriggerDecisionMaker) returns a vector of satisfied signatures for this event; it is a vector of pairs where first is signature ID, second is signature label(name).
return the rob module ID vector. (fills up rod_mod_ids vector given by reference)
Definition at line 86 of file HLTResult.cxx.
def python.hltResult.hltResult.load | ( | self, | |
rob | |||
) |
Definition at line 16 of file hltResult.py.
|
inherited |
Definition at line 616 of file HLTResult.cxx.
|
inlinevirtualinherited |
get the result of the processing as the raw vector of 32 bit unsigned integers
output | the place where to put the data |
Implements GenericResult.
Definition at line 442 of file HLTResult.cxx.
|
inherited |
Definition at line 447 of file HLTResult.cxx.
|
inlinevirtualinherited |
|
privateinherited |
Definition at line 389 of file HLTResult.cxx.
|
inlineprivateinherited |
Definition at line 377 of file HLTResult.cxx.
|
privateinherited |
Definition at line 356 of file HLTResult.cxx.
|
privateinherited |
Definition at line 424 of file HLTResult.cxx.
|
privateinherited |
Definition at line 321 of file HLTResult.cxx.
|
privateinherited |
Definition at line 277 of file HLTResult.cxx.
|
privateinherited |
Definition at line 411 of file HLTResult.cxx.
|
inlineinherited |
|
inherited |
sets the key of the prescales config which was used to trigger this event
Definition at line 645 of file HLTResult.cxx.
|
inherited |
sets the key of the menu which was used to trigger this event
Definition at line 632 of file HLTResult.cxx.
|
inlineinherited |
Definition at line 218 of file HLTResult.h.
|
inlineinherited |
sets the information about the error, namely chain in which the error happened and the step
chainCounter | says in which chain it was (0 denotes that error wasn;t inchains processing) |
step | is telling in which step in the chain the error occured |
Definition at line 204 of file HLTResult.h.
|
inlineinherited |
Definition at line 180 of file HLTResult.h.
|
inlineinherited |
Definition at line 249 of file HLTResult.h.
|
inlineinherited |
Definition at line 165 of file HLTResult.h.
|
inlineinherited |
|
inlineinherited |
Definition at line 174 of file HLTResult.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 312 of file HLTResult.h.
|
inherited |
Definition at line 612 of file HLTResult.cxx.
|
privateinherited |
split the rawResult vector into rawPartialResult's
Definition at line 493 of file HLTResult.cxx.
|
inlineprivateinherited |
Definition at line 473 of file HLTResult.cxx.
python.hltResult.hltResult.as_int_v |
Definition at line 14 of file hltResult.py.
|
privateinherited |
storege of serialized chains
Definition at line 483 of file HLTResult.h.
|
privateinherited |
object for m_extras deserialization (on demand)
Definition at line 498 of file HLTResult.h.
|
privateinherited |
extra storeage (which can be used to store some operational infos)
Definition at line 486 of file HLTResult.h.
|
privateinherited |
the full payload, and sub-payloads
storage of header words
Definition at line 482 of file HLTResult.h.
|
staticprivateinherited |
the version of this HLTResult class
version of HLTResult class: change this upon schema evolution
Definition at line 476 of file HLTResult.h.
|
privateinherited |
Definition at line 488 of file HLTResult.h.
|
privateinherited |
Definition at line 490 of file HLTResult.h.
|
privateinherited |
Definition at line 492 of file HLTResult.h.
|
privateinherited |
storage of navigation (serialized also)
Definition at line 484 of file HLTResult.h.
|
privateinherited |
storage of navigation (serialized also) for DataScouting
Definition at line 485 of file HLTResult.h.
|
privateinherited |
Definition at line 494 of file HLTResult.h.
|
privateinherited |
Definition at line 496 of file HLTResult.h.
python.hltResult.hltResult.nav_payload |
Definition at line 17 of file hltResult.py.