LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include <math.h>
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <vector>
#include <string>
#include "art/Framework/Core/EDProducer.h"
#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 "larcore/Geometry/Geometry.h"
#include "larcorealg/Geometry/PlaneGeo.h"
#include "larcorealg/Geometry/WireGeo.h"
#include "lardataobj/RecoBase/Hit.h"
#include "lardataobj/RecoBase/Cluster.h"
#include "lardataobj/RecoBase/Track.h"
#include "lardataobj/RecoBase/SpacePoint.h"
#include "lardata/Utilities/AssociationUtil.h"
#include "larreco/RecoAlg/ClusterMatchTQ.h"
#include "larreco/RecoAlg/CosmicTrackerAlg.h"
#include "TVectorD.h"
#include "TF1.h"
#include "TGraph.h"
#include "TMath.h"
#include "TH1D.h"
#include "TVirtualFitter.h"
Go to the source code of this file.
Classes | |
struct | trkPoint |
class | trkf::CosmicTracker |
Namespaces | |
trkf | |
Functions | |
bool | AnglesConsistent (const TVector3 &p1, const TVector3 &p2, const TVector3 &a1, const TVector3 &a2, double angcut) |
bool | MatchTrack (const std::vector< trkPoint > &trkpts1, const std::vector< trkPoint > &trkpts2, double discut, double angcut) |
bool | SortByWire (art::Ptr< recob::Hit > const &h1, art::Ptr< recob::Hit > const &h2) |
bool | sp_sort_x0 (const trkPoint &tp1, const trkPoint &tp2) |
bool | sp_sort_x1 (const trkPoint &tp1, const trkPoint &tp2) |
bool | sp_sort_y0 (const trkPoint &tp1, const trkPoint &tp2) |
bool | sp_sort_y1 (const trkPoint &tp1, const trkPoint &tp2) |
bool | sp_sort_z0 (const trkPoint &tp1, const trkPoint &tp2) |
bool | sp_sort_z1 (const trkPoint &tp1, const trkPoint &tp2) |
bool | spt_sort_x0 (const recob::SpacePoint h1, const recob::SpacePoint h2) |
bool | spt_sort_x1 (const recob::SpacePoint h1, const recob::SpacePoint h2) |
bool | spt_sort_y0 (const recob::SpacePoint h1, const recob::SpacePoint h2) |
bool | spt_sort_y1 (const recob::SpacePoint h1, const recob::SpacePoint h2) |
bool | spt_sort_z0 (const recob::SpacePoint h1, const recob::SpacePoint h2) |
bool | spt_sort_z1 (const recob::SpacePoint h1, const recob::SpacePoint h2) |
bool AnglesConsistent | ( | const TVector3 & | p1, |
const TVector3 & | p2, | ||
const TVector3 & | a1, | ||
const TVector3 & | a2, | ||
double | angcut | ||
) |
bool MatchTrack | ( | const std::vector< trkPoint > & | trkpts1, |
const std::vector< trkPoint > & | trkpts2, | ||
double | discut, | ||
double | angcut | ||
) |
Definition at line 80 of file CosmicTracker_module.cc.
References AnglesConsistent(), trkPoint::dir, and trkPoint::pos.
Referenced by trkf::CosmicTracker::produce().
bool SortByWire | ( | art::Ptr< recob::Hit > const & | h1, |
art::Ptr< recob::Hit > const & | h2 | ||
) |
Definition at line 116 of file CosmicTracker_module.cc.
References geo::WireID::Wire, and recob::Hit::WireID().
Definition at line 120 of file CosmicTracker_module.cc.
References trkPoint::pos.
Referenced by trkf::CosmicTracker::produce().
Definition at line 125 of file CosmicTracker_module.cc.
References trkPoint::pos.
Referenced by trkf::CosmicTracker::produce().
Definition at line 130 of file CosmicTracker_module.cc.
References trkPoint::pos.
Referenced by trkf::CosmicTracker::produce().
Definition at line 135 of file CosmicTracker_module.cc.
References trkPoint::pos.
Referenced by trkf::CosmicTracker::produce().
Definition at line 140 of file CosmicTracker_module.cc.
References trkPoint::pos.
Referenced by trkf::CosmicTracker::produce().
Definition at line 145 of file CosmicTracker_module.cc.
References trkPoint::pos.
Referenced by trkf::CosmicTracker::produce().
bool spt_sort_x0 | ( | const recob::SpacePoint | h1, |
const recob::SpacePoint | h2 | ||
) |
Definition at line 150 of file CosmicTracker_module.cc.
References recob::SpacePoint::XYZ().
Referenced by trkf::CosmicTracker::produce().
bool spt_sort_x1 | ( | const recob::SpacePoint | h1, |
const recob::SpacePoint | h2 | ||
) |
Definition at line 157 of file CosmicTracker_module.cc.
References recob::SpacePoint::XYZ().
Referenced by trkf::CosmicTracker::produce().
bool spt_sort_y0 | ( | const recob::SpacePoint | h1, |
const recob::SpacePoint | h2 | ||
) |
Definition at line 164 of file CosmicTracker_module.cc.
References recob::SpacePoint::XYZ().
Referenced by trkf::CosmicTracker::produce().
bool spt_sort_y1 | ( | const recob::SpacePoint | h1, |
const recob::SpacePoint | h2 | ||
) |
Definition at line 171 of file CosmicTracker_module.cc.
References recob::SpacePoint::XYZ().
Referenced by trkf::CosmicTracker::produce().
bool spt_sort_z0 | ( | const recob::SpacePoint | h1, |
const recob::SpacePoint | h2 | ||
) |
Definition at line 178 of file CosmicTracker_module.cc.
References recob::SpacePoint::XYZ().
Referenced by trkf::CosmicTracker::produce().
bool spt_sort_z1 | ( | const recob::SpacePoint | h1, |
const recob::SpacePoint | h2 | ||
) |
Definition at line 185 of file CosmicTracker_module.cc.
References recob::SpacePoint::XYZ().
Referenced by trkf::CosmicTracker::produce().