LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Track3DKalman_module.cc File Reference
#include <math.h>
#include <algorithm>
#include <iostream>
#include <fstream>
#include "art/Framework/Core/ModuleMacros.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 "nutools/RandomUtils/NuRandomService.h"
#include "larcore/Geometry/Geometry.h"
#include "lardataobj/RecoBase/Cluster.h"
#include "lardataobj/RecoBase/Hit.h"
#include "lardataobj/RecoBase/Track.h"
#include "lardataobj/RecoBase/SpacePoint.h"
#include "lardata/Utilities/AssociationUtil.h"
#include "nusimdata/SimulationBase/MCTruth.h"
#include "lardataobj/Simulation/sim.h"
#include "TVectorD.h"
#include "TFile.h"
#include "TGeoManager.h"
#include "TF1.h"
#include "TGraph.h"
#include "TMath.h"
#include "larreco/Genfit/GFException.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 "larreco/Genfit/GFDaf.h"
#include "art/Framework/Core/EDProducer.h"
#include <TTree.h>
#include <TMatrixT.h>
#include "CLHEP/Random/RandFlat.h"
#include "CLHEP/Random/RandGaussQ.h"
#include <vector>
#include <string>

Go to the source code of this file.

Classes

class  trkf::Track3DKalman
 

Namespaces

 trkf
 

Functions

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

Function Documentation

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

Definition at line 137 of file Track3DKalman_module.cc.

References recob::SpacePoint::XYZ().

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

138 {
139  const double* xyz1 = h1->XYZ();
140  const double* xyz2 = h2->XYZ();
141  return xyz1[2] < xyz2[2];
142 }
const Double32_t * XYZ() const
Definition: SpacePoint.h:65