LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PrimaryVertexFinder_module.cc File Reference
#include "art/Framework/Core/EDProducer.h"
#include "art/Framework/Core/ModuleMacros.h"
#include "art/Framework/Principal/Event.h"
#include "art/Framework/Principal/Handle.h"
#include "art/Framework/Services/Registry/ServiceHandle.h"
#include "art_root_io/TFileService.h"
#include "canvas/Persistency/Common/FindMany.h"
#include "canvas/Persistency/Common/FindManyP.h"
#include "canvas/Persistency/Common/Ptr.h"
#include "fhiclcpp/ParameterSet.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include <algorithm>
#include <iomanip>
#include <math.h>
#include <string>
#include <vector>
#include "TH1F.h"
#include "TH2F.h"
#include "TVector3.h"
#include "larcore/Geometry/Geometry.h"
#include "lardata/Utilities/AssociationUtil.h"
#include "lardataobj/RecoBase/Hit.h"
#include "lardataobj/RecoBase/Shower.h"
#include "lardataobj/RecoBase/SpacePoint.h"
#include "lardataobj/RecoBase/Track.h"
#include "lardataobj/RecoBase/Vertex.h"

Go to the source code of this file.

Classes

class  vertex::PrimaryVertexFinder
 

Namespaces

 vertex
 vertex reconstruction
 

Functions

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

Function Documentation

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

Definition at line 83 of file PrimaryVertexFinder_module.cc.

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

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

85 {
86  return left.second < right.second;
87 }
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:102
constexpr auto const & left(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:94