CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
stor::FragKey Struct Reference

#include <FragKey.h>

Public Member Functions

 FragKey (uint8 msgcode, uint32 run, uint32 event, uint32 secondaryId)
 
 FragKey (uint8 msgcode, uint32 run, uint32 event, uint32 secondaryId, uint32 originatorPid, uint32 originatorGuid)
 
bool operator< (FragKey const &b) const
 

Public Attributes

uint8 code_
 
uint32 event_
 
uint32 originatorGuid_
 
uint32 originatorPid_
 
uint32 run_
 
uint32 secondaryId_
 

Detailed Description

Definition at line 14 of file FragKey.h.

Constructor & Destructor Documentation

stor::FragKey::FragKey ( uint8  msgcode,
uint32  run,
uint32  event,
uint32  secondaryId 
)
inline

Definition at line 17 of file FragKey.h.

17  :
18  code_(msgcode), run_(run), event_(event), secondaryId_(secondaryId) {}
uint32 event_
Definition: FragKey.h:34
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
uint8 code_
Definition: FragKey.h:32
uint32 run_
Definition: FragKey.h:33
uint32 secondaryId_
Definition: FragKey.h:38
stor::FragKey::FragKey ( uint8  msgcode,
uint32  run,
uint32  event,
uint32  secondaryId,
uint32  originatorPid,
uint32  originatorGuid 
)
inline

Definition at line 19 of file FragKey.h.

20  :
21  code_(msgcode), run_(run), event_(event), secondaryId_(secondaryId),
22  originatorPid_(originatorPid), originatorGuid_(originatorGuid) {}
uint32 originatorPid_
Definition: FragKey.h:39
uint32 event_
Definition: FragKey.h:34
uint32 originatorGuid_
Definition: FragKey.h:40
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
uint8 code_
Definition: FragKey.h:32
uint32 run_
Definition: FragKey.h:33
uint32 secondaryId_
Definition: FragKey.h:38

Member Function Documentation

bool stor::FragKey::operator< ( FragKey const &  b) const
inline

Definition at line 23 of file FragKey.h.

References code_, event_, originatorGuid_, originatorPid_, run_, and secondaryId_.

23  {
24  if(code_ != b.code_) return code_ < b.code_;
25  if(run_ != b.run_) return run_ < b.run_;
26  if(event_ != b.event_) return event_ < b.event_;
27  if(originatorPid_ != b.originatorPid_) return originatorPid_ < b.originatorPid_;
28  if(originatorGuid_ != b.originatorGuid_) return originatorGuid_ < b.originatorGuid_;
29  return secondaryId_ < b.secondaryId_;
30  }
uint32 originatorPid_
Definition: FragKey.h:39
uint32 event_
Definition: FragKey.h:34
uint32 originatorGuid_
Definition: FragKey.h:40
uint8 code_
Definition: FragKey.h:32
uint32 run_
Definition: FragKey.h:33
double b
Definition: hdecay.h:120
uint32 secondaryId_
Definition: FragKey.h:38

Member Data Documentation

uint8 stor::FragKey::code_
uint32 stor::FragKey::event_
uint32 stor::FragKey::originatorGuid_
uint32 stor::FragKey::originatorPid_
uint32 stor::FragKey::run_
uint32 stor::FragKey::secondaryId_