ATLAS Offline Software
Loading...
Searching...
No Matches
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){}
cool::ValidityKey first
cool::ValidityKey second
cool::ChannelId channelId

◆ 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: