ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MyKey Struct Reference
Collaboration diagram for MyKey:

Public Member Functions

 MyKey ()
 
 MyKey (const cool::ValidityKey &f, const cool::ValidityKey &s, const cool::ChannelId &c)
 
bool operator< (const MyKey &rhs) const
 

Public Attributes

cool::ValidityKey first
 
cool::ValidityKey second
 
cool::ChannelId channelId
 

Detailed Description

Definition at line 33 of file openCoraCool.cxx.

Constructor & Destructor Documentation

◆ MyKey() [1/2]

MyKey::MyKey ( )
inline

Definition at line 38 of file openCoraCool.cxx.

38 :first(0),second(0),channelId(0){}

◆ MyKey() [2/2]

MyKey::MyKey ( const cool::ValidityKey &  f,
const cool::ValidityKey &  s,
const cool::ChannelId &  c 
)
inline

Definition at line 39 of file openCoraCool.cxx.

39 :first(f),second(s),channelId(c){}

Member Function Documentation

◆ operator<()

bool MyKey::operator< ( const MyKey rhs) const
inline

Definition at line 40 of file openCoraCool.cxx.

40  {
41  if (channelId > rhs.channelId) return true;
42  if ((channelId == rhs.channelId) and (first<rhs.first)) return true;
43  if ((channelId == rhs.channelId) and (first==rhs.first) and (second<rhs.second)) return true;
44  return false;
45  }

Member Data Documentation

◆ channelId

cool::ChannelId MyKey::channelId

Definition at line 36 of file openCoraCool.cxx.

◆ first

cool::ValidityKey MyKey::first

Definition at line 34 of file openCoraCool.cxx.

◆ second

cool::ValidityKey MyKey::second

Definition at line 35 of file openCoraCool.cxx.


The documentation for this struct was generated from the following file:
python.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
MyKey::first
cool::ValidityKey first
Definition: openCoraCool.cxx:34
MyKey::channelId
cool::ChannelId channelId
Definition: openCoraCool.cxx:36
MyKey::second
cool::ValidityKey second
Definition: openCoraCool.cxx:35
python.compressB64.c
def c
Definition: compressB64.py:93