DCHit.cxx File Reference

#include <iostream>
#include "TMarker.h"
#include "NueAna/NueAnaTools/DCVertex.h"
#include "NueAna/NueAnaTools/DCEdge.h"
#include "NueAna/NueAnaTools/DCGraph.h"
#include "NueAna/NueAnaTools/DCHit.h"
#include "CalDetDST/UberHit.h"

Go to the source code of this file.

Functions

bool operator< (const DCHit &left, const DCHit &right)

Function Documentation

bool operator< ( const DCHit left,
const DCHit right 
)

Definition at line 65 of file DCHit.cxx.

References DCHit::GetTpos(), and DCHit::GetZpos().

00066 {
00067    if(left.GetZpos()<right.GetZpos()){
00068       return true;
00069    }
00070    else if(left.GetZpos()==right.GetZpos()){
00071       if(left.GetTpos()<right.GetTpos()){
00072          return true;
00073       }
00074       else{
00075          return false;
00076       }
00077    }
00078    else{
00079       return false;
00080    }
00081    return false;
00082 }


Generated on 24 Jul 2018 for loon by  doxygen 1.6.1