Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Anp::CountPlaneStrip Struct Reference

#include <FillSnarl.h>

List of all members.

Public Member Functions

 CountPlaneStrip ()
 CountPlaneStrip (short plane_, short strip_)
void operator() (const Strip &strip)
unsigned int GetCount () const
short GetPlane () const
short GetStrip () const

Private Attributes

short plane
short strip
unsigned int count


Constructor & Destructor Documentation

Anp::CountPlaneStrip::CountPlaneStrip  ) 
 

Definition at line 183 of file FillSnarl.cxx.

References count.

00184    :plane(-1),
00185     strip(-1),
00186     count(0)    
00187 {
00188 }

Anp::CountPlaneStrip::CountPlaneStrip short  plane_,
short  strip_
 

Definition at line 191 of file FillSnarl.cxx.

References count.

00192    :plane(plane_),
00193     strip(strip_),
00194     count(0)
00195 {
00196 }


Member Function Documentation

unsigned int Anp::CountPlaneStrip::GetCount  )  const
 

Definition at line 210 of file FillSnarl.cxx.

00211 {
00212    return count;
00213 }

short Anp::CountPlaneStrip::GetPlane  )  const
 

Definition at line 216 of file FillSnarl.cxx.

Referenced by Anp::operator==().

00217 {
00218    return plane;
00219 }

short Anp::CountPlaneStrip::GetStrip  )  const
 

Definition at line 222 of file FillSnarl.cxx.

Referenced by Anp::operator==().

00223 {
00224    return strip;
00225 }

void Anp::CountPlaneStrip::operator() const Strip strip  ) 
 

Definition at line 199 of file FillSnarl.cxx.

References Anp::Strip::GetPlane(), Anp::Strip::GetStrip(), plane, and strip.

00200 {
00201    assert(!(plane < 0) && !(strip < 0) && "logic error");
00202 
00203    if(strip_.GetPlane() == plane && strip_.GetStrip() == strip)
00204    {
00205       ++count;
00206    }
00207 }


Member Data Documentation

unsigned int Anp::CountPlaneStrip::count [private]
 

Definition at line 60 of file FillSnarl.h.

short Anp::CountPlaneStrip::plane [private]
 

Definition at line 58 of file FillSnarl.h.

Referenced by operator()().

short Anp::CountPlaneStrip::strip [private]
 

Definition at line 59 of file FillSnarl.h.

Referenced by operator()().


The documentation for this struct was generated from the following files:
Generated on Mon Feb 15 11:10:31 2010 for loon by  doxygen 1.3.9.1