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

Detailed Description

Definition at line 43 of file FillSnarl.h.


Constructor & Destructor Documentation

Anp::CountPlaneStrip::CountPlaneStrip (  ) 

Definition at line 183 of file FillSnarl.cxx.

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.

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.

References count.

00211 {
00212    return count;
00213 }

short Anp::CountPlaneStrip::GetPlane (  )  const

Definition at line 216 of file FillSnarl.cxx.

References plane.

Referenced by Anp::operator==().

00217 {
00218    return plane;
00219 }

short Anp::CountPlaneStrip::GetStrip (  )  const

Definition at line 222 of file FillSnarl.cxx.

References strip.

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 count, 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.

Referenced by GetCount(), and operator()().

short Anp::CountPlaneStrip::plane [private]

Definition at line 58 of file FillSnarl.h.

Referenced by GetPlane(), and operator()().

short Anp::CountPlaneStrip::strip [private]

Definition at line 59 of file FillSnarl.h.

Referenced by GetStrip(), and operator()().


The documentation for this struct was generated from the following files:

Generated on 15 Jul 2018 for loon by  doxygen 1.6.1