#include <GraphClusterAlg.h>
Definition at line 29 of file GraphClusterAlg.h.
 
      
        
          | evd::GraphClusterAlg::GraphClusterAlg  | 
          ( | 
          fhicl::ParameterSet const &  | 
          pset | ) | 
           | 
        
      
 
Definition at line 23 of file GraphClusterAlg.cxx.
   26     art::ServiceHandle<geo::Geometry const>  geo;
 
void reconfigure(fhicl::ParameterSet const &pset)
 
 
 
 
      
        
          | int evd::GraphClusterAlg::CheckValidity  | 
          ( | 
          art::Event &  | 
          evt | ) | 
           | 
        
      
 
Definition at line 216 of file GraphClusterAlg.cxx.
  217     art::ServiceHandle<evd::InfoTransfer const> intr;
 
  220     fEvent=intr->GetEvtNumber();
 
  221     fRun=intr->GetRunNumber();
 
  222     fSubRun=intr->GetSubRunNumber();
 
  230       mf::LogVerbatim(
"GraphClusterAlg") << (
" old event ");
 
 
 
 
      
        
          | void evd::GraphClusterAlg::GetHitList  | 
          ( | 
          unsigned int  | 
          plane,  | 
        
        
           | 
           | 
          art::PtrVector< recob::Hit > &  | 
          ptrhitlist  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 176 of file GraphClusterAlg.cxx.
  178     art::ServiceHandle<evd::InfoTransfer const> intr;
 
  180     std::vector< art::Ptr <recob::Hit> > ptlist=intr->GetHitList(plane);
 
  185     if(ptlist.size()==0) {
 
  186       mf::LogVerbatim(
"GraphClusterAlg") << (
"hit list of zero size, please select some hits");
 
  190     for(art::PtrVector<recob::Hit>::const_iterator hitIter = ptlist.begin(); hitIter != ptlist.end();  hitIter++){
 
  193       ptrhitlist.push_back((*hitIter));
 
 
 
 
      
        
          | void evd::GraphClusterAlg::GetHitListAndEndPoints  | 
          ( | 
          unsigned int  | 
          plane,  | 
        
        
           | 
           | 
          art::PtrVector< recob::Hit > &  | 
          ptrhitlist,  | 
        
        
           | 
           | 
          util::PxLine &  | 
          startendpoints  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 55 of file GraphClusterAlg.cxx.
void GetStartEndHits(unsigned int plane, util::PxLine &startendpoints)
 
void GetHitList(unsigned int plane, art::PtrVector< recob::Hit > &ptrhitlist)
 
 
 
 
  
  
      
        
          | std::vector< util::PxLine > evd::GraphClusterAlg::GetSeedLines  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
private   | 
  
 
Definition at line 201 of file GraphClusterAlg.cxx.
  204     art::ServiceHandle<evd::InfoTransfer const> intr;
 
  208     std::vector < util::PxLine > plines = intr->GetSeedList();
 
  210     std::cout << 
" Received Seed List of Size: " << plines.size() << std::endl;
 
BEGIN_PROLOG could also be cout
 
 
 
 
      
        
          | void evd::GraphClusterAlg::GetStartEndHits  | 
          ( | 
          unsigned int  | 
          plane,  | 
        
        
           | 
           | 
          util::PxLine &  | 
          startendpoints  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 65 of file GraphClusterAlg.cxx.
   67     std::vector < double > starthit;
 
   68     std::vector < double > endhit;
 
   69     art::ServiceHandle<evd::InfoTransfer const> intr;
 
   70     starthit=intr->GetStartHitCoords(plane);
 
   71     endhit=intr->GetEndHitCoords(plane);
 
   73     startendpoints.
w0=starthit[0];
 
   74     startendpoints.
t0=starthit[1];
 
   75     startendpoints.
w1=endhit[0];
 
   76     startendpoints.
t1=endhit[1];
 
   77     startendpoints.
plane=plane;
 
double t1
defined to be the ending t-position (of line or seed depending) 
 
double w0
defined to be the vertex w-position 
 
double w1
defined to be the ending w-position (of line or seed depending) 
 
double t0
defined to be the vertex t-position 
 
 
 
 
      
        
          | void evd::GraphClusterAlg::reconfigure  | 
          ( | 
          fhicl::ParameterSet const &  | 
          pset | ) | 
           | 
        
      
 
 
  
  
      
        
          | int evd::GraphClusterAlg::fEvent | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | unsigned int evd::GraphClusterAlg::fNPlanes | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | int evd::GraphClusterAlg::fRun | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | int evd::GraphClusterAlg::fSubRun | 
         
       
   | 
  
private   | 
  
 
 
  
  
      
        
          | int evd::GraphClusterAlg::TestFlag | 
         
       
   | 
  
private   | 
  
 
 
The documentation for this class was generated from the following files: