#include <iterator>#include <vector>#include <map>#include <set>#include "TCanvas.h"#include "TObject.h"#include "TH1F.h"#include "NueAna/NueAnaTools/DCEdge.h"Go to the source code of this file.
Classes | |
| class | DCGraph< T > |
Functions | |
| ClassImpT (DCGraph, T) template< class T > DCVertex< T > *DCGraph< T > | |
|
||||||||||||
|
Definition at line 73 of file DCGraph.h. References DCVertex< T >::GetData(), and DCVertex< T >::GetNextVertex(). 00077 {
00078 DCVertex<T> *vPtr = first;
00079
00080 while (vPtr != 0) {
00081 // check if the data of the vertex is theData
00082 if (*vPtr->GetData() == *theData)
00083 return vPtr;
00084 // go to the next vertex
00085 vPtr = vPtr->GetNextVertex();
00086 }
00087
00088 // there has been no match in the loop, so there is no such vertex
00089 return 0;
00090 }
|
1.3.9.1