HLT::HLTResult is sumarising result of trigger decision evaluation (online/offline) It contains basically 3 parts:. More...
#include <HLTResult.h>
Public Member Functions | |
HLTResult () | |
constructor | |
HLTResult (const HLTResult &) | |
copy constructor | |
HLTResult (HLTResult &&rhs) | |
move ctor | |
HLTResult & | operator= (HLTResult rhs) |
unified assignement operator | |
virtual bool | accepted () const |
virtual bool | error () const |
virtual uint32_t | error_bits () const |
bool | serialize (std::vector< uint32_t > &output, const unsigned int mod_id) |
bool | serialize (std::vector< uint32_t > &output) |
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) |
bool | deserialize (uint32_t *source, const int data_size) |
uint32_t | getHLTResultClassVersion () const |
HLTResult version (set accessor is private). | |
uint32_t | getLvl1Id () const |
gets event number (Lvl1-id) | |
void | setLvl1Id (uint32_t id) |
sets event number (Lvl1-id) | |
bool | isAccepted () const |
gets HLT decision | |
void | setAccepted (bool acc) |
sets HLT decision | |
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 | |
void | setPassThrough (bool fa) |
set passTrough flag | |
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) | |
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) | |
void | setLvlConverterStatus (ErrorCode status) |
HLTLevel | getHLTLevel () const |
hlt level (L2 or EF) | |
void | setHLTLevel (HLTLevel hltLevel) |
bool | isValid () const |
is the result valid | |
uint32_t | getNumOfSatisfiedSigs () const |
get number of satisfied signatures | |
void | setNumOfSatisfiedSigs (uint32_t sigs) |
sget number of satisfied signatures | |
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 | |
void | getErrorCoordinates (unsigned int &chainCounter, unsigned int &step) const |
get error coordinates | |
bool | isCreatedOutsideHLT () const |
is HLTResult created externally, in PSC in example | |
void | setCreatedOutsideHLT (bool created) |
void | setConfigSuperMasterKey (uint32_t key) |
sets the key of the menu which was used to trigger this event | |
uint32_t | getConfigSuperMasterKey () const |
gets the key of the menu which was used to trigger this event | |
void | setConfigPrescalesKey (uint32_t key) |
sets the key of the prescales config which was used to trigger this event | |
uint32_t | getConfigPrescalesKey () const |
gets the key of the prescales config which was used to trigger this event | |
bool | isHLTResultTruncated () const |
is serialized HLTResult truncated | |
void | setHLTResultTruncated (bool truncated) |
const std::vector< uint32_t > & | getNavigationResult () const |
retrieve the sub-payloads (can be used to retrieve/write data) | |
const std::vector< uint32_t > & | getNavigationResult_DSonly () const |
const std::vector< uint32_t > & | getChainResult () const |
const std::vector< uint32_t > & | getExtras () const |
std::vector< unsigned int > & | getNavigationResultCuts () |
gets ref to the internal array holding places for safe navigation truncations | |
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 | |
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 | |
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 | |
const std::vector< std::pair < CLID, std::string > > & | getNavigationResultIDName_DSonly () const |
std::vector< uint32_t > & | getNavigationResult () |
gets ref to the internal array holding serialized navigation | |
std::vector< uint32_t > & | getNavigationResult_DSonly () |
gets ref to the internal array holding serialized navigation | |
std::vector< uint32_t > & | getChainResult () |
gets ref to the internal array holding serialized chains | |
std::vector< uint32_t > & | getExtras () |
std::map< unsigned int, std::set< std::pair< CLID, std::string > > > & | getScoutingMap () |
methods to get and set the Scouting Map saved into HLTResult | |
const std::map< unsigned int, std::set< std::pair< CLID, std::string > > > & | getScoutingMap () const |
void | setScoutingMap (std::map< unsigned int, std::set< std::pair< CLID, std::string > > > map_modid_clid_name) |
HLTExtraData & | getExtraData () |
const HLTExtraData & | getExtraData () const |
unsigned int | size () const |
std::vector< unsigned int > | partSizes () const |
bool | isEmpty () const |
true if result is empty | |
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). | |
std::vector< unsigned int > | listOfModIDs () const |
return the rob module ID vector | |
Friends | |
class | HLTResultCnv_p1 |
void | swap (HLTResult &lhs, HLTResult &rhs) |
HLT::HLTResult is sumarising result of trigger decision evaluation (online/offline) It contains basically 3 parts:.
virtual bool HLT::HLTResult::accepted | ( | ) | const [inline, virtual] |
bool HLT::HLTResult::deserialize | ( | uint32_t * | source, | |
const int | data_size | |||
) | [virtual] |
bool HLT::HLTResult::deserialize | ( | const std::vector< uint32_t > & | source | ) | [virtual] |
virtual bool HLT::HLTResult::error | ( | ) | const [virtual] |
problems during processing
Implements GenericResult.
virtual uint32_t HLT::HLTResult::error_bits | ( | ) | const [virtual] |
bit flags to explain problems during processing
Implements GenericResult.
uint32_t HLT::HLTResult::getConfigPrescalesKey | ( | ) | const |
gets the key of the prescales config which was used to trigger this event
uint32_t HLT::HLTResult::getConfigSuperMasterKey | ( | ) | const |
gets the key of the menu which was used to trigger this event
void HLT::HLTResult::getErrorCoordinates | ( | unsigned int & | chainCounter, | |
unsigned int & | step | |||
) | const [inline] |
get error coordinates
bool HLT::HLTResult::isValid | ( | ) | const [inline] |
is the result valid
void HLT::HLTResult::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).
return the rob module ID vector. (fills up rod_mod_ids vector given by reference)
bool HLT::HLTResult::serialize | ( | uint32_t *& | output, | |
int & | data_size, | |||
const int | max_size = -1 , |
|||
const unsigned int | mod_id = 0 | |||
) | [virtual] |
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.
bool HLT::HLTResult::serialize | ( | std::vector< uint32_t > & | output | ) | [virtual] |
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.
bool HLT::HLTResult::serialize | ( | std::vector< uint32_t > & | output, | |
const unsigned int | mod_id | |||
) |
void HLT::HLTResult::setErrorCoordinates | ( | unsigned int | chainCounter = 0 , |
|
unsigned int | step = 0 | |||
) | [inline] |
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 |
void HLT::HLTResult::setPassThrough | ( | bool | fa | ) | [inline] |
set passTrough flag