| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

ContTests::Cluster Struct Reference

List of all members.

Public Member Functions

 Cluster ()
 ~Cluster ()
int chanID () const
int size () const
int threshold () const
unsigned center () const
void set (int i)

Public Attributes

unsigned m_chanID: 24
unsigned m_size: 1
unsigned m_threshold: 1
unsigned m_center: 3
unsigned m_pad: 3

Detailed Description

Definition at line 9 of file TestFastClusterContainer.cpp.


Constructor & Destructor Documentation

ContTests::Cluster::Cluster (  )  [inline]

Definition at line 15 of file TestFastClusterContainer.cpp.

00015               {
00016       *(int*)this = 0;
00017       s_cnt[0]++;
00018     }

ContTests::Cluster::~Cluster (  )  [inline]

Definition at line 19 of file TestFastClusterContainer.cpp.

00019                {        // Note: non virtual !
00020       s_cnt[1]++;
00021     }


Member Function Documentation

int ContTests::Cluster::chanID (  )  const [inline]

Definition at line 22 of file TestFastClusterContainer.cpp.

00022 { return m_chanID;    }

int ContTests::Cluster::size (  )  const [inline]

Definition at line 23 of file TestFastClusterContainer.cpp.

00023 { return m_size;      }

int ContTests::Cluster::threshold (  )  const [inline]

Definition at line 24 of file TestFastClusterContainer.cpp.

00024 { return m_threshold; }

unsigned ContTests::Cluster::center (  )  const [inline]

Definition at line 25 of file TestFastClusterContainer.cpp.

00025 { return m_center;    }

void ContTests::Cluster::set ( int  i  )  [inline]

Definition at line 26 of file TestFastClusterContainer.cpp.

00026                      {
00027       m_chanID = i&0x00FFFFFF;
00028       m_size = i%2;
00029       m_threshold = (i+1)%2;
00030       m_center = i%8;
00031     }


Member Data Documentation

unsigned ContTests::Cluster::m_chanID

Definition at line 10 of file TestFastClusterContainer.cpp.

unsigned ContTests::Cluster::m_size

Definition at line 11 of file TestFastClusterContainer.cpp.

unsigned ContTests::Cluster::m_threshold

Definition at line 12 of file TestFastClusterContainer.cpp.

unsigned ContTests::Cluster::m_center

Definition at line 13 of file TestFastClusterContainer.cpp.

unsigned ContTests::Cluster::m_pad

Definition at line 14 of file TestFastClusterContainer.cpp.


The documentation for this struct was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:03:14 2011 for LHCbKernel by doxygen 1.4.7