CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
ltstrip Struct Reference
Inheritance diagram for ltstrip:

Public Member Functions

bool operator() (const ESDataFormatterV4::Word64 &s1, const ESDataFormatterV4::Word64 &s2)
 

Detailed Description

Definition at line 186 of file ESDataFormatterV4.cc.

Member Function Documentation

bool ltstrip::operator() ( const ESDataFormatterV4::Word64 s1,
const ESDataFormatterV4::Word64 s2 
)
inline

Definition at line 187 of file ESDataFormatterV4.cc.

References ull.

188  {
189  ESDataFormatterV4::Word64 PACESTRIP_MASK = 0x00ff000000000000ull;
190  ESDataFormatterV4::Word64 PACESTRIP_OFFSET = 48ull;
191 
192  ESDataFormatterV4::Word64 val1 = (s1 & PACESTRIP_MASK) >> PACESTRIP_OFFSET ;
193  ESDataFormatterV4::Word64 val2 = (s2 & PACESTRIP_MASK) >> PACESTRIP_OFFSET ;
194 
195  return (val1 < val2);
196  }
tuple s2
Definition: indexGen.py:106
#define ull
Definition: vppc_sim_lib.h:16
ESDataFormatter::Word64 Word64