LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Track3DKalmanSPS_module.cc File Reference
#include <cmath>
#include <vector>
#include <string>
#include <sstream>
#include <iterator>
#include <algorithm>
#include "TVectorD.h"
#include "TFile.h"
#include "TMath.h"
#include "TPrincipal.h"
#include "TDatabasePDG.h"
#include "TTree.h"
#include "TMatrixT.h"
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "fhiclcpp/ParameterSet.h"
#include "fhiclcpp/exception.h"
#include "art/Framework/Principal/Event.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/Core/ModuleMacros.h"
#include "art/Framework/Core/EDProducer.h"
#include "canvas/Persistency/Common/FindManyP.h"
#include "larreco/Genfit/GFAbsTrackRep.h"
#include "larreco/Genfit/RKTrackRep.h"
#include "larreco/Genfit/GFConstField.h"
#include "larreco/Genfit/GFFieldManager.h"
#include "larreco/Genfit/PointHit.h"
#include "larreco/Genfit/GFTrack.h"
#include "larreco/Genfit/GFKalman.h"
#include "larcore/Geometry/Geometry.h"
#include "larcorealg/Geometry/WireGeo.h"
#include "larcorealg/Geometry/PlaneGeo.h"
#include "lardataobj/RecoBase/Cluster.h"
#include "lardataobj/RecoBase/Hit.h"
#include "lardataobj/RecoBase/Track.h"
#include "lardataobj/RecoBase/SpacePoint.h"
#include "nusimdata/SimulationBase/MCTruth.h"
#include "lardata/Utilities/AssociationUtil.h"
#include "larreco/RecoAlg/SpacePointAlg.h"

Go to the source code of this file.

Classes

class  trkf::Track3DKalmanSPS
 

Namespaces

 trkf
 

Functions

static bool sp_sort_3dz (const art::Ptr< recob::SpacePoint > &h1, const art::Ptr< recob::SpacePoint > &h2)
 
static bool sp_sort_3dy (const art::Ptr< recob::SpacePoint > &h1, const art::Ptr< recob::SpacePoint > &h2)
 
static bool sp_sort_3dx (const art::Ptr< recob::SpacePoint > &h1, const art::Ptr< recob::SpacePoint > &h2)
 
static bool sp_sort_nsppts (const art::PtrVector< recob::SpacePoint > &h1, const art::PtrVector< recob::SpacePoint > &h2)
 

Function Documentation

static bool sp_sort_3dx ( const art::Ptr< recob::SpacePoint > &  h1,
const art::Ptr< recob::SpacePoint > &  h2 
)
static

Definition at line 81 of file Track3DKalmanSPS_module.cc.

References recob::SpacePoint::XYZ().

Referenced by trkf::Track3DKalmanSPS::produce().

82 {
83  const double* xyz1 = h1->XYZ();
84  const double* xyz2 = h2->XYZ();
85  return xyz1[0] < xyz2[0];
86 }
const double * XYZ() const
Definition: SpacePoint.h:64
static bool sp_sort_3dy ( const art::Ptr< recob::SpacePoint > &  h1,
const art::Ptr< recob::SpacePoint > &  h2 
)
static

Definition at line 75 of file Track3DKalmanSPS_module.cc.

References recob::SpacePoint::XYZ().

Referenced by trkf::Track3DKalmanSPS::produce().

76 {
77  const double* xyz1 = h1->XYZ();
78  const double* xyz2 = h2->XYZ();
79  return xyz1[1] < xyz2[1];
80 }
const double * XYZ() const
Definition: SpacePoint.h:64
static bool sp_sort_3dz ( const art::Ptr< recob::SpacePoint > &  h1,
const art::Ptr< recob::SpacePoint > &  h2 
)
static

Definition at line 69 of file Track3DKalmanSPS_module.cc.

References recob::SpacePoint::XYZ().

Referenced by trkf::Track3DKalmanSPS::produce().

70 {
71  const double* xyz1 = h1->XYZ();
72  const double* xyz2 = h2->XYZ();
73  return xyz1[2] < xyz2[2];
74 }
const double * XYZ() const
Definition: SpacePoint.h:64
static bool sp_sort_nsppts ( const art::PtrVector< recob::SpacePoint > &  h1,
const art::PtrVector< recob::SpacePoint > &  h2 
)
static

Definition at line 88 of file Track3DKalmanSPS_module.cc.

References art::PtrVector< T >::size().

Referenced by trkf::Track3DKalmanSPS::produce().

89 {
90  const unsigned int s1 = h1.size();
91  const unsigned int s2 = h2.size();
92  return s1 > s2;
93 }
size_type size() const
Definition: PtrVector.h:308