LArSoft  v07_13_02
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< 128 > 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
 ID that is local to one slice. More...
 
int UID
 a unique ID for all slices More...
 
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 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...
 
short StartEnd {-1}
 The starting end (-1 = don't know) More...
 
unsigned int mcpListIndex {UINT_MAX}
 
std::array< std::bitset< 8 >, 2 > StopFlag {}
 
std::bitset< 8 > Strategy {}
 
bool NeedsUpdate {false}
 Set true when the Tj needs to be updated. More...
 
bool IsGood {true}
 set false if there is a failure or the Tj fails quality cuts More...
 
bool MaskedLastTP {false}
 

Detailed Description

Definition at line 142 of file DataStructs.h.

Member Data Documentation

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

dE/dx for 3D matched trajectories

Definition at line 154 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 151 of file DataStructs.h.

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

float tca::Trajectory::EffPur {0}

Efficiency * Purity.

Definition at line 153 of file DataStructs.h.

Referenced by tca::PrintT().

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

Definition at line 169 of file DataStructs.h.

Referenced by tca::StepAway(), and tca::UpdateTraj().

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

Definition at line 164 of file DataStructs.h.

Referenced by tca::PrintT().

bool tca::Trajectory::NeedsUpdate {false}

Set true when the Tj needs to be updated.

Definition at line 167 of file DataStructs.h.

Referenced by tca::CheckHiMultUnusedHits(), tca::StepAway(), tca::UpdateStiffEl(), tca::UpdateTjChgProperties(), and tca::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 147 of file DataStructs.h.

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

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

Trajectory points.

Definition at line 143 of file DataStructs.h.

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

int tca::Trajectory::SSID {0}

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

Definition at line 159 of file DataStructs.h.

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

short tca::Trajectory::StartEnd {-1}

The starting end (-1 = don't know)

Definition at line 163 of file DataStructs.h.

Referenced by tca::MakeHaloTj(), tca::ReverseTraj(), and tca::SetStrategy().

float tca::Trajectory::TotChg {0}

Total including an estimate for dead wires.

Definition at line 149 of file DataStructs.h.

Referenced by tca::Forecast(), tca::MakeHaloTj(), tca::PrintT(), and tca::UpdateTjChgProperties().

int tca::Trajectory::UID

a unique ID for all slices

Definition at line 158 of file DataStructs.h.

Referenced by tca::MakeHaloTj(), tca::PrintT(), tca::PrintTrajectory(), tca::SplitTraj(), and tca::StoreTraj().

int tca::Trajectory::WorkID {0}

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