LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
tca::Trajectory Struct Reference

#include "DataStructs.h"

Public Attributes

std::vector< TrajPointPts
 Trajectory points. More...
 
CTP_t CTP {0}
 Cryostat, TPC, Plane code. More...
 
std::bitset< 64 > AlgMod
 Bit set if algorithm AlgBit_t modifed the trajectory. More...
 
int WorkID {0}
 
int ParentID {-1}
 ID of the parent, or the ID of the Tj this one was merged with if it is killed. More...
 
float AveChg {0}
 Calculated using ALL hits. More...
 
float TotChg {0}
 Total including an estimate for dead wires. More...
 
float ChgRMS {0.5}
 
float DirFOM {0.5}
 Normalized RMS using ALL hits. Assume it is 50% to start. More...
 
short MCSMom {0}
 
float EffPur {0}
 Efficiency * Purity. More...
 
Point2_t dEdx {{0,0}}
 dE/dx for 3D matched trajectories More...
 
std::array< unsigned short, 2 > VtxID {{0,0}}
 ID of 2D vertex. More...
 
std::array< unsigned short, 2 > EndPt {{0,0}}
 First and last point in the trajectory that has charge. More...
 
int ID
 
int SSID {0}
 ID of a 2D shower struct that this tj is in. More...
 
unsigned short PDGCode {0}
 shower-like or track-like {default is track-like} More...
 
unsigned int ClusterIndex {USHRT_MAX}
 Index not the ID... More...
 
unsigned short Pass {0}
 the pass on which it was created More...
 
