![]() |
LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Classes | |
struct | CRTreeVars |
struct | DebugStuff |
struct | DontClusterStruct |
struct | HistStuff |
struct | MatchStruct |
class | MCParticleListUtils |
struct | PFPStruct |
struct | ShowerPoint |
struct | ShowerStruct |
struct | ShowerStruct3D |
struct | ShowerTreeVars |
struct | SortEntry |
struct | TCConfig |
struct | TCEvent |
struct | TCHit |
struct | TCSlice |
struct | Tj2Pt |
struct | TjForecast |
class | TrajClusterAlg |
struct | Trajectory |
struct | TrajPoint |
struct | TrajPoint3 |
class | TruthMatcher |
struct | Vtx3Store |
struct of temporary 3D vertices More... | |
struct | VtxStore |
struct of temporary 2D vertices (end points) More... | |
Typedefs | |
using | Point3_t = std::array< double, 3 > |
using | Vector3_t = std::array< double, 3 > |
using | Point2_t = std::array< float, 2 > |
using | Vector2_t = std::array< double, 2 > |
typedef unsigned int | CTP_t |
Enumerations | |
enum | HitStatus_t { kAllHits, kUsedHits, kUnusedHits } |
Functions | |
geo::PlaneID | DecodeCTP (CTP_t CTP) |
CTP_t | EncodeCTP (unsigned int cryo, unsigned int tpc, unsigned int plane) |
CTP_t | EncodeCTP (const geo::PlaneID &planeID) |
CTP_t | EncodeCTP (const geo::WireID &wireID) |
bool | valDecreasings (SortEntry c1, SortEntry c2) |
bool | valIncreasings (SortEntry c1, SortEntry c2) |
void | StitchPFPs () |
void | UpdateMatchStructs (TCSlice &slc, int oldTj, int newTj) |
void | UpdateTp3s (TCSlice &slc, PFPStruct &pfp, int oldTj, int newTj) |
void | FillmAllTraj (TCSlice &slc) |
bool | SetStart (TCSlice &slc, PFPStruct &pfp, bool prt) |
void | FollowTp3s (TCSlice &slc, PFPStruct &pfp, bool prt) |
bool | FitTp3s (TCSlice &slc, const std::vector< TrajPoint3 > &tp3s, Point3_t &pos, Vector3_t &dir, float &rCorr) |
bool | FitTp3s (TCSlice &slc, const std::vector< TrajPoint3 > &tp3s, unsigned short fromPt, unsigned short toPt, Point3_t &pos, Vector3_t &dir, float &rCorr) |
bool | FitTp3 (TCSlice &slc, TrajPoint3 &tp3, const std::vector< Tj2Pt > &tj2pts) |
void | FindCompleteness (TCSlice &slc, PFPStruct &pfp, bool doFit, bool fillTp3s, bool prt) |
void | FindMissedTjsInTp3s (TCSlice &slc, PFPStruct &pfp, std::vector< int > &missTjs, std::vector< float > &missFrac) |
bool | SharesHighScoreVx (TCSlice &slc, const PFPStruct &pfp, const Trajectory &tj) |
void | Fit3D (unsigned short mode, Point3_t point, Vector3_t dir, Point3_t &fitPos, Vector3_t &fitDir) |
unsigned short | WiresSkippedInCTP (TCSlice &slc, std::vector< int > &tjids, CTP_t inCTP) |
float | LengthInCTP (TCSlice &slc, std::vector< int > &tjids, CTP_t inCTP) |
bool | AddMissedTj (TCSlice &slc, PFPStruct &pfp, unsigned short itj, bool looseCuts, bool prt) |
bool | MergePFPTjs (TCSlice &slc, PFPStruct &pfp, bool prt) |
void | FindXMatches (TCSlice &slc, unsigned short numPlanes, short maxScore, std::vector< MatchStruct > &matVec, bool prt) |
bool | MakeTp3 (TCSlice &slc, const TrajPoint &itp, const TrajPoint &jtp, TrajPoint3 &tp3, bool findDirection) |
double | DeltaAngle (const Vector3_t v1, const Vector3_t v2) |
Vector3_t | PointDirection (const Point3_t p1, const Point3_t p2) |
double | PosSep (const Point3_t &pos1, const Point3_t &pos2) |
double | PosSep2 (const Point3_t &pos1, const Point3_t &pos2) |
bool | SetMag (Vector3_t &v1, double mag) |
void | FilldEdx (TCSlice &slc, PFPStruct &pfp) |
void | FilldEdx (TCSlice &slc, TrajPoint3 &tp3) |
float | PFPDOCA (const PFPStruct &pfp1, const PFPStruct &pfp2, unsigned short &close1, unsigned short &close2) |
bool | Split3DKink (TCSlice &slc, PFPStruct &pfp, double sep, bool prt) |
std::vector< unsigned short > | FindKinks (TCSlice &slc, PFPStruct &pfp, double sep, bool prt) |
double | KinkAngle (TCSlice &slc, const std::vector< TrajPoint3 > &tp3s, unsigned short atPt, double sep) |
PFPStruct | CreatePFP (TCSlice &slc) |
void | FindPFParticles (TCSlice &slc) |
bool | DefinePFP (std::string inFcnLabel, TCSlice &slc, PFPStruct &pfp, bool prt) |
bool | PFPVxTjOK (TCSlice &slc, PFPStruct &pfp, bool prt) |
bool | AnalyzePFP (TCSlice &slc, PFPStruct &pfp, bool prt) |
void | PFPVertexCheck (TCSlice &slc) |
void | DefinePFPParents (TCSlice &slc, bool prt) |
void | DefinePFPParentsTestBeam (TCSlice &slc, bool prt) |
bool | StorePFP (TCSlice &slc, PFPStruct &pfp) |
bool | InsideFV (TCSlice &slc, PFPStruct &pfp, unsigned short end) |
bool | InsideTPC (const Point3_t &pos, geo::TPCID &inTPCID) |
void | FindAlongTrans (Point3_t pos1, Vector3_t dir1, Point3_t pos2, Point2_t &alongTrans) |
bool | PointDirIntersect (Point3_t p1, Vector3_t p1Dir, Point3_t p2, Vector3_t p2Dir, Point3_t &intersect, float &doca) |
bool | LineLineIntersect (Point3_t p1, Point3_t p2, Point3_t p3, Point3_t p4, Point3_t &intersect, float &doca) |
void | ReversePFP (TCSlice &slc, PFPStruct &pfp) |
float | ChgFracBetween (TCSlice &slc, Point3_t pos1, Point3_t pos2) |
float | ChgFracNearEnd (TCSlice &slc, PFPStruct &pfp, unsigned short end) |
unsigned short | FarEnd (TCSlice &slc, const PFPStruct &pfp, const Point3_t &pos) |
void | PrintTp3 (std::string someText, TCSlice &slc, const TrajPoint3 &tp3) |
void | PrintTp3s (std::string someText, TCSlice &slc, const PFPStruct &pfp, short printPts) |
float | AspectRatio (TCSlice &slc, std::vector< int > &tjids, CTP_t inCTP) |
void | CleanTjs (TCSlice &slc, PFPStruct &pfp, bool prt) |
double | DotProd (const Vector3_t &v1, const Vector3_t &v2) |
void | StepAway (TCSlice &slc, Trajectory &tj) |
void | SetStrategy (TCSlice &slc, Trajectory &tj) |
void | Forecast (TCSlice &slc, Trajectory &tj) |
void | UpdateStiffEl (TCSlice &slc, Trajectory &tj) |
void | UpdateTraj (TCSlice &slc, Trajectory &tj) |
void | CheckStiffEl (TCSlice &slc, Trajectory &tj) |
void | CheckTraj (TCSlice &slc, Trajectory &tj) |
void | AddHits (TCSlice &slc, Trajectory &tj, unsigned short ipt, bool &sigOK) |
void | AddLAHits (TCSlice &slc, Trajectory &tj, unsigned short ipt, bool &sigOK) |
void | ReversePropagate (TCSlice &slc, Trajectory &tj) |
void | GetHitMultiplet (TCSlice &slc, unsigned int theHit, std::vector< unsigned int > &hitsInMultiplet) |
void | GetHitMultiplet (TCSlice &slc, unsigned int theHit, std::vector< unsigned int > &hitsInMultiplet, unsigned short &localIndex) |
float | HitTimeErr (TCSlice &slc, unsigned int iht) |
float | HitsTimeErr2 (TCSlice &slc, const std::vector< unsigned int > &hitVec) |
void | ChkStopEndPts (TCSlice &slc, Trajectory &tj, bool prt) |
void | DefineHitPos (TCSlice &slc, TrajPoint &tp) |
void | FindUseHits (TCSlice &slc, Trajectory &tj, unsigned short ipt, float maxDelta, bool useChg) |
void | FindSoftKink (TCSlice &slc, Trajectory &tj) |
void | FillGaps (TCSlice &slc, Trajectory &tj) |
void | CheckHiMultUnusedHits (TCSlice &slc, Trajectory &tj) |
void | CheckHiMultEndHits (TCSlice &slc, Trajectory &tj) |
void | HiEndDelta (TCSlice &slc, Trajectory &tj) |
void | UpdateDeltaRMS (TCSlice &slc, Trajectory &tj) |
void | MaskBadTPs (TCSlice &slc, Trajectory &tj, float const &maxChi) |
bool | MaskedHitsOK (TCSlice &slc, Trajectory &tj) |
bool | StopIfBadFits (TCSlice &slc, Trajectory &tj) |
void | GottaKink (TCSlice &slc, Trajectory &tj, unsigned short &killPts) |
void | FixTrajBegin (TCSlice &slc, Trajectory &tj) |
void | FixTrajBegin (TCSlice &slc, Trajectory &tj, unsigned short atPt) |
void | FixTrajEnd (TCSlice &slc, Trajectory &tj, unsigned short atPt) |
bool | IsGhost (TCSlice &slc, Trajectory &tj) |
bool | IsGhost (TCSlice &slc, std::vector< unsigned int > &tHits) |
void | EndMerge (TCSlice &slc, CTP_t inCTP, bool lastPass) |
void | MaskTrajEndPoints (TCSlice &slc, Trajectory &tj, unsigned short nPts) |
void | ChkStop (TCSlice &slc, Trajectory &tj) |
bool | ChkMichel (TCSlice &slc, Trajectory &tj, unsigned short &lastGoodPt) |
void | ChkHiChgHits (TCSlice &slc, CTP_t inCTP) |
void | SplitHiChgHits (TCSlice &slc, Trajectory &tj) |
bool | MakeJunkTraj (TCSlice &slc, std::vector< unsigned int > tHits) |
void | SaveCRInfo (TCSlice &slc, PFPStruct &pfp, bool prt, bool fIsRealData) |
int | GetOrigin (TCSlice &slc, PFPStruct &pfp) |
void | ClearCRInfo (TCSlice &slc) |
void | ConfigureMVA (TCConfig &tcc, std::string fMVAShowerParentWeights) |
bool | FindShowerStart (TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
void | Finish3DShowers (TCSlice &slc) |
bool | FindShowers3D (TCSlice &slc) |
bool | Reconcile3D (std::string inFcnLabel, TCSlice &slc, bool parentSearchDone, bool prt) |
bool | Reconcile3D (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
void | KillVerticesInShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt) |
bool | CompleteIncompleteShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
void | Match2DShowers (std::string inFcnLabel, TCSlice &slc, bool prt) |
bool | UpdateShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt) |
bool | UpdateShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
float | Match3DFOM (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
float | Match3DFOM (std::string inFcnLabel, TCSlice &slc, int icid, int jcid, int kcid, bool prt) |
float | Match3DFOM (std::string inFcnLabel, TCSlice &slc, int icid, int jcid, bool prt) |
void | MergeTjList (std::vector< std::vector< int >> &tjList) |
bool | RemovePFP (std::string inFcnLabel, TCSlice &slc, PFPStruct &pfp, ShowerStruct3D &ss3, bool doUpdate, bool prt) |
bool | AddPFP (std::string inFcnLabel, TCSlice &slc, int pID, ShowerStruct3D &ss3, bool doUpdate, bool prt) |
bool | AddTj (std::string inFcnLabel, TCSlice &slc, int tjID, ShowerStruct &ss, bool doUpdate, bool prt) |
bool | RemoveTj (std::string inFcnLabel, TCSlice &slc, int TjID, ShowerStruct &ss, bool doUpdate, bool prt) |
bool | FindParent (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
bool | SetParent (std::string inFcnLabel, TCSlice &slc, PFPStruct &pfp, ShowerStruct3D &ss3, bool prt) |
PFPStruct | CreateFakePFP (TCSlice &slc, const ShowerStruct3D &ss3) |
bool | IsShowerLike (TCSlice &slc, const std::vector< int > TjIDs) |
void | ShowerParams (double showerEnergy, double &shMaxAlong, double &along95) |
double | ShowerParamTransRMS (double showerEnergy, double along) |
double | InShowerProbLong (double showerEnergy, double along) |
double | InShowerProbTrans (double showerEnergy, double along, double trans) |
double | InShowerProbParam (double showerEnergy, double along, double trans) |
float | InShowerProb (TCSlice &slc, const ShowerStruct3D &ss3, const PFPStruct &pfp) |
float | InShowerProb (TCSlice &slc, const ShowerStruct &ss, const Trajectory &tj) |
float | ParentFOM (std::string inFcnLabel, TCSlice &slc, PFPStruct &pfp, unsigned short pend, ShowerStruct3D &ss3, bool prt) |
float | ParentFOM (std::string inFcnLabel, TCSlice &slc, Trajectory &tj, unsigned short &tjEnd, ShowerStruct &ss, float &tp1Sep, float &vx2Score, bool prt) |
bool | WrongSplitTj (std::string inFcnLabel, TCSlice &slc, Trajectory &tj, unsigned short tjEnd, ShowerStruct &ss, bool prt) |
void | MergeNearby2DShowers (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, bool prt) |
void | MergeOverlap (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, bool prt) |
void | MergeShowerChain (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, bool prt) |
void | MergeSubShowersTj (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, bool prt) |
void | MergeSubShowers (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, bool prt) |
int | MergeShowers (std::string inFcnLabel, TCSlice &slc, std::vector< int > ssIDs, bool prt) |
bool | MergeShowersAndStore (std::string inFcnLabel, TCSlice &slc, int icotID, int jcotID, bool prt) |
bool | MergeShowerTjsAndStore (TCSlice &slc, unsigned short istj, unsigned short jstj, bool prt) |
bool | AnalyzeRotPos (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt) |
void | ReverseShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt) |
void | ReverseShower (std::string inFcnLabel, TCSlice &slc, int cotID, bool prt) |
void | MakeShowerObsolete (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
void | MakeShowerObsolete (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt) |
bool | DontCluster (TCSlice &slc, const std::vector< int > &tjlist1, const std::vector< int > &tjlist2) |
void | DefineDontCluster (TCSlice &slc, bool prt) |
void | FindCots (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, std::vector< std::vector< int >> &tjLists, bool prt) |
void | TagShowerLike (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP) |
void | FindNearbyTjs (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt) |
void | AddCloseTjsToList (TCSlice &slc, unsigned short itj, std::vector< int > list) |
void | DefineEnvelope (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt) |
bool | AddTjsInsideEnvelope (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt) |
bool | AddLooseHits (TCSlice &slc, int cotID, bool prt) |
void | FindStartChg (std::string inFcnLabel, TCSlice &slc, int cotID, bool prt) |
std::vector< float > | StartChgVec (TCSlice &slc, int cotID, bool prt) |
void | DumpShowerPts (TCSlice &slc, int cotID) |
bool | TransferTjHits (TCSlice &slc, bool prt) |
int | GetCotID (TCSlice &slc, int ShowerTjID) |
double | ShowerEnergy (const ShowerStruct3D &ss3) |
float | ShowerEnergy (TCSlice &slc, const std::vector< int > tjIDs) |
float | ChgToMeV (float chg) |
bool | StoreShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3) |
bool | StoreShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss) |
ShowerStruct3D | CreateSS3 (TCSlice &slc) |
ShowerStruct | CreateSS (TCSlice &slc, const std::vector< int > &tjl) |
bool | ChkAssns (std::string inFcnLabel, TCSlice &slc) |
void | PrintShowers (std::string fcnLabel, TCSlice &slc) |
void | Print2DShowers (std::string someText, TCSlice &slc, CTP_t inCTP, bool printKilledShowers) |
void | PrintShower (std::string someText, TCSlice &slc, const ShowerStruct &ss, bool printHeader, bool printExtras) |
bool | RemovePFP (std::string inFcnLabel, TCSlice &slc, int pID, ShowerStruct3D &ss3, bool doUpdate, bool prt) |
double | InShowerProb (double showerEnergy, double along, double trans) |
bool | AddLooseHits (std::string inFcnLabel, TCSlice &slc, int cotID, bool prt) |
void | DumpShowerPts (std::string inFcnLabel, TCSlice &slc, int cotID) |
void | AddCloseTjsToList (std::string inFcnLabel, TCSlice &slc, unsigned short itj, std::vector< int > list) |
void | MergeTjList2 (std::string inFcnLabel, TCSlice &slc, std::vector< std::vector< int >> &tjList, bool prt) |
void | SaveTjInfo (TCSlice &slc, std::vector< std::vector< int >> &tjList, std::string stageName) |
void | SaveTjInfo (TCSlice &slc, const ShowerStruct &ss, std::string stageName) |
void | SaveTjInfoStuff (TCSlice &slc, Trajectory &tj, int stageNum, std::string stageName) |
void | SaveAllCots (TCSlice &slc, const CTP_t &inCTP, std::string someText) |
void | SaveAllCots (TCSlice &slc, std::string someText) |
int | GetStageNum (ShowerTreeVars &stv, std::string stageName) |
void | ClearShowerTree (ShowerTreeVars &stv) |
bool | valDecreasing (SortEntry c1, SortEntry c2) |
bool | valIncreasing (SortEntry c1, SortEntry c2) |
void | MakeJunkVertices (TCSlice &slc, const CTP_t &inCTP) |
void | Find2DVertices (TCSlice &slc, const CTP_t &inCTP, unsigned short pass) |
void | FindVtxTjs (TCSlice &slc, VtxStore &vx2) |
void | FindNeutralVertices (TCSlice &slc) |
bool | MergeWithVertex (TCSlice &slc, VtxStore &vx, unsigned short oVxID) |
void | ChkVxTjs (TCSlice &slc, const CTP_t &inCTP, bool prt) |
void | FindHammerVertices2 (TCSlice &slc, const CTP_t &inCTP) |
void | FindHammerVertices (TCSlice &slc, const CTP_t &inCTP) |
void | SplitTrajCrossingVertices (TCSlice &slc, CTP_t inCTP) |
void | Find3DVertices (TCSlice &slc) |
void | Match3DVtxTjs (TCSlice &slc, bool prt) |
unsigned short | TPNearVertex (TCSlice &slc, const TrajPoint &tp) |
bool | AttachPFPToVertex (TCSlice &slc, PFPStruct &pfp, unsigned short end, unsigned short vx3ID, bool prt) |
bool | AttachAnyTrajToVertex (TCSlice &slc, unsigned short ivx, bool prt) |
bool | AttachTrajToVertex (TCSlice &slc, Trajectory &tj, VtxStore &vx, bool prt) |
float | TrajPointVertexPull (TCSlice &slc, const TrajPoint &tp, const VtxStore &vx) |
float | VertexVertexPull (TCSlice &slc, const Vtx3Store &vx1, const Vtx3Store &vx2) |
float | VertexVertexPull (TCSlice &slc, const VtxStore &vx1, const VtxStore &vx2) |
bool | StoreVertex (TCSlice &slc, VtxStore &vx) |
bool | FitVertex (TCSlice &slc, VtxStore &vx, bool prt) |
bool | FitVertex (TCSlice &slc, VtxStore &vx, std::vector< TrajPoint > vxTp, bool prt) |
bool | ChkVtxAssociations (TCSlice &slc, const CTP_t &inCTP) |
void | ScoreVertices (TCSlice &slc) |
void | KillPoorVertices (TCSlice &slc) |
void | SetHighScoreBits (TCSlice &slc, Vtx3Store &vx3) |
void | SetVx3Score (TCSlice &slc, Vtx3Store &vx3) |
void | SetVx2Score (TCSlice &slc) |
void | SetVx2Score (TCSlice &slc, VtxStore &vx2) |
unsigned short | Vx3Topo (TCSlice &slc, Vtx3Store &vx3) |
void | CompleteIncomplete3DVerticesInGaps (TCSlice &slc) |
void | CompleteIncomplete3DVertices (TCSlice &slc) |
void | VtxHitsSwap (TCSlice &slc, const CTP_t inCTP) |
bool | MakeVertexObsolete (std::string fcnLabel, TCSlice &slc, VtxStore &vx2, bool forceKill) |
bool | MakeVertexObsolete (TCSlice &slc, Vtx3Store &vx3) |
std::vector< int > | GetVtxTjIDs (const TCSlice &slc, const VtxStore &vx2) |
std::vector< int > | GetVtxTjIDs (const TCSlice &slc, const Vtx3Store &vx3, float &score) |
std::vector< unsigned short > | GetPFPVertices (const TCSlice &slc, const PFPStruct &pfp) |
void | PosInPlane (const TCSlice &slc, const Vtx3Store &vx3, unsigned short plane, Point2_t &pos) |
unsigned short | IsCloseToVertex (TCSlice &slc, VtxStore &inVx2) |
unsigned short | IsCloseToVertex (TCSlice &slc, Vtx3Store &vx3) |
void | MakeJunkTjVertices (TCSlice &slc, const CTP_t &inCTP) |
void | MakeHaloTj (TCSlice &slc, Trajectory &muTj, bool prt) |
void | DefineTjParents (TCSlice &slc, bool prt) |
float | MaxChargeAsymmetry (TCSlice &slc, std::vector< int > &tjIDs) |
int | PDGCodeVote (TCSlice &slc, std::vector< int > &tjIDs, bool prt) |
unsigned short | NumDeltaRays (TCSlice &slc, const Trajectory &tj) |
unsigned short | NumDeltaRays (TCSlice &slc, std::vector< int > &tjIDs) |
int | NeutrinoPrimaryTjID (TCSlice &slc, const Trajectory &tj) |
int | PrimaryID (TCSlice &slc, const Trajectory &tj) |
int | PrimaryUID (TCSlice &slc, const PFPStruct &pfp) |
bool | MergeTjIntoPFP (TCSlice &slc, int mtjid, PFPStruct &pfp, bool prt) |
bool | CompatibleMerge (TCSlice &slc, std::vector< int > &tjIDs, bool prt) |
bool | CompatibleMerge (TCSlice &slc, const Trajectory &tj1, const Trajectory &tj2, bool prt) |
float | OverlapFraction (TCSlice &slc, const Trajectory &tj1, const Trajectory &tj2) |
unsigned short | AngleRange (TrajPoint const &tp) |
void | SetAngleCode (TrajPoint &tp) |
unsigned short | AngleRange (float angle) |
void | FitTraj (TCSlice &slc, Trajectory &tj) |
void | FitTraj (TCSlice &slc, Trajectory &tj, unsigned short originPt, unsigned short npts, short fitDir, TrajPoint &tpFit) |
float | TjDirFOM (TCSlice &slc, const Trajectory &tj, bool prt) |
void | Reverse3DMatchTjs (TCSlice &slc, PFPStruct &pfp, bool prt) |
unsigned short | GetPFPIndex (TCSlice &slc, int tjID) |
unsigned short | MatchVecIndex (TCSlice &slc, int tjID) |
void | ReleaseHits (TCSlice &slc, Trajectory &tj) |
void | UnsetUsedHits (TCSlice &slc, TrajPoint &tp) |
bool | StoreTraj (TCSlice &slc, Trajectory &tj) |
void | ChgSlope (TCSlice &slc, Trajectory &tj, float &slope, float &slopeErr, float &chiDOF) |
void | ChgSlope (TCSlice &slc, Trajectory &tj, unsigned short fromPt, unsigned short toPt, float &slope, float &slopeErr, float &chiDOF) |
bool | InTrajOK (TCSlice &slc, std::string someText) |
void | CheckTrajBeginChg (TCSlice &slc, unsigned short itj) |
void | TrimEndPts (std::string fcnLabel, TCSlice &slc, Trajectory &tj, const std::vector< float > &fQualityCuts, bool prt) |
void | ChkChgAsymmetry (TCSlice &slc, Trajectory &tj, bool prt) |
bool | SignalBetween (TCSlice &slc, const TrajPoint &tp1, const TrajPoint &tp2, const float &MinWireSignalFraction) |
bool | SignalBetween (TCSlice &slc, TrajPoint tp, float toPos0, const float &MinWireSignalFraction) |
float | ChgFracBetween (TCSlice &slc, TrajPoint tp, float toPos0) |
bool | TrajHitsOK (TCSlice &slc, const std::vector< unsigned int > &iHitsInMultiplet, const std::vector< unsigned int > &jHitsInMultiplet) |
bool | TrajHitsOK (TCSlice &slc, const unsigned int iht, const unsigned int jht) |
float | ExpectedHitsRMS (TCSlice &slc, const TrajPoint &tp) |
bool | SignalAtTp (TCSlice &slc, const TrajPoint &tp) |
float | TpSumHitChg (TCSlice &slc, TrajPoint const &tp) |
unsigned short | NumPtsWithCharge (TCSlice &slc, const Trajectory &tj, bool includeDeadWires) |
unsigned short | NumPtsWithCharge (TCSlice &slc, const Trajectory &tj, bool includeDeadWires, unsigned short firstPt, unsigned short lastPt) |
float | DeadWireCount (TCSlice &slc, const TrajPoint &tp1, const TrajPoint &tp2) |
float | DeadWireCount (TCSlice &slc, const float &inWirePos1, const float &inWirePos2, CTP_t tCTP) |
unsigned short | PDGCodeIndex (int PDGCode) |
void | MakeTrajectoryObsolete (TCSlice &slc, unsigned int itj) |
void | RestoreObsoleteTrajectory (TCSlice &slc, unsigned int itj) |
void | MergeGhostTjs (TCSlice &slc, CTP_t inCTP) |
bool | SplitTraj (TCSlice &slc, unsigned short itj, float XPos, bool makeVx2, bool prt) |
bool | SplitTraj (TCSlice &slc, unsigned short itj, unsigned short pos, unsigned short ivx, bool prt) |
void | TrajPointTrajDOCA (TCSlice &slc, TrajPoint const &tp, Trajectory const &tj, unsigned short &closePt, float &minSep) |
bool | TrajTrajDOCA (TCSlice &slc, const Trajectory &tj1, const Trajectory &tj2, unsigned short &ipt1, unsigned short &ipt2, float &minSep) |
bool | TrajTrajDOCA (TCSlice &slc, const Trajectory &tj1, const Trajectory &tj2, unsigned short &ipt1, unsigned short &ipt2, float &minSep, bool considerDeadWires) |
float | HitSep2 (TCSlice &slc, unsigned int iht, unsigned int jht) |
unsigned short | CloseEnd (TCSlice &slc, const Trajectory &tj, const Point2_t &pos) |
float | PointTrajSep2 (float wire, float time, TrajPoint const &tp) |
float | PointTrajDOCA (TCSlice &slc, unsigned int iht, TrajPoint const &tp) |
float | PointTrajDOCA (TCSlice &slc, float wire, float time, TrajPoint const &tp) |
float | PointTrajDOCA2 (TCSlice &slc, float wire, float time, TrajPoint const &tp) |
void | TrajIntersection (TrajPoint const &tp1, TrajPoint const &tp2, Point2_t &pos) |
void | TrajIntersection (TrajPoint const &tp1, TrajPoint const &tp2, float &x, float &y) |
float | MaxTjLen (TCSlice &slc, std::vector< int > &tjIDs) |
float | TrajLength (Trajectory &tj) |
float | PosSep (const Point2_t &pos1, const Point2_t &pos2) |
float | PosSep2 (const Point2_t &pos1, const Point2_t &pos2) |
float | TrajPointSeparation (TrajPoint &tp1, TrajPoint &tp2) |
bool | TrajClosestApproach (Trajectory const &tj, float x, float y, unsigned short &closePt, float &DOCA) |
float | TwoTPAngle (TrajPoint &tp1, TrajPoint &tp2) |
std::vector< unsigned int > | PutTrajHitsInVector (Trajectory const &tj, HitStatus_t hitRequest) |
void | TagJunkTj (TCSlice &slc, Trajectory &tj, bool prt) |
bool | HasDuplicateHits (TCSlice &slc, Trajectory const &tj, bool prt) |
void | MoveTPToWire (TrajPoint &tp, float wire) |
std::vector< unsigned int > | FindCloseHits (TCSlice &slc, std::array< int, 2 > const &wireWindow, Point2_t const &timeWindow, const unsigned short plane, HitStatus_t hitRequest, bool usePeakTime, bool &hitsNear) |
bool | FindCloseHits (TCSlice &slc, TrajPoint &tp, float const &maxDelta, HitStatus_t hitRequest) |
std::vector< int > | FindCloseTjs (TCSlice &slc, const TrajPoint &fromTp, const TrajPoint &toTp, const float &maxDelta) |
float | ElectronLikelihood (TCSlice &slc, Trajectory &tj, float &asym) |
float | ChgFracNearPos (TCSlice &slc, const Point2_t &pos, const std::vector< int > &tjIDs) |
float | MaxHitDelta (TCSlice &slc, Trajectory &tj) |
void | ReverseTraj (TCSlice &slc, Trajectory &tj) |
bool | PointInsideEnvelope (const Point2_t &Point, const std::vector< Point2_t > &Envelope) |
bool | SetMag (Vector2_t &v1, double mag) |
void | FindAlongTrans (Point2_t pos1, Vector2_t dir1, Point2_t pos2, Point2_t &alongTrans) |
double | DeltaAngle (const Point2_t &p1, const Point2_t &p2) |
double | DeltaAngle2 (double Ang1, double Ang2) |
double | DeltaAngle (double Ang1, double Ang2) |
void | SetEndPoints (Trajectory &tj) |
bool | TrajIsClean (TCSlice &slc, Trajectory &tj, bool prt) |
short | MCSMom (TCSlice &slc, const std::vector< int > &tjIDs) |
short | MCSMom (TCSlice &slc, Trajectory &tj) |
short | MCSMom (TCSlice &slc, Trajectory &tj, unsigned short firstPt, unsigned short lastPt) |
unsigned short | NearestPtWithChg (TCSlice &slc, Trajectory &tj, unsigned short thePt) |
float | MCSThetaRMS (TCSlice &slc, Trajectory &tj) |
double | MCSThetaRMS (TCSlice &slc, Trajectory &tj, unsigned short firstPt, unsigned short lastPt) |
void | TjDeltaRMS (TCSlice &slc, Trajectory &tj, unsigned short firstPt, unsigned short lastPt, double &rms, unsigned short &cnt) |
void | TagDeltaRays (TCSlice &slc, const CTP_t &inCTP) |
void | UpdateTjChgProperties (std::string inFcnLabel, TCSlice &slc, Trajectory &tj, bool prt) |
void | UpdateVxEnvironment (std::string inFcnLabel, TCSlice &slc, VtxStore &vx2, bool prt) |
TrajPoint | MakeBareTP (TCSlice &slc, Point3_t &pos, Vector3_t &dir, CTP_t inCTP) |
bool | MakeBareTrajPoint (TCSlice &slc, unsigned int fromHit, unsigned int toHit, TrajPoint &tp) |
bool | MakeBareTrajPoint (TCSlice &slc, float fromWire, float fromTick, float toWire, float toTick, CTP_t tCTP, TrajPoint &tp) |
bool | MakeBareTrajPoint (const Point2_t &fromPos, const Point2_t &toPos, TrajPoint &tpOut) |
bool | MakeBareTrajPoint (TCSlice &slc, const TrajPoint &tpIn1, const TrajPoint &tpIn2, TrajPoint &tpOut) |
unsigned short | FarEnd (TCSlice &slc, const Trajectory &tj, const Point2_t &pos) |
Vector2_t | PointDirection (const Point2_t p1, const Point2_t p2) |
float | TPHitsRMSTime (TCSlice &slc, TrajPoint &tp, HitStatus_t hitRequest) |
float | TPHitsRMSTick (TCSlice &slc, TrajPoint &tp, HitStatus_t hitRequest) |
float | HitsRMSTime (TCSlice &slc, const std::vector< unsigned int > &hitsInMultiplet, HitStatus_t hitRequest) |
float | HitsRMSTick (TCSlice &slc, const std::vector< unsigned int > &hitsInMultiplet, HitStatus_t hitRequest) |
float | HitsPosTime (TCSlice &slc, const std::vector< unsigned int > &hitsInMultiplet, float &sum, HitStatus_t hitRequest) |
float | HitsPosTick (TCSlice &slc, const std::vector< unsigned int > &hitsInMultiplet, float &sum, HitStatus_t hitRequest) |
unsigned short | NumUsedHitsInTj (TCSlice &slc, const Trajectory &tj) |
unsigned short | NumHitsInTP (const TrajPoint &tp, HitStatus_t hitRequest) |
void | SetPDGCode (TCSlice &slc, unsigned short itj, bool tjDone) |
void | SetPDGCode (TCSlice &slc, Trajectory &tj, bool tjDone) |
bool | AnalyzeHits () |
bool | LongPulseHit (const recob::Hit &hit) |
bool | FillWireHitRange (TCSlice &slc) |
bool | WireHitRangeOK (TCSlice &slc, const CTP_t &inCTP) |
bool | MergeAndStore (TCSlice &slc, unsigned int itj1, unsigned int itj2, bool doPrt) |
std::vector< int > | GetAssns (TCSlice &slc, std::string type1Name, int id, std::string type2Name) |
bool | StartTraj (TCSlice &slc, Trajectory &tj, unsigned int fromhit, unsigned int tohit, unsigned short pass) |
bool | StartTraj (TCSlice &slc, Trajectory &tj, float fromWire, float fromTick, float toWire, float toTick, CTP_t &tCTP, unsigned short pass) |
std::pair< unsigned short, unsigned short > | GetSliceIndex (std::string typeName, int uID) |
bool | Fit2D (short mode, Point2_t inPt, float &inPtErr, Vector2_t &outVec, Vector2_t &outVecErr, float &chiDOF) |
bool | DecodeDebugString (std::string strng) |
void | DumpTj () |
void | PrintAll (std::string someText, const std::vector< simb::MCParticle * > &mcpList) |
void | PrintP (std::string someText, mf::LogVerbatim &myprt, PFPStruct &pfp, bool &printHeader) |
void | Print3V (std::string someText, mf::LogVerbatim &myprt, Vtx3Store &vx3) |
void | Print2V (std::string someText, mf::LogVerbatim &myprt, VtxStore &vx2) |
void | Print3S (std::string someText, mf::LogVerbatim &myprt, ShowerStruct3D &ss3) |
void | PrintT (std::string someText, mf::LogVerbatim &myprt, Trajectory &tj, bool &printHeader) |
void | PrintAllTraj (std::string someText, TCSlice &slc, unsigned short itj, unsigned short ipt, bool prtVtx) |
void | PrintTrajectory (std::string someText, TCSlice &slc, const Trajectory &tj, unsigned short tPoint) |
void | PrintHeader (std::string someText) |
void | PrintTrajPoint (std::string someText, TCSlice &slc, unsigned short ipt, short dir, unsigned short pass, TrajPoint const &tp) |
void | PrintPFP (std::string someText, TCSlice &slc, const PFPStruct &pfp, bool printHeader) |
void | PrintPFPs (std::string someText, TCSlice &slc) |
std::string | PrintStopFlag (const Trajectory &tj, unsigned short end) |
std::string | PrintHitShort (const TCHit &tch) |
std::string | PrintHit (const TCHit &tch) |
std::string | PrintPos (TCSlice &slc, const TrajPoint &tp) |
std::string | PrintPos (TCSlice &slc, const Point2_t &pos) |
bool | SignalAtTp (TCSlice &slc, TrajPoint const &tp) |
double | DotProd (const Vector2_t &v1, const Vector2_t &v2) |
template<typename T > | |
std::vector< T > | SetIntersection (const std::vector< T > &set1, const std::vector< T > &set2) |
template<typename T > | |
std::vector< T > | SetDifference (const std::vector< T > &set1, const std::vector< T > &set2) |
void | PrintClusters () |
Variables | |
constexpr unsigned int | Tpad = 10 |
constexpr unsigned int | Cpad = 10000 |
DebugStuff | debug |
Bruce Baller, balle Citation: Liquid argon TPC signal formation, signal processing and reconstruction techniques B. Baller 2017 JINST 12 P07010 r@fn al.go v
typedef unsigned int tca::CTP_t |
Definition at line 41 of file DataStructs.h.
using tca::Point2_t = typedef std::array<float, 2> |
Definition at line 37 of file DataStructs.h.
using tca::Point3_t = typedef std::array<double, 3> |
Definition at line 35 of file DataStructs.h.
using tca::Vector2_t = typedef std::array<double, 2> |
Definition at line 38 of file DataStructs.h.
using tca::Vector3_t = typedef std::array<double, 3> |
Definition at line 36 of file DataStructs.h.
enum tca::AlgBit_t |
Definition at line 346 of file DataStructs.h.
enum tca::HitStatus_t |
Enumerator | |
---|---|
kAllHits | |
kUsedHits | |
kUnusedHits |
enum tca::StopFlag_t |
Enumerator | |
---|---|
kSignal | |
kAtKink | |
kAtVtx | |
kBragg | |
kAtTj | |
kOutFV | |
kFlagBitSize |
don't mess with this line |
Definition at line 424 of file DataStructs.h.
enum tca::Strategy_t |
Enumerator | |
---|---|
kNormal | |
kStiffEl |
use the stiff electron strategy |
kStiffMu |
use the stiff muon strategy |
kSlowing |
use the slowing-down strategy |
Definition at line 416 of file DataStructs.h.
enum tca::TCModes_t |
Enumerator | |
---|---|
kStepDir |
step from US -> DS (true) or DS -> US (false) |
kTestBeam |
Expect tracks entering from the front face. Don't create neutrino PFParticles. |
kDebug |
master switch for turning on debug mode |
kStudy1 |
call study functions to develop cuts, etc (see TCTruth.cxx) |
kStudy2 |
call study functions to develop cuts, etc |
kStudy3 |
call study functions to develop cuts, etc |
kStudy4 |
call study functions to develop cuts, etc |
kSaveCRTree |
save cosmic ray tree |
kTagCosmics |
tag cosmic rays |
kSaveShowerTree |
save shower tree |
Definition at line 446 of file DataStructs.h.
enum tca::TPEnvironment_t |
Enumerator | |
---|---|
kEnvDeadWire | |
kEnvNearTj | |
kEnvNearShower | |
kEnvOverlap | |
kEnvUnusedHits | |
kEnvClean |
the charge fraction is small near this point |
kEnvFlag |
a general purpose flag bit used in 3D matching |
Definition at line 435 of file DataStructs.h.
enum tca::VtxBit_t |
Definition at line 72 of file DataStructs.h.
void tca::AddCloseTjsToList | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
unsigned short | itj, | ||
std::vector< int > | list | ||
) |
void tca::AddCloseTjsToList | ( | TCSlice & | slc, |
unsigned short | itj, | ||
std::vector< int > | list | ||
) |
Definition at line 3840 of file TCShower.cxx.
References tca::Trajectory::MCSMom, tca::TCConfig::showerTag, tca::TCSlice::slHits, tcc, and tca::TCSlice::tjs.
void tca::AddHits | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | ipt, | ||
bool & | sigOK | ||
) |
Definition at line 1091 of file StepUtils.cxx.
References AddLAHits(), tca::Trajectory::AlgMod, tca::TCEvent::allHits, tca::Trajectory::CTP, tca::TCConfig::dbgStp, DeadWireCount(), DecodeCTP(), DefineHitPos(), tca::TrajPoint::Delta, tca::TrajPoint::DeltaRMS, tca::TrajPoint::Dir, tca::Trajectory::EndPt, evt, ExpectedHitsRMS(), FindUseHits(), tca::TCSlice::firstWire, GetHitMultiplet(), tca::TrajPoint::Hits, tca::Trajectory::ID, kAtTj, kNewStpCuts, kRvPrp, kSlowing, kStiffEl, kStopAtTj, kUsedHits, tca::TCSlice::lastWire, LongPulseHit(), MoveTPToWire(), NumHitsInTP(), geo::PlaneID::Plane, PointTrajDOCA(), tca::TrajPoint::Pos, PrintHit(), tca::TCConfig::projectionErrFactor, tca::Trajectory::Pts, SetEndPoints(), tca::TCSlice::slHits, tca::Trajectory::StopFlag, tca::Trajectory::Strategy, tcc, tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, tca::TrajPoint::UseHit, and tca::TCSlice::wireHitRange.
Referenced by cluster::ClusterAndHitMerger::Add(), tca::TrajClusterAlg::ReconstructAllTraj(), and StepAway().
void tca::AddLAHits | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | ipt, | ||
bool & | sigOK | ||
) |
Definition at line 1277 of file StepUtils.cxx.
References tca::TrajPoint::Ang, tca::TrajPoint::AngleCode, tca::Trajectory::CTP, tca::TCConfig::dbgStp, DecodeCTP(), DefineHitPos(), DeltaAngle(), tca::TrajPoint::Dir, FindCloseHits(), tca::TrajPoint::Hits, tca::Trajectory::ID, kAllHits, kAtTj, kStopAtTj, tca::TCSlice::lastWire, geo::PlaneID::Plane, tca::TrajPoint::Pos, PrintHit(), PrintPos(), tca::Trajectory::Pts, PutTrajHitsInVector(), SetEndPoints(), tca::TCSlice::slHits, tca::Trajectory::StopFlag, tcc, tca::TCSlice::tjs, tca::TCConfig::unitsPerTick, UpdateTjChgProperties(), tca::TCConfig::useAlg, tca::TrajPoint::UseHit, tca::TCConfig::VLAStepSize, and tca::TCSlice::wireHitRange.
Referenced by AddHits().
bool tca::AddLooseHits | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | cotID, | ||
bool | prt | ||
) |
bool tca::AddLooseHits | ( | TCSlice & | slc, |
int | cotID, | ||
bool | prt | ||
) |
Definition at line 4002 of file TCShower.cxx.
References tca::TCEvent::allHits, tca::TCSlice::cots, tca::ShowerStruct::CTP, DecodeCTP(), tca::ShowerStruct::Envelope, evt, tca::TrajPoint::Hits, tca::Trajectory::ID, tca::ShowerStruct::ID, tca::TCSlice::lastWire, geo::PlaneID::Plane, PointInsideEnvelope(), tca::Trajectory::Pts, tca::ShowerStruct::ShowerTjID, tca::TCSlice::slHits, ss, tcc, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, tca::TCConfig::unitsPerTick, and tca::TCSlice::wireHitRange.
bool tca::AddMissedTj | ( | TCSlice & | slc, |
PFPStruct & | pfp, | ||
unsigned short | itj, | ||
bool | looseCuts, | ||
bool | prt | ||
) |
Definition at line 1159 of file PFPUtils.cxx.
References tca::PFPStruct::ID, tca::TCSlice::matchVec, PFPVxTjOK(), SetIntersection(), tca::PFPStruct::TjCompleteness, and tca::PFPStruct::TjIDs.
bool tca::AddPFP | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | pID, | ||
ShowerStruct3D & | ss3, | ||
bool | doUpdate, | ||
bool | prt | ||
) |
Definition at line 1498 of file TCShower.cxx.
References AddTj(), tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, tca::ShowerStruct3D::ID, tca::ShowerStruct3D::NeedsUpdate, tca::TCSlice::pfps, ss, tca::TCSlice::tjs, tca::ShowerStruct3D::TPCID, and UpdateShower().
Referenced by Reconcile3D().
bool tca::AddTj | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | tjID, | ||
ShowerStruct & | ss, | ||
bool | doUpdate, | ||
bool | prt | ||
) |
Definition at line 1552 of file TCShower.cxx.
References tca::TCEvent::allHits, tca::TrajPoint::Chg, tca::Trajectory::CTP, tca::ShowerStruct::CTP, tca::Trajectory::EndPt, evt, tca::TrajPoint::Hits, tca::Trajectory::ID, tca::ShowerStruct::ID, tca::ShowerStruct::NearTjIDs, tca::ShowerStruct::NeedsUpdate, tca::Trajectory::Pts, tca::ShowerStruct::ShPts, tca::TCSlice::slHits, tca::Trajectory::SSID, tcc, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, tca::TCConfig::unitsPerTick, UpdateShower(), and tca::TrajPoint::UseHit.
Referenced by AddPFP(), AddTjsInsideEnvelope(), MergeNearby2DShowers(), MergeSubShowersTj(), and SetParent().
bool tca::AddTjsInsideEnvelope | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3929 of file TCShower.cxx.
References AddTj(), tca::ShowerStruct::AngleErr, tca::ShowerStruct::CTP, DontCluster(), tca::ShowerStruct::Envelope, tca::ShowerStruct::ID, tca::TCSlice::ID, kKilled, kShowerTj, tca::ShowerStruct::NeedsUpdate, NeutrinoPrimaryTjID(), tca::ShowerStruct::ParentID, PointInsideEnvelope(), tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, tmp, and UpdateShower().
Referenced by FindShowers3D().
bool tca::AnalyzeHits | ( | ) |
Definition at line 3877 of file Utils.cxx.
References tca::TCEvent::allHits, tca::TCEvent::aveHitRMS, tca::TCEvent::aveHitRMSValid, evt, tca::TCConfig::geom, kDebug, tca::TCConfig::modes, geo::GeometryCore::Nplanes(), and tcc.
Referenced by DotProd(), and tca::TrajClusterAlg::SetInputHits().
Definition at line 2421 of file PFPUtils.cxx.
References DefinePFP(), tca::PFPStruct::ID, kMat3D, tca::PFPStruct::NeedsUpdate, NumPtsWithCharge(), tca::PFPStruct::PDGCode, PFPVxTjOK(), tca::PFPStruct::TjCompleteness, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, and tca::PFPStruct::Tp3s.
Referenced by DotProd(), FindPFParticles(), and Match3DVtxTjs().
bool tca::AnalyzeRotPos | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3102 of file TCShower.cxx.
References tca::ShowerStruct::DirectionFOM, tca::ShowerStruct::ID, tca::Trajectory::Pts, tca::ShowerStruct::ShowerTjID, tca::ShowerStruct::ShPts, and tca::TCSlice::tjs.
Referenced by UpdateShower().
unsigned short tca::AngleRange | ( | TrajPoint const & | tp | ) |
Definition at line 716 of file Utils.cxx.
References tca::TrajPoint::Ang, and AngleRange().
Referenced by CheckHiMultUnusedHits().
unsigned short tca::AngleRange | ( | float | angle | ) |
Definition at line 739 of file Utils.cxx.
References tca::TCConfig::angleRanges, and tcc.
Referenced by AngleRange(), FitTraj(), and SetAngleCode().
Referenced by evd::RecoBaseDrawer::Slice2D().
bool tca::AttachAnyTrajToVertex | ( | TCSlice & | slc, |
unsigned short | ivx, | ||
bool | prt | ||
) |
Definition at line 1868 of file TCVertex.cxx.
References AttachTrajToVertex(), tca::VtxStore::CTP, tca::VtxStore::ID, kHaloTj, kKilled, tcc, tca::TCSlice::tjs, tca::VtxStore::Topo, tca::TCConfig::vtx2DCuts, and tca::TCSlice::vtxs.
Referenced by CompleteIncomplete3DVertices(), Find2DVertices(), FindHammerVertices2(), tca::TrajClusterAlg::ReconstructAllTraj(), and Split3DKink().
bool tca::AttachPFPToVertex | ( | TCSlice & | slc, |
PFPStruct & | pfp, | ||
unsigned short | end, | ||
unsigned short | vx3ID, | ||
bool | prt | ||
) |
Definition at line 1830 of file TCVertex.cxx.
References DecodeCTP(), evd::details::end(), tca::PFPStruct::ID, tca::PFPStruct::PDGCode, tca::TCSlice::pfps, geo::PlaneID::Plane, PosInPlane(), tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tca::TCSlice::vtx3s, and tca::PFPStruct::Vx3ID.
bool tca::AttachTrajToVertex | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
VtxStore & | vx, | ||
bool | prt | ||
) |
Definition at line 1893 of file TCVertex.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::ChgRMS, tca::VtxStore::CTP, tca::Trajectory::CTP, evd::details::end(), tca::Trajectory::EndPt, FitVertex(), tca::VtxStore::ID, tca::Trajectory::ID, kFixed, kHaloTj, kKilled, kNewVtxCuts, kNoFitToVx, kPhoton, tca::VtxStore::NTraj, tca::VtxStore::Pos, PosSep2(), tca::Trajectory::Pts, SetVx2Score(), SignalBetween(), tca::VtxStore::Stat, tcc, tca::TCSlice::tjs, TrajClosestApproach(), TrajLength(), TrajPointVertexPull(), tca::TCConfig::useAlg, tca::TCConfig::vtx2DCuts, and tca::Trajectory::VtxID.
Referenced by AttachAnyTrajToVertex(), and StepAway().
void tca::CheckHiMultEndHits | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2526 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TCConfig::dbgStp, tca::Trajectory::EndPt, kBragg, kCHMEH, tca::Trajectory::Pts, SetEndPoints(), tca::Trajectory::StopFlag, tcc, UnsetUsedHits(), and tca::TCConfig::useAlg.
Referenced by CheckTraj().
void tca::CheckHiMultUnusedHits | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2378 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, AngleRange(), tca::TCConfig::dbgStp, DefineHitPos(), tca::Trajectory::EndPt, GottaKink(), tca::Trajectory::ID, tca::Trajectory::IsGood, kAtKink, kCHMUH, kUsedHits, MaskTrajEndPoints(), MaxHitDelta(), tca::TCConfig::minPtsFit, tca::Trajectory::NeedsUpdate, NumHitsInTP(), NumPtsWithCharge(), tca::Trajectory::Pass, PointTrajDOCA(), PrintHit(), PrintTrajectory(), tca::Trajectory::Pts, PutTrajHitsInVector(), SetEndPoints(), tca::TCSlice::slHits, tca::Trajectory::StopFlag, tcc, UnsetUsedHits(), UpdateTraj(), and tca::TCConfig::useAlg.
void tca::CheckStiffEl | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 898 of file StepUtils.cxx.
References tca::TCConfig::dbgStp, FillGaps(), FixTrajBegin(), kStiffEl, NumPtsWithCharge(), tca::Trajectory::Strategy, and tcc.
Referenced by CheckTraj().
void tca::CheckTraj | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 911 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, CheckHiMultEndHits(), CheckStiffEl(), ChkChgAsymmetry(), ChkStop(), ChkStopEndPts(), tca::TCConfig::dbgStp, tca::Trajectory::EndPt, FillGaps(), FixTrajBegin(), HasDuplicateHits(), HiEndDelta(), IsGhost(), tca::Trajectory::IsGood, tca::TCSlice::isValid, kAtKink, kBragg, kCTKink, kCTStepChk, kJunkTj, kKilled, kRvPrp, kSignal, kSlowing, kStiffEl, tca::Trajectory::MCSMom, MCSMom(), tca::TCConfig::minMCSMom, tca::TCConfig::minPts, NumPtsWithCharge(), tca::Trajectory::Pass, PrintTrajectory(), tca::Trajectory::Pts, tca::TCConfig::qualityCuts, SetEndPoints(), tca::Trajectory::StopFlag, tca::Trajectory::Strategy, TagJunkTj(), tcc, TrimEndPts(), UnsetUsedHits(), and tca::TCConfig::useAlg.
Referenced by FindVtxTjs(), and tca::TrajClusterAlg::ReconstructAllTraj().
void tca::CheckTrajBeginChg | ( | TCSlice & | slc, |
unsigned short | itj | ||
) |
Definition at line 1406 of file Utils.cxx.
References tca::VtxStore::ChiDOF, tca::VtxStore::CTP, tca::TCConfig::dbgAlg, tca::TCConfig::dbgSlc, tca::TCConfig::dbgStp, evd::details::end(), tca::VtxStore::ID, kBeginChg, kBragg, kFixed, kFTBRvProp, kHaloTj, kKilled, kNewStpCuts, MakeVertexObsolete(), tca::VtxStore::NTraj, tca::VtxStore::Pass, tca::VtxStore::Pos, PrintPos(), SetVx2Score(), SplitTraj(), tca::VtxStore::Stat, StoreVertex(), tcc, tca::TCSlice::tjs, tca::VtxStore::Topo, tca::TCConfig::useAlg, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::ReconstructAllTraj().
Definition at line 1702 of file Utils.cxx.
References tca::TrajPoint::Dir, tca::TrajPoint::Pos, and SignalAtTp().
Referenced by SignalBetween().
Definition at line 2957 of file PFPUtils.cxx.
References detinfo::DetectorProperties::ConvertXToTicks(), geo::CryostatID::Cryostat, tca::TrajPoint::CTP, tca::TCConfig::detprop, dir, EncodeCTP(), tca::TCConfig::geom, tca::TCSlice::nPlanes, PointDirection(), tca::TrajPoint::Pos, PosSep(), SignalAtTp(), tcc, geo::TPCID::TPC, tca::TCSlice::TPCID, tca::TCConfig::unitsPerTick, geo::GeometryCore::WireCoordinate(), and tca::TCConfig::wirePitch.
Referenced by DotProd(), FindParent(), and ParentFOM().
Definition at line 2986 of file PFPUtils.cxx.
References ChgFracNearPos(), detinfo::DetectorProperties::ConvertXToTicks(), geo::CryostatID::Cryostat, tca::TCConfig::detprop, EncodeCTP(), tca::TCConfig::geom, tca::PFPStruct::ID, tca::TCSlice::nPlanes, tca::TCSlice::nWires, tcc, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, geo::TPCID::TPC, tca::PFPStruct::TPCID, tca::TCSlice::TPCID, tca::TCConfig::unitsPerTick, geo::GeometryCore::WireCoordinate(), tca::TCSlice::wireHitRange, and tca::PFPStruct::XYZ.
Referenced by DotProd().
Definition at line 2698 of file Utils.cxx.
References tca::TCEvent::allHits, DecodeCTP(), evt, FindCloseHits(), kAllHits, geo::PlaneID::Plane, tca::TCSlice::slHits, and tca::TCSlice::tjs.
Referenced by ChgFracNearEnd(), CompleteIncomplete3DVertices(), CompleteIncomplete3DVerticesInGaps(), EndMerge(), FindHammerVertices(), ParentFOM(), and SetVx2Score().
void tca::ChgSlope | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
float & | slope, | ||
float & | slopeErr, | ||
float & | chiDOF | ||
) |
Definition at line 1288 of file Utils.cxx.
References ChgSlope(), and tca::Trajectory::EndPt.
Referenced by Forecast(), and SetStrategy().
void tca::ChgSlope | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | fromPt, | ||
unsigned short | toPt, | ||
float & | slope, | ||
float & | slopeErr, | ||
float & | chiDOF | ||
) |
Definition at line 1296 of file Utils.cxx.
References Fit2D(), and tca::Trajectory::Pts.
Referenced by ChgSlope().
float tca::ChgToMeV | ( | float | chg | ) |
Definition at line 4395 of file TCShower.cxx.
Referenced by FindParent(), MergeSubShowersTj(), ShowerEnergy(), and UpdateShower().
bool tca::ChkAssns | ( | std::string | inFcnLabel, |
TCSlice & | slc | ||
) |
Definition at line 4560 of file TCShower.cxx.
References tca::TCSlice::cots, kKilled, tca::TCSlice::showers, ss, and tca::TCSlice::tjs.
Referenced by CompleteIncompleteShower(), FindShowers3D(), Finish3DShowers(), Match2DShowers(), MergeNearby2DShowers(), MergeOverlap(), MergeShowerChain(), MergeSubShowers(), MergeSubShowersTj(), and Reconcile3D().
void tca::ChkChgAsymmetry | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 1611 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::EndPt, tca::Trajectory::ID, kChkChgAsym, kNewStpCuts, tca::Trajectory::PDGCode, PrintTrajectory(), tca::Trajectory::Pts, SetEndPoints(), tcc, UnsetUsedHits(), and tca::TCConfig::useAlg.
Referenced by CheckTraj().
Definition at line 4105 of file StepUtils.cxx.
References kKilled, kSplitHiChgHits, SplitHiChgHits(), tcc, tca::TCSlice::tjs, and tca::TCConfig::useAlg.
Referenced by tca::TrajClusterAlg::ReconstructAllTraj().
bool tca::ChkMichel | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short & | lastGoodPt | ||
) |
Definition at line 4049 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TCConfig::dbgAlg, tca::TCConfig::dbgStp, tca::Trajectory::EndPt, kMichel, tca::Trajectory::Pts, tcc, and tca::TCConfig::useAlg.
Referenced by MaskTrajEndPoints().
void tca::ChkStop | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 3952 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TrajPoint::Chg, tca::TCConfig::chkStopCuts, tca::TCConfig::dbgAlg, tca::TCConfig::dbgStp, dir, evd::details::end(), tca::Trajectory::EndPt, Fit2D(), tca::Trajectory::ID, kBragg, kChkStop, kStiffEl, tca::Trajectory::MCSMom, tca::TrajPoint::Pos, tca::Trajectory::Pts, tca::Trajectory::StopFlag, tca::Trajectory::Strategy, tcc, and tca::TCConfig::useAlg.
Referenced by CheckTraj(), ChkStopEndPts(), Forecast(), and ReversePropagate().
void tca::ChkStopEndPts | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 1711 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, ChkStop(), tca::TrajPoint::CTP, tca::Trajectory::CTP, tca::TCConfig::dbgStp, DecodeCTP(), DefineHitPos(), tca::TrajPoint::Dir, tca::Trajectory::EndPt, FindCloseHits(), tca::Trajectory::ID, kAllHits, kBragg, kChkStopEP, kJunkTj, kNewStpCuts, kStiffEl, geo::PlaneID::Plane, tca::TrajPoint::Pos, PrintHit(), PrintPos(), tca::Trajectory::Pts, SetEndPoints(), tca::TCSlice::slHits, tca::Trajectory::StopFlag, tca::Trajectory::Strategy, tcc, tmp, UnsetUsedHits(), UpdateTjChgProperties(), and tca::TCConfig::useAlg.
Referenced by CheckTraj(), FixTrajBegin(), and ReversePropagate().
Definition at line 2326 of file TCVertex.cxx.
References DecodeCTP(), evd::details::end(), kHaloTj, kKilled, geo::PlaneID::Plane, tca::TCSlice::tjs, tca::TCSlice::vtx3s, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::ReconstructAllTraj(), and tca::TrajClusterAlg::RunTrajClusterAlg().
Definition at line 874 of file TCVertex.cxx.
References close(), CompatibleMerge(), DeltaAngle(), FarEnd(), GetAssns(), tca::TCSlice::ID, kChkVxTj, kDeltaRay, kFixed, kHaloTj, kKilled, kNewVtxCuts, kOnDeadWire, MakeVertexObsolete(), MergeAndStore(), PointTrajDOCA(), PosSep(), PrintPos(), tcc, tca::TCSlice::tjs, tca::TCConfig::useAlg, and tca::TCSlice::vtxs.
Referenced by EndMerge(), and Find2DVertices().
void tca::ClearCRInfo | ( | TCSlice & | slc | ) |
Definition at line 118 of file TCCR.cxx.
References tca::CRTreeVars::cr_origin, tca::CRTreeVars::cr_pfpxmax, tca::CRTreeVars::cr_pfpxmin, tca::CRTreeVars::cr_pfpyzmindis, and tca::TCSlice::crt.
void tca::ClearShowerTree | ( | ShowerTreeVars & | stv | ) |
Definition at line 203 of file TCShTree.cxx.
References tca::ShowerTreeVars::BeginAng, tca::ShowerTreeVars::BeginChg, tca::ShowerTreeVars::BeginTim, tca::ShowerTreeVars::BeginVtx, tca::ShowerTreeVars::BeginWir, tca::ShowerTreeVars::EndAng, tca::ShowerTreeVars::EndChg, tca::ShowerTreeVars::EndTim, tca::ShowerTreeVars::EndVtx, tca::ShowerTreeVars::EndWir, tca::ShowerTreeVars::Envelope, tca::ShowerTreeVars::EnvPlane, tca::ShowerTreeVars::EnvShowerID, tca::ShowerTreeVars::EnvStage, tca::ShowerTreeVars::IsShowerParent, tca::ShowerTreeVars::IsShowerTj, tca::ShowerTreeVars::MCSMom, tca::ShowerTreeVars::PlaneNum, tca::ShowerTreeVars::ShowerID, tca::ShowerTreeVars::StageNum, and tca::ShowerTreeVars::TjID.
unsigned short tca::CloseEnd | ( | TCSlice & | slc, |
const Trajectory & | tj, | ||
const Point2_t & | pos | ||
) |
Definition at line 2251 of file Utils.cxx.
References tca::Trajectory::EndPt, PosSep2(), and tca::Trajectory::Pts.
Referenced by MergeWithVertex().
bool tca::CompatibleMerge | ( | TCSlice & | slc, |
std::vector< int > & | tjIDs, | ||
bool | prt | ||
) |
Definition at line 534 of file Utils.cxx.
References evd::details::end(), tca::TCSlice::tjs, and TrajClosestApproach().
Referenced by ChkVxTjs(), DefinePFP(), and EndMerge().
bool tca::CompatibleMerge | ( | TCSlice & | slc, |
const Trajectory & | tj1, | ||
const Trajectory & | tj2, | ||
bool | prt | ||
) |
Definition at line 605 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::CTP, DeltaAngle(), tca::Trajectory::EndPt, tca::Trajectory::ID, kHaloTj, tca::TCConfig::kinkCuts, kKilled, OverlapFraction(), PointTrajDOCA(), PosSep(), tca::Trajectory::Pts, and tcc.
void tca::CompleteIncomplete3DVertices | ( | TCSlice & | slc | ) |
Definition at line 2759 of file TCVertex.cxx.
References AttachAnyTrajToVertex(), ChgFracNearPos(), detinfo::DetectorProperties::ConvertXToTicks(), tca::VtxStore::CTP, tca::TCConfig::dbgAlg, tca::TCConfig::dbgSlc, tca::TCConfig::detprop, EncodeCTP(), evd::details::end(), GetAssns(), tca::VtxStore::ID, tca::TCSlice::ID, kComp3DVx, kDebug, kFixed, kHaloTj, kKilled, kVtxIndPlnNoChg, MakeVertexObsolete(), tca::TCConfig::modes, tca::TCSlice::nPlanes, tca::VtxStore::NTraj, NumPtsWithCharge(), tca::VtxStore::Pass, tca::VtxStore::Pos, tca::TrajPoint::Pos, PrintPos(), SetPDGCode(), SetVx2Score(), SplitTraj(), tca::VtxStore::Stat, StoreVertex(), tcc, tca::VtxStore::TjChgFrac, tca::TCSlice::tjs, util::flags::to_string(), tca::VtxStore::Topo, TrajPointTrajDOCA(), tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, tca::TCSlice::vtx3s, tca::TCSlice::vtxs, and tca::VtxStore::Vx3ID.
Referenced by Find3DVertices().
void tca::CompleteIncomplete3DVerticesInGaps | ( | TCSlice & | slc | ) |
Definition at line 2669 of file TCVertex.cxx.
References ChgFracNearPos(), detinfo::DetectorProperties::ConvertXToTicks(), geo::CryostatID::Cryostat, tca::VtxStore::CTP, tca::TrajPoint::CTP, tca::TCConfig::dbgAlg, tca::TCConfig::dbgSlc, DeadWireCount(), tca::TCConfig::detprop, EncodeCTP(), evd::details::end(), tca::VtxStore::ID, tca::Vtx3Store::ID, kComp3DVxIG, kDebug, kHaloTj, kKilled, tca::TCConfig::modes, tca::TCSlice::nPlanes, tca::VtxStore::NTraj, tca::VtxStore::Pass, PointTrajDOCA(), tca::VtxStore::Pos, tca::TrajPoint::Pos, SetVx2Score(), StoreVertex(), tcc, tca::VtxStore::TjChgFrac, tca::TCSlice::tjs, tca::VtxStore::Topo, geo::TPCID::TPC, tca::Vtx3Store::TPCID, tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, tca::TCSlice::vtx3s, tca::TCSlice::vtxs, tca::Vtx3Store::Vx2ID, tca::VtxStore::Vx3ID, tca::Vtx3Store::Wire, and tca::Vtx3Store::X.
Referenced by Find3DVertices().
bool tca::CompleteIncompleteShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 739 of file TCShower.cxx.
References ChkAssns(), tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, CreateSS(), DecodeCTP(), evd::details::end(), GetAssns(), tca::ShowerStruct3D::ID, tca::TCSlice::ID, kCompleteShower, MakeShowerObsolete(), tca::ShowerStruct3D::NeedsUpdate, tca::TCSlice::nPlanes, tca::TCSlice::pfps, geo::PlaneID::Plane, SetIntersection(), ShowerEnergy(), ss, StoreShower(), tcc, tca::TCSlice::tjs, UpdateShower(), tca::TCConfig::useAlg, and tca::TCSlice::vtxs.
Referenced by Match2DShowers().
void tca::ConfigureMVA | ( | TCConfig & | tcc, |
std::string | fMVAShowerParentWeights | ||
) |
Definition at line 15 of file TCShower.cxx.
References tca::TCConfig::showerParentReader, and tca::TCConfig::showerParentVars.
Referenced by tca::TrajClusterAlg::reconfigure().
PFPStruct tca::CreateFakePFP | ( | TCSlice & | slc, |
const ShowerStruct3D & | ss3 | ||
) |
Definition at line 1981 of file TCShower.cxx.
References CreatePFP(), tca::ShowerStruct3D::Dir, tca::ShowerStruct3D::End, tca::ShowerStruct3D::Len, PointDirection(), and tca::ShowerStruct3D::Start.
Definition at line 1973 of file PFPUtils.cxx.
References tca::PFPStruct::dEdx, tca::PFPStruct::dEdxErr, tca::PFPStruct::Dir, tca::PFPStruct::DirErr, evd::details::end(), tca::PFPStruct::ID, tca::TCSlice::nPlanes, tca::PFPStruct::ParentUID, tca::TCSlice::pfps, tca::PFPStruct::TPCID, tca::TCSlice::TPCID, and tca::PFPStruct::XYZ.
Referenced by CreateFakePFP(), DefineTjParents(), DotProd(), FindPFParticles(), Finish3DShowers(), and Match3DVtxTjs().
ShowerStruct tca::CreateSS | ( | TCSlice & | slc, |
const std::vector< int > & | tjl | ||
) |
Definition at line 4514 of file TCShower.cxx.
References tca::Trajectory::AlgMod, tca::TCSlice::cots, tca::Trajectory::CTP, tca::ShowerStruct::CTP, tca::Trajectory::EndPt, tca::ShowerStruct::Envelope, tca::Trajectory::ID, tca::ShowerStruct::ID, kShowerTj, tca::Trajectory::PDGCode, tca::Trajectory::Pts, tca::ShowerStruct::ShowerTjID, ss, tca::ShowerStruct::TjIDs, and tca::TCSlice::tjs.
Referenced by CompleteIncompleteShower(), FindShowers3D(), and MergeShowers().
ShowerStruct3D tca::CreateSS3 | ( | TCSlice & | slc | ) |
Definition at line 4495 of file TCShower.cxx.
References tca::ShowerStruct3D::dEdx, tca::ShowerStruct3D::dEdxErr, tca::ShowerStruct3D::Energy, tca::ShowerStruct3D::EnergyErr, tca::ShowerStruct3D::ID, tca::ShowerStruct3D::MIPEnergy, tca::ShowerStruct3D::MIPEnergyErr, tca::TCSlice::nPlanes, tca::TCSlice::showers, tca::ShowerStruct3D::TPCID, and tca::TCSlice::TPCID.
Referenced by Match2DShowers().
Definition at line 1881 of file Utils.cxx.
References tca::TrajPoint::CTP, DeadWireCount(), and tca::TrajPoint::Pos.
Referenced by AddHits(), cluster::ClusterCrawlerAlg::CheckClusterHitFrac(), cluster::ClusterCrawlerAlg::ChkMerge(), CompleteIncomplete3DVerticesInGaps(), Find2DVertices(), StepAway(), and UpdateTraj().
float tca::DeadWireCount | ( | TCSlice & | slc, |
const float & | inWirePos1, | ||
const float & | inWirePos2, | ||
CTP_t | tCTP | ||
) |
Definition at line 1887 of file Utils.cxx.
References DecodeCTP(), tca::TCSlice::nWires, geo::PlaneID::Plane, tmp, and tca::TCSlice::wireHitRange.
Referenced by DeadWireCount(), NumPtsWithCharge(), and TrajTrajDOCA().
geo::PlaneID tca::DecodeCTP | ( | CTP_t | CTP | ) |
Definition at line 108 of file DataStructs.cxx.
Referenced by AddHits(), AddLAHits(), AddLooseHits(), AttachPFPToVertex(), ChgFracNearPos(), ChkStopEndPts(), ChkVtxAssociations(), CompleteIncompleteShower(), DeadWireCount(), DefineDontCluster(), DefinePFP(), EncodeCTP(), ExpectedHitsRMS(), FilldEdx(), FillmAllTraj(), Find2DVertices(), Find3DVertices(), FindCloseHits(), FindCloseTjs(), FindCompleteness(), tca::TrajClusterAlg::FindJunkTraj(), FindMissedTjsInTp3s(), FindVtxTjs(), FindXMatches(), Finish3DShowers(), FitTp3(), FitTp3s(), cluster::ClusterCrawlerAlg::FitVtx(), FixTrajBegin(), FollowTp3s(), Forecast(), cluster::ClusterCrawlerAlg::GetHitRange(), MakeBareTP(), MakeJunkVertices(), MakeTp3(), MakeVertexObsolete(), Match2DShowers(), Match3DFOM(), tca::TruthMatcher::MatchAndSum(), MaxChargeAsymmetry(), MergePFPTjs(), Print2V(), PrintAllTraj(), cluster::TrajCluster::produce(), tca::TrajClusterAlg::ReconstructAllTraj(), ReversePropagate(), SaveTjInfo(), SaveTjInfoStuff(), SetVx2Score(), SignalAtTp(), Split3DKink(), SplitTraj(), SplitTrajCrossingVertices(), StepAway(), TrimEndPts(), UpdateMatchStructs(), UpdateShower(), UpdateTp3s(), VtxHitsSwap(), cluster::ClusterCrawlerAlg::VtxMatch(), and WireHitRangeOK().
bool tca::DecodeDebugString | ( | std::string | strng | ) |
Definition at line 4611 of file Utils.cxx.
References tca::DebugStuff::Cryostat, tca::DebugStuff::CTP, tca::TCConfig::dbg2S, tca::TCConfig::dbg2V, tca::TCConfig::dbg3S, tca::TCConfig::dbg3V, tca::TCConfig::dbgDeltaRayTag, tca::TCConfig::dbgDump, tca::TCConfig::dbgMrg, tca::TCConfig::dbgMuonTag, tca::TCConfig::dbgPFP, tca::TCConfig::dbgStitch, tca::TCConfig::dbgStp, tca::TCConfig::dbgSummary, tca::TCConfig::dbgVxJunk, tca::TCConfig::dbgVxMerge, debug, kDebug, tca::TCConfig::modes, tca::DebugStuff::Plane, tca::TCConfig::recoSlice, tca::DebugStuff::Slice, tcc, tca::DebugStuff::Tick, tca::DebugStuff::TPC, tca::DebugStuff::Wire, and tca::DebugStuff::WorkID.
Referenced by DotProd(), and tca::TrajClusterAlg::reconfigure().
void tca::DefineDontCluster | ( | TCSlice & | slc, |
bool | prt | ||
) |
Definition at line 3329 of file TCShower.cxx.
References DecodeCTP(), tca::TCSlice::dontCluster, DotProd(), GetAssns(), tca::TCSlice::ID, IsShowerLike(), kDebug, tca::TCConfig::modes, PFPDOCA(), tca::TCSlice::pfps, geo::PlaneID::Plane, PointDirection(), PosSep(), t1, t2, tcc, tca::DontClusterStruct::TjIDs, tca::TCSlice::tjs, tca::TCSlice::vtx3s, tca::DontClusterStruct::Vx2ID, and tca::DontClusterStruct::Vx3ID.
Referenced by FindShowers3D().
void tca::DefineEnvelope | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3869 of file TCShower.cxx.
References tca::TrajPoint::Ang, tca::TrajPoint::Chg, tca::ShowerStruct::ChgDensity, tca::TrajPoint::DeltaRMS, tca::ShowerStruct::Envelope, tca::ShowerStruct::EnvelopeArea, tca::ShowerStruct::ID, SortEntry::length, tca::ShowerStruct::NeedsUpdate, tca::TrajPoint::Pos, PosSep(), tca::Trajectory::Pts, tca::TCConfig::showerTag, tca::ShowerStruct::ShowerTjID, tcc, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, and tca::TCConfig::unitsPerTick.
Referenced by ReverseShower(), and UpdateShower().
Definition at line 1840 of file StepUtils.cxx.
References tca::TCEvent::allHits, tca::TrajPoint::Chg, tca::TCConfig::dbgStp, tca::TrajPoint::Dir, evt, tca::TrajPoint::HitPos, tca::TrajPoint::HitPosErr2, tca::TrajPoint::Hits, HitsTimeErr2(), HitTimeErr(), kNewStpCuts, LongPulseHit(), tca::TCSlice::slHits, tcc, tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, and tca::TrajPoint::UseHit.
Referenced by AddHits(), AddLAHits(), CheckHiMultUnusedHits(), ChkStopEndPts(), FillGaps(), Forecast(), MakeHaloTj(), MakeJunkTraj(), MaskedHitsOK(), StepAway(), and UpdateTraj().
Definition at line 2233 of file PFPUtils.cxx.
References CompatibleMerge(), DecodeCTP(), evd::details::end(), FindCompleteness(), FollowTp3s(), tca::PFPStruct::ID, kHaloTj, kKilled, kMat3D, kMat3DMerge, tca::TCConfig::match3DCuts, tca::TCSlice::matchVec, tca::PFPStruct::MatchVecIndex, MaxTjLen(), MCSMom(), MergePFPTjs(), tca::PFPStruct::NeedsUpdate, tca::TCSlice::nPlanes, tca::PFPStruct::PDGCode, PFPVxTjOK(), geo::PlaneID::Plane, PosSep(), SetIntersection(), SetStart(), SharesHighScoreVx(), tcc, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tca::PFPStruct::Tp3s, tca::TCConfig::useAlg, tca::TCSlice::vtxs, and tca::PFPStruct::Vx3ID.
Referenced by AnalyzePFP(), DotProd(), FindPFParticles(), and Match3DVtxTjs().
void tca::DefinePFPParents | ( | TCSlice & | slc, |
bool | prt | ||
) |
Definition at line 2530 of file PFPUtils.cxx.
References GetAssns(), IsShowerLike(), kDebug, kTestBeam, tca::TCConfig::modes, tca::TCSlice::nPlanes, PDGCodeVote(), tca::TCSlice::pfps, tcc, tca::TCSlice::tjs, and tca::TCSlice::vtxs.
Referenced by DotProd(), and tca::TrajClusterAlg::RunTrajClusterAlg().
void tca::DefinePFPParentsTestBeam | ( | TCSlice & | slc, |
bool | prt | ||
) |
Definition at line 2661 of file PFPUtils.cxx.
References GetPFPIndex(), GetVtxTjIDs(), tca::TCSlice::pfps, SetDifference(), tca::TCSlice::vtx3s, and tca::TCSlice::zLo.
Referenced by DotProd().
void tca::DefineTjParents | ( | TCSlice & | slc, |
bool | prt | ||
) |
Definition at line 129 of file Utils.cxx.
References CreatePFP(), evd::details::end(), GetVtxTjIDs(), SortEntry::index, kDeltaRay, kHaloTj, kKilled, kTestBeam, tca::TCConfig::match3DCuts, tca::TCConfig::modes, ReverseTraj(), StorePFP(), tcc, tca::TCSlice::tjs, TrajTrajDOCA(), valDecreasing(), tca::TCConfig::vtx2DCuts, tca::TCSlice::vtx3s, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::RunTrajClusterAlg().
Definition at line 1636 of file PFPUtils.cxx.
References DotProd().
Referenced by AddLAHits(), ChkVxTjs(), DotProd(), EndMerge(), FindHammerVertices(), FindHammerVertices2(), FindSoftKink(), FindXMatches(), KinkAngle(), ParentFOM(), PrintTp3s(), SetVx2Score(), SplitTrajCrossingVertices(), and StepAway().
double tca::DeltaAngle | ( | double | Ang1, |
double | Ang2 | ||
) |
Definition at line 2858 of file Utils.cxx.
Referenced by CompatibleMerge(), PointInsideEnvelope(), and TagDeltaRays().
double tca::DeltaAngle2 | ( | double | Ang1, |
double | Ang2 | ||
) |
Definition at line 2848 of file Utils.cxx.
Referenced by DeltaAngle(), and DotProd().
bool tca::DontCluster | ( | TCSlice & | slc, |
const std::vector< int > & | tjlist1, | ||
const std::vector< int > & | tjlist2 | ||
) |
Definition at line 3313 of file TCShower.cxx.
References tca::TCSlice::dontCluster.
Referenced by AddTjsInsideEnvelope(), FindCots(), FindParent(), MergeNearby2DShowers(), MergeOverlap(), MergeShowerChain(), MergeSubShowers(), MergeSubShowersTj(), and Print2DShowers().
Definition at line 59 of file PFPUtils.h.
References AnalyzePFP(), ChgFracBetween(), ChgFracNearEnd(), CreatePFP(), DefinePFP(), DefinePFPParents(), DefinePFPParentsTestBeam(), evd::details::end(), FarEnd(), FilldEdx(), FindAlongTrans(), FindKinks(), FindPFParticles(), InsideFV(), InsideTPC(), KinkAngle(), LineLineIntersect(), PFPDOCA(), PFPVertexCheck(), PFPVxTjOK(), PointDirection(), PointDirIntersect(), PosSep(), PosSep2(), PrintTp3(), PrintTp3s(), ReversePFP(), SetMag(), Split3DKink(), and StorePFP().
Referenced by DefineDontCluster(), DeltaAngle(), FindAlongTrans(), FindParent(), FindShowerStart(), recob::Seed::GetPointingSign(), InShowerProb(), MergeOverlap(), and StitchPFPs().
Definition at line 144 of file Utils.h.
References AnalyzeHits(), DecodeDebugString(), DeltaAngle(), DeltaAngle2(), dir, DumpTj(), evd::details::end(), FarEnd(), FillWireHitRange(), Fit2D(), GetAssns(), GetSliceIndex(), HitsPosTick(), HitsPosTime(), HitsRMSTick(), HitsRMSTime(), LongPulseHit(), MakeBareTP(), MakeBareTrajPoint(), MCSMom(), MCSThetaRMS(), MergeAndStore(), NearestPtWithChg(), NumHitsInTP(), NumUsedHitsInTj(), PointDirection(), Print2V(), Print3S(), Print3V(), PrintAll(), PrintAllTraj(), PrintClusters(), PrintHeader(), PrintHit(), PrintHitShort(), PrintP(), PrintPFP(), PrintPFPs(), PrintPos(), PrintStopFlag(), PrintT(), PrintTrajectory(), PrintTrajPoint(), SetDifference(), SetEndPoints(), SetIntersection(), SetPDGCode(), StartTraj(), TagDeltaRays(), TjDeltaRMS(), TPHitsRMSTick(), TPHitsRMSTime(), TrajIsClean(), UpdateTjChgProperties(), UpdateVxEnvironment(), and WireHitRangeOK().
void tca::DumpShowerPts | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | cotID | ||
) |
void tca::DumpShowerPts | ( | TCSlice & | slc, |
int | cotID | ||
) |
Definition at line 4237 of file TCShower.cxx.
References tca::TCSlice::cots, tca::ShowerStruct::ID, pt, tca::ShowerStruct::ShPts, ss, and tca::ShowerStruct::TjIDs.
void tca::DumpTj | ( | ) |
Definition at line 4728 of file Utils.cxx.
References tca::TCEvent::allHits, debug, evt, kKilled, slices, tcc, util::flags::to_string(), tca::TCConfig::unitsPerTick, and tca::DebugStuff::WorkID.
Referenced by DotProd(), and tca::TrajClusterAlg::RunTrajClusterAlg().
float tca::ElectronLikelihood | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
float & | asym | ||
) |
Definition at line 2679 of file Utils.cxx.
References tca::Trajectory::ChgRMS, tca::Trajectory::EndPt, kBragg, NumPtsWithCharge(), tca::Trajectory::StopFlag, and TjDeltaRMS().
Referenced by tca::TruthMatcher::MatchAndSum(), and tca::TruthMatcher::MatchTruth().
|
inline |
Definition at line 45 of file DataStructs.h.
Referenced by ChgFracBetween(), ChgFracNearEnd(), CompleteIncomplete3DVertices(), CompleteIncomplete3DVerticesInGaps(), tca::TrajClusterAlg::CreateSlice(), EncodeCTP(), cluster::ClusterCrawlerAlg::FindHammerClusters(), FindMissedTjsInTp3s(), tca::TrajClusterAlg::FindMissedVxTjs(), FindParent(), FindPFParticles(), FindShowers3D(), FindXMatches(), MakeBareTrajPoint(), MergePFPTjs(), Print3S(), PrintShowers(), cluster::TrajCluster::produce(), cluster::ClusterCrawlerAlg::RunCrawler(), tca::TrajClusterAlg::RunTrajClusterAlg(), StartTraj(), cluster::ClusterCrawlerAlg::TmpStore(), cluster::ClusterCrawlerAlg::Vtx3ClusterMatch(), and cluster::ClusterCrawlerAlg::Vtx3ClusterSplit().
|
inline |
Definition at line 46 of file DataStructs.h.
References geo::CryostatID::Cryostat, EncodeCTP(), geo::PlaneID::Plane, and geo::TPCID::TPC.
|
inline |
Definition at line 47 of file DataStructs.h.
References geo::CryostatID::Cryostat, DecodeCTP(), EncodeCTP(), geo::PlaneID::Plane, and geo::TPCID::TPC.
Definition at line 3464 of file StepUtils.cxx.
References tca::TrajPoint::Ang, tca::TrajPoint::AngleCode, tca::TrajPoint::AveChg, tca::TCConfig::chargeCuts, ChgFracNearPos(), ChkVxTjs(), CompatibleMerge(), tca::DebugStuff::CTP, tca::VtxStore::CTP, tca::TCConfig::dbgMrg, tca::TCConfig::dbgSlc, debug, DeltaAngle(), FitTraj(), FitVertex(), tca::VtxStore::ID, kBragg, kFixed, tca::TCConfig::kinkCuts, kKilled, kMerge, kShowerLike, kStepDir, kStiffEl, MakeBareTrajPoint(), max, MCSThetaRMS(), MergeAndStore(), min, tca::TCConfig::modes, tca::TrajPoint::NTPsFit, tca::VtxStore::NTraj, NumPtsWithCharge(), OverlapFraction(), tca::VtxStore::Pass, PointTrajDOCA(), tca::VtxStore::Pos, tca::TrajPoint::Pos, PosSep(), PosSep2(), PrintPos(), tca::TCConfig::qualityCuts, ReverseTraj(), SetVx2Score(), SignalBetween(), slices, tca::VtxStore::Stat, StoreVertex(), tcc, tca::TCSlice::tjs, tca::VtxStore::Topo, TrajIntersection(), TrajLength(), TrajPointSeparation(), TrajTrajDOCA(), tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, tca::TCConfig::vtx2DCuts, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::ReconstructAllTraj().
Definition at line 1802 of file Utils.cxx.
References tca::TCEvent::aveHitRMS, tca::TrajPoint::CTP, DecodeCTP(), tca::TrajPoint::Dir, evt, geo::PlaneID::Plane, tcc, and tca::TCConfig::unitsPerTick.
Referenced by AddHits(), FindUseHits(), and StartTraj().
Definition at line 3032 of file PFPUtils.cxx.
References tca::PFPStruct::ID, PosSep2(), and tca::PFPStruct::XYZ.
Referenced by ChkVxTjs(), DotProd(), FindParent(), MergeSubShowersTj(), ParentFOM(), Reconcile3D(), SetParent(), TagShowerLike(), and UpdateShower().
unsigned short tca::FarEnd | ( | TCSlice & | slc, |
const Trajectory & | tj, | ||
const Point2_t & | pos | ||
) |
Definition at line 3646 of file Utils.cxx.
References tca::Trajectory::EndPt, tca::Trajectory::ID, PosSep2(), and tca::Trajectory::Pts.
Definition at line 1683 of file PFPUtils.cxx.
References tca::PFPStruct::BestPlane, tca::TCConfig::caloAlg, tca::Trajectory::ChgRMS, tca::Trajectory::CTP, DecodeCTP(), tca::Trajectory::dEdx, tca::PFPStruct::dEdx, calo::CalorimetryAlg::dEdx_AREA(), tca::PFPStruct::dEdxErr, tca::PFPStruct::Dir, evd::details::end(), tca::Trajectory::EndPt, tca::TCConfig::geom, tca::PFPStruct::ID, tca::TCSlice::nPlanes, tca::PFPStruct::PDGCode, geo::PlaneID::Plane, geo::GeometryCore::Plane(), tca::Trajectory::Pts, tcc, geo::PlaneGeo::ThetaZ(), tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tca::TCConfig::unitsPerTick, and geo::GeometryCore::WirePitch().
Referenced by DotProd(), and StorePFP().
void tca::FilldEdx | ( | TCSlice & | slc, |
TrajPoint3 & | tp3 | ||
) |
Definition at line 1743 of file PFPUtils.cxx.
References tca::TCEvent::allHits, tca::TCConfig::caloAlg, DecodeCTP(), tca::TrajPoint3::dEdx, calo::CalorimetryAlg::dEdx_AREA(), tca::TrajPoint3::Dir, evt, tca::TCConfig::geom, geo::PlaneID::Plane, geo::GeometryCore::Plane(), tca::TCSlice::slHits, tcc, geo::PlaneGeo::ThetaZ(), tca::TrajPoint3::Tj2Pts, tca::TCSlice::tjs, tca::TCConfig::unitsPerTick, and geo::GeometryCore::WirePitch().
void tca::FillGaps | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2264 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TCEvent::allHits, tca::TCConfig::chargeCuts, tca::Trajectory::ChgRMS, tca::TCConfig::dbgStp, DefineHitPos(), tca::Trajectory::EndPt, evt, tca::Trajectory::ID, tca::Trajectory::IsGood, tca::TCSlice::isValid, kFillGap, kJunkTj, kNewStpCuts, MakeBareTrajPoint(), MaxHitDelta(), tca::Trajectory::MCSMom, MCSMom(), tca::Trajectory::Pass, PointTrajDOCA(), PrintHit(), PrintPos(), PrintTrajPoint(), tca::Trajectory::Pts, tca::TCSlice::slHits, tca::Trajectory::StepDir, tcc, UnsetUsedHits(), and tca::TCConfig::useAlg.
Referenced by CheckStiffEl(), and CheckTraj().
void tca::FillmAllTraj | ( | TCSlice & | slc | ) |
Definition at line 271 of file PFPUtils.cxx.
References detinfo::DetectorProperties::ConvertTicksToX(), geo::CryostatID::Cryostat, DecodeCTP(), tca::TCConfig::detprop, tca::TCConfig::geom, geo::GeometryCore::HasWire(), kHaloTj, kKilled, kMat3D, kTjHiVx3Score, kUsedHits, tca::TCSlice::mallTraj, tca::TCConfig::match3DCuts, tca::TCSlice::matchVec, NumPtsWithCharge(), geo::PlaneID::Plane, tcc, tca::TCSlice::tjs, geo::TPCID::TPC, tca::TCSlice::TPCID, TPHitsRMSTime(), tca::TCConfig::unitsPerTick, and valIncreasings().
Referenced by tca::TrajClusterAlg::RunTrajClusterAlg().
bool tca::FillWireHitRange | ( | TCSlice & | slc | ) |
Definition at line 3944 of file Utils.cxx.
References tca::TCEvent::allHits, tca::TCEvent::aveHitRMS, geo::CryostatID::Cryostat, debug, geo::GeometryCore::DetHalfHeight(), geo::GeometryCore::DetHalfWidth(), geo::GeometryCore::DetLength(), tca::TCConfig::detprop, detinfo::DetectorProperties::DriftVelocity(), detinfo::DetectorProperties::Efield(), evt, tca::TCSlice::firstWire, tca::TCConfig::geom, kDebug, tca::TCSlice::lastWire, geo::TPCGeo::LocalToWorld(), tca::TCConfig::maxPos0, tca::TCConfig::maxPos1, tca::TCConfig::modes, tca::TCSlice::nPlanes, geo::GeometryCore::Nplanes(), detinfo::DetectorProperties::NumberTimeSamples(), tca::TCSlice::nWires, geo::GeometryCore::Nwires(), geo::GeometryCore::PlaneWireToChannel(), detinfo::DetectorProperties::SamplingRate(), tca::TCSlice::slHits, tcc, detinfo::DetectorProperties::Temperature(), tca::DebugStuff::TPC, geo::TPCID::TPC, geo::GeometryCore::TPC(), tca::TCSlice::TPCID, tca::TCConfig::unitsPerTick, geo::GeometryCore::View(), tca::TCSlice::wireHitRange, tca::TCConfig::wirePitch, geo::GeometryCore::WirePitch(), tca::TCSlice::xHi, tca::TCSlice::xLo, tca::TCSlice::yHi, tca::TCSlice::yLo, tca::TCSlice::zHi, and tca::TCSlice::zLo.
Referenced by tca::TrajClusterAlg::CreateSlice(), DotProd(), and trkf::CCTrackMaker::produce().
Definition at line 114 of file TCVertex.cxx.
References AttachAnyTrajToVertex(), tca::VtxStore::ChiDOF, ChkVxTjs(), tca::VtxStore::CTP, tca::TrajPoint::CTP, tca::TCConfig::dbg2V, tca::TCConfig::dbgSlc, DeadWireCount(), debug, DecodeCTP(), FindHammerVertices(), FindHammerVertices2(), FitVertex(), tca::VtxStore::ID, IsCloseToVertex(), kFixed, kHaloTj, kKilled, kNewVtxCuts, kOnDeadWire, kShowerLike, kStepDir, kVtxIndPlnNoChg, tca::TCConfig::maxPos0, tca::TCConfig::maxPos1, MergeWithVertex(), tca::TCConfig::modes, MoveTPToWire(), NearestPtWithChg(), tca::TCSlice::nPlanes, tca::VtxStore::NTraj, tca::VtxStore::Pass, tca::DebugStuff::Plane, geo::PlaneID::Plane, tca::VtxStore::Pos, tca::TrajPoint::Pos, PosSep(), PosSep2(), PrintAllTraj(), PrintPos(), SetVx2Score(), SignalBetween(), tca::VtxStore::Stat, StoreVertex(), tcc, tca::TCSlice::tjs, tca::VtxStore::Topo, TrajClosestApproach(), TrajIntersection(), TrajLength(), TrajTrajDOCA(), tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, tca::TCConfig::vtx2DCuts, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::ReconstructAllTraj().
void tca::Find3DVertices | ( | TCSlice & | slc | ) |
Definition at line 1392 of file TCVertex.cxx.
References CompleteIncomplete3DVertices(), CompleteIncomplete3DVerticesInGaps(), detinfo::DetectorProperties::ConvertTicksToX(), detinfo::DetectorProperties::ConvertXToTicks(), geo::CryostatID::Cryostat, tca::TCConfig::dbg3V, tca::TCConfig::dbgSlc, DecodeCTP(), tca::TCConfig::detprop, evt, FindCloseHits(), tca::TCConfig::geom, tca::TCEvent::globalS3ID, geo::GeometryCore::HasWire(), tca::Vtx3Store::ID, tca::SortEntry::index, geo::GeometryCore::IntersectionPoint(), kAllHits, kHaloTj, kKilled, kNewVtxCuts, kTjHiVx3Score, evd::kWire, geo::kX, tca::TCSlice::nPlanes, tca::TCSlice::nWires, geo::PlaneID::Plane, PrintHit(), tca::Vtx3Store::Score, SetVx2Score(), SetVx3Score(), tca::TCSlice::slHits, tcc, tca::TCSlice::tjs, geo::TPCID::TPC, tca::Vtx3Store::TPCID, tca::TCSlice::TPCID, tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, tca::SortEntry::val, valIncreasing(), tca::TCConfig::vtx2DCuts, tca::TCConfig::vtx3DCuts, tca::TCSlice::vtx3s, tca::TCSlice::vtxs, tca::Vtx3Store::Vx2ID, tca::VtxStore::Vx3ID, tca::Vtx3Store::Wire, geo::GeometryCore::WireCoordinate(), tca::TCConfig::wirePitch, tca::Vtx3Store::X, tca::Vtx3Store::XErr, y, tca::Vtx3Store::Y, tca::Vtx3Store::YErr, tca::TCSlice::yHi, tca::Vtx3Store::Z, z, tca::Vtx3Store::ZErr, and tca::TCSlice::zHi.
Referenced by tca::TrajClusterAlg::RunTrajClusterAlg().
Definition at line 2849 of file PFPUtils.cxx.
References DotProd(), E, PointDirection(), PosSep(), and SetMag().
Referenced by DotProd(), FindCompleteness(), FindParent(), FollowTp3s(), InShowerProb(), MergeSubShowers(), and ParentFOM().
std::vector< unsigned int > tca::FindCloseHits | ( | TCSlice & | slc, |
std::array< int, 2 > const & | wireWindow, | ||
Point2_t const & | timeWindow, | ||
const unsigned short | plane, | ||
HitStatus_t | hitRequest, | ||
bool | usePeakTime, | ||
bool & | hitsNear | ||
) |
Definition at line 2496 of file Utils.cxx.
References tca::TCEvent::allHits, evt, tca::TCSlice::firstWire, kAllHits, kUnusedHits, kUsedHits, tca::TCSlice::lastWire, tca::TCSlice::slHits, tcc, tca::TCConfig::unitsPerTick, and tca::TCSlice::wireHitRange.
Referenced by AddLAHits(), ChkStopEndPts(), Find3DVertices(), FindVtxTjs(), FixTrajBegin(), Forecast(), and ReversePropagate().
bool tca::FindCloseHits | ( | TCSlice & | slc, |
TrajPoint & | tp, | ||
float const & | maxDelta, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 2552 of file Utils.cxx.
References tca::TCEvent::allHits, tca::TrajPoint::CTP, DecodeCTP(), tca::TrajPoint::Environment, evt, tca::TCSlice::firstWire, tca::TrajPoint::Hits, kAllHits, kEnvDeadWire, kUnusedHits, kUsedHits, tca::TCSlice::lastWire, geo::PlaneID::Plane, PointTrajDOCA(), tca::TrajPoint::Pos, tca::TCSlice::slHits, tcc, tca::TCSlice::tjs, tca::TCConfig::unitsPerTick, tca::TrajPoint::UseHit, tca::TCSlice::wireHitRange, and WireHitRangeOK().
Referenced by ChgFracNearPos(), and MakeHaloTj().
std::vector< int > tca::FindCloseTjs | ( | TCSlice & | slc, |
const TrajPoint & | fromTp, | ||
const TrajPoint & | toTp, | ||
const float & | maxDelta | ||
) |
Definition at line 2604 of file Utils.cxx.
References tca::TCEvent::allHits, tca::TrajPoint::CTP, DecodeCTP(), evt, tca::TCSlice::firstWire, tca::TCSlice::lastWire, MakeBareTrajPoint(), MoveTPToWire(), geo::PlaneID::Plane, tca::TrajPoint::Pos, tca::TCSlice::slHits, tcc, tca::TCSlice::tjs, tmp, tca::TCConfig::unitsPerTick, and tca::TCSlice::wireHitRange.
Referenced by MakeJunkVertices().
Definition at line 737 of file PFPUtils.cxx.
References tca::TrajPoint3::AlongTrans, geo::CryostatID::Cryostat, DecodeCTP(), dir, tca::TrajPoint3::Dir, tca::PFPStruct::Dir, tca::PFPStruct::EffPur, trkf::fill(), FindAlongTrans(), Fit3D(), tca::TCConfig::geom, tca::PFPStruct::ID, MakeTp3(), tca::TCSlice::mallTraj, tca::TCConfig::match3DCuts, tca::TCSlice::nPlanes, geo::PlaneID::Plane, tca::TrajPoint3::Pos, tcc, tca::TrajPoint3::Tj2Pts, tca::PFPStruct::TjCompleteness, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tmp, tca::PFPStruct::Tp3s, geo::TPCID::TPC, geo::GeometryCore::WireCoordinate(), tca::TCSlice::wireHitRange, and tca::PFPStruct::XYZ.
Referenced by DefinePFP(), and FindPFParticles().
void tca::FindCots | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
const CTP_t & | inCTP, | ||
std::vector< std::vector< int >> & | tjLists, | ||
bool | prt | ||
) |
Definition at line 3416 of file TCShower.cxx.
References tca::TCConfig::chargeCuts, DontCluster(), GetAssns(), greaterThan(), tca::Trajectory::ID, tca::TCSlice::ID, kHaloTj, kKilled, kMat3D, kShowerLike, kShowerTj, tca::Trajectory::MCSMom, MCSMom(), NumPtsWithCharge(), PFPDOCA(), tca::TCSlice::pfps, PosSep(), SetIntersection(), ShowerEnergy(), tca::TCConfig::showerTag, t1, t2, tcc, tca::TCSlice::tjs, tmp, TrajTrajDOCA(), and tca::TCConfig::wirePitch.
Referenced by FindShowers3D().
Definition at line 1154 of file TCVertex.cxx.
References ChgFracNearPos(), tca::VtxStore::ChiDOF, tca::VtxStore::CTP, tca::TCConfig::dbgAlg, tca::TCConfig::dbgSlc, DeltaAngle(), GetAssns(), tca::VtxStore::ID, tca::TCSlice::ID, kDebug, kHaloTj, kHamVx, kJunkTj, kKilled, kNewVtxCuts, kShowerLike, tca::TCConfig::modes, tca::VtxStore::NTraj, tca::VtxStore::Pass, tca::VtxStore::Pos, SetPDGCode(), SetVx2Score(), SplitTraj(), StoreVertex(), tcc, tca::TCSlice::tjs, tca::VtxStore::Topo, TrajPointTrajDOCA(), tca::TCConfig::useAlg, and tca::TCSlice::vtxs.
Referenced by Find2DVertices().
Definition at line 979 of file TCVertex.cxx.
References AttachAnyTrajToVertex(), tca::VtxStore::ChiDOF, tca::VtxStore::CTP, tca::TCConfig::dbgAlg, tca::TCConfig::dbgSlc, DeltaAngle(), dir, tca::VtxStore::ID, kDebug, kHaloTj, kHamVx, kHamVx2, kJunkTj, kKilled, kNewVtxCuts, kShowerLike, MCSMom(), tca::TCConfig::modes, MoveTPToWire(), tca::VtxStore::NTraj, NumPtsWithCharge(), tca::VtxStore::Pass, PointTrajDOCA(), tca::VtxStore::Pos, PosSep(), PrintPos(), SetPDGCode(), SetVx2Score(), SignalAtTp(), SplitTraj(), StoreVertex(), tcc, tca::TCSlice::tjs, tmp, tca::VtxStore::Topo, TrajClosestApproach(), TrajIntersection(), TrajPointTrajDOCA(), tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, and tca::TCSlice::vtxs.
Referenced by Find2DVertices().
std::vector< unsigned short > tca::FindKinks | ( | TCSlice & | slc, |
PFPStruct & | pfp, | ||
double | sep, | ||
bool | prt | ||
) |
Definition at line 1901 of file PFPUtils.cxx.
References KinkAngle(), PosSep2(), and tca::PFPStruct::Tp3s.
Referenced by DotProd(), and Split3DKink().
void tca::FindMissedTjsInTp3s | ( | TCSlice & | slc, |
PFPStruct & | pfp, | ||
std::vector< int > & | missTjs, | ||
std::vector< float > & | missFrac | ||
) |
Definition at line 950 of file PFPUtils.cxx.
References geo::CryostatID::Cryostat, DecodeCTP(), tca::PFPStruct::Dir, EncodeCTP(), kKilled, kMat3D, MakeBareTP(), mat, tca::TCSlice::nPlanes, geo::PlaneID::Plane, PosSep(), SharesHighScoreVx(), tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tca::PFPStruct::Tp3s, geo::TPCID::TPC, tca::PFPStruct::TPCID, and tca::PFPStruct::XYZ.
void tca::FindNearbyTjs | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3762 of file TCShower.cxx.
References tca::ShowerStruct::CTP, tca::ShowerStruct::Envelope, GetAssns(), tca::ShowerStruct::ID, tca::TCSlice::ID, kKilled, kShowerTj, tca::ShowerStruct::NearTjIDs, PointInsideEnvelope(), PointTrajDOCA(), tca::ShowerStruct::ShowerTjID, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, TrajTrajDOCA(), and tca::TCSlice::vtxs.
Referenced by FindShowers3D().
void tca::FindNeutralVertices | ( | TCSlice & | slc | ) |
Definition at line 529 of file TCVertex.cxx.
References kVxNeutral, tca::TCConfig::neutralVxCuts, tca::TCSlice::nPlanes, tca::TCSlice::pfps, tcc, and tca::TCConfig::useAlg.
Referenced by tca::TrajClusterAlg::RunTrajClusterAlg().
bool tca::FindParent | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 1668 of file TCShower.cxx.
References ChgFracBetween(), tca::ShowerStruct3D::ChgPos, ChgToMeV(), tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, geo::CryostatID::Cryostat, tca::ShowerStruct3D::Dir, DontCluster(), DotProd(), EncodeCTP(), tca::ShowerStruct3D::End, energy, FarEnd(), FindAlongTrans(), GetAssns(), tca::ShowerStruct3D::ID, InShowerProbLong(), kShwrParent, MakeBareTP(), MCSMom(), tca::TCSlice::nPlanes, tca::ShowerStruct3D::ParentID, tca::TCSlice::pfps, PointDirection(), PosSep(), PosSep2(), SetParent(), ShowerEnergy(), ShowerParams(), tca::TCConfig::showerParentReader, tca::TCConfig::showerParentVars, tca::TCSlice::showers, ss, tca::ShowerStruct3D::Start, tcc, tca::TCSlice::tjs, geo::TPCID::TPC, tca::ShowerStruct3D::TPCID, UpdateShower(), tca::TCConfig::useAlg, and tca::ShowerStruct3D::Vx3ID.
Referenced by FindShowers3D().
void tca::FindPFParticles | ( | TCSlice & | slc | ) |
Definition at line 1998 of file PFPUtils.cxx.
References AnalyzePFP(), CreatePFP(), geo::CryostatID::Cryostat, tca::TCConfig::dbgPFP, tca::TCConfig::dbgSlc, DefinePFP(), tca::PFPStruct::Dir, EncodeCTP(), FindCompleteness(), FindXMatches(), tca::PFPStruct::ID, tca::SortEntry::index, kEnvFlag, kKilled, kMat3D, kTestBeam, MakeBareTP(), tca::TCConfig::match3DCuts, Match3DVtxTjs(), tca::TCSlice::matchVec, tca::PFPStruct::MatchVecIndex, MaxTjLen(), MCSMom(), tca::TCConfig::modes, tca::TCSlice::nPlanes, tca::PFPStruct::PDGCode, PDGCodeVote(), SetIntersection(), Split3DKink(), StorePFP(), tcc, tca::PFPStruct::TjCompleteness, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, geo::TPCID::TPC, tca::PFPStruct::TPCID, tca::SortEntry::val, valDecreasings(), and tca::PFPStruct::XYZ.
Referenced by DotProd(), and tca::TrajClusterAlg::RunTrajClusterAlg().
bool tca::FindShowers3D | ( | TCSlice & | slc | ) |
Definition at line 286 of file TCShower.cxx.
References AddTjsInsideEnvelope(), ChkAssns(), tca::TCSlice::cots, CreateSS(), geo::CryostatID::Cryostat, tca::DebugStuff::CTP, tca::TCConfig::dbg2S, tca::TCConfig::dbg3S, tca::TCConfig::dbgSlc, debug, DefineDontCluster(), EncodeCTP(), FindCots(), FindNearbyTjs(), FindParent(), tca::TCConfig::geom, kSaveShowerTree, MakeShowerObsolete(), Match2DShowers(), MergeNearby2DShowers(), MergeOverlap(), MergeShowerChain(), MergeSubShowers(), MergeSubShowersTj(), tca::TCConfig::modes, geo::TPCGeo::Nplanes(), tca::TCSlice::nPlanes, Print2DShowers(), PrintAllTraj(), PrintPFPs(), Reconcile3D(), SaveAllCots(), SaveTjInfo(), ShowerEnergy(), tca::TCSlice::showers, tca::TCConfig::showerTag, ss, StoreShower(), tcc, geo::TPCID::TPC, geo::GeometryCore::TPC(), tca::TCSlice::TPCID, and UpdateShower().
Referenced by tca::TrajClusterAlg::RunTrajClusterAlg().
bool tca::FindShowerStart | ( | TCSlice & | slc, |
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 45 of file TCShower.cxx.
References tca::ShowerStruct3D::ChgPos, tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, tca::ShowerStruct3D::Dir, DotProd(), tca::ShowerStruct3D::End, tca::ShowerStruct3D::ID, tca::ShowerStruct3D::Len, MakeBareTP(), tca::ShowerStruct3D::OpenAngle, PosSep(), ReverseShower(), ss, tca::ShowerStruct3D::Start, tcc, tca::TCSlice::tjs, tca::TCSlice::vtx3s, tca::ShowerStruct3D::Vx3ID, and tca::TCConfig::wirePitch.
void tca::FindSoftKink | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2211 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TCConfig::dbgStp, DeltaAngle(), tca::Trajectory::EndPt, tca::Trajectory::ID, tca::TCConfig::kinkCuts, kNewStpCuts, kSoftKink, kStiffEl, tca::Trajectory::MCSMom, MCSMom(), PrintPos(), tca::Trajectory::Pts, SetEndPoints(), tca::Trajectory::Strategy, tcc, UnsetUsedHits(), and tca::TCConfig::useAlg.
void tca::FindStartChg | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | cotID, | ||
bool | prt | ||
) |
Definition at line 4076 of file TCShower.cxx.
References tca::ShowerStruct::AspectRatio, tca::TCSlice::cots, tca::ShowerStruct::DirectionFOM, tca::ShowerStruct::ID, tca::ShowerStruct::ParentID, tca::TCConfig::showerTag, tca::ShowerStruct::ShowerTjID, ss, StartChgVec(), tcc, tca::ShowerStruct::TjIDs, and tca::TCSlice::tjs.
void tca::FindUseHits | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | ipt, | ||
float | maxDelta, | ||
bool | useChg | ||
) |
Definition at line 1923 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TCEvent::allHits, tca::TrajPoint::AngleCode, tca::TrajPoint::AveChg, tca::Trajectory::AveChg, tca::TCConfig::chargeCuts, tca::Trajectory::ChgRMS, tca::TCConfig::dbgStp, tca::TrajPoint::Delta, tca::TrajPoint::Dir, tca::Trajectory::EndPt, evt, ExpectedHitsRMS(), GetHitMultiplet(), tca::TrajPoint::Hits, HitsRMSTick(), HitTimeErr(), tca::Trajectory::ID, kNewStpCuts, kRvPrp, kStiffEl, kUnusedHits, LongPulseHit(), tca::Trajectory::MCSMom, tca::Trajectory::PDGCode, PointTrajDOCA(), tca::TrajPoint::Pos, PrintHit(), tca::Trajectory::Pts, tca::TCSlice::slHits, tca::Trajectory::Strategy, tcc, TPHitsRMSTick(), tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, and tca::TrajPoint::UseHit.
Referenced by AddHits().
Definition at line 409 of file TCVertex.cxx.
References tca::Trajectory::AlgMod, tca::TCEvent::allHits, CheckTraj(), tca::VtxStore::CTP, tca::TCConfig::dbg2V, tca::TCConfig::dbgAlg, DecodeCTP(), tca::Trajectory::EndPt, evt, FindCloseHits(), tca::TrajPoint::Hits, tca::VtxStore::ID, tca::Trajectory::ID, InTrajOK(), tca::Trajectory::IsGood, tca::TCSlice::isValid, kChkInTraj, kUnusedHits, kVtxTj, kVtxTrjTried, tca::TCConfig::minPts, MoveTPToWire(), NumPtsWithCharge(), tca::Trajectory::Pass, geo::PlaneID::Plane, tca::VtxStore::Pos, PrintHeader(), PrintHit(), PrintTrajPoint(), tca::Trajectory::Pts, ReleaseHits(), tca::VtxStore::Score, tca::TCSlice::slHits, StartTraj(), tca::VtxStore::Stat, StepAway(), tca::Trajectory::StepDir, StoreTraj(), tcc, tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, tca::TrajPoint::UseHit, valDecreasing(), tca::TCConfig::vtx2DCuts, and tca::Trajectory::VtxID.
void tca::FindXMatches | ( | TCSlice & | slc, |
unsigned short | numPlanes, | ||
short | maxScore, | ||
std::vector< MatchStruct > & | matVec, | ||
bool | prt | ||
) |
Definition at line 1355 of file PFPUtils.cxx.
References detinfo::DetectorProperties::ConvertXToTicks(), tca::MatchStruct::Count, geo::CryostatID::Cryostat, tca::TrajPoint::CTP, DecodeCTP(), DeltaAngle(), tca::TCConfig::detprop, tca::TrajPoint3::Dir, EncodeCTP(), tca::TCConfig::geom, tca::SortEntry::index, MakeTp3(), tca::TCSlice::mallTraj, tca::TCConfig::match3DCuts, tca::TCConfig::maxPos0, tca::TCSlice::nPlanes, geo::PlaneID::Plane, tca::TrajPoint::Pos, tca::TrajPoint3::Pos, SignalAtTp(), tcc, tca::MatchStruct::TjIDs, tca::TCSlice::tjs, geo::TPCID::TPC, tca::TCConfig::unitsPerTick, valDecreasings(), and geo::GeometryCore::WireCoordinate().
Referenced by FindPFParticles().
void tca::Finish3DShowers | ( | TCSlice & | slc | ) |
Definition at line 131 of file TCShower.cxx.
References ChkAssns(), tca::TCSlice::cots, CreatePFP(), DecodeCTP(), evd::details::end(), GetAssns(), GetSliceIndex(), tca::TCSlice::ID, kKilled, kUsedHits, tca::TCSlice::pfps, geo::PlaneID::Plane, PutTrajHitsInVector(), tca::TCSlice::showers, slices, ss, tca::TCSlice::tjs, TransferTjHits(), tca::TCSlice::vtx3s, tca::Trajectory::VtxID, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::RunTrajClusterAlg().
bool tca::Fit2D | ( | short | mode, |
Point2_t | inPt, | ||
float & | inPtErr, | ||
Vector2_t & | outVec, | ||
Vector2_t & | outVecErr, | ||
float & | chiDOF | ||
) |
Definition at line 4536 of file Utils.cxx.
References B.
Referenced by ChgSlope(), ChkStop(), DotProd(), and MakeJunkTraj().
void tca::Fit3D | ( | unsigned short | mode, |
Point3_t | point, | ||
Vector3_t | dir, | ||
Point3_t & | fitPos, | ||
Vector3_t & | fitDir | ||
) |
Definition at line 1042 of file PFPUtils.cxx.
References SetMag().
Referenced by FindCompleteness().
bool tca::FitTp3 | ( | TCSlice & | slc, |
TrajPoint3 & | tp3, | ||
const std::vector< Tj2Pt > & | tj2pts | ||
) |
Definition at line 646 of file PFPUtils.cxx.
References detinfo::DetectorProperties::ConvertTicksToX(), geo::CryostatID::Cryostat, DecodeCTP(), tca::TCConfig::detprop, tca::TrajPoint3::Dir, tca::TCConfig::geom, norm, geo::PlaneID::Plane, tca::TrajPoint3::Pos, PosSep(), PosSep2(), sw, tcc, tca::TCSlice::tjs, geo::TPCID::TPC, tca::TCConfig::unitsPerTick, w, geo::GeometryCore::WireCoordinate(), and x.
bool tca::FitTp3s | ( | TCSlice & | slc, |
const std::vector< TrajPoint3 > & | tp3s, | ||
Point3_t & | pos, | ||
Vector3_t & | dir, | ||
float & | rCorr | ||
) |
Definition at line 556 of file PFPUtils.cxx.
References dir.
bool tca::FitTp3s | ( | TCSlice & | slc, |
const std::vector< TrajPoint3 > & | tp3s, | ||
unsigned short | fromPt, | ||
unsigned short | toPt, | ||
Point3_t & | pos, | ||
Vector3_t & | dir, | ||
float & | rCorr | ||
) |
Definition at line 562 of file PFPUtils.cxx.
References detinfo::DetectorProperties::ConvertTicksToX(), geo::CryostatID::Cryostat, DecodeCTP(), tca::TCConfig::detprop, tca::TCConfig::geom, norm, tca::TCSlice::nPlanes, geo::PlaneID::Plane, sw, tcc, tca::TCSlice::tjs, geo::TPCID::TPC, tca::TCConfig::unitsPerTick, w, geo::GeometryCore::WireCoordinate(), and x.
void tca::FitTraj | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 753 of file Utils.cxx.
References tca::Trajectory::EndPt, FitTraj(), and tca::Trajectory::Pts.
Referenced by EndMerge(), GottaKink(), HiEndDelta(), MaskBadTPs(), MaskedHitsOK(), UpdateStiffEl(), and UpdateTraj().
void tca::FitTraj | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | originPt, | ||
unsigned short | npts, | ||
short | fitDir, | ||
TrajPoint & | tpFit | ||
) |
Definition at line 766 of file Utils.cxx.
References tca::TrajPoint::Ang, tca::TrajPoint::AngErr, tca::TrajPoint::AngleCode, AngleRange(), B, dir, tca::TrajPoint::Dir, tca::Trajectory::EndPt, tca::TrajPoint::FitChi, MoveTPToWire(), NumPtsWithCharge(), geo::origin(), tca::TrajPoint::Pos, tca::Trajectory::Pts, SetAngleCode(), w, x, xx, and y.
Referenced by FitTraj().
Definition at line 2131 of file TCVertex.cxx.
References tca::VtxStore::CTP, tca::VtxStore::ID, kFixed, kHaloTj, kKilled, kNewVtxCuts, kNoFitToVx, kPhoton, tca::VtxStore::Stat, tcc, tca::TCSlice::tjs, and tca::TCConfig::useAlg.
Referenced by AttachTrajToVertex(), EndMerge(), Find2DVertices(), MergeWithVertex(), and SplitTrajCrossingVertices().
Definition at line 2184 of file TCVertex.cxx.
References tca::TrajPoint::Ang, tca::TrajPoint::AngErr, tca::VtxStore::ChiDOF, tca::VtxStore::CTP, tca::TrajPoint::CTP, tca::TrajPoint::Dir, tca::VtxStore::ID, kOnDeadWire, tca::VtxStore::NTraj, tca::VtxStore::Pos, tca::TrajPoint::Pos, tca::VtxStore::PosErr, PrintHeader(), PrintPos(), PrintTrajPoint(), tca::VtxStore::Stat, tcc, tmp, tca::VtxStore::Topo, TrajIntersection(), TrajPointVertexPull(), tca::TCConfig::unitsPerTick, and tca::TCConfig::vtx2DCuts.
void tca::FixTrajBegin | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2988 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TrajPoint::AngleCode, ChkStopEndPts(), tca::TrajPoint::CTP, tca::TCConfig::dbgStp, DecodeCTP(), tca::TrajPoint::DeltaRMS, tca::TrajPoint::Dir, tca::Trajectory::EndPt, FindCloseHits(), FixTrajBegin(), tca::TrajPoint::Hits, tca::Trajectory::IsGood, kFixBegin, kFTBRvProp, kJunkTj, kKilled, kNewStpCuts, kRvPrp, kUnusedHits, NumPtsWithCharge(), tca::TCSlice::nWires, tca::Trajectory::Pass, geo::PlaneID::Plane, tca::TrajPoint::Pos, PrintPos(), PrintTrajPoint(), tca::Trajectory::Pts, tca::TCConfig::qualityCuts, ReversePropagate(), seeds, SetEndPoints(), tca::Trajectory::StepDir, tcc, TrimEndPts(), UnsetUsedHits(), tca::TCConfig::useAlg, tca::TrajPoint::UseHit, tca::TCConfig::VLAStepSize, and tca::TCSlice::wireHitRange.
void tca::FixTrajBegin | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | atPt | ||
) |
Definition at line 3092 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TrajPoint::Ang, tca::TrajPoint::AngErr, tca::TrajPoint::AngleCode, tca::Trajectory::AveChg, tca::Trajectory::ChgRMS, tca::TCConfig::dbgStp, tca::TrajPoint::Dir, tca::Trajectory::EndPt, kBragg, kFixBegin, kJunkTj, kNewStpCuts, tca::Trajectory::MCSMom, NumPtsWithCharge(), tca::Trajectory::PDGCode, PointTrajDOCA(), tca::TrajPoint::Pos, PrintPos(), PrintStopFlag(), tca::Trajectory::Pts, SetEndPoints(), tca::Trajectory::StopFlag, tcc, UnsetUsedHits(), tca::TCConfig::useAlg, and tca::Trajectory::VtxID.
Referenced by CheckStiffEl(), CheckTraj(), and FixTrajBegin().
void tca::FixTrajEnd | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | atPt | ||
) |
Definition at line 3173 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TrajPoint::Ang, tca::TrajPoint::AngErr, tca::TrajPoint::AngleCode, tca::Trajectory::AveChg, tca::Trajectory::ChgRMS, tca::TCConfig::dbgStp, tca::TrajPoint::Dir, tca::Trajectory::EndPt, kBragg, kFixEnd, kJunkTj, tca::Trajectory::MCSMom, NumPtsWithCharge(), tca::Trajectory::PDGCode, PointTrajDOCA(), tca::TrajPoint::Pos, PrintTrajectory(), tca::Trajectory::Pts, tca::Trajectory::StopFlag, tcc, and tca::TCConfig::useAlg.
Definition at line 405 of file PFPUtils.cxx.
References detinfo::DetectorProperties::ConvertXToTicks(), geo::CryostatID::Cryostat, DecodeCTP(), tca::TCConfig::detprop, tca::PFPStruct::Dir, FindAlongTrans(), tca::TCConfig::geom, kEnvFlag, tca::TCSlice::nPlanes, geo::PlaneID::Plane, PointDirection(), PosSep(), PosSep2(), SetMag(), tcc, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tca::PFPStruct::Tp3s, geo::TPCID::TPC, tca::PFPStruct::TPCID, tca::TCConfig::unitsPerTick, tca::TCSlice::vtx3s, tca::PFPStruct::Vx3ID, geo::GeometryCore::WireCoordinate(), tca::TCConfig::wirePitch, and tca::PFPStruct::XYZ.
Referenced by DefinePFP().
void tca::Forecast | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 404 of file StepUtils.cxx.
References tca::Trajectory::AveChg, tca::Trajectory::ChgRMS, ChgSlope(), ChkStop(), tca::Trajectory::CTP, tca::TCConfig::dbgStp, DecodeCTP(), DefineHitPos(), tca::Trajectory::EndPt, evt, FindCloseHits(), tca::TCSlice::firstWire, tca::Trajectory::ID, kAllHits, kBragg, kEnvDeadWire, kEnvNearShower, tca::TCSlice::lastWire, tca::Trajectory::MCSMom, MCSMom(), MoveTPToWire(), NumPtsWithCharge(), tca::Trajectory::PDGCode, geo::PlaneID::Plane, PointTrajDOCA(), PrintPos(), tca::Trajectory::Pts, SetEndPoints(), tca::Trajectory::StopFlag, tcc, tjfs, tca::Trajectory::TotChg, UpdateTjChgProperties(), and tca::TCEvent::WorkID.
Referenced by StepAway().
std::vector< int > tca::GetAssns | ( | TCSlice & | slc, |
std::string | type1Name, | ||
int | id, | ||
std::string | type2Name | ||
) |
Definition at line 4279 of file Utils.cxx.
References tca::TCSlice::cots, evd::details::end(), kHaloTj, kKilled, kMat3D, tca::TCSlice::pfps, SetIntersection(), tca::TCSlice::showers, ss, tca::TCSlice::tjs, tmp, tca::TCSlice::vtx3s, and tca::TCSlice::vtxs.
Referenced by ChkVxTjs(), CompleteIncomplete3DVertices(), CompleteIncompleteShower(), DefineDontCluster(), DefinePFPParents(), DotProd(), FindCots(), FindHammerVertices(), FindNearbyTjs(), FindParent(), Finish3DShowers(), KillVerticesInShower(), MergeNearby2DShowers(), ParentFOM(), Print3V(), PrintAllTraj(), Reconcile3D(), SetParent(), and TagShowerLike().
int tca::GetCotID | ( | TCSlice & | slc, |
int | ShowerTjID | ||
) |
Definition at line 4359 of file TCShower.cxx.
References tca::TCSlice::cots.
Referenced by MergeShowerTjsAndStore().
void tca::GetHitMultiplet | ( | TCSlice & | slc, |
unsigned int | theHit, | ||
std::vector< unsigned int > & | hitsInMultiplet | ||
) |
Definition at line 1573 of file StepUtils.cxx.
References GetHitMultiplet().
Referenced by tca::TrajClusterAlg::FindJunkTraj(), and tca::TrajClusterAlg::ReconstructAllTraj().
void tca::GetHitMultiplet | ( | TCSlice & | slc, |
unsigned int | theHit, | ||
std::vector< unsigned int > & | hitsInMultiplet, | ||
unsigned short & | localIndex | ||
) |
Definition at line 1580 of file StepUtils.cxx.
References tca::TCEvent::allHits, tca::TCEvent::aveHitRMS, evt, tca::TCConfig::multHitSep, tca::TCSlice::slHits, tcc, and tmp.
Referenced by AddHits(), FindUseHits(), GetHitMultiplet(), and IsGhost().
Definition at line 77 of file TCCR.cxx.
References tca::TCEvent::allHits, tca::TCHit::allHitsIndex, cheat::BackTrackerService::ChannelToTrackIDEs(), evt, tca::TCConfig::geom, simb::MCTruth::Origin(), geo::origin(), geo::GeometryCore::PlaneWireToChannel(), tca::Trajectory::Pts, tca::TCSlice::slHits, tcc, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, and cheat::ParticleInventoryService::TrackIdToMCTruth_P().
Referenced by SaveCRInfo().
unsigned short tca::GetPFPIndex | ( | TCSlice & | slc, |
int | tjID | ||
) |
Definition at line 1127 of file Utils.cxx.
References tca::TCSlice::pfps.
Referenced by DefinePFPParentsTestBeam(), MakeHaloTj(), and MergeAndStore().
Definition at line 3267 of file TCVertex.cxx.
References evd::details::end(), tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tmp, and tca::TCSlice::vtxs.
std::pair< unsigned short, unsigned short > tca::GetSliceIndex | ( | std::string | typeName, |
int | uID | ||
) |
Definition at line 4496 of file Utils.cxx.
References slices.
Referenced by DotProd(), Finish3DShowers(), MakeHaloTj(), PrimaryUID(), Print2V(), Print3S(), Print3V(), PrintP(), PrintT(), Reconcile3D(), and StitchPFPs().
int tca::GetStageNum | ( | ShowerTreeVars & | stv, |
std::string | stageName | ||
) |
Definition at line 185 of file TCShTree.cxx.
References tca::ShowerTreeVars::StageName.
Referenced by SaveTjInfo().
Definition at line 3226 of file TCVertex.cxx.
References tca::VtxStore::CTP, evd::details::end(), tca::VtxStore::ID, kKilled, tca::TCSlice::tjs, and tmp.
Referenced by DefinePFPParentsTestBeam(), DefineTjParents(), GetVtxTjIDs(), Match3DVtxTjs(), MergeWithVertex(), PFPVxTjOK(), SetHighScoreBits(), SetVx2Score(), SharesHighScoreVx(), and SplitTrajCrossingVertices().
Definition at line 3243 of file TCVertex.cxx.
References GetVtxTjIDs(), tca::Vtx3Store::ID, tmp, and tca::TCSlice::vtxs.
void tca::GottaKink | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short & | killPts | ||
) |
Definition at line 2842 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TrajPoint::Ang, tca::TrajPoint::AngErr, tca::TCConfig::dbgStp, tca::Trajectory::EndPt, FitTraj(), kAtKink, tca::TCConfig::kinkCuts, kNewStpCuts, kNoKinkChk, kRvPrp, kSlowing, kStiffEl, kStiffMu, tca::Trajectory::MCSMom, MCSMom(), MCSThetaRMS(), NumPtsWithCharge(), tca::Trajectory::PDGCode, PrintPos(), tca::Trajectory::Pts, tca::Trajectory::StopFlag, tca::Trajectory::Strategy, tcc, TrajPointSeparation(), and tca::TCConfig::useAlg.
Referenced by CheckHiMultUnusedHits(), and StepAway().
bool tca::HasDuplicateHits | ( | TCSlice & | slc, |
Trajectory const & | tj, | ||
bool | prt | ||
) |
Definition at line 2469 of file Utils.cxx.
References kAllHits, PrintHit(), PutTrajHitsInVector(), and tca::TCSlice::slHits.
Referenced by CheckTraj(), and MergeAndStore().
void tca::HiEndDelta | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2566 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TrajPoint::Ang, tca::TrajPoint::AngErr, tca::TrajPoint::AngleCode, tca::TrajPoint::Chg, tca::TCConfig::dbgStp, tca::TrajPoint::Delta, tca::TrajPoint::DeltaRMS, tca::TrajPoint::Dir, tca::Trajectory::EndPt, tca::TrajPoint::FitChi, FitTraj(), tca::TrajPoint::HitPos, kBragg, kHED, kStiffEl, tca::Trajectory::MCSMom, tca::TrajPoint::NTPsFit, tca::Trajectory::Pass, PointTrajDOCA(), tca::TrajPoint::Pos, PrintTrajPoint(), tca::Trajectory::Pts, tca::Trajectory::StepDir, tca::Trajectory::StopFlag, tca::Trajectory::Strategy, tcc, and tca::TCConfig::useAlg.
Referenced by CheckTraj().
float tca::HitSep2 | ( | TCSlice & | slc, |
unsigned int | iht, | ||
unsigned int | jht | ||
) |
Definition at line 2239 of file Utils.cxx.
References tca::TCEvent::allHits, evt, tca::TCSlice::slHits, tcc, and tca::TCConfig::unitsPerTick.
Referenced by tca::TrajClusterAlg::FindJunkTraj().
float tca::HitsPosTick | ( | TCSlice & | slc, |
const std::vector< unsigned int > & | hitsInMultiplet, | ||
float & | sum, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 3742 of file Utils.cxx.
References tca::TCEvent::allHits, evt, kAllHits, kUnusedHits, kUsedHits, and tca::TCSlice::slHits.
Referenced by DotProd(), HitsPosTime(), tca::TrajClusterAlg::ReconstructAllTraj(), and TrajHitsOK().
float tca::HitsPosTime | ( | TCSlice & | slc, |
const std::vector< unsigned int > & | hitsInMultiplet, | ||
float & | sum, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 3736 of file Utils.cxx.
References HitsPosTick(), tcc, and tca::TCConfig::unitsPerTick.
Referenced by DotProd().
float tca::HitsRMSTick | ( | TCSlice & | slc, |
const std::vector< unsigned int > & | hitsInMultiplet, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 3706 of file Utils.cxx.
References tca::TCEvent::allHits, evt, kAllHits, kUnusedHits, kUsedHits, and tca::TCSlice::slHits.
Referenced by DotProd(), FindUseHits(), HitsRMSTime(), and tca::TrajClusterAlg::ReconstructAllTraj().
float tca::HitsRMSTime | ( | TCSlice & | slc, |
const std::vector< unsigned int > & | hitsInMultiplet, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 3700 of file Utils.cxx.
References HitsRMSTick(), tcc, and tca::TCConfig::unitsPerTick.
Referenced by DotProd(), and HitsTimeErr2().
float tca::HitsTimeErr2 | ( | TCSlice & | slc, |
const std::vector< unsigned int > & | hitVec | ||
) |
Definition at line 1701 of file StepUtils.cxx.
References tca::TCConfig::hitErrFac, HitsRMSTime(), kUnusedHits, and tcc.
Referenced by DefineHitPos().
float tca::HitTimeErr | ( | TCSlice & | slc, |
unsigned int | iht | ||
) |
Definition at line 1693 of file StepUtils.cxx.
References tca::TCEvent::allHits, evt, tca::TCConfig::hitErrFac, tca::TCSlice::slHits, tcc, and tca::TCConfig::unitsPerTick.
Referenced by DefineHitPos(), and FindUseHits().
double tca::InShowerProb | ( | double | showerEnergy, |
double | along, | ||
double | trans | ||
) |
float tca::InShowerProb | ( | TCSlice & | slc, |
const ShowerStruct3D & | ss3, | ||
const PFPStruct & | pfp | ||
) |
Definition at line 2103 of file TCShower.cxx.
References tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, tca::PFPStruct::ID, tca::ShowerStruct3D::ID, InShowerProb(), ss, tca::PFPStruct::TjIDs, and tca::TCSlice::tjs.
float tca::InShowerProb | ( | TCSlice & | slc, |
const ShowerStruct & | ss, | ||
const Trajectory & | tj | ||
) |
Definition at line 2127 of file TCShower.cxx.
References tca::Trajectory::CTP, tca::ShowerStruct::CTP, DotProd(), FindAlongTrans(), tca::Trajectory::ID, tca::ShowerStruct::ID, PosSep(), tca::Trajectory::Pts, tca::ShowerStruct::ShowerTjID, tca::TCSlice::tjs, and TrajTrajDOCA().
Referenced by InShowerProb(), and Reconcile3D().
double tca::InShowerProbLong | ( | double | showerEnergy, |
double | along | ||
) |
Definition at line 2049 of file TCShower.cxx.
References ShowerParams().
Referenced by FindParent(), InShowerProbParam(), MergeSubShowers(), and ParentFOM().
double tca::InShowerProbParam | ( | double | showerEnergy, |
double | along, | ||
double | trans | ||
) |
Definition at line 2097 of file TCShower.cxx.
References InShowerProbLong(), and InShowerProbTrans().
double tca::InShowerProbTrans | ( | double | showerEnergy, |
double | along, | ||
double | trans | ||
) |
Definition at line 2083 of file TCShower.cxx.
References ShowerParamTransRMS().
Referenced by InShowerProbParam(), and MergeSubShowers().
Definition at line 2810 of file PFPUtils.cxx.
References evd::details::end(), tca::PFPStruct::ID, tca::TCSlice::xHi, tca::TCSlice::xLo, tca::PFPStruct::XYZ, tca::TCSlice::yHi, tca::TCSlice::yLo, tca::TCSlice::zHi, and tca::TCSlice::zLo.
Referenced by DotProd(), PrintP(), and StitchPFPs().
bool tca::InsideTPC | ( | const Point3_t & | pos, |
geo::TPCID & | inTPCID | ||
) |
Definition at line 2825 of file PFPUtils.cxx.
References geo::GeometryCore::DetHalfHeight(), geo::GeometryCore::DetHalfWidth(), geo::GeometryCore::DetLength(), tca::TCConfig::geom, geo::GeometryCore::IterateTPCIDs(), geo::TPCGeo::LocalToWorld(), tcc, and geo::GeometryCore::TPC().
Referenced by DotProd(), and PrintPFP().
bool tca::InTrajOK | ( | TCSlice & | slc, |
std::string | someText | ||
) |
Definition at line 1333 of file Utils.cxx.
References AlgBitNames, evd::details::end(), kKilled, kUsedHits, PrintHit(), PrintTrajectory(), PutTrajHitsInVector(), tca::TCSlice::slHits, tca::TCSlice::tjs, and tca::TCSlice::vtxs.
Referenced by FindVtxTjs(), and tca::TrajClusterAlg::ReconstructAllTraj().
Definition at line 3297 of file TCVertex.cxx.
References tca::VtxStore::CTP, tcc, VertexVertexPull(), tca::TCConfig::vtx2DCuts, and tca::TCSlice::vtxs.
Referenced by Find2DVertices().
Definition at line 3316 of file TCVertex.cxx.
References tcc, VertexVertexPull(), tca::TCConfig::vtx3DCuts, tca::TCSlice::vtx3s, and tca::Vtx3Store::X.
bool tca::IsGhost | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 3221 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TCConfig::dbgStp, tca::Trajectory::EndPt, tca::Trajectory::ID, tca::Trajectory::IsGood, kKilled, kStiffEl, kUseGhostHits, tca::Trajectory::MCSMom, MCSMom(), tca::TCConfig::minPts, MoveTPToWire(), tca::Trajectory::Pass, tca::Trajectory::PDGCode, tca::TrajPoint::Pos, PrintTrajectory(), tca::Trajectory::Pts, tca::TCConfig::qualityCuts, SetEndPoints(), tca::TCSlice::slHits, tca::Trajectory::Strategy, tcc, tca::TCSlice::tjs, TrimEndPts(), UnsetUsedHits(), and tca::TCConfig::useAlg.
Referenced by tca::TrajClusterAlg::FindJunkTraj().
bool tca::IsGhost | ( | TCSlice & | slc, |
std::vector< unsigned int > & | tHits | ||
) |
Definition at line 3385 of file StepUtils.cxx.
References tca::TCConfig::dbgAlg, tca::TCConfig::dbgStp, GetHitMultiplet(), kUseGhostHits, tca::TCSlice::slHits, tcc, tca::TCSlice::tjs, and tca::TCConfig::useAlg.
Referenced by CheckTraj().
bool tca::IsShowerLike | ( | TCSlice & | slc, |
const std::vector< int > | TjIDs | ||
) |
Definition at line 2002 of file TCShower.cxx.
References kShowerLike, and tca::TCSlice::tjs.
Referenced by DefineDontCluster(), DefinePFPParents(), PrintP(), and PrintPFP().
void tca::KillPoorVertices | ( | TCSlice & | slc | ) |
Definition at line 2418 of file TCVertex.cxx.
References MakeVertexObsolete(), tcc, tca::TCConfig::vtx2DCuts, tca::TCSlice::vtx3s, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::RunTrajClusterAlg().
void tca::KillVerticesInShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 702 of file TCShower.cxx.
References tca::ShowerStruct::CTP, tca::TCSlice::dontCluster, tca::ShowerStruct::Envelope, GetAssns(), tca::ShowerStruct::ID, tca::TCSlice::ID, kKillInShowerVx, MakeVertexObsolete(), PointInsideEnvelope(), tcc, tca::TCSlice::tjs, tca::TCConfig::useAlg, tca::TCSlice::vtx3s, and tca::TCSlice::vtxs.
Referenced by MergeShowersAndStore().
double tca::KinkAngle | ( | TCSlice & | slc, |
const std::vector< TrajPoint3 > & | tp3s, | ||
unsigned short | atPt, | ||
double | sep | ||
) |
Definition at line 1943 of file PFPUtils.cxx.
References DeltaAngle(), and PosSep2().
Referenced by DotProd(), FindKinks(), PrintTp3s(), and Split3DKink().
bool tca::LineLineIntersect | ( | Point3_t | p1, |
Point3_t | p2, | ||
Point3_t | p3, | ||
Point3_t | p4, | ||
Point3_t & | intersect, | ||
float & | doca | ||
) |
bool tca::LongPulseHit | ( | const recob::Hit & | hit | ) |
Definition at line 3936 of file Utils.cxx.
References recob::Hit::GoodnessOfFit(), and recob::Hit::Multiplicity().
Referenced by AddHits(), DefineHitPos(), DotProd(), FindUseHits(), and tca::TrajClusterAlg::ReconstructAllTraj().
Definition at line 3523 of file Utils.cxx.
References tca::TrajPoint::Ang, detinfo::DetectorProperties::ConvertXToTicks(), tca::TrajPoint::CTP, DecodeCTP(), tca::TrajPoint::Delta, tca::TCConfig::detprop, tca::TrajPoint::Dir, tca::TCConfig::geom, tca::TCConfig::maxPos0, norm, geo::PlaneID::Plane, tca::TrajPoint::Pos, tcc, tca::TCConfig::unitsPerTick, and geo::GeometryCore::WireCoordinate().
Referenced by DotProd(), FindMissedTjsInTp3s(), FindParent(), FindPFParticles(), FindShowerStart(), Print3S(), PrintShowers(), and SetParent().
bool tca::MakeBareTrajPoint | ( | TCSlice & | slc, |
unsigned int | fromHit, | ||
unsigned int | toHit, | ||
TrajPoint & | tp | ||
) |
Definition at line 3581 of file Utils.cxx.
References tca::TCEvent::allHits, EncodeCTP(), evt, MakeBareTrajPoint(), and tca::TCSlice::slHits.
Referenced by DotProd(), EndMerge(), FillGaps(), MergeShowerChain(), and ParentFOM().
bool tca::MakeBareTrajPoint | ( | TCSlice & | slc, |
float | fromWire, | ||
float | fromTick, | ||
float | toWire, | ||
float | toTick, | ||
CTP_t | tCTP, | ||
TrajPoint & | tp | ||
) |
Definition at line 3594 of file Utils.cxx.
References tca::TrajPoint::Ang, tca::TrajPoint::CTP, tca::TrajPoint::Dir, norm, tca::TrajPoint::Pos, tcc, and tca::TCConfig::unitsPerTick.
Definition at line 3610 of file Utils.cxx.
References tca::TrajPoint::Ang, tca::TrajPoint::Dir, PointDirection(), and tca::TrajPoint::Pos.
bool tca::MakeBareTrajPoint | ( | TCSlice & | slc, |
const TrajPoint & | tpIn1, | ||
const TrajPoint & | tpIn2, | ||
TrajPoint & | tpOut | ||
) |
Definition at line 3628 of file Utils.cxx.
References tca::TrajPoint::Ang, tca::TrajPoint::CTP, tca::TrajPoint::Dir, PointDirection(), and tca::TrajPoint::Pos.
Referenced by FindCloseTjs(), MakeBareTrajPoint(), SignalBetween(), StartTraj(), TjDeltaRMS(), and UpdateVxEnvironment().
void tca::MakeHaloTj | ( | TCSlice & | slc, |
Trajectory & | muTj, | ||
bool | prt | ||
) |
Definition at line 20 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::ChgRMS, tca::Trajectory::CTP, DefineHitPos(), tca::Trajectory::EndPt, evt, FindCloseHits(), GetPFPIndex(), GetSliceIndex(), tca::TCEvent::globalTjID, tca::Trajectory::ID, tca::TCSlice::ID, kAllHits, kDeltaRay, kHaloTj, kKilled, kMat3D, MakeTrajectoryObsolete(), tca::TCConfig::muonTag, tca::Trajectory::ParentID, tca::Trajectory::Pass, tca::Trajectory::PDGCode, tca::TCSlice::pfps, PointTrajDOCA(), PrintTrajectory(), tca::Trajectory::Pts, tca::TCSlice::slHits, slices, tca::Trajectory::StartEnd, tca::Trajectory::StepDir, tcc, tca::TCSlice::tjs, tca::Trajectory::TotChg, tca::Trajectory::UID, tca::TCConfig::useAlg, and tca::Trajectory::WorkID.
Referenced by tca::TrajClusterAlg::ReconstructAllTraj().
bool tca::MakeJunkTraj | ( | TCSlice & | slc, |
std::vector< unsigned int > | tHits | ||
) |
Definition at line 4223 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TCEvent::allHits, tca::Trajectory::CTP, tca::TCConfig::dbgAlg, tca::TCConfig::dbgStp, DefineHitPos(), evt, Fit2D(), tca::Trajectory::IsGood, kJunkTj, tca::TCConfig::minPts, PrintTrajectory(), tca::Trajectory::Pts, ReleaseHits(), SetAngleCode(), SetEndPoints(), tca::TCSlice::slHits, StartTraj(), StoreTraj(), tcc, tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, and valsDecreasing().
Referenced by tca::TrajClusterAlg::FindJunkTraj().
Definition at line 14 of file TCVertex.cxx.
References close(), tca::VtxStore::CTP, tca::TCConfig::dbgSlc, tca::TCConfig::dbgVxJunk, DecodeCTP(), FindCloseTjs(), tca::VtxStore::ID, kFixed, kHaloTj, kJunkTj, kJunkVx, kKilled, kShowerLike, geo::PlaneID::Plane, tca::VtxStore::Pos, tca::VtxStore::PosErr, PosSep(), tca::VtxStore::Score, SignalBetween(), tca::VtxStore::Stat, StoreVertex(), tcc, tca::TCSlice::tjs, tca::VtxStore::Topo, TrajLength(), tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, tca::TCConfig::vtx2DCuts, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::ReconstructAllTraj().
void tca::MakeShowerObsolete | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 3242 of file TCShower.cxx.
References tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, tca::ShowerStruct3D::ID, tca::ShowerStruct3D::PFPIndex, tca::TCSlice::pfps, and ss.
void tca::MakeShowerObsolete | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3266 of file TCShower.cxx.
References tca::Trajectory::AlgMod, tca::ShowerStruct::ID, kKilled, kMergeNrShowers, kMergeOverlap, kMergeShChain, kMergeSubShowers, kShwrParent, MakeTrajectoryObsolete(), tca::TCSlice::showers, tca::ShowerStruct::ShowerTjID, tca::ShowerStruct::SS3ID, tca::Trajectory::SSID, tca::ShowerStruct::TjIDs, and tca::TCSlice::tjs.
Referenced by CompleteIncompleteShower(), FindShowers3D(), Match2DShowers(), MergeShowers(), Reconcile3D(), and RemoveTj().
bool tca::MakeTp3 | ( | TCSlice & | slc, |
const TrajPoint & | itp, | ||
const TrajPoint & | jtp, | ||
TrajPoint3 & | tp3, | ||
bool | findDirection | ||
) |
Definition at line 1555 of file PFPUtils.cxx.
References tca::TrajPoint::Chg, detinfo::DetectorProperties::ConvertTicksToX(), detinfo::DetectorProperties::ConvertXToTicks(), tca::TrajPoint::CTP, DecodeCTP(), tca::TrajPoint3::dEdx, den, tca::TCConfig::detprop, tca::TrajPoint::Dir, tca::TrajPoint3::Dir, tca::TCConfig::geom, tca::TrajPoint::Pos, tca::TrajPoint3::Pos, PosSep(), tcc, tca::TCConfig::unitsPerTick, and geo::GeometryCore::WireCoordinate().
Referenced by FindCompleteness(), FindXMatches(), Match2DShowers(), and UpdateShower().
void tca::MakeTrajectoryObsolete | ( | TCSlice & | slc, |
unsigned int | itj | ||
) |
Definition at line 1922 of file Utils.cxx.
References kKilled, tca::TCSlice::slHits, and tca::TCSlice::tjs.
Referenced by MakeHaloTj(), MakeShowerObsolete(), MergeAndStore(), MergePFPTjs(), and MergeShowersAndStore().
bool tca::MakeVertexObsolete | ( | std::string | fcnLabel, |
TCSlice & | slc, | ||
VtxStore & | vx2, | ||
bool | forceKill | ||
) |
Definition at line 3120 of file TCVertex.cxx.
References tca::VtxStore::CTP, tca::TCConfig::dbg2V, tca::TCConfig::dbg3V, DecodeCTP(), evd::details::end(), tca::VtxStore::ID, tca::Vtx3Store::ID, kEnvOverlap, kHaloTj, kHiVx3Score, kKilled, kPhoton, kTjHiVx3Score, tca::TCSlice::nPlanes, tca::TCSlice::pfps, geo::PlaneID::Plane, tca::VtxStore::Pos, SetVx3Score(), tcc, tca::TCSlice::tjs, tca::TCConfig::vtx2DCuts, tca::TCSlice::vtx3s, tca::TCSlice::vtxs, tca::Vtx3Store::Vx2ID, tca::VtxStore::Vx3ID, and tca::Vtx3Store::Wire.
Referenced by CheckTrajBeginChg(), ChkVxTjs(), CompleteIncomplete3DVertices(), KillPoorVertices(), KillVerticesInShower(), MakeVertexObsolete(), MergeAndStore(), MergePFPTjs(), SplitTrajCrossingVertices(), and TagShowerLike().
Definition at line 3208 of file TCVertex.cxx.
References tca::Vtx3Store::ID, MakeVertexObsolete(), tca::TCSlice::vtx3s, tca::TCSlice::vtxs, and tca::Vtx3Store::Vx2ID.
void tca::MaskBadTPs | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
float const & | maxChi | ||
) |
Definition at line 2665 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TrajPoint::Chg, tca::TCConfig::dbgAlg, tca::TCConfig::dbgStp, tca::TrajPoint::Delta, tca::TrajPoint::FitChi, FitTraj(), tca::Trajectory::IsGood, kMaskBadTPs, kRvPrp, tca::TrajPoint::NTPsFit, tca::Trajectory::Pts, tcc, UnsetUsedHits(), and tca::TCConfig::useAlg.
Referenced by UpdateTraj().
bool tca::MaskedHitsOK | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2710 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TCEvent::allHits, tca::TCConfig::dbgStp, DefineHitPos(), tca::Trajectory::EndPt, evt, FitTraj(), tca::TrajPoint::Hits, tca::Trajectory::ID, kMaskHits, tca::TCConfig::minPtsFit, tca::TrajPoint::NTPsFit, tca::Trajectory::Pass, PrintTrajectory(), tca::Trajectory::Pts, SetEndPoints(), tca::TCSlice::slHits, tcc, UpdateTjChgProperties(), tca::TCConfig::useAlg, and tca::TrajPoint::UseHit.
Referenced by StepAway().
void tca::MaskTrajEndPoints | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | nPts | ||
) |
Definition at line 3887 of file StepUtils.cxx.
References ChkMichel(), tca::TCConfig::dbgStp, tca::Trajectory::EndPt, tca::Trajectory::ID, tca::Trajectory::IsGood, PointTrajDOCA(), PrintPos(), tca::Trajectory::Pts, SetEndPoints(), tcc, TrajPointSeparation(), and UnsetUsedHits().
Referenced by CheckHiMultUnusedHits(), and StepAway().
void tca::Match2DShowers | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
bool | prt | ||
) |
Definition at line 882 of file TCShower.cxx.
References tca::ShowerStruct3D::ChgPos, ChkAssns(), CompleteIncompleteShower(), tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, CreateSS3(), tca::ShowerStruct::CTP, DecodeCTP(), tca::TrajPoint3::Dir, tca::ShowerStruct3D::Dir, tca::ShowerStruct::Energy, tca::ShowerStruct3D::Energy, greaterThan(), tca::ShowerStruct::ID, tca::ShowerStruct3D::ID, tca::TCSlice::ID, tca::SortEntry::index, MakeShowerObsolete(), MakeTp3(), Match3DFOM(), tca::ShowerStruct3D::MatchFOM, tca::TCSlice::nPlanes, tca::ShowerStruct3D::PFPIndex, geo::PlaneID::Plane, tca::TrajPoint3::Pos, PosSep(), PrintShowers(), tca::Trajectory::Pts, Reconcile3D(), tca::TCSlice::showers, tca::ShowerStruct::ShowerTjID, ss, tca::ShowerStruct::SS3ID, StoreShower(), tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, and UpdateShower().
Referenced by FindShowers3D().
float tca::Match3DFOM | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 1345 of file TCShower.cxx.
References tca::ShowerStruct3D::CotIDs, and Match3DFOM().
float tca::Match3DFOM | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | icid, | ||
int | jcid, | ||
int | kcid, | ||
bool | prt | ||
) |
Definition at line 1362 of file TCShower.cxx.
References tca::TCSlice::cots, and Match3DFOM().
float tca::Match3DFOM | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | icid, | ||
int | jcid, | ||
bool | prt | ||
) |
Definition at line 1377 of file TCShower.cxx.
References detinfo::DetectorProperties::ConvertTicksToX(), tca::TCSlice::cots, DecodeCTP(), tca::TCConfig::detprop, tcc, tca::TCSlice::tjs, and tca::TCConfig::unitsPerTick.
Referenced by Match2DShowers(), and Match3DFOM().
void tca::Match3DVtxTjs | ( | TCSlice & | slc, |
bool | prt | ||
) |
Definition at line 1693 of file TCVertex.cxx.
References AnalyzePFP(), CreatePFP(), DefinePFP(), tca::PFPStruct::Dir, GetVtxTjIDs(), tca::PFPStruct::ID, tca::SortEntry::index, kHaloTj, kKilled, kM3DVxTj, kMat3D, tca::TCSlice::matchVec, tca::PFPStruct::MatchVecIndex, tca::TCSlice::nPlanes, tca::PFPStruct::PDGCode, PDGCodeVote(), PrintPFP(), SetDifference(), SetIntersection(), Split3DKink(), StorePFP(), tcc, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tmp, tca::TCConfig::useAlg, tca::SortEntry::val, valDecreasing(), tca::TCConfig::vtx2DCuts, tca::TCSlice::vtx3s, tca::PFPStruct::Vx3ID, and tca::PFPStruct::XYZ.
Referenced by FindPFParticles().
unsigned short tca::MatchVecIndex | ( | TCSlice & | slc, |
int | tjID | ||
) |
float tca::MaxChargeAsymmetry | ( | TCSlice & | slc, |
std::vector< int > & | tjIDs | ||
) |
Definition at line 340 of file Utils.cxx.
References DecodeCTP(), tca::TCSlice::nPlanes, geo::PlaneID::Plane, tca::TCSlice::tjs, and UpdateTjChgProperties().
float tca::MaxHitDelta | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2734 of file Utils.cxx.
References PointTrajDOCA(), and tca::Trajectory::Pts.
Referenced by CheckHiMultUnusedHits(), and FillGaps().
float tca::MaxTjLen | ( | TCSlice & | slc, |
std::vector< int > & | tjIDs | ||
) |
Definition at line 2322 of file Utils.cxx.
References PosSep2(), and tca::TCSlice::tjs.
Referenced by DefinePFP(), and FindPFParticles().
short tca::MCSMom | ( | TCSlice & | slc, |
const std::vector< int > & | tjIDs | ||
) |
Definition at line 2914 of file Utils.cxx.
References tca::TCSlice::tjs.
Referenced by CheckTraj(), DefinePFP(), DotProd(), FillGaps(), FindCots(), FindHammerVertices2(), FindParent(), FindPFParticles(), FindSoftKink(), Forecast(), GottaKink(), IsGhost(), MergeNearby2DShowers(), MergePFPTjs(), MergeSubShowersTj(), UpdateStiffEl(), and UpdateTraj().
short tca::MCSMom | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2930 of file Utils.cxx.
References tca::Trajectory::EndPt, and MCSMom().
short tca::MCSMom | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | firstPt, | ||
unsigned short | lastPt | ||
) |
Definition at line 2936 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::EndPt, kJunkTj, MCSThetaRMS(), NearestPtWithChg(), NumPtsWithCharge(), tca::Trajectory::Pts, and TrajPointSeparation().
Referenced by MCSMom(), PrintP(), PrintPFP(), and SplitTraj().
float tca::MCSThetaRMS | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2984 of file Utils.cxx.
References tca::Trajectory::EndPt, MCSThetaRMS(), tca::Trajectory::Pts, and TrajPointSeparation().
Referenced by DotProd(), EndMerge(), and GottaKink().
double tca::MCSThetaRMS | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | firstPt, | ||
unsigned short | lastPt | ||
) |
Definition at line 2998 of file Utils.cxx.
References tca::Trajectory::EndPt, NearestPtWithChg(), tca::Trajectory::Pts, TjDeltaRMS(), and TrajPointSeparation().
Referenced by MCSMom(), and MCSThetaRMS().
bool tca::MergeAndStore | ( | TCSlice & | slc, |
unsigned int | itj1, | ||
unsigned int | itj2, | ||
bool | doPrt | ||
) |
Not allowed
Definition at line 4095 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::EndPt, GetPFPIndex(), HasDuplicateHits(), tca::Trajectory::ID, kBragg, kDeltaRay, kHaloTj, kKilled, kMichel, kShowerTj, MakeTrajectoryObsolete(), MakeVertexObsolete(), MergeShowerTjsAndStore(), tca::Trajectory::ParentID, PosSep2(), PrintPos(), PrintTrajectory(), tca::Trajectory::Pts, ReverseTraj(), SetEndPoints(), SetPDGCode(), tca::Trajectory::StepDir, tca::Trajectory::StopFlag, StoreTraj(), tca::TCSlice::tjs, TrajPointTrajDOCA(), UpdateMatchStructs(), tca::Trajectory::VtxID, tca::TCSlice::vtxs, and tca::Trajectory::WorkID.
Referenced by ChkVxTjs(), DotProd(), EndMerge(), and MergeTjIntoPFP().
Definition at line 1955 of file Utils.cxx.
References kAllHits, kHaloTj, kKilled, kMrgGhost, PutTrajHitsInVector(), tca::TCSlice::slHits, tcc, tca::TCSlice::tjs, and tca::TCConfig::useAlg.
void tca::MergeNearby2DShowers | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
const CTP_t & | inCTP, | ||
bool | prt | ||
) |
Definition at line 2374 of file TCShower.cxx.
References AddTj(), tca::Trajectory::AlgMod, ChkAssns(), tca::TCSlice::cots, tca::ShowerStruct::CTP, DontCluster(), GetAssns(), tca::ShowerStruct::ID, tca::TCSlice::ID, kMat3D, kMergeNrShowers, MCSMom(), MergeShowersAndStore(), tca::ShowerStruct::NearTjIDs, tca::TCSlice::pfps, SetIntersection(), tca::ShowerStruct::ShowerTjID, ss, tcc, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, and tca::TCConfig::useAlg.
Referenced by FindShowers3D().
Definition at line 2461 of file TCShower.cxx.
References tca::Trajectory::AlgMod, ChkAssns(), close(), tca::TCSlice::cots, DontCluster(), DotProd(), tca::TCSlice::ID, kMergeOverlap, MergeShowersAndStore(), PointInsideEnvelope(), PosSep(), PosSep2(), tca::TCConfig::showerTag, tcc, tca::TCSlice::tjs, and tca::TCConfig::useAlg.
Referenced by cluster::ClusterCrawlerAlg::ClusterLoop(), and FindShowers3D().
Definition at line 1203 of file PFPUtils.cxx.
References tca::Trajectory::AlgMod, geo::CryostatID::Cryostat, tca::Trajectory::CTP, DecodeCTP(), EncodeCTP(), evd::details::end(), tca::TCConfig::geom, tca::Trajectory::ID, tca::PFPStruct::ID, kMat3DMerge, MakeTrajectoryObsolete(), MakeVertexObsolete(), tca::Trajectory::MCSMom, MCSMom(), geo::TPCGeo::Nplanes(), geo::PlaneID::Plane, PrintPFP(), tca::Trajectory::Pts, ReverseTraj(), SetEndPoints(), SetPDGCode(), tca::Trajectory::SSID, tca::Trajectory::StepDir, StoreTraj(), tcc, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tca::PFPStruct::Tp3s, geo::TPCID::TPC, geo::GeometryCore::TPC(), tca::PFPStruct::TPCID, UpdateMatchStructs(), UpdateTp3s(), tca::Trajectory::VtxID, and tca::TCSlice::vtxs.
Referenced by DefinePFP().
Definition at line 2573 of file TCShower.cxx.
References ChkAssns(), tca::TCSlice::cots, tca::ShowerStruct::CTP, DontCluster(), tca::ShowerStruct::Energy, tca::ShowerStruct::ID, kMergeShChain, lessThan(), MakeBareTrajPoint(), MergeShowers(), PointTrajDOCA(), PosSep(), PrintPos(), tca::ShowerStruct::ShowerTjID, tcc, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, and tca::TCConfig::useAlg.
Referenced by FindShowers3D().
int tca::MergeShowers | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
std::vector< int > | ssIDs, | ||
bool | prt | ||
) |
Definition at line 2917 of file TCShower.cxx.
References tca::TCSlice::cots, CreateSS(), kKilled, MakeShowerObsolete(), ss, StoreShower(), tca::TCSlice::tjs, and UpdateShower().
Referenced by MergeShowerChain().
bool tca::MergeShowersAndStore | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | icotID, | ||
int | jcotID, | ||
bool | prt | ||
) |
Definition at line 2985 of file TCShower.cxx.
References tca::TCSlice::cots, tca::ShowerStruct::CTP, tca::Trajectory::ID, tca::ShowerStruct::ID, KillVerticesInShower(), MakeTrajectoryObsolete(), tca::ShowerStruct::NearTjIDs, tca::ShowerStruct::NeedsUpdate, tca::Trajectory::Pts, tca::ShowerStruct::ShowerTjID, tca::ShowerStruct::ShPts, tca::ShowerStruct::SS3ID, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, tca::ShowerStruct::TruParentID, and UpdateShower().
Referenced by MergeNearby2DShowers(), MergeOverlap(), MergeShowerTjsAndStore(), MergeSubShowers(), and Reconcile3D().
bool tca::MergeShowerTjsAndStore | ( | TCSlice & | slc, |
unsigned short | istj, | ||
unsigned short | jstj, | ||
bool | prt | ||
) |
Definition at line 3060 of file TCShower.cxx.
References tca::Trajectory::AlgMod, tca::TCSlice::cots, GetCotID(), tca::Trajectory::ID, tca::ShowerStruct::ID, kShowerTj, MergeShowersAndStore(), tca::ShowerStruct::TjIDs, and tca::TCSlice::tjs.
Referenced by MergeAndStore().
Definition at line 2810 of file TCShower.cxx.
References tca::Trajectory::AlgMod, tca::ShowerStruct::AspectRatio, ChkAssns(), tca::TCSlice::cots, tca::TrajPoint::Dir, DontCluster(), tca::ShowerStruct::Energy, FindAlongTrans(), greaterThan(), tca::ShowerStruct::ID, tca::SortEntry::index, InShowerProbLong(), InShowerProbTrans(), kMergeSubShowers, MergeShowersAndStore(), PointTrajDOCA(), tca::TrajPoint::Pos, PosSep(), ShowerParams(), tca::TCConfig::showerTag, tca::ShowerStruct::ShowerTjID, ss, tcc, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, tca::TCConfig::useAlg, and tca::TCConfig::wirePitch.
Referenced by FindShowers3D().
void tca::MergeSubShowersTj | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
const CTP_t & | inCTP, | ||
bool | prt | ||
) |
Definition at line 2699 of file TCShower.cxx.
References AddTj(), ChgToMeV(), ChkAssns(), tca::TCSlice::cots, DontCluster(), FarEnd(), kHaloTj, kKilled, kMergeSubShowersTj, mat, MCSMom(), NumPtsWithCharge(), PointTrajDOCA(), PosSep(), tca::TCConfig::showerTag, ss, tcc, tca::TCSlice::tjs, and tca::TCConfig::useAlg.
Referenced by FindShowers3D().
Definition at line 507 of file Utils.cxx.
References MergeAndStore(), tca::PFPStruct::TjIDs, and tca::TCSlice::tjs.
void tca::MergeTjList | ( | std::vector< std::vector< int >> & | tjList | ) |
Definition at line 1422 of file TCShower.cxx.
void tca::MergeTjList2 | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
std::vector< std::vector< int >> & | tjList, | ||
bool | prt | ||
) |
Definition at line 701 of file TCVertex.cxx.
References tca::VtxStore::ChiDOF, CloseEnd(), tca::VtxStore::CTP, tca::TCConfig::dbgSlc, tca::TCConfig::dbgVxMerge, evd::details::end(), FitVertex(), GetVtxTjIDs(), tca::VtxStore::ID, tca::SortEntry::index, kFixed, kHaloTj, kKilled, kVtxMerged, kVxMerge, NearestPtWithChg(), NumPtsWithCharge(), tca::VtxStore::Pos, tca::VtxStore::PosErr, PrintPos(), SetVx2Score(), tca::VtxStore::Stat, tcc, tca::TCSlice::tjs, tmp, tca::TCConfig::useAlg, valDecreasing(), and tca::TCSlice::vtxs.
Referenced by Find2DVertices().
void tca::MoveTPToWire | ( | TrajPoint & | tp, |
float | wire | ||
) |
Definition at line 2485 of file Utils.cxx.
References tca::TrajPoint::Dir, and tca::TrajPoint::Pos.
Referenced by AddHits(), Find2DVertices(), FindCloseTjs(), FindHammerVertices2(), FindVtxTjs(), FitTraj(), Forecast(), IsGhost(), and ReversePropagate().
unsigned short tca::NearestPtWithChg | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | thePt | ||
) |
Definition at line 2966 of file Utils.cxx.
References tca::Trajectory::EndPt, and tca::Trajectory::Pts.
Referenced by DotProd(), Find2DVertices(), MCSMom(), MCSThetaRMS(), MergeWithVertex(), and TjDeltaRMS().
int tca::NeutrinoPrimaryTjID | ( | TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 441 of file Utils.cxx.
References tca::Trajectory::AlgMod, evd::details::end(), kHaloTj, kKilled, tca::Trajectory::ParentID, PrimaryID(), tca::TCSlice::tjs, tca::TCSlice::vtx3s, and tca::TCSlice::vtxs.
Referenced by AddTjsInsideEnvelope(), PrintAllTraj(), and PrintT().
unsigned short tca::NumDeltaRays | ( | TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 413 of file Utils.cxx.
References tca::Trajectory::ID, kDeltaRay, kHaloTj, kKilled, and tca::TCSlice::tjs.
unsigned short tca::NumDeltaRays | ( | TCSlice & | slc, |
std::vector< int > & | tjIDs | ||
) |
Definition at line 426 of file Utils.cxx.
References kDeltaRay, kHaloTj, kKilled, and tca::TCSlice::tjs.
unsigned short tca::NumHitsInTP | ( | const TrajPoint & | tp, |
HitStatus_t | hitRequest | ||
) |
Definition at line 3775 of file Utils.cxx.
References tca::TrajPoint::Hits, kAllHits, kUsedHits, and tca::TrajPoint::UseHit.
Referenced by AddHits(), CheckHiMultUnusedHits(), and DotProd().
unsigned short tca::NumPtsWithCharge | ( | TCSlice & | slc, |
const Trajectory & | tj, | ||
bool | includeDeadWires | ||
) |
Definition at line 1863 of file Utils.cxx.
References tca::Trajectory::EndPt, and NumPtsWithCharge().
Referenced by AnalyzePFP(), CheckHiMultUnusedHits(), CheckStiffEl(), CheckTraj(), CompleteIncomplete3DVertices(), EndMerge(), FillmAllTraj(), FindCots(), FindHammerVertices2(), FindVtxTjs(), FixTrajBegin(), FixTrajEnd(), Forecast(), GottaKink(), MergeSubShowersTj(), MergeWithVertex(), tca::TrajClusterAlg::ReconstructAllTraj(), SetStrategy(), SplitTrajCrossingVertices(), StepAway(), TagShowerLike(), and UpdateTraj().
unsigned short tca::NumPtsWithCharge | ( | TCSlice & | slc, |
const Trajectory & | tj, | ||
bool | includeDeadWires, | ||
unsigned short | firstPt, | ||
unsigned short | lastPt | ||
) |
Definition at line 1871 of file Utils.cxx.
References DeadWireCount(), and tca::Trajectory::Pts.
Referenced by ElectronLikelihood(), FitTraj(), MCSMom(), NumPtsWithCharge(), SetPDGCode(), and TrimEndPts().
unsigned short tca::NumUsedHitsInTj | ( | TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 3763 of file Utils.cxx.
References tca::Trajectory::AlgMod, kKilled, and tca::Trajectory::Pts.
Referenced by DotProd().
float tca::OverlapFraction | ( | TCSlice & | slc, |
const Trajectory & | tj1, | ||
const Trajectory & | tj2 | ||
) |
Definition at line 664 of file Utils.cxx.
References tca::Trajectory::Pts.
Referenced by CompatibleMerge(), and EndMerge().
float tca::ParentFOM | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
unsigned short | pend, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 2169 of file TCShower.cxx.
References tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, FarEnd(), tca::PFPStruct::ID, tca::ShowerStruct3D::ID, ParentFOM(), PosSep2(), ss, tca::PFPStruct::TjIDs, and tca::TCSlice::tjs.
float tca::ParentFOM | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
Trajectory & | tj, | ||
unsigned short & | tjEnd, | ||
ShowerStruct & | ss, | ||
float & | tp1Sep, | ||
float & | vx2Score, | ||
bool | prt | ||
) |
Definition at line 2211 of file TCShower.cxx.
References tca::TrajPoint::Ang, tca::ShowerStruct::AspectRatio, ChgFracBetween(), ChgFracNearPos(), DeltaAngle(), tca::TrajPoint::DeltaRMS, tca::TrajPoint::Dir, tca::ShowerStruct::DirectionFOM, tca::Trajectory::EndPt, tca::ShowerStruct::Energy, FarEnd(), FindAlongTrans(), GetAssns(), tca::VtxStore::ID, tca::Trajectory::ID, tca::ShowerStruct::ID, InShowerProbLong(), MakeBareTrajPoint(), tca::VtxStore::Pos, tca::TrajPoint::Pos, PosSep(), PrintPos(), tca::Trajectory::Pts, tca::VtxStore::Score, ShowerParams(), tca::ShowerStruct::ShowerTjID, tcc, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, tca::Trajectory::VtxID, tca::TCSlice::vtxs, and tca::TCConfig::wirePitch.
Referenced by ParentFOM(), and SetParent().
unsigned short tca::PDGCodeIndex | ( | int | PDGCode | ) |
Definition at line 1908 of file Utils.cxx.
Referenced by tca::TruthMatcher::MatchAndSum().
int tca::PDGCodeVote | ( | TCSlice & | slc, |
std::vector< int > & | tjIDs, | ||
bool | prt | ||
) |
Definition at line 372 of file Utils.cxx.
References tca::TCSlice::tjs, and TrajLength().
Referenced by DefinePFPParents(), FindPFParticles(), and Match3DVtxTjs().
float tca::PFPDOCA | ( | const PFPStruct & | pfp1, |
const PFPStruct & | pfp2, | ||
unsigned short & | close1, | ||
unsigned short & | close2 | ||
) |
Definition at line 1790 of file PFPUtils.cxx.
References PosSep2(), and tca::PFPStruct::Tp3s.
Referenced by DefineDontCluster(), DotProd(), and FindCots().
void tca::PFPVertexCheck | ( | TCSlice & | slc | ) |
Definition at line 2502 of file PFPUtils.cxx.
References evt, tca::TCEvent::globalS3ID, tca::Vtx3Store::ID, tca::TCSlice::isValid, tca::TCSlice::nPlanes, tca::TCSlice::pfps, tca::Vtx3Store::Primary, tca::Vtx3Store::TPCID, geo::TPCID::TPCID(), tca::Vtx3Store::UID, tca::TCSlice::vtx3s, tca::Vtx3Store::Vx2ID, tca::Vtx3Store::Wire, tca::Vtx3Store::X, tca::Vtx3Store::Y, and tca::Vtx3Store::Z.
Referenced by DotProd(), and tca::TrajClusterAlg::FinishEvent().
Definition at line 2366 of file PFPUtils.cxx.
References GetVtxTjIDs(), tca::PFPStruct::ID, SetIntersection(), tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tmp, tca::TCSlice::vtx3s, tca::TCSlice::vtxs, and tca::PFPStruct::Vx3ID.
Referenced by AddMissedTj(), AnalyzePFP(), DefinePFP(), and DotProd().
Definition at line 1643 of file PFPUtils.cxx.
Referenced by ChgFracBetween(), CreateFakePFP(), DefineDontCluster(), DotProd(), FindAlongTrans(), FindParent(), FollowTp3s(), and UpdateShower().
bool tca::PointDirIntersect | ( | Point3_t | p1, |
Vector3_t | p1Dir, | ||
Point3_t | p2, | ||
Vector3_t | p2Dir, | ||
Point3_t & | intersect, | ||
float & | doca | ||
) |
Definition at line 2867 of file PFPUtils.cxx.
References LineLineIntersect().
Referenced by DotProd().
Definition at line 2781 of file Utils.cxx.
References DeltaAngle().
Referenced by AddLooseHits(), AddTjsInsideEnvelope(), FindNearbyTjs(), KillVerticesInShower(), and MergeOverlap().
Definition at line 2270 of file Utils.cxx.
References tca::TCEvent::allHits, evt, PointTrajDOCA2(), tca::TCSlice::slHits, tcc, and tca::TCConfig::unitsPerTick.
Referenced by AddHits(), CheckHiMultUnusedHits(), ChkVxTjs(), CompleteIncomplete3DVerticesInGaps(), EndMerge(), FillGaps(), FindHammerVertices2(), FindNearbyTjs(), FindUseHits(), FixTrajBegin(), FixTrajEnd(), Forecast(), HiEndDelta(), MaskTrajEndPoints(), MergeShowerChain(), MergeSubShowers(), MergeSubShowersTj(), SplitTrajCrossingVertices(), TrajPointVertexPull(), UpdateDeltaRMS(), UpdateStiffEl(), UpdateTraj(), and VtxHitsSwap().
Definition at line 2280 of file Utils.cxx.
References PointTrajDOCA2().
Referenced by CompatibleMerge(), FindCloseHits(), MakeHaloTj(), MaxHitDelta(), and TagDeltaRays().
Definition at line 2286 of file Utils.cxx.
References tca::TrajPoint::Dir, and tca::TrajPoint::Pos.
Referenced by PointTrajDOCA(), and TjDeltaRMS().
float tca::PointTrajSep2 | ( | float | wire, |
float | time, | ||
TrajPoint const & | tp | ||
) |
Definition at line 2262 of file Utils.cxx.
References tca::TrajPoint::Pos.
void tca::PosInPlane | ( | const TCSlice & | slc, |
const Vtx3Store & | vx3, | ||
unsigned short | plane, | ||
Point2_t & | pos | ||
) |
Definition at line 3287 of file TCVertex.cxx.
References detinfo::DetectorProperties::ConvertXToTicks(), geo::CryostatID::Cryostat, tca::TCConfig::detprop, tca::TCConfig::geom, tcc, geo::TPCID::TPC, tca::Vtx3Store::TPCID, tca::TCConfig::unitsPerTick, geo::GeometryCore::WireCoordinate(), tca::Vtx3Store::X, tca::Vtx3Store::Y, and tca::Vtx3Store::Z.
Referenced by AttachPFPToVertex(), Print3V(), and PrintAllTraj().
Definition at line 1654 of file PFPUtils.cxx.
References PosSep2().
Referenced by ChgFracBetween(), ChkVxTjs(), DefineDontCluster(), DefineEnvelope(), DefinePFP(), DotProd(), EndMerge(), Find2DVertices(), FindAlongTrans(), FindCots(), FindHammerVertices2(), FindMissedTjsInTp3s(), FindParent(), FindShowerStart(), FitTp3(), FollowTp3s(), InShowerProb(), LineLineIntersect(), MakeJunkVertices(), MakeTp3(), Match2DShowers(), MergeOverlap(), MergeShowerChain(), MergeSubShowers(), MergeSubShowersTj(), ParentFOM(), PrintTp3s(), Reconcile3D(), TagShowerLike(), and UpdateShower().
Definition at line 2353 of file Utils.cxx.
References PosSep2().
Referenced by CompatibleMerge(), PrintP(), PrintPFP(), TagDeltaRays(), and TjDirFOM().
Definition at line 1660 of file PFPUtils.cxx.
Referenced by AttachTrajToVertex(), DotProd(), EndMerge(), FarEnd(), Find2DVertices(), FindKinks(), FindParent(), FitTp3(), FollowTp3s(), KinkAngle(), LengthInCTP(), MergeOverlap(), ParentFOM(), PFPDOCA(), PosSep(), StepAway(), StitchPFPs(), TrajPointVertexPull(), and UpdateShower().
Definition at line 2359 of file Utils.cxx.
Referenced by CloseEnd(), FarEnd(), MaxTjLen(), MergeAndStore(), and PosSep().
int tca::PrimaryID | ( | TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 463 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::ID, kHaloTj, kKilled, tca::Trajectory::ParentID, and tca::TCSlice::tjs.
Referenced by NeutrinoPrimaryTjID(), PrintAllTraj(), and PrintT().
Definition at line 482 of file Utils.cxx.
References GetSliceIndex(), tca::PFPStruct::ID, tca::PFPStruct::ParentUID, slices, and tca::PFPStruct::UID.
Referenced by PrintPFP().
void tca::Print2DShowers | ( | std::string | someText, |
TCSlice & | slc, | ||
CTP_t | inCTP, | ||
bool | printKilledShowers | ||
) |
Definition at line 4648 of file TCShower.cxx.
References tca::TCSlice::cots, tca::TCSlice::dontCluster, DontCluster(), nlines, PrintShower(), ss, tcc, util::flags::to_string(), and tca::TCConfig::unitsPerTick.
Referenced by FindShowers3D(), and Reconcile3D().
void tca::Print2V | ( | std::string | someText, |
mf::LogVerbatim & | myprt, | ||
VtxStore & | vx2 | ||
) |
Definition at line 5026 of file Utils.cxx.
References tca::VtxStore::ChiDOF, tca::VtxStore::CTP, debug, DecodeCTP(), evd::details::end(), GetSliceIndex(), tca::VtxStore::ID, kKilled, tca::VtxStore::NTraj, tca::VtxStore::Pass, tca::DebugStuff::Plane, geo::PlaneID::Plane, tca::VtxStore::Pos, tca::VtxStore::PosErr, art::right(), tca::VtxStore::Score, slices, tca::VtxStore::Stat, tcc, tca::VtxStore::TjChgFrac, util::flags::to_string(), tca::VtxStore::Topo, tca::VtxStore::UID, tca::TCConfig::unitsPerTick, VtxBitNames, and tca::VtxStore::Vx3ID.
Referenced by DotProd(), and PrintAll().
void tca::Print3S | ( | std::string | someText, |
mf::LogVerbatim & | myprt, | ||
ShowerStruct3D & | ss3 | ||
) |
Definition at line 5069 of file Utils.cxx.
References tca::ShowerStruct3D::ChgPos, tca::ShowerStruct3D::CotIDs, geo::CryostatID::Cryostat, tca::ShowerStruct3D::Dir, EncodeCTP(), GetSliceIndex(), tca::ShowerStruct3D::ID, MakeBareTP(), tca::ShowerStruct3D::NeedsUpdate, PrintPos(), slices, ss, util::flags::to_string(), geo::TPCID::TPC, tca::ShowerStruct3D::TPCID, tca::ShowerStruct3D::UID, and tca::ShowerStruct3D::Vx3ID.
Referenced by DotProd(), and PrintAll().
void tca::Print3V | ( | std::string | someText, |
mf::LogVerbatim & | myprt, | ||
Vtx3Store & | vx3 | ||
) |
Definition at line 4959 of file Utils.cxx.
References geo::CryostatID::Cryostat, evd::details::end(), GetAssns(), GetSliceIndex(), tca::Vtx3Store::ID, kVtxTruMatch, tca::Vtx3Store::Neutrino, PosInPlane(), tca::Vtx3Store::Primary, PrintPos(), art::right(), tca::Vtx3Store::Score, slices, util::flags::to_string(), geo::TPCID::TPC, tca::Vtx3Store::TPCID, tca::Vtx3Store::UID, tca::Vtx3Store::Vx2ID, tca::Vtx3Store::Wire, tca::Vtx3Store::X, tca::Vtx3Store::XErr, tca::Vtx3Store::Y, tca::Vtx3Store::YErr, tca::Vtx3Store::Z, and tca::Vtx3Store::ZErr.
Referenced by DotProd(), and PrintAll().
void tca::PrintAll | ( | std::string | someText, |
const std::vector< simb::MCParticle * > & | mcpList | ||
) |
Definition at line 4774 of file Utils.cxx.
References debug, sim::ParticleList::EveId(), cheat::ParticleInventoryService::ParticleList(), Print2V(), Print3S(), Print3V(), PrintP(), PrintT(), tca::DebugStuff::Slice, and slices.
Referenced by DotProd(), export_G4VSensitiveDetector(), and cluster::TrajCluster::produce().
void tca::PrintAllTraj | ( | std::string | someText, |
TCSlice & | slc, | ||
unsigned short | itj, | ||
unsigned short | ipt, | ||
bool | prtVtx | ||
) |
Definition at line 5197 of file Utils.cxx.
References AlgBitNames, geo::CryostatID::Cryostat, debug, DecodeCTP(), evd::details::end(), GetAssns(), tca::Vtx3Store::ID, kAtKink, kAtTj, kAtVtx, kBragg, kEnvNearTj, kKilled, kVtxTruMatch, tca::Vtx3Store::Neutrino, NeutrinoPrimaryTjID(), tca::TCSlice::nPlanes, tca::TCSlice::pfps, tca::DebugStuff::Plane, geo::PlaneID::Plane, PosInPlane(), tca::Vtx3Store::Primary, PrimaryID(), PrintHeader(), PrintPos(), PrintTrajPoint(), art::right(), tca::Vtx3Store::Score, tcc, tca::TCSlice::tjs, tmp, util::flags::to_string(), geo::TPCID::TPC, tca::Vtx3Store::TPCID, tca::TCConfig::unitsPerTick, tca::TCSlice::vtx3s, VtxBitNames, tca::TCSlice::vtxs, tca::Vtx3Store::Vx2ID, tca::Vtx3Store::Wire, tca::Vtx3Store::X, tca::Vtx3Store::XErr, tca::Vtx3Store::Y, tca::Vtx3Store::YErr, tca::Vtx3Store::Z, and tca::Vtx3Store::ZErr.
Referenced by DotProd(), Find2DVertices(), and FindShowers3D().
void tca::PrintClusters | ( | ) |
void tca::PrintHeader | ( | std::string | someText | ) |
Definition at line 5535 of file Utils.cxx.
Referenced by DotProd(), FindVtxTjs(), FitVertex(), PrintAllTraj(), lar_content::LArFormattingHelper::PrintRule(), and PrintTrajectory().
std::string tca::PrintHit | ( | const TCHit & | tch | ) |
Definition at line 5704 of file Utils.cxx.
References tca::TCEvent::allHits, tca::TCHit::allHitsIndex, evt, tca::TCHit::InTraj, and util::flags::to_string().
Referenced by cluster::ClusterCrawlerAlg::AddHit(), AddHits(), cluster::ClusterCrawlerAlg::AddLAHit(), AddLAHits(), CheckHiMultUnusedHits(), tca::TrajClusterAlg::ChkInTraj(), ChkStopEndPts(), cluster::ClusterCrawlerAlg::ClusterLoop(), DotProd(), FillGaps(), Find3DVertices(), tca::TrajClusterAlg::FindJunkTraj(), FindUseHits(), FindVtxTjs(), HasDuplicateHits(), InTrajOK(), cluster::ClusterCrawlerAlg::MergeOverlap(), tca::TrajClusterAlg::ReconstructAllTraj(), ReversePropagate(), and StoreTraj().
std::string tca::PrintHitShort | ( | const TCHit & | tch | ) |
Definition at line 5696 of file Utils.cxx.
References tca::TCEvent::allHits, tca::TCHit::allHitsIndex, evt, and util::flags::to_string().
Referenced by DotProd().
void tca::PrintP | ( | std::string | someText, |
mf::LogVerbatim & | myprt, | ||
PFPStruct & | pfp, | ||
bool & | printHeader | ||
) |
Definition at line 4876 of file Utils.cxx.
References tca::PFPStruct::dEdx, tca::PFPStruct::Dir, tca::PFPStruct::DtrUIDs, tca::PFPStruct::EffPur, GetSliceIndex(), tca::PFPStruct::ID, InsideFV(), IsShowerLike(), SortEntry::length, tca::PFPStruct::mcpListIndex, MCSMom(), tca::PFPStruct::ParentUID, tca::PFPStruct::PDGCode, PosSep(), art::right(), slices, tca::PFPStruct::TjIDs, tca::PFPStruct::TjUIDs, util::flags::to_string(), tca::PFPStruct::Tp3s, tca::PFPStruct::UID, tca::PFPStruct::Vx3ID, and tca::PFPStruct::XYZ.
Referenced by DotProd(), PrintAll(), and StitchPFPs().
Definition at line 5587 of file Utils.cxx.
References tca::PFPStruct::dEdx, tca::PFPStruct::Dir, tca::PFPStruct::DtrUIDs, tca::PFPStruct::EffPur, tca::PFPStruct::ID, InsideTPC(), IsShowerLike(), SortEntry::length, MCSMom(), tca::PFPStruct::ParentUID, tca::PFPStruct::PDGCode, PosSep(), PrimaryUID(), art::right(), tca::PFPStruct::TjIDs, util::flags::to_string(), tca::PFPStruct::Tp3s, tca::PFPStruct::Vx3ID, and tca::PFPStruct::XYZ.
Referenced by DotProd(), Match3DVtxTjs(), MergePFPTjs(), and PrintPFPs().
void tca::PrintPFPs | ( | std::string | someText, |
TCSlice & | slc | ||
) |
Definition at line 5661 of file Utils.cxx.
References tca::TCSlice::pfps, and PrintPFP().
Referenced by DotProd(), and FindShowers3D().
Definition at line 5712 of file Utils.cxx.
References tca::TrajPoint::CTP, tca::TrajPoint::Pos, PrintPos(), and util::flags::to_string().
Referenced by AddLAHits(), ChkStopEndPts(), ChkVxTjs(), CompleteIncomplete3DVertices(), DotProd(), EndMerge(), FillGaps(), Find2DVertices(), FindHammerVertices2(), FindSoftKink(), FitVertex(), FixTrajBegin(), Forecast(), GottaKink(), MaskTrajEndPoints(), tca::TruthMatcher::MatchAndSum(), MergeShowerChain(), MergeWithVertex(), ParentFOM(), PrintShower(), PrintShowers(), PrintTp3(), PrintTp3s(), tca::TrajClusterAlg::ReconstructAllTraj(), ReversePropagate(), SplitHiChgHits(), StepAway(), UpdateShower(), and VtxHitsSwap().
Definition at line 5718 of file Utils.cxx.
References tcc, util::flags::to_string(), and tca::TCConfig::unitsPerTick.
Referenced by CheckTrajBeginChg(), MergeAndStore(), Print3S(), Print3V(), PrintAllTraj(), PrintPos(), TagDeltaRays(), TjDirFOM(), and UpdateVxEnvironment().
void tca::PrintShower | ( | std::string | someText, |
TCSlice & | slc, | ||
const ShowerStruct & | ss, | ||
bool | printHeader, | ||
bool | printExtras | ||
) |
Definition at line 4733 of file TCShower.cxx.
References tca::ShowerStruct::AspectRatio, tca::ShowerStruct::CTP, tca::ShowerStruct::DirectionFOM, tca::ShowerStruct::Energy, tca::ShowerStruct::Envelope, tca::ShowerStruct::ID, tca::ShowerStruct::NearTjIDs, tca::ShowerStruct::NeedsUpdate, tca::ShowerStruct::ParentFOM, tca::ShowerStruct::ParentID, tca::TCSlice::pfps, PrintPos(), tca::TCSlice::showers, tca::ShowerStruct::ShowerTjID, tca::ShowerStruct::SS3ID, tcc, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, util::flags::to_string(), tca::ShowerStruct::TruParentID, and tca::TCConfig::unitsPerTick.
Referenced by Print2DShowers().
void tca::PrintShowers | ( | std::string | fcnLabel, |
TCSlice & | slc | ||
) |
Definition at line 4611 of file TCShower.cxx.
References tca::TCSlice::cots, EncodeCTP(), MakeBareTP(), tca::TCSlice::nPlanes, PrintPos(), tca::TCSlice::showers, ss, and tca::TCSlice::tjs.
Referenced by Match2DShowers().
std::string tca::PrintStopFlag | ( | const Trajectory & | tj, |
unsigned short | end | ||
) |
Definition at line 5677 of file Utils.cxx.
References tca::Trajectory::StopFlag, StopFlagNames, tmp, and util::flags::to_string().
Referenced by DotProd(), FixTrajBegin(), and PrintTrajectory().
void tca::PrintT | ( | std::string | someText, |
mf::LogVerbatim & | myprt, | ||
Trajectory & | tj, | ||
bool & | printHeader | ||
) |
Definition at line 5109 of file Utils.cxx.
References AlgBitNames, tca::Trajectory::AlgMod, tca::Trajectory::ChgRMS, tca::Trajectory::CTP, tca::Trajectory::DirFOM, tca::Trajectory::EffPur, tca::Trajectory::EndPt, GetSliceIndex(), tca::Trajectory::ID, kAtKink, kAtTj, kAtVtx, kBragg, tca::Trajectory::mcpListIndex, tca::Trajectory::MCSMom, NeutrinoPrimaryTjID(), tca::Trajectory::ParentID, tca::Trajectory::Pass, tca::Trajectory::PDGCode, PrimaryID(), tca::Trajectory::Pts, slices, tca::Trajectory::StepDir, tca::Trajectory::StopFlag, tcc, util::flags::to_string(), tca::Trajectory::TotChg, tca::Trajectory::UID, tca::TCConfig::unitsPerTick, tca::Trajectory::VtxID, and tca::Trajectory::WorkID.
Referenced by DotProd(), and PrintAll().
void tca::PrintTp3 | ( | std::string | someText, |
TCSlice & | slc, | ||
const TrajPoint3 & | tp3 | ||
) |
Definition at line 3041 of file PFPUtils.cxx.
References tca::TrajPoint3::Dir, tca::TrajPoint3::Pos, PrintPos(), tca::TrajPoint3::Tj2Pts, and tca::TCSlice::tjs.
Referenced by DotProd(), and SetStart().
Definition at line 3057 of file PFPUtils.cxx.
References DeltaAngle(), tca::PFPStruct::Dir, tca::PFPStruct::ID, KinkAngle(), PosSep(), PrintPos(), tca::TCSlice::tjs, tca::PFPStruct::Tp3s, and tca::PFPStruct::XYZ.
Referenced by DotProd().
void tca::PrintTrajectory | ( | std::string | someText, |
TCSlice & | slc, | ||
const Trajectory & | tj, | ||
unsigned short | tPoint | ||
) |
Definition at line 5455 of file Utils.cxx.
References AlgBitNames, tca::Trajectory::AlgMod, tca::ShowerStruct::Angle, tca::ShowerStruct::AngleErr, tca::ShowerStruct::AspectRatio, tca::ShowerStruct::ChgDensity, tca::TCSlice::cots, tca::Trajectory::CTP, tca::ShowerStruct::DirectionFOM, tca::Trajectory::EndPt, tca::ShowerStruct::Energy, tca::ShowerStruct::Envelope, tca::ShowerStruct::EnvelopeArea, tca::Trajectory::ID, kShowerTj, tca::Trajectory::MCSMom, tca::ShowerStruct::NearTjIDs, tca::ShowerStruct::NeedsUpdate, tca::ShowerStruct::ParentFOM, tca::ShowerStruct::ParentID, tca::Trajectory::Pass, tca::Trajectory::PDGCode, PrintHeader(), PrintStopFlag(), PrintTrajPoint(), tca::Trajectory::Pts, ss, tca::ShowerStruct::SS3ID, tca::Trajectory::StepDir, tcc, tca::ShowerStruct::TjIDs, tca::ShowerStruct::TruParentID, tca::Trajectory::UID, tca::TCConfig::unitsPerTick, tca::Trajectory::VtxID, and tca::Trajectory::WorkID.
Referenced by CheckHiMultUnusedHits(), CheckTraj(), ChkChgAsymmetry(), tca::TrajClusterAlg::ChkInTraj(), DotProd(), FixTrajEnd(), InTrajOK(), IsGhost(), MakeHaloTj(), MakeJunkTraj(), MaskedHitsOK(), MergeAndStore(), tca::TrajClusterAlg::ReconstructAllTraj(), StepAway(), and TrimEndPts().
void tca::PrintTrajPoint | ( | std::string | someText, |
TCSlice & | slc, | ||
unsigned short | ipt, | ||
short | dir, | ||
unsigned short | pass, | ||
TrajPoint const & | tp | ||
) |
Definition at line 5541 of file Utils.cxx.
References tca::TCEvent::allHits, tca::TrajPoint::Ang, tca::TrajPoint::AngErr, tca::TrajPoint::AngleCode, tca::TrajPoint::AveChg, tca::TrajPoint::Chg, tca::TrajPoint::ChgPull, tca::TrajPoint::CTP, tca::TrajPoint::Delta, tca::TrajPoint::DeltaRMS, tca::TrajPoint::Dir, evt, tca::TrajPoint::FitChi, tca::TrajPoint::Hits, tca::TrajPoint::NTPsFit, tca::TrajPoint::Pos, tca::TCSlice::slHits, tca::TrajPoint::Step, tcc, tca::TCConfig::unitsPerTick, and tca::TrajPoint::UseHit.
Referenced by DotProd(), FillGaps(), FindVtxTjs(), FitVertex(), FixTrajBegin(), HiEndDelta(), PrintAllTraj(), PrintTrajectory(), SplitTrajCrossingVertices(), and StepAway().
std::vector< unsigned int > tca::PutTrajHitsInVector | ( | Trajectory const & | tj, |
HitStatus_t | hitRequest | ||
) |
Definition at line 2416 of file Utils.cxx.
References tca::Trajectory::AlgMod, kAllHits, kShowerTj, kUnusedHits, kUsedHits, and tca::Trajectory::Pts.
Referenced by AddLAHits(), CheckHiMultUnusedHits(), tca::TrajClusterAlg::ChkInTraj(), Finish3DShowers(), HasDuplicateHits(), InTrajOK(), tca::TruthMatcher::MatchAndSum(), MergeGhostTjs(), and TransferTjHits().
bool tca::Reconcile3D | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
bool | parentSearchDone, | ||
bool | prt | ||
) |
Definition at line 431 of file TCShower.cxx.
References AddPFP(), ChkAssns(), tca::TCSlice::cots, evd::details::end(), GetAssns(), GetSliceIndex(), tca::TCSlice::ID, InShowerProb(), kMat3D, MakeShowerObsolete(), MergeShowersAndStore(), tca::TCSlice::pfps, Print2DShowers(), RemovePFP(), SetIntersection(), ShowerEnergy(), tca::TCSlice::showers, slices, ss, tca::TCSlice::tjs, and UpdateShower().
bool tca::Reconcile3D | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 580 of file TCShower.cxx.
References AddPFP(), evd::details::begin(), tca::ShowerStruct3D::ChgPos, ChkAssns(), tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, evd::details::end(), FarEnd(), GetAssns(), tca::ShowerStruct3D::ID, tca::TCSlice::ID, InShowerProb(), tca::TCSlice::pfps, PosSep(), Print2DShowers(), RemovePFP(), SetDifference(), ss, and UpdateShower().
Referenced by FindShowers3D(), and Match2DShowers().
void tca::ReleaseHits | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 1150 of file Utils.cxx.
References tca::Trajectory::ID, tca::Trajectory::Pts, and tca::TCSlice::slHits.
Referenced by FindVtxTjs(), MakeJunkTraj(), tca::TrajClusterAlg::ReconstructAllTraj(), and StoreTraj().
bool tca::RemovePFP | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | pID, | ||
ShowerStruct3D & | ss3, | ||
bool | doUpdate, | ||
bool | prt | ||
) |
bool tca::RemovePFP | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
ShowerStruct3D & | ss3, | ||
bool | doUpdate, | ||
bool | prt | ||
) |
Definition at line 1475 of file TCShower.cxx.
References tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, tca::PFPStruct::ID, tca::ShowerStruct3D::ID, tca::ShowerStruct3D::NeedsUpdate, RemoveTj(), ss, tca::PFPStruct::TjIDs, and UpdateShower().
Referenced by Reconcile3D().
bool tca::RemoveTj | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | TjID, | ||
ShowerStruct & | ss, | ||
bool | doUpdate, | ||
bool | prt | ||
) |
Definition at line 1620 of file TCShower.cxx.
References tca::Trajectory::AlgMod, tca::ShowerStruct::ID, kShwrParent, MakeShowerObsolete(), tca::ShowerStruct::NeedsUpdate, tca::ShowerStruct::ParentID, tca::ShowerStruct::ShPts, tca::Trajectory::SSID, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, and UpdateShower().
Referenced by RemovePFP().
void tca::RestoreObsoleteTrajectory | ( | TCSlice & | slc, |
unsigned int | itj | ||
) |
Definition at line 1933 of file Utils.cxx.
References kKilled, tca::TCSlice::slHits, and tca::TCSlice::tjs.
Definition at line 1078 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::PFPStruct::dEdx, tca::PFPStruct::dEdxErr, tca::PFPStruct::Dir, tca::PFPStruct::DirErr, kBragg, kMat3D, tca::PFPStruct::PDGCode, ReverseTraj(), tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tca::PFPStruct::Vx3ID, and tca::PFPStruct::XYZ.
Definition at line 2935 of file PFPUtils.cxx.
References tca::PFPStruct::dEdx, tca::PFPStruct::dEdxErr, tca::PFPStruct::Dir, tca::PFPStruct::DirErr, tca::PFPStruct::Tp3s, tca::PFPStruct::Vx3ID, and tca::PFPStruct::XYZ.
Referenced by DotProd(), and StitchPFPs().
void tca::ReversePropagate | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 1414 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, ChkStop(), ChkStopEndPts(), tca::Trajectory::CTP, tca::TCConfig::dbgAlg, tca::TCConfig::dbgStp, DecodeCTP(), tca::Trajectory::EndPt, FindCloseHits(), tca::TCSlice::firstWire, tca::TrajPoint::Hits, tca::Trajectory::ID, tca::Trajectory::IsGood, kNormal, kRvPrp, kUnusedHits, tca::TCSlice::lastWire, MoveTPToWire(), geo::PlaneID::Plane, PrintHit(), PrintPos(), tca::Trajectory::Pts, ReverseTraj(), SetEndPoints(), tca::TCSlice::slHits, StepAway(), tca::Trajectory::StepDir, tca::Trajectory::Strategy, tcc, tca::TCConfig::useAlg, tca::TrajPoint::UseHit, and tca::TCSlice::wireHitRange.
Referenced by FixTrajBegin().
void tca::ReverseShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3201 of file TCShower.cxx.
References tca::ShowerStruct::Angle, DefineEnvelope(), tca::ShowerStruct::DirectionFOM, tca::ShowerStruct::ID, ReverseTraj(), tca::ShowerStruct::ShowerTjID, tca::ShowerStruct::ShPts, tca::ShowerStruct::TjIDs, and tca::TCSlice::tjs.
void tca::ReverseShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | cotID, | ||
bool | prt | ||
) |
Definition at line 3230 of file TCShower.cxx.
References tca::TCSlice::cots, tca::ShowerStruct::ID, and ss.
Referenced by FindShowerStart(), and UpdateShower().
void tca::ReverseTraj | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2751 of file Utils.cxx.
References tca::Trajectory::dEdx, tca::Trajectory::DirFOM, tca::Trajectory::ID, tca::Trajectory::Pts, SetEndPoints(), tca::Trajectory::StartEnd, tca::Trajectory::StepDir, tca::Trajectory::StopFlag, UpdateMatchStructs(), and tca::Trajectory::VtxID.
Referenced by DefineTjParents(), EndMerge(), MergeAndStore(), MergePFPTjs(), Reverse3DMatchTjs(), ReversePropagate(), ReverseShower(), StorePFP(), and TagDeltaRays().
Definition at line 165 of file TCShTree.cxx.
References tca::TCSlice::cots, kSaveShowerTree, tca::TCConfig::modes, SaveTjInfo(), ss, and tcc.
Referenced by FindShowers3D().
void tca::SaveAllCots | ( | TCSlice & | slc, |
std::string | someText | ||
) |
Definition at line 176 of file TCShTree.cxx.
References tca::TCSlice::cots, kSaveShowerTree, tca::TCConfig::modes, SaveTjInfo(), ss, and tcc.
Definition at line 8 of file TCCR.cxx.
References tca::PFPStruct::CosmicScore, tca::CRTreeVars::cr_origin, tca::CRTreeVars::cr_pfpxmax, tca::CRTreeVars::cr_pfpxmin, tca::CRTreeVars::cr_pfpyzmindis, tca::TCSlice::crt, tca::TCConfig::geom, GetOrigin(), kSaveCRTree, max, geo::BoxBoundedGeo::MaxY(), geo::BoxBoundedGeo::MaxZ(), min, geo::BoxBoundedGeo::MinY(), geo::BoxBoundedGeo::MinZ(), tca::TCConfig::modes, tcc, geo::GeometryCore::TPC(), and tca::PFPStruct::XYZ.
void tca::SaveTjInfo | ( | TCSlice & | slc, |
std::vector< std::vector< int >> & | tjList, | ||
std::string | stageName | ||
) |
Definition at line 5 of file TCShTree.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::CTP, tca::ShowerTreeVars::Envelope, tca::ShowerTreeVars::EnvPlane, tca::ShowerTreeVars::EnvShowerID, tca::ShowerTreeVars::EnvStage, GetStageNum(), tca::Trajectory::ID, kKilled, kSaveShowerTree, tca::TCConfig::modes, SaveTjInfoStuff(), tca::ShowerTreeVars::ShowerID, stv, tcc, and tca::TCSlice::tjs.
Referenced by FindShowers3D(), and SaveAllCots().
void tca::SaveTjInfo | ( | TCSlice & | slc, |
const ShowerStruct & | ss, | ||
std::string | stageName | ||
) |
Definition at line 47 of file TCShTree.cxx.
References tca::Trajectory::AlgMod, tca::ShowerStruct::CTP, DecodeCTP(), tca::ShowerStruct::Envelope, tca::ShowerTreeVars::Envelope, tca::ShowerTreeVars::EnvPlane, tca::ShowerTreeVars::EnvShowerID, tca::ShowerTreeVars::EnvStage, GetStageNum(), tca::Trajectory::ID, tca::ShowerStruct::ID, tca::ShowerTreeVars::IsShowerParent, tca::ShowerTreeVars::IsShowerTj, kKilled, kSaveShowerTree, kShowerTj, tca::TCConfig::modes, tca::ShowerStruct::ParentID, geo::PlaneID::Plane, tca::ShowerTreeVars::PlaneNum, SaveTjInfoStuff(), tca::ShowerTreeVars::ShowerID, tca::ShowerStruct::ShowerTjID, tca::ShowerTreeVars::StageNum, stv, tcc, tca::ShowerTreeVars::TjID, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, and tca::TCConfig::unitsPerTick.
void tca::SaveTjInfoStuff | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
int | stageNum, | ||
std::string | stageName | ||
) |
Definition at line 131 of file TCShTree.cxx.
References tca::TrajPoint::Ang, tca::ShowerTreeVars::BeginAng, tca::ShowerTreeVars::BeginChg, tca::ShowerTreeVars::BeginTim, tca::ShowerTreeVars::BeginVtx, tca::ShowerTreeVars::BeginWir, tca::TrajPoint::Chg, tca::Trajectory::CTP, DecodeCTP(), tca::ShowerTreeVars::EndAng, tca::ShowerTreeVars::EndChg, tca::Trajectory::EndPt, tca::ShowerTreeVars::EndTim, tca::ShowerTreeVars::EndVtx, tca::ShowerTreeVars::EndWir, tca::Trajectory::ID, tca::ShowerTreeVars::IsShowerParent, tca::ShowerTreeVars::IsShowerTj, kSaveShowerTree, tca::Trajectory::MCSMom, tca::ShowerTreeVars::MCSMom, tca::TCConfig::modes, tca::ShowerTreeVars::nPlanes, tca::TCSlice::nPlanes, tca::ShowerTreeVars::nStages, geo::PlaneID::Plane, tca::ShowerTreeVars::PlaneNum, tca::TrajPoint::Pos, tca::Trajectory::Pts, tca::ShowerTreeVars::ShowerID, tca::ShowerTreeVars::StageNum, stv, tcc, tca::ShowerTreeVars::TjID, tca::TCConfig::unitsPerTick, and tca::Trajectory::VtxID.
Referenced by SaveTjInfo().
void tca::ScoreVertices | ( | TCSlice & | slc | ) |
Definition at line 2391 of file TCVertex.cxx.
References kHaloTj, kHiVx3Score, kKilled, kTjHiVx3Score, SetVx2Score(), SetVx3Score(), tca::TCSlice::tjs, tca::TCSlice::vtx3s, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::RunTrajClusterAlg().
void tca::SetAngleCode | ( | TrajPoint & | tp | ) |
Definition at line 722 of file Utils.cxx.
References tca::TrajPoint::Ang, tca::TrajPoint::AngleCode, AngleRange(), tca::TCConfig::angleRanges, and tcc.
Referenced by FitTraj(), MakeJunkTraj(), StartTraj(), and UpdateTraj().
std::vector< T > tca::SetDifference | ( | const std::vector< T > & | set1, |
const std::vector< T > & | set2 | ||
) |
Definition at line 253 of file Utils.h.
Referenced by DefinePFPParentsTestBeam(), DotProd(), Match3DVtxTjs(), and Reconcile3D().
void tca::SetEndPoints | ( | Trajectory & | tj | ) |
Definition at line 2864 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::EndPt, kHaloTj, kShowerTj, and tca::Trajectory::Pts.
Referenced by AddHits(), AddLAHits(), CheckHiMultEndHits(), CheckHiMultUnusedHits(), CheckTraj(), ChkChgAsymmetry(), ChkStopEndPts(), DotProd(), FindSoftKink(), FixTrajBegin(), Forecast(), IsGhost(), MakeJunkTraj(), MaskedHitsOK(), MaskTrajEndPoints(), MergeAndStore(), MergePFPTjs(), ReversePropagate(), ReverseTraj(), SplitHiChgHits(), SplitTraj(), StepAway(), StoreTraj(), TrimEndPts(), UpdateTraj(), and VtxHitsSwap().
Definition at line 2436 of file TCVertex.cxx.
References evd::details::end(), GetVtxTjIDs(), tca::VtxStore::ID, tca::Vtx3Store::ID, kHiVx3Score, kTjHiVx3Score, tca::TCSlice::nPlanes, tca::VtxStore::Stat, tca::TCSlice::tjs, tmp, tca::TCSlice::vtxs, and tca::Vtx3Store::Vx2ID.
Referenced by SetVx3Score().
std::vector< T > tca::SetIntersection | ( | const std::vector< T > & | set1, |
const std::vector< T > & | set2 | ||
) |
Definition at line 231 of file Utils.h.
Referenced by AddMissedTj(), CompleteIncompleteShower(), DefinePFP(), DotProd(), FindCots(), FindPFParticles(), GetAssns(), Match3DVtxTjs(), tca::TruthMatcher::MatchAndSum(), MergeNearby2DShowers(), PFPVxTjOK(), Reconcile3D(), and SharesHighScoreVx().
bool tca::SetMag | ( | Vector3_t & | v1, |
double | mag | ||
) |
Definition at line 1670 of file PFPUtils.cxx.
References den.
Referenced by DotProd(), FindAlongTrans(), Fit3D(), FollowTp3s(), PointDirection(), and UpdateShower().
bool tca::SetMag | ( | Vector2_t & | v1, |
double | mag | ||
) |
bool tca::SetParent | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 1919 of file TCShower.cxx.
References AddTj(), tca::ShowerStruct3D::ChgPos, tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, tca::PFPStruct::Dir, evd::details::end(), FarEnd(), GetAssns(), tca::PFPStruct::ID, tca::ShowerStruct3D::ID, tca::TCSlice::ID, kShwrParent, MakeBareTP(), ParentFOM(), tca::ShowerStruct3D::ParentID, ss, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, UpdateShower(), tca::TCSlice::vtx3s, tca::PFPStruct::Vx3ID, tca::ShowerStruct3D::Vx3ID, and tca::PFPStruct::XYZ.
Referenced by FindParent().
void tca::SetPDGCode | ( | TCSlice & | slc, |
unsigned short | itj, | ||
bool | tjDone | ||
) |
Definition at line 3795 of file Utils.cxx.
References SetPDGCode(), and tca::TCSlice::tjs.
Referenced by CompleteIncomplete3DVertices(), DotProd(), FindHammerVertices(), FindHammerVertices2(), MergePFPTjs(), and StepAway().
void tca::SetPDGCode | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | tjDone | ||
) |
Definition at line 3802 of file Utils.cxx.
References tca::Trajectory::ID, kStiffEl, kStiffMu, tca::Trajectory::MCSMom, tca::TCConfig::muonTag, NumPtsWithCharge(), tca::Trajectory::PDGCode, tca::Trajectory::Strategy, and tcc.
Referenced by MergeAndStore(), SetPDGCode(), and SplitTraj().
Definition at line 351 of file PFPUtils.cxx.
References tca::PFPStruct::Dir, tca::PFPStruct::ID, PrintTp3(), tca::PFPStruct::TjIDs, tca::PFPStruct::Tp3s, valIncreasings(), and tca::PFPStruct::XYZ.
Referenced by DefinePFP().
void tca::SetStrategy | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 303 of file StepUtils.cxx.
References ChgSlope(), tca::TCConfig::dbgStp, tca::Trajectory::EndPt, kSlowing, kStiffEl, kStiffMu, tca::Trajectory::MCSMom, NumPtsWithCharge(), tca::Trajectory::Pts, tca::Trajectory::StartEnd, tca::Trajectory::Strategy, tcc, and tjfs.
Referenced by StepAway().
void tca::SetVx2Score | ( | TCSlice & | slc | ) |
Definition at line 2504 of file TCVertex.cxx.
References tca::TCSlice::vtxs.
Referenced by AttachTrajToVertex(), CheckTrajBeginChg(), CompleteIncomplete3DVertices(), CompleteIncomplete3DVerticesInGaps(), EndMerge(), Find2DVertices(), Find3DVertices(), FindHammerVertices(), FindHammerVertices2(), MergeWithVertex(), ScoreVertices(), and SplitHiChgHits().
Definition at line 2513 of file TCVertex.cxx.
References tca::Trajectory::AlgMod, ChgFracNearPos(), tca::Trajectory::ChgRMS, tca::VtxStore::CTP, tca::TCConfig::dbg2V, tca::TCConfig::dbgSlc, debug, DecodeCTP(), DeltaAngle(), tca::Trajectory::EndPt, GetVtxTjIDs(), tca::VtxStore::ID, kBragg, kJunkTj, kNewVtxCuts, kShowerLike, kShowerTj, tca::Trajectory::MCSMom, tca::Trajectory::PDGCode, tca::DebugStuff::Plane, geo::PlaneID::Plane, tca::VtxStore::Pos, tca::VtxStore::PosErr, tca::Trajectory::Pts, tca::VtxStore::Score, tca::Trajectory::StopFlag, tcc, tca::VtxStore::TjChgFrac, tca::TCSlice::tjs, tca::VtxStore::Topo, tca::TCConfig::useAlg, tca::TCConfig::vtx2DCuts, tca::TCSlice::vtx3s, tca::Trajectory::VtxID, tca::TCConfig::vtxScoreWeights, and tca::VtxStore::Vx3ID.
Definition at line 2483 of file TCVertex.cxx.
References tca::Vtx3Store::ID, tca::TCSlice::nPlanes, tca::VtxStore::Score, tca::Vtx3Store::Score, SetHighScoreBits(), tcc, tca::TCConfig::vtx2DCuts, tca::TCSlice::vtxs, and tca::Vtx3Store::Vx2ID.
Referenced by Find3DVertices(), MakeVertexObsolete(), and ScoreVertices().
bool tca::SharesHighScoreVx | ( | TCSlice & | slc, |
const PFPStruct & | pfp, | ||
const Trajectory & | tj | ||
) |
Definition at line 1026 of file PFPUtils.cxx.
References evd::details::end(), GetVtxTjIDs(), kHiVx3Score, SetIntersection(), tca::PFPStruct::TjIDs, tca::Trajectory::VtxID, and tca::TCSlice::vtxs.
Referenced by DefinePFP(), and FindMissedTjsInTp3s().
double tca::ShowerEnergy | ( | const ShowerStruct3D & | ss3 | ) |
Definition at line 4369 of file TCShower.cxx.
References e, tca::ShowerStruct3D::Energy, and tca::ShowerStruct3D::ID.
Referenced by showerreco::ShowerCalo::~ShowerCalo().
float tca::ShowerEnergy | ( | TCSlice & | slc, |
const std::vector< int > | tjIDs | ||
) |
Definition at line 4382 of file TCShower.cxx.
References ChgToMeV(), and tca::TCSlice::tjs.
Referenced by CompleteIncompleteShower(), FindCots(), FindParent(), FindShowers3D(), and Reconcile3D().
void tca::ShowerParams | ( | double | showerEnergy, |
double & | shMaxAlong, | ||
double & | along95 | ||
) |
Definition at line 2015 of file TCShower.cxx.
References scale.
Referenced by FindParent(), InShowerProbLong(), MergeSubShowers(), ParentFOM(), and ShowerParamTransRMS().
double tca::ShowerParamTransRMS | ( | double | showerEnergy, |
double | along | ||
) |
Definition at line 2035 of file TCShower.cxx.
References ShowerParams().
Referenced by InShowerProbTrans().
Definition at line 1814 of file Utils.cxx.
References tca::TCEvent::allHits, tca::TrajPoint::CTP, DecodeCTP(), tca::TrajPoint::Dir, evt, tca::TCConfig::maxPos1, tca::TCSlice::nWires, geo::PlaneID::Plane, tca::TrajPoint::Pos, tca::TCSlice::slHits, tcc, tca::TCConfig::unitsPerTick, and tca::TCSlice::wireHitRange.
Referenced by ChgFracBetween(), FindHammerVertices2(), FindXMatches(), SignalBetween(), and StepAway().
bool tca::SignalBetween | ( | TCSlice & | slc, |
const TrajPoint & | tp1, | ||
const TrajPoint & | tp2, | ||
const float & | MinWireSignalFraction | ||
) |
Definition at line 1671 of file Utils.cxx.
References MakeBareTrajPoint(), tca::TrajPoint::Pos, SignalAtTp(), and SignalBetween().
Referenced by AttachTrajToVertex(), EndMerge(), Find2DVertices(), and MakeJunkVertices().
bool tca::SignalBetween | ( | TCSlice & | slc, |
TrajPoint | tp, | ||
float | toPos0, | ||
const float & | MinWireSignalFraction | ||
) |
Definition at line 1695 of file Utils.cxx.
References ChgFracBetween().
Referenced by SignalBetween().
Definition at line 1811 of file PFPUtils.cxx.
References AttachAnyTrajToVertex(), tca::VtxStore::CTP, DecodeCTP(), evt, FindKinks(), tca::TCEvent::globalS3ID, tca::VtxStore::ID, tca::Vtx3Store::ID, KinkAngle(), kSplit3DKink, tca::PFPStruct::NeedsUpdate, tca::TCSlice::nPlanes, geo::PlaneID::Plane, tca::VtxStore::Pos, SplitTraj(), StoreVertex(), tcc, tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tca::VtxStore::Topo, tca::PFPStruct::Tp3s, tca::Vtx3Store::TPCID, tca::PFPStruct::TPCID, tca::Vtx3Store::UID, tca::TCConfig::useAlg, tca::TCSlice::vtx3s, tca::TCSlice::vtxs, tca::Vtx3Store::Vx2ID, tca::Vtx3Store::X, tca::Vtx3Store::Y, and tca::Vtx3Store::Z.
Referenced by DotProd(), FindPFParticles(), and Match3DVtxTjs().
void tca::SplitHiChgHits | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 4120 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::VtxStore::ChiDOF, tca::VtxStore::CTP, tca::Trajectory::CTP, tca::TCConfig::dbgAlg, tca::TCConfig::dbgStp, evd::details::end(), tca::Trajectory::EndPt, tca::VtxStore::ID, tca::Trajectory::ID, kKilled, kSplitHiChgHits, max, min, tca::VtxStore::NTraj, tca::VtxStore::Pass, tca::Trajectory::Pass, tca::VtxStore::Pos, PrintPos(), tca::Trajectory::Pts, SetEndPoints(), SetVx2Score(), tca::TCSlice::slHits, StoreVertex(), tcc, tca::TCSlice::tjs, tca::VtxStore::Topo, TpSumHitChg(), tca::TCConfig::useAlg, tca::Trajectory::VtxID, and tca::TCSlice::vtxs.
Referenced by ChkHiChgHits().
bool tca::SplitTraj | ( | TCSlice & | slc, |
unsigned short | itj, | ||
float | XPos, | ||
bool | makeVx2, | ||
bool | prt | ||
) |
Definition at line 2004 of file Utils.cxx.
References detinfo::DetectorProperties::ConvertXToTicks(), tca::VtxStore::CTP, DecodeCTP(), tca::TCConfig::detprop, tca::VtxStore::NTraj, tca::VtxStore::Pos, SplitTraj(), StoreVertex(), tcc, tca::TCSlice::tjs, tca::VtxStore::Topo, tca::TCConfig::unitsPerTick, and tca::TCSlice::vtxs.
Referenced by CompleteIncomplete3DVertices(), FindHammerVertices(), FindHammerVertices2(), Split3DKink(), and SplitTrajCrossingVertices().
bool tca::SplitTraj | ( | TCSlice & | slc, |
unsigned short | itj, | ||
unsigned short | pos, | ||
unsigned short | ivx, | ||
bool | prt | ||
) |
Definition at line 2043 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::EndPt, evt, tca::TCEvent::globalTjID, tca::Trajectory::ID, kSplit, tca::Trajectory::MCSMom, MCSMom(), tca::Trajectory::ParentID, tca::Trajectory::PDGCode, tca::Trajectory::Pts, SetEndPoints(), SetPDGCode(), tca::TCSlice::slHits, tca::TCSlice::tjs, tca::Trajectory::UID, UpdateMatchStructs(), UpdateTjChgProperties(), tca::Trajectory::VtxID, and tca::TCSlice::vtxs.
Referenced by CheckTrajBeginChg(), and SplitTraj().
Definition at line 1268 of file TCVertex.cxx.
References tca::TCConfig::dbgAlg, tca::TCConfig::dbgSlc, DecodeCTP(), DeltaAngle(), evd::details::end(), FitVertex(), GetVtxTjIDs(), kDebug, kDeltaRay, kHaloTj, tca::TCConfig::kinkCuts, kKilled, kOnDeadWire, kSplitTjCVx, MakeVertexObsolete(), tca::TCConfig::modes, NumPtsWithCharge(), geo::PlaneID::Plane, PointTrajDOCA(), PrintTrajPoint(), SplitTraj(), tcc, tca::TCSlice::tjs, TrajClosestApproach(), tca::TCConfig::useAlg, tca::TCConfig::vtx2DCuts, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::ReconstructAllTraj().
std::vector< float > tca::StartChgVec | ( | TCSlice & | slc, |
int | cotID, | ||
bool | prt | ||
) |
Definition at line 4188 of file TCShower.cxx.
References tca::TCEvent::allHits, tca::ShowerStruct::Angle, tca::TCSlice::cots, evt, tca::ShowerStruct::ID, tca::ShowerStruct::ParentID, tca::TrajPoint::Pos, tca::ShowerStruct::ShowerTjID, tca::ShowerStruct::ShPts, tca::TCSlice::slHits, ss, tcc, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, and tca::TCConfig::unitsPerTick.
Referenced by FindStartChg().
bool tca::StartTraj | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned int | fromhit, | ||
unsigned int | tohit, | ||
unsigned short | pass | ||
) |
Definition at line 4431 of file Utils.cxx.
References tca::TCEvent::allHits, tca::TCConfig::dbgDump, tca::TCConfig::dbgSlc, tca::TCConfig::dbgStp, debug, EncodeCTP(), evt, ExpectedHitsRMS(), tca::Trajectory::ID, kDebug, tca::TCConfig::modes, tca::Trajectory::Pts, tca::TCSlice::slHits, StartTraj(), tca::Trajectory::StepDir, tcc, and tca::DebugStuff::WorkID.
Referenced by DotProd(), FindVtxTjs(), MakeJunkTraj(), and tca::TrajClusterAlg::ReconstructAllTraj().
bool tca::StartTraj | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
float | fromWire, | ||
float | fromTick, | ||
float | toWire, | ||
float | toTick, | ||
CTP_t & | tCTP, | ||
unsigned short | pass | ||
) |
Definition at line 4454 of file Utils.cxx.
References tca::TrajPoint::Ang, tca::TrajPoint::AngErr, tca::TrajPoint::AngleCode, tca::Trajectory::CTP, tca::TCConfig::dbgDump, tca::TCConfig::dbgSlc, tca::TCConfig::dbgStp, debug, tca::TrajPoint::Dir, evt, ExpectedHitsRMS(), tca::Trajectory::ID, kDebug, kNormal, MakeBareTrajPoint(), tca::TCConfig::modes, tca::Trajectory::ParentID, tca::Trajectory::Pass, tca::Trajectory::Pts, SetAngleCode(), tca::Trajectory::StepDir, tca::Trajectory::Strategy, tcc, tca::DebugStuff::WorkID, and tca::TCEvent::WorkID.
Referenced by StartTraj().
void tca::StepAway | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 15 of file StepUtils.cxx.
References AddHits(), tca::Trajectory::AlgMod, tca::TrajPoint::AngleCode, AttachTrajToVertex(), tca::TrajPoint::Chg, tca::TrajPoint::CTP, tca::Trajectory::CTP, tca::TCConfig::dbg2V, tca::TCConfig::dbgStp, DeadWireCount(), DecodeCTP(), DefineHitPos(), DeltaAngle(), tca::TrajPoint::Dir, tca::TCConfig::doForecast, tca::Trajectory::EndPt, tca::TrajPoint::FitChi, Forecast(), GottaKink(), tca::TrajPoint::Hits, tca::Trajectory::ID, tca::Trajectory::IsGood, kAtKink, kAtTj, kAtVtx, kNewStpCuts, kRvPrp, kSignal, kSlowing, kStopBadFits, MaskedHitsOK(), tca::Trajectory::MaskedLastTP, MaskTrajEndPoints(), tca::TCConfig::maxAngleCode, tca::TCConfig::maxChi, tca::TCConfig::maxPos0, tca::TCConfig::maxPos1, tca::TCConfig::maxWireSkipNoSignal, tca::TCConfig::maxWireSkipWithSignal, tca::Trajectory::MCSMom, tca::TCConfig::minMCSMom, tca::TCConfig::minPtsFit, tca::TCConfig::muonTag, tca::Trajectory::NeedsUpdate, NumPtsWithCharge(), tca::Trajectory::Pass, tca::Trajectory::PDGCode, geo::PlaneID::Plane, tca::TrajPoint::Pos, PosSep2(), PrintPos(), PrintTrajectory(), PrintTrajPoint(), tca::Trajectory::Pts, SetEndPoints(), SetPDGCode(), SetStrategy(), SignalAtTp(), tca::TCSlice::slHits, tca::TrajPoint::Step, tca::Trajectory::StepDir, tca::Trajectory::StopFlag, StopIfBadFits(), tca::Trajectory::Strategy, StrategyBitNames, tcc, tjfs, TPNearVertex(), TrajPointSeparation(), tca::TCConfig::unitsPerTick, UnsetUsedHits(), UpdateTraj(), tca::TCConfig::useAlg, tca::TrajPoint::UseHit, tca::TCConfig::VLAStepSize, and tca::TCSlice::vtxs.
Referenced by FindVtxTjs(), tca::TrajClusterAlg::ReconstructAllTraj(), and ReversePropagate().
void tca::StitchPFPs | ( | ) |
Definition at line 16 of file PFPUtils.cxx.
References tca::TCConfig::dbgStitch, debug, DotProd(), evd::details::end(), tca::TCConfig::geom, GetSliceIndex(), InsideFV(), geo::GeometryCore::NTPC(), tca::TCConfig::pfpStitchCuts, PosSep2(), PrintP(), ReversePFP(), tca::DebugStuff::Slice, slices, tcc, and tmp.
Referenced by tca::TrajClusterAlg::FinishEvent().
bool tca::StopIfBadFits | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2815 of file StepUtils.cxx.
References tca::TCConfig::dbgStp, tca::Trajectory::EndPt, tca::Trajectory::MCSMom, tca::Trajectory::PDGCode, tca::Trajectory::Pts, and tcc.
Referenced by StepAway().
Definition at line 2749 of file PFPUtils.cxx.
References tca::PFPStruct::BestPlane, evt, FilldEdx(), tca::TCEvent::globalPFPID, tca::PFPStruct::ID, kMat3D, tca::PFPStruct::NeedsUpdate, tca::PFPStruct::PDGCode, tca::TCSlice::pfps, ReverseTraj(), tca::PFPStruct::TjIDs, tca::TCSlice::tjs, tca::PFPStruct::Tp3s, and tca::PFPStruct::UID.
Referenced by DefineTjParents(), DotProd(), FindPFParticles(), and Match3DVtxTjs().
bool tca::StoreShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3 | ||
) |
Definition at line 4403 of file TCShower.cxx.
References tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, evt, tca::TCEvent::globalS3ID, tca::ShowerStruct3D::ID, tca::TCSlice::showers, ss, and tca::ShowerStruct3D::UID.
bool tca::StoreShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss | ||
) |
Definition at line 4449 of file TCShower.cxx.
References tca::Trajectory::AlgMod, tca::TCSlice::cots, evt, tca::TCEvent::globalS2ID, tca::Trajectory::ID, tca::ShowerStruct::ID, kShwrParent, tca::ShowerStruct::ParentID, tca::Trajectory::SSID, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, and tca::ShowerStruct::UID.
Referenced by CompleteIncompleteShower(), FindShowers3D(), Match2DShowers(), and MergeShowers().
bool tca::StoreTraj | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 1175 of file Utils.cxx.
References AlgBitNames, tca::Trajectory::AlgMod, tca::TCConfig::dbgSlc, debug, tca::Trajectory::DirFOM, tca::Trajectory::EndPt, evt, tca::TCEvent::globalTjID, tca::DebugStuff::Hit, tca::Trajectory::ID, kDebug, tca::TCConfig::modes, tca::Trajectory::ParentID, PrintHit(), tca::Trajectory::Pts, ReleaseHits(), SetEndPoints(), tca::TCSlice::slHits, tca::Trajectory::StepDir, tcc, TjDirFOM(), tca::TCSlice::tjs, tca::Trajectory::UID, UpdateTjChgProperties(), and tca::Trajectory::WorkID.
Referenced by FindVtxTjs(), MakeJunkTraj(), MergeAndStore(), MergePFPTjs(), and tca::TrajClusterAlg::ReconstructAllTraj().
Definition at line 2093 of file TCVertex.cxx.
References tca::VtxStore::CTP, evt, tca::TCEvent::globalS2ID, tca::VtxStore::ID, kKilled, tca::VtxStore::NTraj, tca::TCSlice::tjs, tca::VtxStore::Topo, tca::VtxStore::UID, and tca::TCSlice::vtxs.
Referenced by CheckTrajBeginChg(), CompleteIncomplete3DVertices(), CompleteIncomplete3DVerticesInGaps(), EndMerge(), Find2DVertices(), FindHammerVertices(), FindHammerVertices2(), MakeJunkVertices(), Split3DKink(), SplitHiChgHits(), and SplitTraj().
Definition at line 3065 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::CTP, tca::TCConfig::dbgDeltaRayTag, tca::TCConfig::dbgSlc, DeltaAngle(), tca::TCConfig::deltaRayTag, tca::Trajectory::EndPt, tca::Trajectory::ID, kDeltaRay, kHaloTj, tca::TCConfig::kinkCuts, kKilled, tca::Trajectory::MCSMom, tca::Trajectory::ParentID, tca::Trajectory::PDGCode, PointTrajDOCA(), PosSep(), PrintPos(), tca::Trajectory::Pts, ReverseTraj(), tca::Trajectory::StepDir, tcc, tca::TCSlice::tjs, TrajTrajDOCA(), tca::TCConfig::useAlg, and tca::TCConfig::vtx2DCuts.
Referenced by DotProd(), and tca::TrajClusterAlg::ReconstructAllTraj().
void tca::TagJunkTj | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 2442 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::ID, kJunkTj, kNewStpCuts, tca::Trajectory::PDGCode, tca::Trajectory::Pts, tcc, and tca::TCConfig::useAlg.
Referenced by CheckTraj().
Definition at line 3631 of file TCShower.cxx.
References evd::details::begin(), tca::TCConfig::chargeCuts, tca::DebugStuff::CTP, tca::TCConfig::dbg2S, tca::TCConfig::dbgSlc, debug, evd::details::end(), tca::Trajectory::EndPt, FarEnd(), GetAssns(), tca::Trajectory::ID, tca::TCSlice::ID, kBragg, kHaloTj, kKilled, kShowerLike, kShowerTj, MakeVertexObsolete(), NumPtsWithCharge(), PosSep(), tca::Trajectory::Pts, tca::TCConfig::showerTag, tcc, tca::TCSlice::tjs, TrajTrajDOCA(), and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::ReconstructAllTraj().
void tca::TjDeltaRMS | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | firstPt, | ||
unsigned short | lastPt, | ||
double & | rms, | ||
unsigned short & | cnt | ||
) |
Definition at line 3029 of file Utils.cxx.
References tca::Trajectory::EndPt, tca::TrajPoint::HitPos, kNewStpCuts, MakeBareTrajPoint(), NearestPtWithChg(), PointTrajDOCA2(), tca::TrajPoint::Pos, tca::Trajectory::Pts, tcc, tmp, and tca::TCConfig::useAlg.
Referenced by DotProd(), ElectronLikelihood(), and MCSThetaRMS().
float tca::TjDirFOM | ( | TCSlice & | slc, |
const Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 986 of file Utils.cxx.
References tca::Trajectory::AlgMod, B, tca::Trajectory::EndPt, tca::Trajectory::ID, kEnvOverlap, kHaloTj, kKilled, geo::origin(), PosSep(), PrintPos(), tca::Trajectory::Pts, w, x, and y.
Referenced by StoreTraj().
float tca::TPHitsRMSTick | ( | TCSlice & | slc, |
TrajPoint & | tp, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 3674 of file Utils.cxx.
References tca::TCEvent::allHits, evt, tca::TrajPoint::Hits, kAllHits, kUnusedHits, kUsedHits, tca::TCSlice::slHits, and tca::TrajPoint::UseHit.
Referenced by DotProd(), FindUseHits(), and TPHitsRMSTime().
float tca::TPHitsRMSTime | ( | TCSlice & | slc, |
TrajPoint & | tp, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 3668 of file Utils.cxx.
References tcc, TPHitsRMSTick(), and tca::TCConfig::unitsPerTick.
Referenced by DotProd(), and FillmAllTraj().
Definition at line 1816 of file TCVertex.cxx.
References tca::TrajPoint::CTP, tca::TrajPoint::Pos, and tca::TCSlice::vtxs.
Referenced by StepAway().
Definition at line 1853 of file Utils.cxx.
References tca::TCEvent::allHits, evt, tca::TrajPoint::Hits, tca::TCSlice::slHits, and tca::TrajPoint::UseHit.
Referenced by SplitHiChgHits(), and VtxHitsSwap().
bool tca::TrajClosestApproach | ( | Trajectory const & | tj, |
float | x, | ||
float | y, | ||
unsigned short & | closePt, | ||
float & | DOCA | ||
) |
Definition at line 2377 of file Utils.cxx.
References tca::Trajectory::EndPt, tca::Trajectory::Pts, x, and y.
Referenced by AttachTrajToVertex(), CompatibleMerge(), Find2DVertices(), FindHammerVertices2(), and SplitTrajCrossingVertices().
bool tca::TrajHitsOK | ( | TCSlice & | slc, |
const std::vector< unsigned int > & | iHitsInMultiplet, | ||
const std::vector< unsigned int > & | jHitsInMultiplet | ||
) |
Definition at line 1736 of file Utils.cxx.
References tca::TCEvent::allHits, evt, HitsPosTick(), kAllHits, and tca::TCSlice::slHits.
Referenced by tca::TrajClusterAlg::FindJunkTraj(), and tca::TrajClusterAlg::ReconstructAllTraj().
bool tca::TrajHitsOK | ( | TCSlice & | slc, |
const unsigned int | iht, | ||
const unsigned int | jht | ||
) |
Definition at line 1778 of file Utils.cxx.
References tca::TCEvent::allHits, evt, and tca::TCSlice::slHits.
Definition at line 2299 of file Utils.cxx.
References TrajIntersection().
Referenced by EndMerge(), Find2DVertices(), FindHammerVertices2(), and FitVertex().
Definition at line 2304 of file Utils.cxx.
References tca::TrajPoint::Dir, tca::TrajPoint::Pos, and s.
Referenced by TrajIntersection().
bool tca::TrajIsClean | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 2891 of file Utils.cxx.
References tca::Trajectory::EndPt, tca::TrajPoint::Hits, tca::Trajectory::Pts, and tca::TrajPoint::UseHit.
Referenced by DotProd(), and UpdateTraj().
float tca::TrajLength | ( | Trajectory & | tj | ) |
Definition at line 2337 of file Utils.cxx.
References tca::Trajectory::EndPt, and tca::Trajectory::Pts.
Referenced by AttachTrajToVertex(), EndMerge(), Find2DVertices(), MakeJunkVertices(), and PDGCodeVote().
Definition at line 2368 of file Utils.cxx.
References tca::TrajPoint::Pos.
Referenced by EndMerge(), GottaKink(), MaskTrajEndPoints(), tca::TruthMatcher::MatchTruth(), MCSMom(), MCSThetaRMS(), and StepAway().
void tca::TrajPointTrajDOCA | ( | TCSlice & | slc, |
TrajPoint const & | tp, | ||
Trajectory const & | tj, | ||
unsigned short & | closePt, | ||
float & | minSep | ||
) |
Definition at line 2155 of file Utils.cxx.
References tca::Trajectory::EndPt, tca::TrajPoint::Pos, and tca::Trajectory::Pts.
Referenced by CompleteIncomplete3DVertices(), FindHammerVertices(), FindHammerVertices2(), tca::TrajClusterAlg::FindMissedVxTjs(), and MergeAndStore().
Definition at line 2029 of file TCVertex.cxx.
References tca::TrajPoint::AngErr, tca::TrajPoint::Dir, tca::TrajPoint::HitPosErr2, PointTrajDOCA(), tca::VtxStore::Pos, tca::TrajPoint::Pos, tca::VtxStore::PosErr, and PosSep2().
Referenced by AttachTrajToVertex(), and FitVertex().
bool tca::TrajTrajDOCA | ( | TCSlice & | slc, |
const Trajectory & | tj1, | ||
const Trajectory & | tj2, | ||
unsigned short & | ipt1, | ||
unsigned short & | ipt2, | ||
float & | minSep | ||
) |
Definition at line 2175 of file Utils.cxx.
References TrajTrajDOCA().
Referenced by EndMerge(), Find2DVertices(), FindCots(), FindNearbyTjs(), InShowerProb(), and TagShowerLike().
bool tca::TrajTrajDOCA | ( | TCSlice & | slc, |
const Trajectory & | tj1, | ||
const Trajectory & | tj2, | ||
unsigned short & | ipt1, | ||
unsigned short & | ipt2, | ||
float & | minSep, | ||
bool | considerDeadWires | ||
) |
Definition at line 2181 of file Utils.cxx.
References DeadWireCount(), tca::Trajectory::EndPt, and tca::Trajectory::Pts.
Referenced by DefineTjParents(), TagDeltaRays(), and TrajTrajDOCA().
bool tca::TransferTjHits | ( | TCSlice & | slc, |
bool | prt | ||
) |
Definition at line 4318 of file TCShower.cxx.
References tca::TCSlice::cots, tca::Trajectory::ID, kKilled, kShowerTj, kUsedHits, tca::Trajectory::Pts, PutTrajHitsInVector(), tca::TCSlice::slHits, ss, and tca::TCSlice::tjs.
Referenced by Finish3DShowers().
void tca::TrimEndPts | ( | std::string | fcnLabel, |
TCSlice & | slc, | ||
Trajectory & | tj, | ||
const std::vector< float > & | fQualityCuts, | ||
bool | prt | ||
) |
Definition at line 1511 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::CTP, DecodeCTP(), tca::Trajectory::EndPt, tca::Trajectory::ID, kNewStpCuts, kTEP, NumPtsWithCharge(), tca::TCSlice::nWires, tca::Trajectory::PDGCode, geo::PlaneID::Plane, PrintTrajectory(), tca::Trajectory::Pts, SetEndPoints(), tca::Trajectory::StepDir, tcc, UnsetUsedHits(), tca::TCConfig::useAlg, and tca::TCSlice::wireHitRange.
Referenced by CheckTraj(), FixTrajBegin(), and IsGhost().
Definition at line 2407 of file Utils.cxx.
References tca::TrajPoint::Pos.
Definition at line 1162 of file Utils.cxx.
References tca::TrajPoint::Chg, tca::TrajPoint::Hits, tca::TCSlice::slHits, and tca::TrajPoint::UseHit.
Referenced by CheckHiMultEndHits(), CheckHiMultUnusedHits(), CheckTraj(), ChkChgAsymmetry(), ChkStopEndPts(), FillGaps(), FindSoftKink(), FixTrajBegin(), IsGhost(), MaskBadTPs(), MaskTrajEndPoints(), StepAway(), TrimEndPts(), and UpdateTraj().
void tca::UpdateDeltaRMS | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2635 of file StepUtils.cxx.
References tca::TrajPoint::Chg, tca::TrajPoint::DeltaRMS, tca::Trajectory::EndPt, tca::TrajPoint::NTPsFit, PointTrajDOCA(), and tca::Trajectory::Pts.
Referenced by UpdateStiffEl(), and UpdateTraj().
void tca::UpdateMatchStructs | ( | TCSlice & | slc, |
int | oldTj, | ||
int | newTj | ||
) |
Definition at line 160 of file PFPUtils.cxx.
References detinfo::DetectorProperties::ConvertTicksToX(), DecodeCTP(), tca::TCConfig::detprop, tca::TCSlice::mallTraj, tca::TCSlice::pfps, tcc, tca::TCSlice::tjs, and tca::TCConfig::unitsPerTick.
Referenced by MergeAndStore(), MergePFPTjs(), ReverseTraj(), and SplitTraj().
bool tca::UpdateShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 1033 of file TCShower.cxx.
References tca::TCEvent::allHits, AnalyzeRotPos(), tca::ShowerStruct::Angle, tca::ShowerStruct::AspectRatio, B, tca::ShowerPoint::Chg, ChgToMeV(), tca::ShowerStruct::CTP, DefineEnvelope(), tca::ShowerStruct::DirectionFOM, tca::ShowerStruct::Energy, evt, FarEnd(), tca::ShowerPoint::HitIndex, tca::TrajPoint::Hits, tca::ShowerStruct::ID, kShowerTj, lessThan(), tca::ShowerStruct::NeedsUpdate, tca::ShowerStruct::ParentID, PointDirection(), tca::ShowerPoint::Pos, PosSep2(), PrintPos(), ReverseShower(), tca::ShowerStruct::ShowerTjID, tca::ShowerStruct::ShPts, tca::TCSlice::slHits, ss, tcc, tca::ShowerPoint::TID, tca::ShowerStruct::TjIDs, tca::TCSlice::tjs, tca::TCConfig::unitsPerTick, tca::TrajPoint::UseHit, and xx.
bool tca::UpdateShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 1230 of file TCShower.cxx.
References tca::ShowerStruct3D::ChgPos, tca::ShowerStruct3D::CotIDs, tca::TCSlice::cots, DecodeCTP(), tca::ShowerStruct3D::dEdx, tca::ShowerStruct3D::dEdxErr, dir, tca::TrajPoint3::Dir, tca::ShowerStruct3D::Dir, tca::ShowerStruct3D::End, tca::ShowerStruct3D::Energy, tca::ShowerStruct3D::EnergyErr, FarEnd(), tca::ShowerStruct3D::ID, tca::ShowerStruct3D::Len, MakeTp3(), tca::ShowerStruct3D::MIPEnergy, tca::ShowerStruct3D::MIPEnergyErr, tca::ShowerStruct3D::NeedsUpdate, tca::ShowerStruct3D::ParentID, tca::TCSlice::pfps, geo::PlaneID::Plane, tca::TrajPoint3::Pos, PosSep(), SetMag(), ss, tca::ShowerStruct3D::Start, tca::TCSlice::tjs, and tca::ShowerStruct3D::Vx3ID.
Referenced by AddPFP(), AddTj(), AddTjsInsideEnvelope(), CompleteIncompleteShower(), FindParent(), FindShowers3D(), Match2DShowers(), MergeShowers(), MergeShowersAndStore(), Reconcile3D(), RemovePFP(), RemoveTj(), and SetParent().
void tca::UpdateStiffEl | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 633 of file StepUtils.cxx.
References tca::TrajPoint::AngleCode, tca::TCConfig::dbgStp, tca::TrajPoint::Delta, tca::Trajectory::EndPt, tca::TrajPoint::FitChi, FitTraj(), tca::TrajPoint::HitPos, kStiffEl, tca::Trajectory::MCSMom, MCSMom(), tca::Trajectory::NeedsUpdate, tca::TrajPoint::NTPsFit, tca::Trajectory::PDGCode, PointTrajDOCA(), tca::Trajectory::Pts, tca::Trajectory::Strategy, tcc, UpdateDeltaRMS(), and UpdateTjChgProperties().
Referenced by UpdateTraj().
void tca::UpdateTjChgProperties | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 3196 of file Utils.cxx.
References tca::Trajectory::AlgMod, tca::TCEvent::allHits, tca::Trajectory::AveChg, tca::Trajectory::ChgRMS, evd::details::end(), tca::Trajectory::EndPt, evt, kEnvNearTj, kEnvOverlap, kEnvUnusedHits, kHaloTj, kKilled, kPhoton, tca::Trajectory::NeedsUpdate, tca::TCConfig::nPtsAve, tca::Trajectory::Pts, tca::TCSlice::slHits, tcc, tca::Trajectory::TotChg, tca::Trajectory::VtxID, and tca::TCSlice::vtxs.
Referenced by AddLAHits(), ChkStopEndPts(), DotProd(), Forecast(), MaskedHitsOK(), MaxChargeAsymmetry(), SplitTraj(), StoreTraj(), UpdateStiffEl(), UpdateTraj(), and UpdateVxEnvironment().
Definition at line 229 of file PFPUtils.cxx.
References detinfo::DetectorProperties::ConvertTicksToX(), DecodeCTP(), tca::TCConfig::detprop, tca::TCSlice::mallTraj, tcc, tca::TCSlice::tjs, tca::PFPStruct::Tp3s, and tca::TCConfig::unitsPerTick.
Referenced by MergePFPTjs().
void tca::UpdateTraj | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 655 of file StepUtils.cxx.
References tca::Trajectory::AlgMod, tca::TrajPoint::AngErr, tca::TrajPoint::AngleCode, tca::TrajPoint::Chg, tca::Trajectory::CTP, tca::TCConfig::dbgStp, DeadWireCount(), DefineHitPos(), tca::TrajPoint::Delta, tca::TrajPoint::Dir, tca::Trajectory::EndPt, tca::TrajPoint::FitChi, FitTraj(), tca::TrajPoint::HitPos, kNewStpCuts, kRvPrp, kSlowing, kStiffEl, MaskBadTPs(), tca::Trajectory::MaskedLastTP, tca::TCConfig::maxChi, tca::Trajectory::MCSMom, MCSMom(), tca::TCConfig::minPtsFit, tca::TCConfig::muonTag, tca::Trajectory::NeedsUpdate, tca::TrajPoint::NTPsFit, NumPtsWithCharge(), tca::Trajectory::Pass, tca::Trajectory::PDGCode, PointTrajDOCA(), tca::TrajPoint::Pos, tca::Trajectory::Pts, SetAngleCode(), SetEndPoints(), tca::Trajectory::Strategy, tcc, TrajIsClean(), UnsetUsedHits(), UpdateDeltaRMS(), UpdateStiffEl(), UpdateTjChgProperties(), and tca::TCConfig::useAlg.
Referenced by CheckHiMultUnusedHits(), and StepAway().
Definition at line 3385 of file Utils.cxx.
References tca::TrajPoint::Chg, tca::VtxStore::CTP, tca::TrajPoint::Dir, evd::details::end(), tca::VtxStore::ID, kEnvOverlap, kHaloTj, kKilled, kOnDeadWire, kPhoton, MakeBareTrajPoint(), tca::VtxStore::Pos, tca::TrajPoint::Pos, PrintPos(), tca::VtxStore::Stat, tca::TCSlice::tjs, and UpdateTjChgProperties().
Referenced by DotProd(), and tca::TrajClusterAlg::ReconstructAllTraj().
Definition at line 10 of file TCVertex.cxx.
References tca::SortEntry::val.
Referenced by FindVtxTjs(), Match3DVtxTjs(), and MergeWithVertex().
Definition at line 12 of file PFPUtils.cxx.
References tca::SortEntry::val.
Referenced by FindPFParticles(), and FindXMatches().
Definition at line 11 of file TCVertex.cxx.
References tca::SortEntry::val.
Referenced by Find3DVertices().
Definition at line 13 of file PFPUtils.cxx.
References tca::SortEntry::val.
Referenced by FillmAllTraj(), and SetStart().
Definition at line 2064 of file TCVertex.cxx.
References tca::Vtx3Store::X, tca::Vtx3Store::XErr, tca::Vtx3Store::Y, tca::Vtx3Store::YErr, tca::Vtx3Store::Z, and tca::Vtx3Store::ZErr.
Referenced by IsCloseToVertex().
Definition at line 2080 of file TCVertex.cxx.
References tca::VtxStore::Pos, and tca::VtxStore::PosErr.
Definition at line 2962 of file TCVertex.cxx.
References tca::Trajectory::AlgMod, tca::VtxStore::CTP, tca::TCConfig::dbg2V, tca::TCConfig::dbgAlg, debug, DecodeCTP(), evd::details::end(), tca::Trajectory::EndPt, tca::TrajPoint::Hits, tca::VtxStore::ID, tca::Trajectory::ID, kHaloTj, kKilled, kVtxHitsSwap, tca::VtxStore::NTraj, tca::DebugStuff::Plane, geo::PlaneID::Plane, PointTrajDOCA(), tca::VtxStore::Pos, PrintPos(), tca::Trajectory::Pts, SetEndPoints(), tca::TCSlice::slHits, tcc, tca::TCSlice::tjs, TpSumHitChg(), tca::TCConfig::useAlg, tca::TrajPoint::UseHit, tca::Trajectory::VtxID, and tca::TCSlice::vtxs.
Referenced by tca::TrajClusterAlg::ReconstructAllTraj().
Definition at line 2641 of file TCVertex.cxx.
References tca::Vtx3Store::ID, tca::TCSlice::vtxs, and tca::Vtx3Store::Vx2ID.
Definition at line 4085 of file Utils.cxx.
References geo::CryostatID::Cryostat, DecodeCTP(), geo::TPCID::TPC, and tca::TCSlice::TPCID.
Referenced by DotProd(), and FindCloseHits().
Definition at line 1089 of file PFPUtils.cxx.
References evd::details::end(), and tca::TCSlice::tjs.
bool tca::WrongSplitTj | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
Trajectory & | tj, | ||
unsigned short | tjEnd, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 2340 of file TCShower.cxx.
References tca::Trajectory::AlgMod, tca::Trajectory::ID, kComp3DVx, tca::Trajectory::VtxID, and tca::TCSlice::vtxs.
const std::vector< std::string > tca::AlgBitNames |
Definition at line 13 of file DataStructs.cxx.
Referenced by tca::TrajClusterAlg::ChkInTraj(), tca::TrajClusterAlg::GetAlgBitNames(), InTrajOK(), tca::TruthMatcher::MatchAndSum(), PrintAllTraj(), PrintT(), PrintTrajectory(), tca::TrajClusterAlg::reconfigure(), tca::TrajClusterAlg::RunTrajClusterAlg(), and StoreTraj().
constexpr unsigned int tca::Cpad = 10000 |
Definition at line 43 of file DataStructs.h.
Referenced by DecodeCTP().
DebugStuff tca::debug |
Definition at line 4 of file DebugStruct.cxx.
Referenced by tca::TrajClusterAlg::CreateSlice(), DecodeDebugString(), detinfo::DetectorPropertiesStandard::DetectorPropertiesStandard(), DumpTj(), EndMerge(), FillWireHitRange(), Find2DVertices(), tca::TrajClusterAlg::FindJunkTraj(), FindShowers3D(), main(), trkf::SpacePointAlg::makeSpacePoints(), Print2V(), PrintAll(), PrintAllTraj(), cluster::TrajCluster::produce(), tca::TrajClusterAlg::reconfigure(), tca::TrajClusterAlg::ReconstructAllTraj(), cmtool::CBAlgoStartInPoly::SetDebug(), cmtool::CBAlgoPolyOverlap::SetDebug(), cmtool::CFAlgo3DAngle::SetDebug(), cmtool::CFAlgoTimeOverlap::SetDebug(), cmtool::CBAlgoStartInCone::SetDebug(), SetVx2Score(), StartTraj(), StitchPFPs(), StoreTraj(), TagShowerLike(), and VtxHitsSwap().
TCEvent tca::evt |
Definition at line 5 of file DataStructs.cxx.
Referenced by AddHits(), AddLooseHits(), AddTj(), AnalyzeHits(), tca::TruthMatcher::CanReconstruct(), cluster::HoughBaseAlg::ChargeInfo_t::ChargeInfo_t(), ChgFracNearPos(), lar_pandora::LArPandoraHelper::CollectSeeds(), anab::FVectorReader< T, N >::create(), art::PtrMaker< T >::create(), util::CreateAssn(), tca::TrajClusterAlg::CreateSlice(), DefineHitPos(), tca::TrajClusterAlg::DefineShTree(), evd::MCBriefPad::Draw(), evd::TQPad::Draw(), evd::CalorPad::Draw(), evd::Display3DPad::Draw(), evd::TWireProjPad::Draw(), evd::Ortho3DPad::Draw(), evd::RecoBaseDrawer::DrawShower3D(), evd::RecoBaseDrawer::DrawShowerOrtho(), evd::RecoBaseDrawer::DrawTrack3D(), evd::RecoBaseDrawer::DrawTrackOrtho(), evd::RecoBaseDrawer::DrawTrackVertexAssns2D(), DumpTj(), evd::details::RawDigitCacheDataClass::empty(), ExpectedHitsRMS(), FilldEdx(), FillGaps(), FillWireHitRange(), Find3DVertices(), FindCloseHits(), FindCloseTjs(), FindUseHits(), FindVtxTjs(), Forecast(), GetHitMultiplet(), cluster::ClusterMergeHelper::GetManager(), GetOrigin(), evdb::ButtonBar::GoTo(), evd::HeaderDrawer::Header(), HitSep2(), HitsPosTick(), HitsRMSTick(), HitTimeErr(), trkf::PMAlgTrackMaker::init(), lar_pandora::LArPandoraEventDump::PandoraData::LoadAssociation(), main(), MakeBareTrajPoint(), MakeHaloTj(), MakeJunkTraj(), MaskedHitsOK(), tca::TruthMatcher::MatchAndSum(), tca::TruthMatcher::MatchTruth(), tca::TrajClusterAlg::MergeTPHits(), tca::TrajClusterAlg::MergeTPHitsOnWire(), evdb::DisplayWindow::OpenWindow(), mvapid::MVAAlg::SumDistance2::operator()(), PFPVertexCheck(), PointTrajDOCA(), PrintHit(), PrintHitShort(), PrintTrajPoint(), cheat::BackTrackerService::priv_PrepEvent(), event::EventMaker::produce(), trkf::TrackStitcher::produce(), trkf::PMAlgTrackMaker::produce(), evd::RecoBaseDrawer::Prong2D(), cheat::BackTrackerService::provider(), cheat::ParticleInventoryService::provider(), cheat::PhotonBackTrackerService::provider(), art::PtrMaker< T >::PtrMaker(), tca::TrajClusterAlg::reconfigure(), tca::TrajClusterAlg::ReconstructAllTraj(), evdb::ScanFrame::Record(), tca::TrajClusterAlg::RunTrajClusterAlg(), evd::TWireProjPad::SaveHitList(), evd::TWireProjPad::SaveSeedList(), rndm::NuRandomService::seedEngine(), evd::TWireProjPad::SelectOneHit(), util::EventChangeTracker_t::set(), anab::FVectorWriter< 4 >::setDataTag(), evdb::EventHolder::SetEvent(), tca::TrajClusterAlg::SetInputHits(), cluster::ClusterMatchAlg::SetMCTruthModName(), SignalAtTp(), util::DetectorPropertiesServiceArgoNeuT::SimpleBoundary(), Split3DKink(), SplitTraj(), StartChgVec(), StartTraj(), StorePFP(), StoreShower(), StoreTraj(), StoreVertex(), TPHitsRMSTick(), TpSumHitChg(), TrajHitsOK(), UpdateShower(), UpdateTjChgProperties(), and detsim::SimDriftElectrons::~SimDriftElectrons().
std::vector< TrajPoint > tca::seeds |
Definition at line 11 of file DataStructs.cxx.
Referenced by cluster::DBScan3DAlg::expand(), cluster::DBScanAlg::ExpandCluster(), pyRandomize::f_getTheSeeds(), FixTrajBegin(), rndm::NuRandomService::getCurrentSeed(), rndm::NuRandomService::getGlobalCurrentSeed(), trkf::Track3DKalmanHit::getPFParticleStuff(), main(), trkf::Track3DKalmanHitAlg::makeTracks(), rndm::NuRandomService::print(), trkf::SeedFinderModule::produce(), trkf::FeatureTracker::produce(), TrackProducerFromPFParticle::produce(), tca::TrajClusterAlg::ReconstructAllTraj(), tss::Segmentation2D::run(), evd::RecoBaseDrawer::Seed2D(), evd::RecoBaseDrawer::Seed3D(), and evd::RecoBaseDrawer::SeedOrtho().
std::vector< TCSlice > tca::slices |
Definition at line 10 of file DataStructs.cxx.
Referenced by tca::TrajClusterAlg::ClearResults(), tca::TrajClusterAlg::CreateSlice(), DumpTj(), EndMerge(), Finish3DShowers(), tca::TrajClusterAlg::FinishEvent(), tca::TrajClusterAlg::GetSlice(), GetSliceIndex(), tca::TrajClusterAlg::GetSlicesSize(), MakeHaloTj(), tca::TruthMatcher::MatchAndSum(), tca::TruthMatcher::MatchTruth(), PrimaryUID(), Print2V(), Print3S(), Print3V(), PrintAll(), PrintP(), lar_pandora::LArPandoraEventDump::PrintParticle(), PrintT(), lar_pandora::LArPandoraExternalEventBuilding::produce(), cluster::TrajCluster::produce(), Reconcile3D(), tca::TrajClusterAlg::ReconstructAllTraj(), tca::TrajClusterAlg::RunTrajClusterAlg(), evd::RecoBaseDrawer::Slice2D(), evd::RecoBaseDrawer::Slice3D(), and StitchPFPs().
const std::vector< std::string > tca::StopFlagNames |
Definition at line 82 of file DataStructs.cxx.
Referenced by PrintStopFlag(), and tca::TrajClusterAlg::reconfigure().
const std::vector< std::string > tca::StrategyBitNames |
Definition at line 101 of file DataStructs.cxx.
Referenced by StepAway().
ShowerTreeVars tca::stv |
Definition at line 8 of file DataStructs.cxx.
Referenced by tca::TrajClusterAlg::DefineShTree(), tca::TrajClusterAlg::RunTrajClusterAlg(), SaveTjInfo(), and SaveTjInfoStuff().
TCConfig tca::tcc |
Definition at line 6 of file DataStructs.cxx.
Referenced by AddCloseTjsToList(), AddHits(), AddLAHits(), AddLooseHits(), AddTj(), AnalyzeHits(), AngleRange(), AttachAnyTrajToVertex(), AttachTrajToVertex(), tca::TruthMatcher::CanReconstruct(), CheckHiMultEndHits(), CheckHiMultUnusedHits(), CheckStiffEl(), CheckTraj(), CheckTrajBeginChg(), ChgFracBetween(), ChgFracNearEnd(), ChkChgAsymmetry(), ChkHiChgHits(), tca::TrajClusterAlg::ChkInTraj(), ChkMichel(), ChkStop(), ChkStopEndPts(), ChkVxTjs(), CompatibleMerge(), CompleteIncomplete3DVertices(), CompleteIncomplete3DVerticesInGaps(), CompleteIncompleteShower(), tca::TrajClusterAlg::CreateSlice(), DecodeDebugString(), DefineDontCluster(), DefineEnvelope(), DefineHitPos(), DefinePFP(), DefinePFPParents(), DefineTjParents(), DumpTj(), EndMerge(), ExpectedHitsRMS(), FilldEdx(), FillGaps(), FillmAllTraj(), FillWireHitRange(), Find2DVertices(), Find3DVertices(), FindCloseHits(), FindCloseTjs(), FindCompleteness(), FindCots(), FindHammerVertices(), FindHammerVertices2(), tca::TrajClusterAlg::FindJunkTraj(), tca::TrajClusterAlg::FindMissedVxTjs(), FindNeutralVertices(), FindParent(), FindPFParticles(), FindShowers3D(), FindShowerStart(), FindSoftKink(), FindStartChg(), FindUseHits(), FindVtxTjs(), FindXMatches(), FitTp3(), FitTp3s(), FitVertex(), FixTrajBegin(), FixTrajEnd(), FollowTp3s(), Forecast(), GetHitMultiplet(), GetOrigin(), GottaKink(), HiEndDelta(), HitSep2(), HitsPosTime(), HitsRMSTime(), HitsTimeErr2(), HitTimeErr(), InsideTPC(), IsCloseToVertex(), IsGhost(), KillPoorVertices(), KillVerticesInShower(), MakeBareTP(), MakeBareTrajPoint(), MakeHaloTj(), MakeJunkTraj(), MakeJunkVertices(), MakeTp3(), MakeVertexObsolete(), MaskBadTPs(), MaskedHitsOK(), MaskTrajEndPoints(), Match3DFOM(), Match3DVtxTjs(), tca::TruthMatcher::MatchAndSum(), tca::TruthMatcher::MatchTruth(), MergeGhostTjs(), MergeNearby2DShowers(), MergeOverlap(), MergePFPTjs(), MergeShowerChain(), MergeSubShowers(), MergeSubShowersTj(), MergeWithVertex(), ParentFOM(), PointTrajDOCA(), PosInPlane(), Print2DShowers(), Print2V(), PrintAllTraj(), PrintPos(), PrintShower(), PrintT(), PrintTrajectory(), PrintTrajPoint(), cluster::TrajCluster::produce(), tca::TrajClusterAlg::reconfigure(), tca::TrajClusterAlg::ReconstructAllTraj(), ReversePropagate(), tca::TrajClusterAlg::RunTrajClusterAlg(), SaveAllCots(), SaveCRInfo(), SaveTjInfo(), SaveTjInfoStuff(), SetAngleCode(), tca::TrajClusterAlg::SetInputHits(), SetPDGCode(), SetStrategy(), SetVx2Score(), SetVx3Score(), SignalAtTp(), Split3DKink(), SplitHiChgHits(), SplitTraj(), SplitTrajCrossingVertices(), StartChgVec(), StartTraj(), StepAway(), StitchPFPs(), StopIfBadFits(), StoreTraj(), TagDeltaRays(), TagJunkTj(), TagShowerLike(), TjDeltaRMS(), TPHitsRMSTime(), tca::TrajClusterAlg::TrajClusterAlg(), TrimEndPts(), UpdateMatchStructs(), UpdateShower(), UpdateStiffEl(), UpdateTjChgProperties(), UpdateTp3s(), UpdateTraj(), and VtxHitsSwap().
std::vector< TjForecast > tca::tjfs |
Definition at line 7 of file DataStructs.cxx.
Referenced by Forecast(), SetStrategy(), and StepAway().
constexpr unsigned int tca::Tpad = 10 |
Definition at line 42 of file DataStructs.h.
Referenced by DecodeCTP().
const std::vector< std::string > tca::VtxBitNames |
Definition at line 91 of file DataStructs.cxx.
Referenced by Print2V(), and PrintAllTraj().