All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Functions
Track3DKalmanSPS_module.cc File Reference
#include <cmath>
#include <vector>
#include <string>
#include <sstream>
#include <iterator>
#include <algorithm>
#include "TVector3.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_root_io/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"

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 75 of file Track3DKalmanSPS_module.cc.

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

Definition at line 69 of file Track3DKalmanSPS_module.cc.

70 {
71  const double* xyz1 = h1->XYZ();
72  const double* xyz2 = h2->XYZ();
73  return xyz1[1] < xyz2[1];
74 }
static bool sp_sort_3dz ( const art::Ptr< recob::SpacePoint > &  h1,
const art::Ptr< recob::SpacePoint > &  h2 
)
static

Definition at line 63 of file Track3DKalmanSPS_module.cc.

64 {
65  const double* xyz1 = h1->XYZ();
66  const double* xyz2 = h2->XYZ();
67  return xyz1[2] < xyz2[2];
68 }
static bool sp_sort_nsppts ( const art::PtrVector< recob::SpacePoint > &  h1,
const art::PtrVector< recob::SpacePoint > &  h2 
)
static

Definition at line 82 of file Track3DKalmanSPS_module.cc.

83 {
84  const unsigned int s1 = h1.size();
85  const unsigned int s2 = h2.size();
86  return s1 > s2;
87 }