LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
VertexMatch_module.cc File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <stdint.h>
#include <sstream>
#include <fstream>
#include <math.h>
#include <algorithm>
#include <vector>
#include <string>
#include <map>
#include "art/Framework/Core/ModuleMacros.h"
#include "art/Framework/Core/EDProducer.h"
#include "canvas/Persistency/Common/FindManyP.h"
#include "art/Framework/Principal/Event.h"
#include "fhiclcpp/ParameterSet.h"
#include "art/Framework/Principal/Handle.h"
#include "canvas/Persistency/Common/Ptr.h"
#include "canvas/Persistency/Common/PtrVector.h"
#include "art/Framework/Services/Registry/ServiceHandle.h"
#include "art/Framework/Services/Optional/TFileService.h"
#include "art/Framework/Services/Optional/TFileDirectory.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "lardataobj/RecoBase/Cluster.h"
#include "lardataobj/RecoBase/EndPoint2D.h"
#include "lardataobj/RecoBase/Hit.h"
#include "larcore/Geometry/Geometry.h"
#include "larcorealg/Geometry/CryostatGeo.h"
#include "larcorealg/Geometry/TPCGeo.h"
#include "larcorealg/Geometry/PlaneGeo.h"
#include "lardata/Utilities/AssociationUtil.h"
#include <TCanvas.h>
#include "TDatabasePDG.h"
#include "TSystem.h"
#include "TMath.h"

Go to the source code of this file.

Classes

class  vertex::VertexMatch
 

Namespaces

 vertex
 vertex reconstruction
 

Macros

#define VERTEXMATCH_H
 

Functions

bool sort_pred (const std::pair< art::Ptr< recob::Hit >, double > &left, const std::pair< art::Ptr< recob::Hit >, double > &right)
 
bool sort_pred2 (const std::pair< art::Ptr< recob::Hit >, double > &left, const std::pair< art::Ptr< recob::Hit >, double > &right)
 

Macro Definition Documentation

#define VERTEXMATCH_H

Definition at line 14 of file VertexMatch_module.cc.

Function Documentation

bool sort_pred ( const std::pair< art::Ptr< recob::Hit >, double > &  left,
const std::pair< art::Ptr< recob::Hit >, double > &  right 
)

Definition at line 94 of file VertexMatch_module.cc.

References art::left(), and art::right().

Referenced by vertex::VertexMatch::produce().

96 {
97  return left.first < right.first;
98 }
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:112
constexpr auto const & left(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:104
bool sort_pred2 ( const std::pair< art::Ptr< recob::Hit >, double > &  left,
const std::pair< art::Ptr< recob::Hit >, double > &  right 
)

Definition at line 101 of file VertexMatch_module.cc.

References art::left(), and art::right().

Referenced by vertex::VertexMatch::produce().

103 {
104  return left.second < right.second;
105 }
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:112
constexpr auto const & left(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:104