ATLAS Offline Software
Loading...
Searching...
No Matches
python.hltResult.hltResult Class Reference
Inheritance diagram for python.hltResult.hltResult:
Collaboration diagram for python.hltResult.hltResult:

Public Member Functions

 __init__ (self)
 load (self, rob)
 appName (self)
virtual bool accepted () const
 reject or accept
virtual bool error () const
 problems during processing
virtual uint32_t error_bits () const
 bit flags to explain problems during processing
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
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 )
bool deserialize (uint32_t *source, const int data_size)
 GenericResult::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)
std::vector< uint32_t > & getNavigationResult ()
 gets ref to the internal array holding serialized navigation
const std::vector< uint32_t > & getNavigationResult_DSonly () const
std::vector< uint32_t > & getNavigationResult_DSonly ()
 gets ref to the internal array holding serialized navigation
const std::vector< uint32_t > & getChainResult () const
std::vector< uint32_t > & getChainResult ()
 gets ref to the internal array holding serialized chains
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
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::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 (const std::map< unsigned int, std::set< std::pair< CLID, std::string > > > &map_modid_clid_name)
HLTExtraDatagetExtraData ()
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

Public Attributes

 as_int_v = cppyy.gbl.std.vector('unsigned int')()
list 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

 __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.
CutPairVecs findDSCuts (unsigned int) const
 Find the pairs of cut points that mark the boundaries of DS collections for the given module id.
bool unpackFromStorable (const std::vector< uint32_t > &raw)
 split the rawResult vector into rawPartialResult's

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.

Private Attributes

std::vector< uint32_t > m_headerResult
 the full payload, and sub-payloads
std::vector< uint32_t > m_chainsResult
 storege of serialized chains
std::vector< uint32_t > m_navigationResult
 storage of navigation (serialized also)
std::vector< uint32_t > m_navigationResult_DSonly
 storage of navigation (serialized also) for DataScouting
std::vector< uint32_t > m_extras
 extra storeage (which can be used to store some operational infos)
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)

Static Private Attributes

static const uint32_t m_HLTResultClassVersion = 3
 the version of this HLTResult class

Detailed Description

Definition at line 10 of file hltResult.py.

Member Typedef Documentation

◆ CutPairs

using HLT::HLTResult::CutPairs = std::vector<std::pair<unsigned int, unsigned int>>
privateinherited

Definition at line 370 of file HLTResult.h.

◆ CutPairVecs

using HLT::HLTResult::CutPairVecs = std::pair<CutPairs, CutPairs>
privateinherited

Definition at line 371 of file HLTResult.h.

Member Enumeration Documentation

◆ InitBits

enum HLT::HLTResult::InitBits
privateinherited

fixed bits; general trigger and status information

Enumerator
IndHLTResultClassVersion 
IndEventNumber 

event number (from EventInfo::EventID::event_number())

IndHLTDecision 

HLT decision (== 0 if event has been rejected at HLT)

IndPassThrough 

has the event been forced (passed through)

IndHLTStatus 

HLT status corresponding to ErrorCode enums.

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 353 of file HLTResult.h.

368 };
@ IndCreatedOutsideHLT
also an error identifier
Definition HLTResult.h:363
@ IndEventNumber
event number (from EventInfo::EventID::event_number())
Definition HLTResult.h:354
@ IndHLTResultTruncated
the serialize function could not fit everything into the given max data_size
Definition HLTResult.h:364
@ IndLvlConverterStatus
LvlConverter status corresponding to ErrorCode enums.
Definition HLTResult.h:358
@ IndHLTDecision
HLT decision (== 0 if event has been rejected at HLT)
Definition HLTResult.h:355
@ IndHLTResultClassVersion
Definition HLTResult.h:353
@ IndConfigPrescalesKey
configuration key for prescales
Definition HLTResult.h:366
@ IndNumOfFixedBit
total number of fixed bits
Definition HLTResult.h:367
@ IndErrorInStep
step number in which error occured, in normal conditions sbould be 0
Definition HLTResult.h:362
@ IndHLTStatus
HLT status corresponding to ErrorCode enums.
Definition HLTResult.h:357
@ IndNumOfSatisfiedSigs
number of satisfied signatures
Definition HLTResult.h:360
@ IndErrorInChain
chain ID in which the error occured, in normal conditions sbould be 0
Definition HLTResult.h:361
@ IndConfigSuperMasterKey
configuration key for the menu
Definition HLTResult.h:365
@ IndHLTLevelInfo
the HLT level
Definition HLTResult.h:359
@ IndPassThrough
has the event been forced (passed through)
Definition HLTResult.h:356

Constructor & Destructor Documentation

◆ __init__()

python.hltResult.hltResult.__init__ ( self)

Definition at line 11 of file hltResult.py.

11 def __init__(self):
12 super( hltResult, self ).__init__()
13 self.as_int_v = cppyy.gbl.std.vector('unsigned int')()
14

Member Function Documentation

◆ __unpack_navigation()

python.hltResult.hltResult.__unpack_navigation ( self)
private

Definition at line 28 of file hltResult.py.

28 def __unpack_navigation(self):
29 nav_data = list(self.getNavigationResult())
30 if len(nav_data) <= 1:
31 return
32
33 fidx=nav_data[2]
34 blob = get_feature_data_blob(nav_data, fidx)
35 while len(blob):
36 fsize = len(blob)
37 clid = blob[0]
38 stidx = blob[1]
39 slabel = blob[2]
40 lwords = blob[3:3+slabel]
41 sdata = len(blob)-slabel-3
42
43 label = deserialize_string(lwords)
44 self.nav_payload.append( (clidg.getNameFromClid(clid), label, fsize*4, sdata*4, clid, stidx) )
45 fidx = fidx+fsize+1
46 blob = get_feature_data_blob(nav_data, fidx)
47

◆ accepted()

virtual bool HLT::HLTResult::accepted ( ) const
inlinevirtualinherited

reject or accept

Returns
true if event is accepted

Implements GenericResult.

Definition at line 63 of file HLTResult.h.

63{ return isAccepted(); }
bool isAccepted() const
gets HLT decision
Definition HLTResult.h:129

◆ appName()

python.hltResult.hltResult.appName ( self)

Definition at line 48 of file hltResult.py.

48 def appName(self):
49 if self.getExtras().size()>1:
50 return deserialize_string(self.getExtras())
51 else:
52 return ''
53
54

◆ calc_total_size_DS()

unsigned int HLTResult::calc_total_size_DS ( unsigned int ds_nav_size)
staticprivateinherited

Calculate the size of a DS result, given the size of its navigation.

Definition at line 272 of file HLTResult.cxx.

273{
274 static constexpr auto num_size_words = 3u;
275 return num_size_words + IndNumOfFixedBit + ds_nav_size;
276}

◆ deserialize() [1/2]

bool HLTResult::deserialize ( const std::vector< uint32_t > & source)
virtualinherited

GenericResult::deserialize( const std::vector<uint32_t>& source )

Implements GenericResult.

Definition at line 483 of file HLTResult.cxx.

483 {
484 return unpackFromStorable(source);
485}
bool unpackFromStorable(const std::vector< uint32_t > &raw)
split the rawResult vector into rawPartialResult's

◆ deserialize() [2/2]

bool HLTResult::deserialize ( uint32_t * source,
const int data_size )
virtualinherited

GenericResult::deserialize( uint32_t* source, const int data_size )

Implements GenericResult.

Definition at line 488 of file HLTResult.cxx.

488 {
489 if (data_size == 0 ) return false;
490 std::vector<uint32_t> rawResult(&source[0], &source[data_size]);
491 return unpackFromStorable(rawResult);
492}

◆ error()

bool HLTResult::error ( ) const
virtualinherited

problems during processing

Returns
true if there was an error during event processing

Implements GenericResult.

Definition at line 103 of file HLTResult.cxx.

