LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
PrimaryVertexFinder_module.cc File Reference
#include <iostream>
#include "art/Framework/Core/ModuleMacros.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 "art/Framework/Core/EDProducer.h"
#include "canvas/Persistency/Common/FindMany.h"
#include "canvas/Persistency/Common/FindManyP.h"
#include <iomanip>
#include <ios>
#include <sstream>
#include <fstream>
#include <math.h>
#include <algorithm>
#include <vector>
#include <string>
#include "TMath.h"
#include <TVector3.h>
#include "TH1.h"
#include "TH2.h"
#include "TVectorD.h"
#include "lardataobj/RecoBase/Hit.h"
#include "lardataobj/RecoBase/SpacePoint.h"
#include "lardataobj/RecoBase/Shower.h"
#include "lardataobj/RecoBase/Track.h"
#include "lardataobj/RecoBase/Vertex.h"
#include "larcore/Geometry/Geometry.h"
#include "lardata/Utilities/AssociationUtil.h"

Go to the source code of this file.

Classes

class  vertex::PrimaryVertexFinder
 

Namespaces

 recob
 Reconstruction base classes.
 
 vertex
 vertex reconstruction
 

Macros

#define PrimaryVertexFinder_H
 

Functions

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

Macro Definition Documentation

#define PrimaryVertexFinder_H

Definition at line 7 of file PrimaryVertexFinder_module.cc.

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 98 of file PrimaryVertexFinder_module.cc.

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

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

99 {
100  return left.second < right.second;
101 }
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