LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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
 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}
 
short MCSMom {0}
 Normalized RMS using ALL hits. Assume it is 50% to start. 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
 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...
 
std::array< std::bitset< 8 >, 2 > EndFlag {}
 
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 187 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 198 of file DataStructs.h.

Referenced by tca::ReverseTraj().

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

First and last point in the trajectory that has charge.

Definition at line 200 of file DataStructs.h.

Referenced by tca::AddHits(), tca::AddTj(), tca::AttachTrajToVertex(), tca::CheckHiMultEndHits(), tca::CheckHiMultUnusedHits(), tca::CheckTraj(), tca::ChkBegin(), tca::ChkChgAsymmetry(), tca::ChkEndKink(), tca::ChkMichel(), tca::ChkStop(), tca::ChkStopEndPts(), tca::CloseEnd(), tca::CompatibleMerge(), tca::CreateSS(), tca::CreateTPFromTj(), tca::ElectronLikelihood(), tca::FarEnd(), tca::FillGaps(), tca::FindUseHits(), tca::FitPar(), tca::FitTraj(), tca::FixBegin(), tca::Forecast(), tca::GottaKink(), tca::IsGhost(), tca::KinkSignificance(), tca::MakeHaloTj(), tca::MakeJunkTraj(), tca::MaskedHitsOK(), tca::MaskTrajEndPoints(), tca::MCSMom(), tca::MCSThetaRMS(), tca::MergeAndStore(), tca::NearbyCleanPt(), tca::NearestPtWithChg(), tca::NumPtsWithCharge(), tca::ParentFOM(), tca::PointPull(), tca::PrintT(), tca::PrintTrajectory(), tca::TrajClusterAlg::ReconstructAllTraj(), tca::RefineVtxPosition(), tca::ReversePropagate(), tca::SaveTjInfoStuff(), tca::SetEndPoints(), tca::SetStrategy(), tca::SetVx2Score(), tca::SplitTraj(), tca::StepAway(), tca::StopIfBadFits(), tca::StopShort(), tca::StoreTraj(), tca::TjDeltaRMS(), tca::TrajClosestApproach(), tca::TrajIsClean(), tca::TrajLength(), tca::TrajPointTrajDOCA(), tca::TrajTrajDOCA(), tca::TrimEndPts(), tca::TrimHiChgEndPts(), tca::UpdateDeltaRMS(), tca::UpdateStiffEl(), tca::UpdateTjChgProperties(), and tca::UpdateTraj().

bool tca::Trajectory::IsGood {true}
bool tca::Trajectory::MaskedLastTP {false}

Definition at line 213 of file DataStructs.h.

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

bool tca::Trajectory::NeedsUpdate {false}
int tca::Trajectory::ParentID
Initial value:
{
-1}

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

Definition at line 192 of file DataStructs.h.

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

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

Trajectory points.

Definition at line 188 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::ChkBegin(), tca::ChkChgAsymmetry(), tca::ChkEndKink(), tca::ChkMichel(), tca::ChkStop(), tca::ChkStopEndPts(), tca::CloseEnd(), tca::CompatibleMerge(), tca::CreateSS(), tca::CreateTPFromTj(), tca::DefineEnvelope(), tca::FarEnd(), tca::FillGaps(), tca::FindUseHits(), tca::FitPar(), tca::FitTraj(), tca::FixBegin(), tca::Forecast(), tca::GetOrigin(), tca::GottaKink(), tca::InShowerProb(), tca::IsGhost(), tca::KinkSignificance(), tca::MakeHaloTj(), tca::MakeJunkTraj(), tca::MaskBadTPs(), tca::MaskedHitsOK(), tca::MaskTrajEndPoints(), tca::MaxHitDelta(), tca::MCSMom(), tca::MCSThetaRMS(), tca::MergeAndStore(), tca::MergeShowersAndStore(), tca::NearbyCleanPt(), tca::NearestPtWithChg(), tca::NumPtsWithCharge(), tca::OverlapFraction(), tca::ParentFOM(), tca::PointPull(), tca::PrintT(), tca::PrintTrajectory(), tca::PutTrajHitsInVector(), tca::TrajClusterAlg::ReconstructAllTraj(), tca::RefineVtxPosition(), tca::ReleaseHits(), tca::ReversePropagate(), tca::ReverseTraj(), tca::SaveTjInfoStuff(), tca::SetEndPoints(), tca::SetStrategy(), tca::SetVx2Score(), tca::SplitTraj(), tca::StartTraj(), tca::StepAway(), tca::StopIfBadFits(), tca::StopShort(), tca::StoreTraj(), tca::TagJunkTj(), tca::TjDeltaRMS(), tca::TrajClosestApproach(), tca::TrajIsClean(), tca::TrajLength(), tca::TrajPointTrajDOCA(), tca::TrajTrajDOCA(), tca::TransferTjHits(), tca::TrimEndPts(), tca::TrimHiChgEndPts(), tca::UpdateDeltaRMS(), tca::UpdateStiffEl(), tca::UpdateTjChgProperties(), and tca::UpdateTraj().

int tca::Trajectory::SSID {0}

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

Definition at line 204 of file DataStructs.h.

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

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

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

Definition at line 208 of file DataStructs.h.

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

short tca::Trajectory::StepDir {0}
float tca::Trajectory::TotChg {0}

Total including an estimate for dead wires.

Definition at line 195 of file DataStructs.h.

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

int tca::Trajectory::UID

a unique ID for all slices

Definition at line 203 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: