EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
kdfinder Namespace Reference

Classes

class  TVector
 
class  Helix
 
class  Data
 
struct  Circle
 
struct  Line
 
class  CircleFit
 
class  LinearFit
 
struct  KDPointCloud
 
struct  KDTriplet
 
class  TrackCandidate
 

Functions

template<typename T >
T rnd_gauss (T mean, T stddev)
 
template<class T >
T abs (const TVector< T > &v)
 
template<class T >
TVector< Tcross_product (const TVector< T > &v1, const TVector< T > &v2)
 
template<class T >
TVector< Toperator+ (const TVector< T > &v1, const TVector< T > &v2)
 
template<class T >
TVector< Toperator- (const TVector< T > &v1, const TVector< T > &v2)
 
template<class T >
T operator* (const TVector< T > &v1, const TVector< T > &v2)
 
template<class T >
TVector< Toperator* (const TVector< T > &v, double c)
 
template<class T >
TVector< Toperator* (T c, const TVector< T > &v)
 
template<class T >
TVector< Toperator/ (const TVector< T > &v, double c)
 
template<typename T >
T DistanceToCircle (Circle< T > *circle, T x, T y)
 
template<typename T >
T DistanceToCircle (T a, T b, T r, T x, T y)
 
template<typename T >
T DistanceToLine (T a, T b, T x, T y)
 
template<typename T >
bool pointsort (std::vector< T > a, std::vector< T > b)
 
template<typename T >
bool tripletsort (KDTriplet< T > a, KDTriplet< T > b)
 
template<typename T >
T angle_between_vectors (T x1, T y1, T z1, T x2, T y2, T z2)
 
template<typename T >
void make_triplets (size_t triplet_begin, size_t triplet_end, std::vector< std::vector< double >> &hits, nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< T, KDPointCloud< T >>, KDPointCloud< T >, 3 > &index, std::vector< std::vector< KDTriplet< T >>> &triplets, T search_radius=10, T search_angle=M_PI/8)
 
template<typename T >
std::vector< std::vector
< std::vector< T > > > 
find_tracks (std::vector< std::vector< T >> &points, std::vector< std::vector< T >> &unused_hits, T search_radius=10, T search_angle=M_PI/8, size_t min_track_size=10, size_t nthreads=1, bool stats=false)
 
template<typename T >
std::vector< std::vector
< std::vector< T > > > 
find_tracks_iterative (std::vector< std::vector< T >> &hits, std::vector< std::vector< T >> &unused_hits, T search_radius1=10, T search_angle1=M_PI/8, size_t min_track_size1=10, T search_radius2=12, T search_angle2=M_PI/8, size_t min_track_size2=6, size_t nthreads=1, bool stats=false)
 
template<typename T >
std::vector< TrackCandidate< T > * > get_track_candidates (std::vector< std::vector< std::vector< T >>> &tracks, T B, bool stats=false)
 
template<typename T >
bool candidatesort (const TrackCandidate< T > *a, const TrackCandidate< T > *b)
 
template<typename T >
bool candidatesortradius (const TrackCandidate< T > *a, const TrackCandidate< T > *b)
 
template<typename T >
bool ismergedcandidate (const TrackCandidate< T > *o)
 
template<typename T >
std::vector< TrackCandidate< T > * > merge_track_candidates (std::vector< TrackCandidate< T > * > &candidates, T c_tanl=5.0, T c_xy=5.0, T c_dist=60.0, bool stats=false)
 
template<typename T >
bool elementsort (const std::tuple< T, Helix< T > *, size_t > a, const std::tuple< T, Helix< T > *, size_t > b)
 
template<typename T >
bool vertexsort (const std::pair< std::vector< T >, std::vector< size_t >> a, const std::pair< std::vector< T >, std::vector< size_t >> b)
 
template<typename T >
std::vector< std::pair
< std::vector< T >
, std::vector< size_t > > > 
find_vertex_seeds (std::vector< TrackCandidate< T > * > &candidates, T x0=0, T y0=0, T c_z_dist=0.5, T c_xy_dist=2.0, T c_min_tracks=3, bool stats=false)
 
template<typename T >
size_t get_track_color (T pt)
 
template<typename T >
std::string export_candidates_json (std::vector< TrackCandidate< T > * > &candidates, std::vector< std::vector< T >> &hits, size_t run=0, size_t event_number=0, size_t evt_time=0, double B=-0.5)
 
