Anp::ByPlaneStrip Struct Reference

#include <Strip.h>

List of all members.

Public Member Functions

bool operator() (const Strip &lhs, const Strip &rhs)

Detailed Description

Definition at line 148 of file PhysicsNtuple/HEAD/Strip.h.


Member Function Documentation

bool Anp::ByPlaneStrip::operator() ( const Strip lhs,
const Strip rhs 
)

Definition at line 215 of file PhysicsNtuple/HEAD/Strip.cxx.

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

00216 {
00217    if(lhs.GetPlane() < rhs.GetPlane())
00218    {
00219       return true;
00220    }
00221    else if(lhs.GetPlane() > rhs.GetPlane())
00222    {
00223       return false;
00224    }
00225 
00226    if(lhs.GetStrip() < rhs.GetStrip())
00227    {
00228       return true;
00229    }
00230 
00231    return false;
00232 }


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

Generated on 15 Jul 2018 for loon by  doxygen 1.6.1