short StepDir {0}
 -1 = going US (-> small wire#), 1 = going DS (-> large wire#) More...
 
unsigned int MCPartListIndex {UINT_MAX}
 
std::array< std::bitset< 8 >, 2 > StopFlag {}
 
bool NeedsUpdate {false}
 Set true when the Tj needs to be updated (only for the TP Environment right now) More...
 

Detailed Description

Definition at line 168 of file DataStructs.h.

Member Data Documentation

std::bitset<64> tca::Trajectory::AlgMod

Bit set if algorithm AlgBit_t modifed the trajectory.

Definition at line 171 of file DataStructs.h.

Referenced by tca::TrajClusterAlg::AddHits(), tca::AttachTrajToVertex(), tca::TrajClusterAlg::CheckHiMultEndHits(), tca::TrajClusterAlg::CheckHiMultUnusedHits(), tca::TrajClusterAlg::CheckTraj(), tca::ChkChgAsymmetry(), tca::TrajClusterAlg::ChkMichel(), tca::TrajClusterAlg::ChkStop(), tca::TrajClusterAlg::ChkStopEndPts(), tca::CompatibleMerge(), tca::TrajClusterAlg::FillGaps(), tca::TrajClusterAlg::FindSoftKink(), tca::TrajClusterAlg::FindUseHits(), tca::TrajClusterAlg::FindVtxTraj(), tca::TrajClusterAlg::FixTrajBegin(), tca::TrajClusterAlg::FixTrajEnd(), tca::TrajClusterAlg::GottaKink(), tca::TrajClusterAlg::HiEndDelta(), tca::TrajClusterAlg::IsGhost(), tca::TrajClusterAlg::MakeAllTrajClusters(), tca::TrajClusterAlg::MakeJunkTraj(), tca::MakeShowerObsolete(), tca::TrajClusterAlg::MaskBadTPs(), tca::TrajClusterAlg::MaskedHitsOK(), tca::MCSMom(), tca::MergeAndStore(), tca::MergeNearby2DShowers(), tca::MergeOverlap(), tca::MergePFPTjs(), tca::MergeShowerTjsAndStore(), tca::MergeSubShowers(), tca::TrajClusterAlg::MergeTPHits(), tca::NeutrinoPrimaryTjID(), tca::NumUsedHitsInTj(), tca::PrimaryID(), tca::PrintTrajectory(), tca::PutTrajHitsInVector(), tca::TrajClusterAlg::ReconstructAllTraj(), tca::RemoveTj(), tca::Reverse3DMatchTjs(), tca::TrajClusterAlg::ReversePropagate(), tca::SaveTjInfo(), tca::SetEndPoints(), tca::SetVx2Score(), tca::TrajClusterAlg::SplitHiChgHits(), tca::SplitTraj(), tca::TrajClusterAlg::StepCrawl(), tca::StoreShower(), tca::TagDeltaRays(), tca::TagJunkTj(), tca::TagMuonDirections(), tca::TjDirFOM(), tca::TrimEndPts(), tca::UpdateTjChgProperties(), tca::TrajClusterAlg::UpdateTraj(), tca::TrajClusterAlg::UseUnusedHits(), tca::VtxHitsSwap(), and tca::WrongSplitTj().

unsigned int tca::Trajectory::ClusterIndex {USHRT_MAX}

Index not the ID...

Definition at line 186 of file DataStructs.h.

Referenced by tca::TrajClusterAlg::MakeAllTrajClusters().

Point2_t tca::Trajectory::dEdx {{0,0}}

dE/dx for 3D matched trajectories

Definition at line 180 of file DataStructs.h.

Referenced by tca::FilldEdx(), and tca::ReverseTraj().

float tca::Trajectory::DirFOM {0.5}

Normalized RMS using ALL hits. Assume it is 50% to start.

confidence level that the Tj points are ordered correctly using charge pattern

Definition at line 177 of file DataStructs.h.

Referenced by tca::ReverseTraj(), and tca::StoreTraj().

float tca::Trajectory::EffPur {0}

Efficiency * Purity.

Definition at line 179 of file DataStructs.h.

std::array<unsigned short, 2> tca::Trajectory::EndPt {{0,0}}

First and last point in the trajectory that has charge.

Definition at line 182 of file DataStructs.h.

Referenced by tca::TrajClusterAlg::AddHits(), tca::AddTj(), tca::AttachTrajToVertex(), tca::TrajClusterAlg::CheckHiMultEndHits(), tca::TrajClusterAlg::CheckHiMultUnusedHits(), tca::TrajClusterAlg::CheckTraj(), tca::ChkChgAsymmetry(), tca::TrajClusterAlg::ChkMichel(), tca::TrajClusterAlg::ChkStop(), tca::TrajClusterAlg::ChkStopEndPts(), tca::CloseEnd(), tca::CompatibleMerge(), tca::FarEnd(), tca::FilldEdx(), tca::TrajClusterAlg::FillGaps(), tca::TrajClusterAlg::FindSoftKink(), tca::TrajClusterAlg::FindVtxTraj(), tca::FitTraj(), tca::TrajClusterAlg::FixTrajBegin(), tca::TrajClusterAlg::FixTrajEnd(), tca::TrajClusterAlg::GottaKink(), tca::TrajClusterAlg::HiEndDelta(), tca::TrajClusterAlg::IsGhost(), tca::TrajClusterAlg::MakeAllTrajClusters(), tca::TrajClusterAlg::MaskedHitsOK(), tca::TrajClusterAlg::MaskTrajEndPoints(), tca::MCSMom(), tca::MCSThetaRMS(), tca::MergeAndStore(), tca::TrajClusterAlg::MergeTPHits(), tca::NearestPtWithChg(), tca::NumPtsWithCharge(), tca::ParentFOM(), tca::PrintTrajectory(), tca::TrajClusterAlg::ReconstructAllTraj(), tca::RefineVtxPosition(), tca::TrajClusterAlg::ReversePropagate(), tca::SaveTjInfoStuff(), tca::SetEndPoints(), tca::SetPDGCode(), tca::SetVx2Score(), tca::TrajClusterAlg::SplitHiChgHits(), tca::SplitTraj(), tca::TrajClusterAlg::StepCrawl(), tca::TrajClusterAlg::StopIfBadFits(), tca::StoreTraj(), tca::TagDeltaRays(), tca::TagMuonDirections(), tca::TagShowerLike(), tca::TjDeltaRMS(), tca::TjDirFOM(), tca::TrajClosestApproach(), tca::TrajIsClean(), tca::TrajLength(), tca::TrajPointTrajDOCA(), tca::TrajTrajDOCA(), tca::TrimEndPts(), tca::TrajClusterAlg::UpdateDeltaRMS(), tca::UpdateTjChgProperties(), tca::TrajClusterAlg::UpdateTraj(), tca::TrajClusterAlg::UseUnusedHits(), and tca::VtxHitsSwap().

unsigned int tca::Trajectory::MCPartListIndex {UINT_MAX}

Definition at line 189 of file DataStructs.h.

Referenced by tca::PrintTrajectory().

bool tca::Trajectory::NeedsUpdate {false}

Set true when the Tj needs to be updated (only for the TP Environment right now)

Definition at line 191 of file DataStructs.h.

Referenced by tca::TrajClusterAlg::CheckHiMultUnusedHits(), tca::TrajClusterAlg::ReconstructAllTraj(), tca::TrajClusterAlg::StepCrawl(), tca::UpdateTjChgProperties(), and tca::TrajClusterAlg::UpdateTraj().

int tca::Trajectory::ParentID {-1}

ID of the parent, or the ID of the Tj this one was merged with if it is killed.

Definition at line 173 of file DataStructs.h.

Referenced by tca::MergeAndStore(), tca::NeutrinoPrimaryTjID(), tca::PrimaryID(), tca::SplitTraj(), tca::TrajClusterAlg::StartTraj(), tca::StoreTraj(), and tca::TagDeltaRays().

std::vector<TrajPoint> tca::Trajectory::Pts

Trajectory points.

Definition at line 169 of file DataStructs.h.

Referenced by tca::TrajClusterAlg::AddHits(), tca::TrajClusterAlg::AddLAHits(), tca::AddLooseHits(), tca::AddTj(), tca::AnalyzeRotPos(), tca::AttachTrajToVertex(), tca::TrajClusterAlg::CheckHiMultEndHits(), tca::TrajClusterAlg::CheckHiMultUnusedHits(), tca::TrajClusterAlg::CheckTraj(), tca::ChkChgAsymmetry(), tca::TrajClusterAlg::ChkMichel(), tca::TrajClusterAlg::ChkStop(), tca::TrajClusterAlg::ChkStopEndPts(), tca::CloseEnd(), tca::CompatibleMerge(), tca::DefineEnvelope(), tca::FarEnd(), tca::FilldEdx(), tca::TrajClusterAlg::FillGaps(), tca::TrajClusterAlg::FindSoftKink(), tca::TrajClusterAlg::FindUseHits(), tca::TrajClusterAlg::FindVtxTraj(), tca::FitTraj(), tca::TrajClusterAlg::FixTrajBegin(), tca::TrajClusterAlg::FixTrajEnd(), tca::MCParticleListUtils::GetMCPartListIndex(), tca::GetOrigin(), tca::TrajClusterAlg::GottaKink(), tca::TrajClusterAlg::HiEndDelta(), tca::InShowerProb(), tca::TrajClusterAlg::IsGhost(), tca::TrajClusterAlg::MakeAllTrajClusters(), tca::TrajClusterAlg::MakeJunkTraj(), tca::TrajClusterAlg::MaskBadTPs(), tca::TrajClusterAlg::MaskedHitsOK(), tca::TrajClusterAlg::MaskTrajEndPoints(), tca::Match2DShowers(), tca::MaxHitDelta(), tca::MCSMom(), tca::MCSThetaRMS(), tca::MergeAndStore(), tca::MergePFPTjs(), tca::MergeShowersAndStore(), tca::TrajClusterAlg::MergeTPHits(), tca::NearestPtWithChg(), tca::NumPtsWithCharge(), tca::NumUsedHitsInTj(), tca::OverlapFraction(), tca::ParentFOM(), tca::TrajClusterAlg::PrepareForNextPass(), tca::PrintTrajectory(), tca::PutTrajHitsInVector(), tca::TrajClusterAlg::ReconstructAllTraj(), tca::RefineVtxPosition(), tca::ReleaseHits(), tca::TrajClusterAlg::ReversePropagate(), tca::ReverseTraj(), tca::SaveTjInfoStuff(), tca::SetEndPoints(), tca::SetVx2Score(), tca::TrajClusterAlg::SplitHiChgHits(), tca::SplitTraj(), tca::TrajClusterAlg::StartTraj(), tca::TrajClusterAlg::StepCrawl(), tca::TrajClusterAlg::StopIfBadFits(), tca::StoreTraj(), tca::TagDeltaRays(), tca::TagJunkTj(), tca::TagMuonDirections(), tca::TagShowerLike(), tca::TjDeltaRMS(), tca::TjDirFOM(), tca::TrajClosestApproach(), tca::TrajIsClean(), tca::TrajLength(), tca::TrajPointTrajDOCA(), tca::TrajTrajDOCA(), tca::TransferTjHits(), tca::TrimEndPts(), tca::TrajClusterAlg::UpdateDeltaRMS(), tca::UpdateTjChgProperties(), tca::TrajClusterAlg::UpdateTraj(), tca::TrajClusterAlg::UseUnusedHits(), and tca::VtxHitsSwap().

int tca::Trajectory::SSID {0}

ID of a 2D shower struct that this tj is in.

Definition at line 184 of file DataStructs.h.

Referenced by tca::AddTj(), tca::MakeShowerObsolete(), tca::MergePFPTjs(), tca::RemoveTj(), and tca::StoreShower().

float tca::Trajectory::TotChg {0}

Total including an estimate for dead wires.

Definition at line 175 of file DataStructs.h.

Referenced by tca::UpdateTjChgProperties().


The documentation for this struct was generated from the following file: