CMS 3D CMS Logo

Public Member Functions | Public Attributes

stor::FragKey Struct Reference

#include <HLTInfo.h>

List of all members.

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 72 of file HLTInfo.h.


Constructor & Destructor Documentation

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

Definition at line 75 of file HLTInfo.h.

                                                                        :
      code_(msgcode), run_(run), event_(event), secondaryId_(secondaryId) {}
stor::FragKey::FragKey ( uint8  msgcode,
uint32  run,
uint32  event,
uint32  secondaryId,
uint32  originatorPid,
uint32  originatorGuid 
) [inline]

Definition at line 77 of file HLTInfo.h.

                                                        :
      code_(msgcode), run_(run), event_(event), secondaryId_(secondaryId),
      originatorPid_(originatorPid), originatorGuid_(originatorGuid) {}

Member Function Documentation

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

Definition at line 81 of file HLTInfo.h.

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

                                           {
      if(code_ != b.code_) return code_ < b.code_;
      if(run_ != b.run_) return run_ < b.run_;
      if(event_ != b.event_) return event_ < b.event_;
      if(originatorPid_ != b.originatorPid_) return originatorPid_ < b.originatorPid_;
      if(originatorGuid_ != b.originatorGuid_) return originatorGuid_ < b.originatorGuid_;
      return secondaryId_ < b.secondaryId_;
    }

Member Data Documentation