template<typename T >
std::string export_json (std::vector< std::vector< std::vector< T >>> &tracks, std::vector< std::vector< T >> &hits, size_t run=0, size_t event_number=0, size_t evt_time=0, double B=-0.5)
 
template<typename T >
std::string export_candidates_json_old (std::vector< TrackCandidate< T > * > &candidates, std::vector< ulong > &trigger_ids, size_t run=0, size_t event_number=0, size_t evt_time=0, T B=-0.5, bool round=false)
 

Function Documentation

template<class T >
T kdfinder::abs ( const TVector< T > &  v)
inline

Definition at line 393 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 393 of file kdfinder.hpp

References kdfinder::TVector< T >::mag().

Referenced by EmcCluster::ABS(), nanoflann::L1_Adaptor< T, DataSource, _DistanceType >::accum_dist(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::addCompatibleTracksToVertex(), AllSi_Al_support_Detector::addDetectorSection(), addPassiveMaterial(), Acts::GaussianGridTrackDensity< mainGridSize, trkGridSize >::addTrack(), PHG4InEvent::AddVtxCommon(), analysis_resolution(), PHSartreParticleTrigger::Apply(), PHPy6JetTrigger::Apply(), PHPy8JetTrigger::Apply(), PHPy8ParticleTrigger::Apply(), PHPy6ForwardElectronTrig::Apply(), PHPy6ParticleTrigger::Apply(), Acts::Test::approximatelyEqual(), EicGeoParData::AreNeighbours(), ODDModuleHelper::assembleRectangularModule(), Acts::SolenoidBField::B_r(), Acts::SolenoidBField::B_z(), kdfinder::Helix< T >::bad(), Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::IntegrationTest::BOOST_DATA_TEST_CASE(), photonNucleusCrossSection::breitWigner(), PHG4mRICHDetector::build_mRICH_wall_eside_proj(), buildEndcapRouting(), PHG4TTLDetector::BuildForwardTTL(), KFParticle_Tools::buildMother(), Acts::CylinderVolumeBounds::buildSurfaceBounds(), Acts::ConeVolumeBounds::buildSurfaceBounds(), KFParticle_DST::buildSvtxTrack(), AnnularFieldSim::calc_unit_field(), erhic::LeptonKinematicsComputer::Calculate(), KFParticle_Tools::calculateEllipsoidRadius(), KFParticle_Tools::calculateEllipsoidVolume(), PHTpcResiduals::calculateTpcResiduals(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::canRecoverFromNoCompatibleTracks(), Acts::DD4hepLayerBuilder::centralLayers(), CylinderGeomMicromegas::check_radius(), Acts::Test::checkCloseCovariance(), Acts::ConeBounds::checkConsistency(), Acts::AnnulusBounds::checkConsistency(), DecayFinder::checkIfCorrectParticle(), GPUTPCTrackParam::CheckNumericalQuality(), Acts::BinningData::checkSubStructure(), Rossegger::CheckZeroes(), kdfinder::CircleFit< T >::CircleFitByChernovHoussam(), kdfinder::CircleFit< T >::CircleFitByHyper(), kdfinder::CircleFit< T >::CircleFitByPratt(), kdfinder::CircleFit< T >::CircleFitByTaubin(), PHSiliconTpcTrackMatching::cleanVertexMap(), Acts::Test::float_compare_internal::closeAbs(), Acts::Test::float_compare_internal::closeOrSmall(), RawClusterBuilderkV3::cluster(), compareForthBackExtrapolation(), Acts::BoundaryCheck::computeEuclideanClosestPointOnRectangle(), Acts::computeMultipleScatteringTheta0(), Acts::ConeVolumeBounds::ConeVolumeBounds(), Acts::GenericCuboidVolumeBounds::construct(), PHG4Sector::PHG4SectorConstructor::Construct_Sectors(), PndPidCorrelator::ConstructChargedCandidate(), PHG4ForwardDualReadoutDetector::ConstructMe(), PHG4BarrelEcalDetector::ConstructMe(), PHG4BarrelEcalDetector::ConstructTower(), GPUTPCTrackParam::CorrectForMeanMaterial(), G4Pythia6Decayer::CountProducts(), Acts::AtlasStepper< bfield_t >::covarianceTransport(), Acts::AnnulusBounds::coversFullAzimuth(), create_element(), CreateBoundaryLayer(), Acts::CylinderVolumeHelper::createContainerTrackingVolume(), Acts::CylinderVolumeHelper::createGapTrackingVolume(), CreateKnots(), CreateNewNodes(), Acts::Test::createPlanarTransform(), Acts::Seedfinder< external_spacepoint_t, platform_t >::createSeedsForGroup(), Acts::Sycl::createSeedsForGroupSycl(), Acts::detail::VerticesHelper::createSegment(), Acts::CartesianSegmentation::createSegmentationSurfaces(), Acts::CylinderVolumeHelper::createTrackingVolume(), kdfinder::Helix< T >::curvatureSignedDistance(), genfit::MaterialEffects::dEdxBrems(), ParticleIdentifier::DetermineScatteredType(), Acts::TGeoSurfaceConverter::discComponents(), kdfinder::Helix< T >::distance(), EicToyModel::DrawAxisTicks(), kdfinder::CircleFit< T >::eigen2x2(), ElementsToTriangles(), Acts::detail::VerticesHelper::ellipsoidVertices(), LiteCaloEval::End(), Acts::DD4hepLayerBuilder::endcapLayers(), EicDetector::EndOfEvent(), Acts::detail::ensureThetaBounds(), Acts::CylinderVolumeHelper::estimateAndCheckDimension(), eTTreemaker(), DSTEmulator::evaluate_tracks(), TrackEvaluation::evaluate_tracks(), erhic::EventRapgap::ExchangeBoson(), erhic::EventSartre::ExchangeBoson(), ActsExamples::ParticleSmearing::execute(), ActsExamples::TrackSelector::execute(), ActsExamples::TruthSeedSelector::execute(), ActsExamples::ParticleSelector::execute(), Acts::PropagatorOptions< action_list_t, aborter_list_t >::extend(), Acts::Neutral::extractMomentum(), Acts::SinglyCharged::extractMomentum(), Acts::AnyCharge::extractMomentum(), TpcSpaceChargeReconstructionHelper::extrapolate_phi1(), Acts::fieldMapperRZ(), Acts::fieldMapperXYZ(), KFParticle_nTuple::fillBranch(), FillEventQA(), GPUTPCTrackParam::Filter(), Acts::SeedFilter< external_spacepoint_t >::filterSeeds_2SpFixed(), Acts::ZScanVertexFinder< vfitter_t >::find(), CylinderGeomMicromegas::find_strip_from_local_coords(), CylinderGeomMicromegas::find_tile_cylindrical(), CylinderGeomMicromegas::find_tile_planar(), FindBoundaryBoundary(), DecayFinder::findDecay(), FindPeriodicNodes(), EicCadWizard::FlatSurfaceSplit(), BEmcRec::fTowerDist(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), Fun4All_G4_simplified_v2_DIRC_barrel_GEM(), PHTruthClustering::G4ClusterSize(), SvtxTruthEval::G4ClusterSize(), RawClusterBuilderTopo::get_adjacent_towers_by_ID(), TruthJetInput::get_input(), PHG4Sector::Sector_Geometry::get_max_R(), PHGenFitTrkFitter::get_rotation_matrix(), PHGenFitTrkFitter::get_vertex_error_uvn(), GPUTPCTrackParam::GetDCAPoint(), Acts::ImpactPointEstimator< input_track_t, propagator_t, propagator_options_t >::getDistanceAndMomentum(), EmcCluster::GetE9(), KFParticle_truthAndDetTools::getHepMCInfo(), gbl::GblTrajectory::getJacobian(), ALICEKF::GetLineClusterResiduals(), PHHepMCParticleSelectorDecayProductChain::GetParent(), BEmcProfile::GetProb(), GPUTPCTrackParam::GetS(), PHActsTrackProjection::getSquareTowerEnergies(), AnnularFieldSim::GetStepDistortion(), EmcCluster::GetSubClusters(), Acts::ConeSurface::globalToLocal(), Acts::CylinderSurface::globalToLocal(), Acts::CylinderVolumeHelper::glueTrackingVolumes(), kdfinder::CircleFit< T >::GradientHessian(), kdfinder::Helix< T >::Helix(), ParticleIdentifier::IdentifyBeams(), G4Pythia6Decayer::ImportDecayProducts(), Acts::RiddersPropagator< propagator_t >::inconsistentDerivativesOnDisc(), PHPythia6::Init(), PndPidCorrelator::Init(), initializepidqabook(), InlineParameters(), Smear::ParticleID::InListOfFalse(), Smear::ParticleID::InListOfTrue(), Acts::GenericCuboidVolumeBounds::inside(), Acts::CutoutCylinderVolumeBounds::inside(), Acts::CuboidVolumeBounds::inside(), Acts::ConeVolumeBounds::inside(), Acts::TrapezoidVolumeBounds::inside(), Acts::CylinderVolumeBounds::inside(), Acts::CylinderBounds::inside3D(), Acts::detail::IntersectionHelper2D::intersectEllipse(), Acts::detail::IntersectionHelper2D::intersectSegment(), gbl::BorderedBandMatrix::invertBand(), ParticleIdentifier::isBeamNucleon(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::isMergedVertex(), Acts::SurfaceArrayCreator::isSurfaceEquivalent(), Acts::BoundaryCheck::isTolerated(), ParticleIdentifier::IsVirtualPhoton(), BEmcRec::iTowerDist(), Acts::LayerArrayCreator::layerArray(), Acts::HelicalTrackLinearizer< propagator_t, propagator_options_t >::linearizeTrack(), main(), make_beam_particle(), QAG4SimulationKFParticle::makeHepLV(), ManipulateMeshDefinition(), ActsExamples::Generic::modulePositionsCylinder(), Acts::Test::CylindricalTrackingGeometry::modulePositionsCylinder(), Acts::AtlasStepper< bfield_t >::momentum(), genfit::MaterialEffects::noiseBrems(), ActsFatras::Casts::AbsVz::operator()(), Acts::SurfaceBinningMatcher::operator()(), ActsFatras::BetheHeitler::operator()(), ActsFatras::detail::GeneralMixture::operator()(), ActsFatras::Casts::AbsEta::operator()(), Acts::PathLimitReached::operator()(), Acts::Test::SurfaceObserver< Surface >::operator()(), Acts::Test::EndOfWorld::operator()(), Acts::Test::MaterialScattering::operator()(), Acts::Test::MinimalOutlierFinder::operator()(), nanoflann::L1_Adaptor< T, DataSource, _DistanceType >::operator()(), operator==(), DecayFinder::parseDecayDescriptor(), Acts::PlaneSurface::pathCorrection(), Acts::ConeSurface::pathCorrection(), kdfinder::Helix< T >::pathLength(), Acts::ImpactPointEstimator< input_track_t, propagator_t, propagator_options_t >::performNewtonApproximation(), Smear::PGenre(), Acts::detail::VerticesHelper::phiSegments(), PHG4BarrelEcalDetector::PlaceTower(), Acts::TGeoSurfaceConverter::planeComponents(), Acts::PlaneSurface::PlaneSurface(), AnnularFieldSim::PlotFieldSlices(), Acts::PlaneSurface::polyhedronRepresentation(), Acts::ConeSurface::polyhedronRepresentation(), PHRTreeSeeding::Process(), PHG4InEventCompress::process_event(), RawClusterDeadAreaMask::process_event(), RawClusterPositionCorrection::process_event(), QAG4SimulationUpsilon::process_event(), PHHepMCParticleSelectorDecayProductChain::process_event(), PHG4VertexSelection::process_event(), ParticleFlowReco::process_event(), CaloTriggerSim::process_event(), QAG4SimulationKFParticle::process_event(), CaloCalibEmc_Pi0::process_event(), TPCDataStreamEmulator::process_event(), PHG4TpcElectronDrift::process_event(), PHGenFitTrackProjection::process_event(), PHG4MicromegasHitReco::process_event(), PHTpcCentralMembraneClusterizer::process_event(), PHMicromegasTpcTrackMatching::process_event(), RawTowerCombiner::process_event(), QAG4SimulationCalorimeter::process_event_G4Hit(), QAG4SimulationEicCalorimeter::process_event_G4Hit(), CellularAutomaton_v1::process_single_triplet(), TpcSpaceChargeReconstruction::process_track(), EicDetector::ProcessHits(), PHG4TruthEventAction::ProcessShowers(), genfit::GFGbl::processTrackWithRep(), PHSimpleKFProp::PropagateTrack(), kdfinder::CircleFit< T >::pythag(), Acts::ConeBounds::r(), Acts::ProtoLayer::range(), Acts::Extent::range(), read(), readFile(), RawTowerBuilderByHitIndexBECAL::ReadGeometryFromTable(), readSeedFile(), EicEventAssembler::ReAssignMomentumValue(), Acts::TGeoLayerBuilder::registerSplit(), Acts::AdaptiveMultiVertexFinder< vfitter_t, sfinder_t >::removeTrackIfIncompatible(), kdfinder::LinearFit< T >::RobustFit(), kdfinder::LinearFit< T >::rofunc(), GPUTPCTrackParam::Rotate(), Acts::detail::roundWithPrecision(), TPCDaqDefs::FEEv1::SampleFit_PowerLawDoubleExp(), SetDiscontinuousBoundary(), EicGeoMedium::setNComponents(), FairGeoMedium::setNComponents(), PndRecoKalmanTask::SetParticleHypo(), Acts::PropagatorOptions< action_list_t, aborter_list_t >::setPlainOptions(), kdfinder::CircleFit< T >::SigmaWithLargeCircleOption(), ParticleIdentifier::SkipParticle(), Smear::Device::Smear(), Smear::Detector::Smear(), Acts::solenoidFieldMapper(), Acts::AtlasStepper< bfield_t >::State::State(), Acts::EigenStepper< bfield_t, extensionlist_t, auctioneer_t >::step(), Acts::AtlasStepper< bfield_t >::step(), AnnularFieldSim::sum_full3d_field_at(), Acts::Frustum< value_t, DIM, SIDES >::svg(), Acts::ConstrainedStep::toString(), TrackingServiceCone(), TrackingServiceCylinder(), Acts::CylinderVolumeBuilder::trackingVolume(), GPUTPCTrackParam::TransportToX(), TreeToHepMC(), Acts::StraightLineStepper::update(), Acts::EigenStepper< bfield_t, extensionlist_t, auctioneer_t >::update(), Acts::AtlasStepper< bfield_t >::update(), PHG4TruthTrackingAction::UpdateG4ParticleStack(), AnnularFieldSim::UpdateOmegaTau(), PHG4ForwardDualReadoutSteppingAction::UserSteppingAction(), ActsEvaluator::visitTrackStates(), Acts::RiddersPropagator< propagator_t >::wiggleDimension(), and ActsExamples::RootTrajectoryWriter::writeT().

+ Here is the call graph for this function:

template<typename T >
T kdfinder::angle_between_vectors ( T  x1,
T  y1,
T  z1,
T  x2,
T  y2,
T  z2 
)

Definition at line 2773 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 2773 of file kdfinder.hpp

References c1, c2, and T.

Referenced by make_triplets().

+ Here is the caller graph for this function:

template<typename T >
bool kdfinder::candidatesort ( const TrackCandidate< T > *  a,
const TrackCandidate< T > *  b 
)

Definition at line 3188 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3188 of file kdfinder.hpp

References kdfinder::TrackCandidate< T >::nhits().

+ Here is the call graph for this function:

template<typename T >
bool kdfinder::candidatesortradius ( const TrackCandidate< T > *  a,
const TrackCandidate< T > *  b 
)

Definition at line 3194 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3194 of file kdfinder.hpp

References kdfinder::TrackCandidate< T >::minR().

+ Here is the call graph for this function:

template<class T >
TVector<T> kdfinder::cross_product ( const TVector< T > &  v1,
const TVector< T > &  v2 
)
inline

Definition at line 399 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 399 of file kdfinder.hpp

References kdfinder::TVector< T >::cross().

+ Here is the call graph for this function:

template<typename T >
T kdfinder::DistanceToCircle ( Circle< T > *  circle,
T  x,
T  y 
)

Definition at line 1334 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 1334 of file kdfinder.hpp

References kdfinder::Circle< T >::a, kdfinder::Circle< T >::b, and kdfinder::Circle< T >::r.

template<typename T >
T kdfinder::DistanceToCircle ( T  a,
T  b,
T  r,
T  x,
T  y 
)

Definition at line 1340 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 1340 of file kdfinder.hpp

template<typename T >
T kdfinder::DistanceToLine ( T  a,
T  b,
T  x,
T  y 
)

Definition at line 1346 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 1346 of file kdfinder.hpp

template<typename T >
bool kdfinder::elementsort ( const std::tuple< T, Helix< T > *, size_t >  a,
const std::tuple< T, Helix< T > *, size_t >  b 
)

Definition at line 3302 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3302 of file kdfinder.hpp

template<typename T >
std::string kdfinder::export_candidates_json ( std::vector< TrackCandidate< T > * > &  candidates,
std::vector< std::vector< T >> &  hits,
size_t  run = 0,
size_t  event_number = 0,
size_t  evt_time = 0,
double  B = -0.5 
)

Definition at line 3480 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3480 of file kdfinder.hpp

References color, G4BARRELHCAL::length, charm_jet_coverage::mom, Acts::PrimitivesView3DTest::run(), sign(), and T.

+ Here is the call graph for this function:

template<typename T >
std::string kdfinder::export_candidates_json_old ( std::vector< TrackCandidate< T > * > &  candidates,
std::vector< ulong > &  trigger_ids,
size_t  run = 0,
size_t  event_number = 0,
size_t  evt_time = 0,
T  B = -0.5,
bool  round = false 
)

Definition at line 3639 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3639 of file kdfinder.hpp

References color, G4BARRELHCAL::length, charm_jet_coverage::mom, round(), Acts::PrimitivesView3DTest::run(), sign(), and T.

+ Here is the call graph for this function:

template<typename T >
std::string kdfinder::export_json ( std::vector< std::vector< std::vector< T >>> &  tracks,
std::vector< std::vector< T >> &  hits,
size_t  run = 0,
size_t  event_number = 0,
size_t  evt_time = 0,
double  B = -0.5 
)

Definition at line 3561 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3561 of file kdfinder.hpp

References Acts::PrimitivesView3DTest::run().

+ Here is the call graph for this function:

template<typename T >
std::vector<std::vector<std::vector<T> > > kdfinder::find_tracks ( std::vector< std::vector< T >> &  points,
std::vector< std::vector< T >> &  unused_hits,
T  search_radius = 10,
T  search_angle = M_PI / 8,
size_t  min_track_size = 10,
size_t  nthreads = 1,
bool  stats = false 
)

Definition at line 2873 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 2873 of file kdfinder.hpp

References nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::buildIndex(), kdfinder::KDTriplet< T >::n1, kdfinder::KDTriplet< T >::n2, kdfinder::KDPointCloud< T >::pts, stats, and t.

+ Here is the call graph for this function:

template<typename T >
std::vector<std::vector<std::vector<T> > > kdfinder::find_tracks_iterative ( std::vector< std::vector< T >> &  hits,
std::vector< std::vector< T >> &  unused_hits,
T  search_radius1 = 10,
T  search_angle1 = M_PI / 8,
size_t  min_track_size1 = 10,
T  search_radius2 = 12,
T  search_angle2 = M_PI / 8,
size_t  min_track_size2 = 6,
size_t  nthreads = 1,
bool  stats = false 
)

Definition at line 3125 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3125 of file kdfinder.hpp

References stats.

template<typename T >
std::vector<std::pair<std::vector<T>, std::vector<size_t> > > kdfinder::find_vertex_seeds ( std::vector< TrackCandidate< T > * > &  candidates,
T  x0 = 0,
T  y0 = 0,
T  c_z_dist = 0.5,
T  c_xy_dist = 2.0,
T  c_min_tracks = 3,
bool  stats = false 
)

Definition at line 3315 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3315 of file kdfinder.hpp

References kdfinder::Helix< T >::at(), dz, it, k, p, kdfinder::Helix< T >::pathLength(), kdfinder::TVector< T >::perp(), pos(), Acts::UnitConstants::s, start(), stats, T, kdfinder::TVector< T >::x(), kdfinder::TVector< T >::y(), and kdfinder::TVector< T >::z().

+ Here is the call graph for this function:

template<typename T >
std::vector<TrackCandidate<T>*> kdfinder::get_track_candidates ( std::vector< std::vector< std::vector< T >>> &  tracks,
T  B,
bool  stats = false 
)

Definition at line 3153 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3153 of file kdfinder.hpp

References kdfinder::TrackCandidate< T >::isFitted(), kdfinder::TrackCandidate< T >::refit(), and stats.

+ Here is the call graph for this function:

template<typename T >
size_t kdfinder::get_track_color ( T  pt)

Definition at line 3449 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3449 of file kdfinder.hpp

References g(), min, p, rand, and T.

+ Here is the call graph for this function:

template<typename T >
bool kdfinder::ismergedcandidate ( const TrackCandidate< T > *  o)

Definition at line 3200 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3200 of file kdfinder.hpp

References kdfinder::TrackCandidate< T >::nhits().

+ Here is the call graph for this function:

template<typename T >
void kdfinder::make_triplets ( size_t  triplet_begin,
size_t  triplet_end,
std::vector< std::vector< double >> &  hits,
nanoflann::KDTreeSingleIndexAdaptor< nanoflann::L2_Simple_Adaptor< T, KDPointCloud< T >>, KDPointCloud< T >, 3 > &  index,
std::vector< std::vector< KDTriplet< T >>> &  triplets,
T  search_radius = 10,
T  search_angle = M_PI / 8 
)

Definition at line 2782 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 2782 of file kdfinder.hpp

References kdfinder::KDTriplet< T >::angle, angle_between_vectors(), kdfinder::KDTriplet< T >::dist1, kdfinder::KDTriplet< T >::dist2, Acts::UnitConstants::h, M_PI, kdfinder::KDTriplet< T >::n1, kdfinder::KDTriplet< T >::n2, nanoflann::SearchParams::sorted, T, and t.

+ Here is the call graph for this function:

template<typename T >
std::vector<TrackCandidate<T>*> kdfinder::merge_track_candidates ( std::vector< TrackCandidate< T > * > &  candidates,
T  c_tanl = 5.0,
T  c_xy = 5.0,
T  c_dist = 60.0,
bool  stats = false 
)

Definition at line 3206 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3206 of file kdfinder.hpp

References start(), stats, and T.

+ Here is the call graph for this function:

template<class T >
T kdfinder::operator* ( const TVector< T > &  v1,
const TVector< T > &  v2 
)
inline

Definition at line 419 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 419 of file kdfinder.hpp

References v1.

Referenced by nlohmann::detail::iter_impl< BasicJsonType >::value().

+ Here is the caller graph for this function:

template<class T >
TVector<T> kdfinder::operator* ( const TVector< T > &  v,
double  c 
)
inline

Definition at line 425 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 425 of file kdfinder.hpp

References v.

template<class T >
TVector<T> kdfinder::operator* ( T  c,
const TVector< T > &  v 
)
inline

Definition at line 431 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 431 of file kdfinder.hpp

References v.

template<class T >
TVector<T> kdfinder::operator+ ( const TVector< T > &  v1,
const TVector< T > &  v2 
)
inline

Definition at line 406 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 406 of file kdfinder.hpp

References v1.

template<class T >
TVector<T> kdfinder::operator- ( const TVector< T > &  v1,
const TVector< T > &  v2 
)
inline

Definition at line 413 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 413 of file kdfinder.hpp

References v1.

template<class T >
TVector<T> kdfinder::operator/ ( const TVector< T > &  v,
double  c 
)
inline

Definition at line 437 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 437 of file kdfinder.hpp

References v.

template<typename T >
bool kdfinder::pointsort ( std::vector< T a,
std::vector< T b 
)

Definition at line 2761 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 2761 of file kdfinder.hpp

template<typename T >
T kdfinder::rnd_gauss ( T  mean,
T  stddev 
)

Definition at line 63 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 63 of file kdfinder.hpp

References Acts::Test::gauss(), rand, T, Acts::UnitConstants::u, and v.

+ Here is the call graph for this function:

template<typename T >
bool kdfinder::tripletsort ( KDTriplet< T a,
KDTriplet< T b 
)

Definition at line 2767 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 2767 of file kdfinder.hpp

References kdfinder::KDTriplet< T >::dist1, and kdfinder::KDTriplet< T >::dist2.

template<typename T >
bool kdfinder::vertexsort ( const std::pair< std::vector< T >, std::vector< size_t >>  a,
const std::pair< std::vector< T >, std::vector< size_t >>  b 
)

Definition at line 3308 of file kdfinder.hpp.

View newest version in sPHENIX GitHub at line 3308 of file kdfinder.hpp