103 {
104 return (getHLTStatus().action() >= HLT::Action::ABORT_CHAIN) ? true : false;
105}
ErrorCode getHLTStatus() const
overall hlt status: if StatusCode::isFailure(), event should be discarded from physics stream (and,...
Definition HLTResult.h:156
@ ABORT_CHAIN
if things went wrong but it is not severe, other unrelated chains will continue

◆ error_bits()

uint32_t HLTResult::error_bits ( ) const
virtualinherited

bit flags to explain problems during processing

Returns
some bits are set if there was na error

Implements GenericResult.

Definition at line 107 of file HLTResult.cxx.

107 {
108 uint32_t bits = 0;
109 // result of erros in previous levels (not correct previous level result)
110 if (getLvlConverterStatus().action() != HLT::Action::CONTINUE) bits |= 0x1;
111 if (getLvlConverterStatus().steeringInternalReason() == HLT::SteeringInternalReason::NO_LVL1_ITEMS) bits |= 0x2;
112 if (getLvlConverterStatus().steeringInternalReason() == HLT::SteeringInternalReason::NO_LVL2_CHAINS) bits |= 0x4;
113 if (getLvlConverterStatus().steeringInternalReason() == HLT::SteeringInternalReason::WRONG_HLT_RESULT) bits |= 0x8;
114 if (getLvlConverterStatus().steeringInternalReason() == HLT::SteeringInternalReason::NO_HLT_RESULT) bits |= 0x10;
115
116 // result of erros in this level
117 if (getHLTStatus().action() == HLT::Action::ABORT_JOB) bits |= 0x100;
118 if (getHLTStatus().action() == HLT::Action::ABORT_EVENT) bits |= 0x200;
119 if (getHLTStatus().action() == HLT::Action::ABORT_CHAIN) bits |= 0x400;
120 if (getHLTStatus().reason() == HLT::Reason::TIMEOUT) bits |= 0x800;
121 if (getHLTStatus().reason() == HLT::Reason::NAV_ERROR) bits |= 0x1000;
122 return bits;
123}
ErrorCode getLvlConverterStatus() const
overall hlt status: if StatusCode::isFailure(), event should be discarded from physics stream (and,...
Definition HLTResult.h:165
setEventNumber uint32_t
@ CONTINUE
if all is OK the processing should be continued
@ ABORT_EVENT
if things went wrong severely, event corruption suspected
@ NO_LVL2_CHAINS
in the LVL2 result unpacked at EF no active LVL2 chains are present, that means no seeding informatio...
@ NO_LVL1_ITEMS
in the LVL1 result delivered to LVL2 none of LVL1 items are present, that means no seeding informatio...
@ WRONG_HLT_RESULT
error while unpacking HLT reult (happnes at EF when LVL2 result is unpacked)
@ NO_HLT_RESULT
no HLT result is present (means that LVL2 result was not delivered to EF)

◆ estimateSize()

unsigned int HLTResult::estimateSize ( ) const
privateinherited

Estimate the size this HLTResult would ocuppy once serialized.

Definition at line 125 of file HLTResult.cxx.

125 {
126 return IndNumOfFixedBit
127 + m_chainsResult.size() + 1 // size(one word) and payload
128 + m_navigationResult.size() + 1
129 + m_extras.size() + 1;
130}
std::vector< uint32_t > m_extras
extra storeage (which can be used to store some operational infos)
Definition HLTResult.h:478
std::vector< uint32_t > m_navigationResult
storage of navigation (serialized also)
Definition HLTResult.h:476
std::vector< uint32_t > m_chainsResult
storege of serialized chains
Definition HLTResult.h:475

◆ findDSCuts()

auto HLTResult::findDSCuts ( unsigned int mod_id) const
privateinherited

Find the pairs of cut points that mark the boundaries of DS collections for the given module id.

Returns
A pair whose first element has the boundaries of collections found in the DS result and whose second element has the boundaries of collections found only in the regular result

Definition at line 244 of file HLTResult.cxx.

245{
246
247 auto cuts_dsonly = CutPairs{{0, m_navigationResultCuts_DSonly.at(1)}}; /* the
248 first cut pair contains the preamle for DS
249 navigation: {version, NavSize, TEsSize, NumTEs} */
250 auto cuts_reg = CutPairs{}; // starts empty
251
252 auto modid_coll_it = m_modID_id_name.find(mod_id);
253 if(modid_coll_it != std::end(m_modID_id_name))
254 {
255 const auto& collections = modid_coll_it->second;
256 find_cuts(collections,
258 {},
260 cuts_dsonly); // cuts for collections only in the DS result
261 find_cuts(collections,
262 m_id_name,
265 cuts_reg); // cuts for collections in the normal result
266 }
267
268 return std::make_pair(cuts_dsonly, cuts_reg);
269}
std::vector< std::pair< unsigned int, unsigned int > > CutPairs
Definition HLTResult.h:370
std::vector< std::pair< CLID, std::string > > m_id_name
Definition HLTResult.h:480
std::map< unsigned int, std::set< std::pair< CLID, std::string > > > m_modID_id_name
Definition HLTResult.h:484
std::vector< unsigned int > m_navigationResultCuts_DSonly
Definition HLTResult.h:488
std::vector< std::pair< CLID, std::string > > m_id_name_DSonly
Definition HLTResult.h:482
std::vector< unsigned int > m_navigationResultCuts
Definition HLTResult.h:486

◆ getChainResult() [1/2]

std::vector< uint32_t > & HLT::HLTResult::getChainResult ( )
inlineinherited

gets ref to the internal array holding serialized chains

Definition at line 289 of file HLTResult.h.

289{ return m_chainsResult; }

◆ getChainResult() [2/2]

const std::vector< uint32_t > & HLT::HLTResult::getChainResult ( ) const
inlineinherited

Definition at line 250 of file HLTResult.h.

250{ return m_chainsResult; }

◆ getConfigPrescalesKey()

uint32_t HLTResult::getConfigPrescalesKey ( ) const
inherited

gets the key of the prescales config which was used to trigger this event

Warning
This info was introduced in version 2 of HLTresult for former data this method returns 0

Definition at line 651 of file HLTResult.cxx.

651 {
654 else
655 return 0;
656}
std::vector< uint32_t > m_headerResult
the full payload, and sub-payloads
Definition HLTResult.h:474

◆ getConfigSuperMasterKey()

uint32_t HLTResult::getConfigSuperMasterKey ( ) const
inherited

gets the key of the menu which was used to trigger this event

Warning
This info was introduced in version 2 of HLTresult for former data this method returns 0

Definition at line 639 of file HLTResult.cxx.

639 {
642 else
643 return 0;
644}

◆ getErrorCoordinates()

void HLT::HLTResult::getErrorCoordinates ( unsigned int & chainCounter,
unsigned int & step ) const
inlineinherited

◆ getExtraData()

HLTExtraData & HLTResult::getExtraData ( )
inherited

Definition at line 659 of file HLTResult.cxx.

660{
661 // On-demand deserialization of m_extras
662 if (m_extraData==0) {
663 m_extraData = new HLTExtraData(m_extras);
664 }
665 return *m_extraData;
666}
HLTExtraData * m_extraData
object for m_extras deserialization (on demand)
Definition HLTResult.h:490

◆ getExtras() [1/2]

std::vector< uint32_t > & HLT::HLTResult::getExtras ( )
inlineinherited

Definition at line 296 of file HLTResult.h.

296{ return m_extras; }

◆ getExtras() [2/2]

const std::vector< uint32_t > & HLT::HLTResult::getExtras ( ) const
inlineinherited

Definition at line 251 of file HLTResult.h.

251{ return m_extras; }

◆ getHLTLevel()

HLTLevel HLT::HLTResult::getHLTLevel ( ) const
inlineinherited

hlt level (L2 or EF)

Definition at line 171 of file HLTResult.h.

◆ getHLTResultClassVersion()

uint32_t HLT::HLTResult::getHLTResultClassVersion ( ) const
inlineinherited

HLTResult version (set accessor is private)

Definition at line 114 of file HLTResult.h.

114{ return m_HLTResultClassVersion; }
static const uint32_t m_HLTResultClassVersion
the version of this HLTResult class
Definition HLTResult.h:468

◆ getHLTStatus()

ErrorCode HLT::HLTResult::getHLTStatus ( ) const
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 156 of file HLTResult.h.

ErrorCode
Error code: whether the classification was successful or failed.

◆ getLvl1Id()

uint32_t HLT::HLTResult::getLvl1Id ( ) const
inlineinherited

gets event number (Lvl1-id)

Definition at line 119 of file HLTResult.h.

◆ getLvlConverterStatus()

ErrorCode HLT::HLTResult::getLvlConverterStatus ( ) const
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 165 of file HLTResult.h.

◆ getNavigationResult() [1/2]

std::vector< uint32_t > & HLT::HLTResult::getNavigationResult ( )
inlineinherited

gets ref to the internal array holding serialized navigation

Definition at line 279 of file HLTResult.h.

279{ return m_navigationResult; }

◆ getNavigationResult() [2/2]

const std::vector< uint32_t > & HLT::HLTResult::getNavigationResult ( ) const
inlineinherited

retrieve the sub-payloads (can be used to retrieve/write data)

Definition at line 248 of file HLTResult.h.

248{ return m_navigationResult; }

◆ getNavigationResult_DSonly() [1/2]

std::vector< uint32_t > & HLT::HLTResult::getNavigationResult_DSonly ( )
inlineinherited

gets ref to the internal array holding serialized navigation

Definition at line 284 of file HLTResult.h.

std::vector< uint32_t > m_navigationResult_DSonly
storage of navigation (serialized also) for DataScouting
Definition HLTResult.h:477

◆ getNavigationResult_DSonly() [2/2]

const std::vector< uint32_t > & HLT::HLTResult::getNavigationResult_DSonly ( ) const
inlineinherited

Definition at line 249 of file HLTResult.h.

◆ getNavigationResultCuts() [1/2]

std::vector< unsigned int > & HLT::HLTResult::getNavigationResultCuts ( )
inlineinherited

gets ref to the internal array holding places for safe navigation truncations

Definition at line 256 of file HLTResult.h.

256{ return m_navigationResultCuts; }

◆ getNavigationResultCuts() [2/2]

const std::vector< unsigned int > & HLT::HLTResult::getNavigationResultCuts ( ) const
inlineinherited

Definition at line 257 of file HLTResult.h.

257{ return m_navigationResultCuts; }

◆ getNavigationResultCuts_DSonly() [1/2]

std::vector< unsigned int > & HLT::HLTResult::getNavigationResultCuts_DSonly ( )
inlineinherited

gets ref to the internal array holding places for safe navigation truncations

Definition at line 262 of file HLTResult.h.

◆ getNavigationResultCuts_DSonly() [2/2]

const std::vector< unsigned int > & HLT::HLTResult::getNavigationResultCuts_DSonly ( ) const
inlineinherited

Definition at line 263 of file HLTResult.h.

◆ getNavigationResultIDName() [1/2]

std::vector< std::pair< CLID, std::string > > & HLT::HLTResult::getNavigationResultIDName ( )
inlineinherited

gets ref to the internal vector of pairs of CLID and collection name

Definition at line 268 of file HLTResult.h.

268{ return m_id_name; }

◆ getNavigationResultIDName() [2/2]

const std::vector< std::pair< CLID, std::string > > & HLT::HLTResult::getNavigationResultIDName ( ) const
inlineinherited

Definition at line 269 of file HLTResult.h.

269{ return m_id_name; }

◆ getNavigationResultIDName_DSonly() [1/2]

std::vector< std::pair< CLID, std::string > > & HLT::HLTResult::getNavigationResultIDName_DSonly ( )
inlineinherited

gets ref to the internal vector of pairs of CLID and collection name

Definition at line 273 of file HLTResult.h.

273{ return m_id_name_DSonly; }

◆ getNavigationResultIDName_DSonly() [2/2]

const std::vector< std::pair< CLID, std::string > > & HLT::HLTResult::getNavigationResultIDName_DSonly ( ) const
inlineinherited

Definition at line 274 of file HLTResult.h.

274{ return m_id_name_DSonly; }

◆ getNumOfSatisfiedSigs()

uint32_t HLT::HLTResult::getNumOfSatisfiedSigs ( ) const
inlineinherited

get number of satisfied signatures

Definition at line 183 of file HLTResult.h.

◆ getScoutingMap() [1/2]

std::map< unsigned int, std::set< std::pair< CLID, std::string > > > & HLT::HLTResult::getScoutingMap ( )
inlineinherited

methods to get and set the Scouting Map saved into HLTResult

Definition at line 301 of file HLTResult.h.

301{return m_modID_id_name;}

◆ getScoutingMap() [2/2]

const std::map< unsigned int, std::set< std::pair< CLID, std::string > > > & HLT::HLTResult::getScoutingMap ( ) const
inlineinherited

Definition at line 302 of file HLTResult.h.

302{return m_modID_id_name;}

◆ isAccepted()

bool HLT::HLTResult::isAccepted ( ) const
inlineinherited

gets HLT decision

Definition at line 129 of file HLTResult.h.

129{ return (m_headerResult[IndHLTDecision] == 1 ? true : false); }

◆ isCreatedOutsideHLT()

bool HLT::HLTResult::isCreatedOutsideHLT ( ) const
inlineinherited

is HLTResult created externally, in PSC in example

Definition at line 209 of file HLTResult.h.

209{ return (m_headerResult[IndCreatedOutsideHLT] == 0 ? false: true); } // previously "hasBeenCreated"

◆ isEmpty()

bool HLTResult::isEmpty ( ) const
inherited

true if result is empty

Definition at line 627 of file HLTResult.cxx.

628{
629 return (m_chainsResult.empty() && m_navigationResult.empty());
630}

◆ isHLTResultTruncated()

bool HLT::HLTResult::isHLTResultTruncated ( ) const
inlineinherited

is serialized HLTResult truncated

Definition at line 240 of file HLTResult.h.

240{ return (m_headerResult[IndHLTResultTruncated] == 0 ? false : true); }

◆ isPassThrough()

bool HLT::HLTResult::isPassThrough ( ) const
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 144 of file HLTResult.h.

◆ isValid()

bool HLT::HLTResult::isValid ( ) const
inlineinherited

is the result valid

Returns
true if result was ever stuffed, this is to mark results taht were never filled in steeing

Definition at line 178 of file HLTResult.h.

178{ return (getHLTLevel() != HLT::UNKNOWN); }
HLTLevel getHLTLevel() const
hlt level (L2 or EF)
Definition HLTResult.h:171

◆ listOfModIDs() [1/2]

std::vector< unsigned int > HLTResult::listOfModIDs ( ) const
inherited

return the rob module ID vector

Definition at line 94 of file HLTResult.cxx.

94 {
95
96 std::vector<unsigned int> mod_ids;
97 for (std::map<unsigned int, std::set<std::pair<CLID, std::string> > >::const_iterator map_it = m_modID_id_name.begin();
98 map_it != m_modID_id_name.end(); ++map_it)
99 mod_ids.push_back((*map_it).first);
100 return mod_ids;
101}

◆ listOfModIDs() [2/2]

void HLTResult::listOfModIDs ( std::vector< unsigned int > & mod_ids) const
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)

Warning
note that vector is not cleared

Definition at line 87 of file HLTResult.cxx.

87 {
88
89 for (std::map<unsigned int, std::set<std::pair<CLID, std::string> > >::const_iterator map_it = m_modID_id_name.begin();
90 map_it != m_modID_id_name.end(); ++map_it)
91 mod_ids.push_back((*map_it).first);
92}

◆ load()

python.hltResult.hltResult.load ( self,
rob )

Definition at line 15 of file hltResult.py.

15 def load(self, rob):
16 self.nav_payload = []
17
18 data = list(rob.rod_data())
19 self.as_int_v.clear()
20 self.as_int_v.reserve(len(data))
21 [ self.as_int_v.push_back(i) for i in data ]
22
23 if self.deserialize(self.as_int_v) is False:
24 raise Exception('deserialization of the HLT result failed')
25 self.__unpack_navigation()
26
27

◆ partSizes()

std::vector< unsigned int > HLTResult::partSizes ( ) const
inherited

Definition at line 617 of file HLTResult.cxx.

617 {
618 std::vector<unsigned int> sizes;
619 sizes.reserve(4);
620 sizes.push_back(m_headerResult.size());
621 sizes.push_back(m_chainsResult.size());
622 sizes.push_back(m_navigationResult.size());
623 sizes.push_back(m_extras.size());
624 return sizes;
625}

◆ serialize() [1/3]

bool HLTResult::serialize ( std::vector< uint32_t > & output)
inlinevirtualinherited

get the result of the processing as the raw vector of 32 bit unsigned integers

Parameters
outputthe place where to put the data
Returns
status of the operation

Implements GenericResult.

Definition at line 443 of file HLTResult.cxx.

444{
445 return serialize(output, /*mod_id*/ 0);
446}
bool serialize(std::vector< uint32_t > &output, const unsigned int mod_id)

◆ serialize() [2/3]

bool HLTResult::serialize ( std::vector< uint32_t > & output,
const unsigned int mod_id )
inherited

Definition at line 448 of file HLTResult.cxx.

450{
451 uint32_t * aux = nullptr;
452 int data_size = 0;
453
454 auto ret = serialize(aux, data_size, /*max_size*/ -1, mod_id);
455 auto uptr = std::unique_ptr<uint32_t[]>{aux}; // takes care of deletion
456
457 output.reserve(data_size);
458 std::copy(aux, aux + data_size, std::back_inserter(output));
459
460 return ret;
461}
output
Definition merge.py:16

◆ serialize() [3/3]

bool HLTResult::serialize ( uint32_t *& output,
int & data_size,
const int max_size = -1,
const unsigned int mod_id = 0 )
inlinevirtualinherited


Implements GenericResult.

Definition at line 464 of file HLTResult.cxx.

468{
469 return mod_id ? serialize_DS(output, data_size, max_size, mod_id)
470 : serialize_regular(output, data_size, max_size);
471}
bool serialize_DS(uint32_t *&output, int &data_size, int max_size, unsigned int mod_id)
bool serialize_regular(uint32_t *&output, int &data_size, int max_size)

◆ serialize_body_DS()

bool HLTResult::serialize_body_DS ( uint32_t * output,
int & data_size,
unsigned int max_size,
unsigned int nav_size,
const CutPairVecs & dscuts,
bool truncating ) const
privateinherited

Definition at line 390 of file HLTResult.cxx.

396{
397 if(static_cast<unsigned int>(data_size) < umax_size)
398 { // still at least space for chains size
399 output[data_size++] = 0; // no chains
400 if(serialize_navigation_DS(output, data_size, umax_size, nav_size, dscuts,
401 truncating)
402 && static_cast<unsigned int>(data_size) < umax_size)
403 { // we managed to serialize without truncating and have at least 1word left
404 output[data_size++] = 0; // no extras
405 return true; // no truncation
406 }
407 }
408
409 return false;
410}
bool serialize_navigation_DS(uint32_t *output, int &data_size, unsigned int umax_size, unsigned int nav_size, const CutPairVecs &dscuts, bool truncating) const

◆ serialize_body_regular()

bool HLTResult::serialize_body_regular ( uint32_t * output,
int & data_size,
unsigned int umax_size,
bool truncating ) const
inlineprivateinherited

Definition at line 378 of file HLTResult.cxx.

382{
383 return serialize_indivisible(output, data_size, m_chainsResult, umax_size,
384 truncating) &&
385 serialize_navigation_reg(output, data_size, umax_size, truncating) &&
386 serialize_indivisible(output, data_size, m_extras, umax_size,
387 truncating);
388}
bool serialize_navigation_reg(uint32_t *output, int &data_size, unsigned int umax_size, bool truncating) const

◆ serialize_bootstrap()

bool HLTResult::serialize_bootstrap ( uint32_t *& output,
int & data_size,
bool & truncating,
int max_size,
unsigned int estimated_size )
privateinherited

Definition at line 357 of file HLTResult.cxx.

362{
363 assert(!data_size);
364 assert(!output);
365
366 auto umax_size = static_cast<unsigned int>(max_size);
367 output = new uint32_t[std::min(umax_size, estimated_size)];
368
369 truncating = max_size >= 0 && estimated_size > umax_size;
370 setHLTResultTruncated(truncating);
371
372 // serialize header
373 return serialize_indivisible(output, data_size, m_headerResult, umax_size,
374 truncating, /*first*/true);
375}
void setHLTResultTruncated(bool truncated)
Definition HLTResult.h:241

◆ serialize_DS()

bool HLTResult::serialize_DS ( uint32_t *& output,
int & data_size,
int max_size,
unsigned int mod_id )
privateinherited

Definition at line 425 of file HLTResult.cxx.

429{
430 assert(mod_id);
431
432 bool truncating{false};
433 auto dscuts = findDSCuts(mod_id);
434 auto navsize = calc_colls_size(dscuts.first) + calc_colls_size(dscuts.second);
435
436 return serialize_bootstrap(output, data_size, truncating, max_size,
437 calc_total_size_DS(navsize)) &&
438 serialize_body_DS(output, data_size, max_size, navsize, dscuts,
439 truncating);
440}
bool serialize_body_DS(uint32_t *output, int &data_size, unsigned int max_size, unsigned int nav_size, const CutPairVecs &dscuts, bool truncating) const
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.
bool serialize_bootstrap(uint32_t *&output, int &data_size, bool &truncating, int max_size, unsigned int estimated_size)
CutPairVecs findDSCuts(unsigned int) const
Find the pairs of cut points that mark the boundaries of DS collections for the given module id.

◆ serialize_navigation_DS()

bool HLTResult::serialize_navigation_DS ( uint32_t * output,
int & data_size,
unsigned int umax_size,
unsigned int nav_size,
const CutPairVecs & dscuts,
bool truncating ) const
privateinherited

Definition at line 322 of file HLTResult.cxx.

328{
329 if(nav_size + data_size < umax_size)
330 { // we have space for the navigation + 1 size word
331 output[data_size++] = nav_size;
332 auto index_for_size_in_nav_preamble = data_size + 1;
333
334 serialize_collections(output, data_size, m_navigationResult_DSonly,
335 dscuts.first);
336 serialize_collections(output, data_size, m_navigationResult, dscuts.second);
337
338 output[index_for_size_in_nav_preamble] = nav_size; /* the total size needs
339 to be replaced in the navigation preamble as it was originally
340 calculated with all data scouting collections lumped together in the
341 navigation. This needs to be corrected once headers can be changed and
342 serialization can be requested for each module ID separately.
343 TODO: remove when changing headers */
344 }
345 else
346 {
347 assert(truncating);
348
349 if(static_cast<unsigned int>(data_size) < umax_size)
350 output[data_size++] = 0; /* we can still write the size; (partial
351 navigation not supported in DS) */
352 }
353
354 return !truncating;
355}

◆ serialize_navigation_reg()

bool HLTResult::serialize_navigation_reg ( uint32_t * output,
int & data_size,
unsigned int umax_size,
bool truncating ) const
privateinherited

Definition at line 278 of file HLTResult.cxx.

282{
283 auto calc_size_needed = [data_size](unsigned int nav_size)
284 { return nav_size + data_size + 1; }; /* given a
285 navigation size, this gives the
286 total space needed in the output */
287 auto is_within_size = [umax_size, &calc_size_needed](unsigned int cut)
288 { return calc_size_needed(cut) <= umax_size; }; /* tells
289 whether the given cut would make it
290 within the allowed size */
291
292 if(static_cast<unsigned int>(data_size) < umax_size)
293 { // there is still some space (even if we end up truncating)
294 const auto tot_nav_size = m_navigationResult.size(); // cache the total size
295 auto cut_nav_size = tot_nav_size; // init cut size
296 auto endnav = std::end(m_navigationResult); // and cut point
297
298 if(truncating && calc_size_needed(tot_nav_size) > umax_size)
299 { // Truncation falls in navigation, so find the last cut that still fits
300 auto cutit = std::find_if(m_navigationResultCuts.rbegin(),
302 is_within_size);
303 cut_nav_size = (cutit == m_navigationResultCuts.rend()) ? 0 : *cutit;
304 endnav -= tot_nav_size - cut_nav_size;
305 }
306
307 assert(endnav == std::begin(m_navigationResult) + cut_nav_size); /* endnav
308 now marks the cutting point, while cut_nav_size
309 says how many nav words we are copying */
310
311 output[data_size++] = cut_nav_size;
312 copy(std::begin(m_navigationResult), endnav, output+data_size);
313 data_size += cut_nav_size;
314
315 return endnav == std::end(m_navigationResult); /* whether we went with the
316 full navigation */
317 }
318
319 return false; // we did not even have space for the size
320}
bool copy
Definition calibdata.py:26

◆ serialize_regular()

bool HLTResult::serialize_regular ( uint32_t *& output,
int & data_size,
int max_size )
privateinherited

Definition at line 412 of file HLTResult.cxx.

415{
416 updateExtras();
417 bool truncating{false};
418 auto estim_size = estimateSize();
419 return serialize_bootstrap(output, data_size, truncating,
420 max_size, estim_size) &&
421 serialize_body_regular(output, data_size,
422 max_size, truncating);
423}
void updateExtras()
unsigned int estimateSize() const
Estimate the size this HLTResult would ocuppy once serialized.
bool serialize_body_regular(uint32_t *output, int &data_size, unsigned int umax_size, bool truncating) const

◆ setAccepted()

void HLT::HLTResult::setAccepted ( bool acc)
inlineinherited

sets HLT decision

Definition at line 134 of file HLTResult.h.

◆ setConfigPrescalesKey()

void HLTResult::setConfigPrescalesKey ( uint32_t key)
inherited

sets the key of the prescales config which was used to trigger this event

Definition at line 646 of file HLTResult.cxx.

◆ setConfigSuperMasterKey()

void HLTResult::setConfigSuperMasterKey ( uint32_t key)
inherited

sets the key of the menu which was used to trigger this event

Definition at line 633 of file HLTResult.cxx.

◆ setCreatedOutsideHLT()

void HLT::HLTResult::setCreatedOutsideHLT ( bool created)
inlineinherited

Definition at line 210 of file HLTResult.h.

◆ setErrorCoordinates()

void HLT::HLTResult::setErrorCoordinates ( unsigned int chainCounter = 0,
unsigned int step = 0 )
inlineinherited

sets the information about the error, namely chain in which the error happened and the step

Parameters
chainCountersays in which chain it was (0 denotes that error wasn;t inchains processing)
stepis telling in which step in the chain the error occured

Definition at line 196 of file HLTResult.h.

◆ setHLTLevel()

void HLT::HLTResult::setHLTLevel ( HLTLevel hltLevel)
inlineinherited

Definition at line 172 of file HLTResult.h.

172{ m_headerResult[IndHLTLevelInfo] = hltLevel; }

◆ setHLTResultTruncated()

void HLT::HLTResult::setHLTResultTruncated ( bool truncated)
inlineinherited

Definition at line 241 of file HLTResult.h.

241 {
242 m_headerResult[IndHLTResultTruncated] = truncated ? 1 : 0;
243 }

◆ setHLTStatus()

void HLT::HLTResult::setHLTStatus ( ErrorCode hltStatus)
inlineinherited

Definition at line 157 of file HLTResult.h.

157{ m_headerResult[IndHLTStatus] = hltStatus; }

◆ setLvl1Id()

void HLT::HLTResult::setLvl1Id ( uint32_t id)
inlineinherited

sets event number (Lvl1-id)

Definition at line 124 of file HLTResult.h.

◆ setLvlConverterStatus()

void HLT::HLTResult::setLvlConverterStatus ( ErrorCode status)
inlineinherited

Definition at line 166 of file HLTResult.h.

◆ setNumOfSatisfiedSigs()

void HLT::HLTResult::setNumOfSatisfiedSigs ( uint32_t sigs)
inlineinherited

sget number of satisfied signatures

Definition at line 188 of file HLTResult.h.

◆ setPassThrough()

void HLT::HLTResult::setPassThrough ( bool fa)
inlineinherited

set passTrough flag

See also
isPassThrough

Definition at line 148 of file HLTResult.h.

◆ setScoutingMap()

void HLT::HLTResult::setScoutingMap ( const std::map< unsigned int, std::set< std::pair< CLID, std::string > > > & map_modid_clid_name)
inlineinherited

Definition at line 304 of file HLTResult.h.

304{m_modID_id_name = map_modid_clid_name;}

◆ size()

unsigned int HLTResult::size ( ) const
inherited

Definition at line 613 of file HLTResult.cxx.

613 {
614 return m_headerResult.size() + m_chainsResult.size() + m_navigationResult.size() + m_extras.size();
615}

◆ unpackFromStorable()

bool HLTResult::unpackFromStorable ( const std::vector< uint32_t > & raw)
privateinherited

split the rawResult vector into rawPartialResult's

Definition at line 494 of file HLTResult.cxx.

495{
496 if (raw.empty())
497 return false;
498
499 // default assumption: fixed bits of raw data are same as present class
500 unsigned int rawIndNumOfFixedBit = HLTResult::IndNumOfFixedBit;
501
502 unsigned version = raw[0];
503
504 // different version handling
505 if ( version != m_HLTResultClassVersion){
506 if (version == 1) {
507 // version 1 had only 12 InitBits
508 rawIndNumOfFixedBit = 12;
509 } else if (version == 2 ) {
510 // nothing to be done
511 } else { // case we don't know about
512 std::cerr << "HLTResult::unpackFromStorable has noticed a class version mismatch and does not know how to translate: raw data version " << raw[0] << " current class version " << m_HLTResultClassVersion << std::endl;
513 return false;
514 }
515
516 }
517 if ( raw.size() < HLTResult::IndNumOfFixedBit )
518 return false;
519 m_headerResult.assign(raw.begin(),
520 raw.begin()+rawIndNumOfFixedBit);
521
522 // fill up with zeros so use of HLTResult::IndNumOfFixedBit of other indices past the end doesn't break
524
525 if ( raw.size() == rawIndNumOfFixedBit )
526 return true; // that's OK, we have just empty event, no processing started
527
528 // chains
529 uint32_t offset = rawIndNumOfFixedBit;
530 uint32_t sizeOfChains = raw[offset];
531 offset++;
532
533 uint32_t readEnd = offset + sizeOfChains;
534 bool truncation = false;
535
536 if ( readEnd > raw.size() ){
537 readEnd = raw.size();
538 truncation = true;
539 }
540
541
542 m_chainsResult.assign(raw.begin()+offset, raw.begin()+readEnd);
543 offset += sizeOfChains;
544
545 if (truncation) {
546 if ( isHLTResultTruncated() ) // if truncation was marked by creator it is OK
547 return true;
548 else // we need to report problems as there was extra truncation in the way which might have been done w/o any care about content
549 return false;
550 }
551
552 // navigation
553 uint32_t sizeOfNavigation = raw[offset];
554 offset++;
555 // check if offset is not beyond size of raw result
556
557
558 readEnd = offset + sizeOfNavigation;
559 if (readEnd > raw.size()) {
560 readEnd = raw.size();
561 truncation = true;
562 }
563
564
565 if ( offset > readEnd )
566 return true;
567
568 m_navigationResult.assign(raw.begin()+offset,
569 raw.begin()+readEnd);
570
571
572 if (truncation) {
573 if ( isHLTResultTruncated() )
574 return true;
575 else
576 return false;
577 }
578 offset += sizeOfNavigation;
579
580 if (version >= 3) {
581 // extras
582 uint32_t sizeOfExtras = 0;
583 if (offset < raw.size()) {
584 sizeOfExtras = raw[offset++];
585 }
586 else {
587 truncation = true;
588 }
589
590 readEnd = offset + sizeOfExtras;
591 if (readEnd > raw.size()) {
592 readEnd = raw.size();
593 truncation = true;
594 }
595
596 if ( offset > readEnd )
597 return true;
598
599 m_extras.assign(raw.begin()+offset,
600 raw.begin()+readEnd);
601 if (truncation) {
602 if ( isHLTResultTruncated() )
603 return true;
604 else
605 return false;
606 }
607 }
608
609 return true;
610}
bool isHLTResultTruncated() const
is serialized HLTResult truncated
Definition HLTResult.h:240

◆ updateExtras()

void HLTResult::updateExtras ( )
inlineprivateinherited

Definition at line 474 of file HLTResult.cxx.

475{
476 if (m_extraData)
477 { // the extraData object has been used, so serialize again into m_extras
478 m_extras.clear();
479 m_extraData->serialize(m_extras);
480 }
481}

Member Data Documentation

◆ as_int_v

python.hltResult.hltResult.as_int_v = cppyy.gbl.std.vector('unsigned int')()

Definition at line 13 of file hltResult.py.

◆ m_chainsResult

std::vector<uint32_t> HLT::HLTResult::m_chainsResult
privateinherited

storege of serialized chains

Definition at line 475 of file HLTResult.h.

◆ m_extraData

HLTExtraData* HLT::HLTResult::m_extraData
privateinherited

object for m_extras deserialization (on demand)

Definition at line 490 of file HLTResult.h.

◆ m_extras

std::vector<uint32_t> HLT::HLTResult::m_extras
privateinherited

extra storeage (which can be used to store some operational infos)

Definition at line 478 of file HLTResult.h.

◆ m_headerResult

std::vector<uint32_t> HLT::HLTResult::m_headerResult
privateinherited

the full payload, and sub-payloads

storage of header words

Definition at line 474 of file HLTResult.h.

◆ m_HLTResultClassVersion

const uint32_t HLTResult::m_HLTResultClassVersion = 3
staticprivateinherited

the version of this HLTResult class

version of HLTResult class: change this upon schema evolution

Definition at line 468 of file HLTResult.h.

◆ m_id_name

std::vector< std::pair < CLID, std::string > > HLT::HLTResult::m_id_name
privateinherited

Definition at line 480 of file HLTResult.h.

◆ m_id_name_DSonly

std::vector< std::pair < CLID, std::string > > HLT::HLTResult::m_id_name_DSonly
privateinherited

Definition at line 482 of file HLTResult.h.

◆ m_modID_id_name

std::map<unsigned int, std::set<std::pair<CLID, std::string> > > HLT::HLTResult::m_modID_id_name
privateinherited

Definition at line 484 of file HLTResult.h.

◆ m_navigationResult

std::vector<uint32_t> HLT::HLTResult::m_navigationResult
privateinherited

storage of navigation (serialized also)

Definition at line 476 of file HLTResult.h.

◆ m_navigationResult_DSonly

std::vector<uint32_t> HLT::HLTResult::m_navigationResult_DSonly
privateinherited

storage of navigation (serialized also) for DataScouting

Definition at line 477 of file HLTResult.h.

◆ m_navigationResultCuts

std::vector<unsigned int> HLT::HLTResult::m_navigationResultCuts
privateinherited

Definition at line 486 of file HLTResult.h.

◆ m_navigationResultCuts_DSonly

std::vector<unsigned int> HLT::HLTResult::m_navigationResultCuts_DSonly
privateinherited

Definition at line 488 of file HLTResult.h.

◆ nav_payload

list python.hltResult.hltResult.nav_payload = []

Definition at line 16 of file hltResult.py.


The documentation for this class was generated from the following file: