Namespaces | |
detail | |
Classes | |
struct | VtxStore |
struct of temporary 2D vertices (end points) More... | |
struct | Vtx3Store |
struct of temporary 3D vertices More... | |
struct | TCWireIntersection |
struct | Tj2Pt |
struct | TrajPoint |
struct | ParFit |
struct | Trajectory |
struct | TjForecast |
struct | TrajPoint3 |
struct | SectionFit |
struct | TP3D |
struct | MatchStruct |
struct | PFPStruct |
struct | ShowerPoint |
struct | ShowerStruct |
struct | ShowerStruct3D |
struct | DontClusterStruct |
struct | ShowerTreeVars |
struct | CRTreeVars |
struct | TCConfig |
struct | TCHit |
struct | TCEvent |
struct | TCSlice |
struct | DebugStuff |
struct | HistStuff |
class | TrajClusterAlg |
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) |
void | StitchPFPs () |
void | FindPFParticles (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, TCSlice &slc) |
void | MakePFParticles (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, std::vector< MatchStruct > matVec, unsigned short matVec_Iter) |
bool | ReconcileTPs (TCSlice &slc, PFPStruct &pfp, bool prt) |
void | ReconcileTPs (TCSlice &slc) |
void | MakePFPTjs (TCSlice &slc) |
void | FillWireIntersections (TCSlice &slc) |
bool | TCIntersectionPoint (unsigned int wir1, unsigned int wir2, unsigned int pln1, unsigned int pln2, float &y, float &z) |
void | Match3PlanesSpt (TCSlice &slc, std::vector< MatchStruct > &matVec) |
bool | SptInTPC (const std::array< unsigned int, 3 > &sptHits, unsigned int tpc) |
void | Match3Planes (TCSlice &slc, std::vector< MatchStruct > &matVec) |
void | Match2Planes (TCSlice &slc, std::vector< MatchStruct > &matVec) |
bool | Update (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp, bool prt) |
bool | ReSection (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp, bool prt) |
void | CountBadPoints (const TCSlice &slc, const PFPStruct &pfp, unsigned short fromPt, unsigned short toPt, unsigned short &nBadPts, unsigned short &firstBadPt) |
bool | CanSection (const TCSlice &slc, const PFPStruct &pfp) |
unsigned short | Find3DRecoRange (const TCSlice &slc, const PFPStruct &pfp, unsigned short fromPt, unsigned short min2DPts, short dir) |
void | GetRange (const PFPStruct &pfp, unsigned short sfIndex, unsigned short &fromPt, unsigned short &npts) |
bool | FitSection (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp, unsigned short sfIndex) |
SectionFit | FitTP3Ds (detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, const std::vector< TP3D > &tp3ds, unsigned short fromPt, short fitDir, unsigned short nPtsFit) |
bool | FitTP3Ds (detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp, unsigned short fromPt, unsigned short nPtsFit, unsigned short sfIndex, float &chiDOF) |
void | ReconcileVertices (TCSlice &slc, PFPStruct &pfp, bool prt) |
void | FillGaps3D (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, PFPStruct &pfp, bool prt) |
bool | ValidTwoPlaneMatch (detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, const PFPStruct &pfp) |
void | AddPointsInRange (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, PFPStruct &pfp, unsigned short fromPt, unsigned short toPt, CTP_t inCTP, float maxPull, unsigned short &nWires, unsigned short &nAdd, bool prt) |
unsigned short | InsertTP3D (PFPStruct &pfp, TP3D &tp3d) |
bool | SortSection (PFPStruct &pfp, unsigned short sfIndex) |
void | Recover (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, PFPStruct &pfp, bool prt) |
bool | MakeTP3Ds (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, PFPStruct &pfp, bool prt) |
bool | MakeSmallAnglePFP (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, PFPStruct &pfp, bool prt) |
void | Reverse (TCSlice &slc, PFPStruct &pfp) |
void | FillmAllTraj (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc) |
TP3D | MakeTP3D (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, const TrajPoint &itp, const TrajPoint &jtp) |
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 (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp) |
void | Average_dEdX (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp, float &dEdXAve, float &dEdXRms) |
float | dEdx (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, TP3D &tp3d) |
TP3D | CreateTP3D (detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, int tjID, unsigned short tpIndex) |
bool | SetSection (detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp, TP3D &tp3d) |
float | PointPull (const PFPStruct &pfp, const TP3D &tp3d) |
PFPStruct | CreatePFP (const TCSlice &slc) |
void | PFPVertexCheck (TCSlice &slc) |
void | DefinePFPParents (TCSlice &slc, bool prt) |
bool | StorePFP (TCSlice &slc, PFPStruct &pfp) |
bool | InsideFV (const TCSlice &slc, const 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) |
float | ChgFracBetween (detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, Point3_t pos1, Point3_t pos2) |
float | ChgFracNearEnd (detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, const PFPStruct &pfp, unsigned short end) |
Vector3_t | DirAtEnd (const PFPStruct &pfp, unsigned short end) |
Point3_t | PosAtEnd (const PFPStruct &pfp, unsigned short end) |
float | Length (const PFPStruct &pfp) |
bool | SectionStartEnd (const PFPStruct &pfp, unsigned short sfIndex, unsigned short &startPt, unsigned short &endPt) |
unsigned short | FarEnd (const TCSlice &slc, const PFPStruct &pfp, const Point3_t &pos) |
int | PDGCodeVote (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp) |
void | PrintTP3Ds (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, std::string someText, const TCSlice &slc, const PFPStruct &pfp, short printPts) |
double | DotProd (const Vector3_t &v1, const Vector3_t &v2) |
void | StepAway (TCSlice &slc, Trajectory &tj) |
bool | StopShort (TCSlice &slc, Trajectory &tj, bool prt) |
void | SetStrategy (TCSlice &slc, Trajectory &tj) |
void | Forecast (TCSlice &slc, const 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 (const TCSlice &slc, unsigned int theHit, std::vector< unsigned int > &hitsInMultiplet, bool useLongPulseHits) |
float | HitTimeErr (const TCSlice &slc, unsigned int iht) |
float | HitsTimeErr2 (const 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 | FillGaps (TCSlice &slc, Trajectory &tj) |
void | CheckHiMultUnusedHits (TCSlice &slc, Trajectory &tj) |
void | CheckHiMultEndHits (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) |
bool | GottaKink (TCSlice &slc, Trajectory &tj, bool doTrim) |
void | ChkBegin (TCSlice &slc, Trajectory &tj) |
void | FixBegin (TCSlice &slc, Trajectory &tj, unsigned short atPt) |
bool | IsGhost (TCSlice &slc, Trajectory &tj) |
bool | IsGhost (TCSlice &slc, std::vector< unsigned int > &tHits) |
void | LastEndMerge (TCSlice &slc, CTP_t inCTP) |
TrajPoint | CreateTPFromTj (TCSlice &slc, const Trajectory &tj) |
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) |
bool | MakeJunkTraj (TCSlice &slc, std::vector< unsigned int > tHits) |
void | SaveCRInfo (detinfo::DetectorClocksData const &clockData, TCSlice &slc, PFPStruct &pfp, bool prt, bool fIsRealData) |
int | GetOrigin (detinfo::DetectorClocksData const &clockData, TCSlice &slc, PFPStruct &pfp) |
void | ClearCRInfo (TCSlice &slc) |
void | ConfigureMVA (TCConfig &tcc, std::string fMVAShowerParentWeights) |
bool | FindShowerStart (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
void | Finish3DShowers (TCSlice &slc) |
bool | FindShowers3D (detinfo::DetectorPropertiesData const &detProp, 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) |
bool | UpdateShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt) |
bool | UpdateShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
float | Match3DFOM (detinfo::DetectorPropertiesData const &detProp, std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
float | Match3DFOM (detinfo::DetectorPropertiesData const &detProp, std::string inFcnLabel, TCSlice &slc, int icid, int jcid, int kcid, bool prt) |
float | Match3DFOM (detinfo::DetectorPropertiesData const &detProp, 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 (detinfo::DetectorPropertiesData const &detProp, std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt) |
bool | SetParent (detinfo::DetectorPropertiesData const &detProp, std::string inFcnLabel, TCSlice &slc, PFPStruct &pfp, ShowerStruct3D &ss3, bool prt) |
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 | 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 (detinfo::DetectorPropertiesData const &detProp, 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) |
void | Match2DShowers (std::string inFcnLabel, TCSlice &slc, bool prt) |
void | DefineDontCluster (TCSlice &slc, bool prt) |
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 | FindCots (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, std::vector< std::vector< int >> &tjLists, bool prt) |
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) |
void | MakeJunkVertices (TCSlice &slc, const CTP_t &inCTP) |
void | Find2DVertices (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, const CTP_t &inCTP, unsigned short pass) |
bool | MergeWithVertex (TCSlice &slc, VtxStore &vx, unsigned short oVxID) |
void | FindHammerVertices2 (TCSlice &slc, const CTP_t &inCTP) |
void | FindHammerVertices (TCSlice &slc, const CTP_t &inCTP) |
void | SplitTrajCrossingVertices (TCSlice &slc, CTP_t inCTP) |
void | Reconcile2Vs (TCSlice &slc) |
bool | Reconcile2VTs (TCSlice &slc, std::vector< int > &vx2cls, bool prt) |
void | Find3DVertices (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc) |
unsigned short | TPNearVertex (const TCSlice &slc, const TrajPoint &tp) |
bool | AttachToAnyVertex (TCSlice &slc, PFPStruct &pfp, float maxSep, bool prt) |
bool | AttachAnyVertexToTraj (TCSlice &slc, int tjID, bool prt) |
bool | AttachAnyTrajToVertex (TCSlice &slc, unsigned short ivx, bool prt) |
bool | AttachTrajToVertex (TCSlice &slc, Trajectory &tj, VtxStore &vx, bool prt) |
float | TrajPointVertexPull (const TCSlice &slc, const TrajPoint &tp, const VtxStore &vx) |
float | VertexVertexPull (const TCSlice &slc, const Vtx3Store &vx1, const Vtx3Store &vx2) |
float | VertexVertexPull (const 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 > &vxTPs, 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) |
void | CompleteIncomplete3DVerticesInGaps (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc) |
void | CompleteIncomplete3DVertices (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc) |
bool | RefineVtxPosition (TCSlice &slc, const Trajectory &tj, unsigned short &nearPt, short nPtsToChk, bool prt) |
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) |
void | PosInPlane (detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, const Vtx3Store &vx3, unsigned short plane, Point2_t &pos) |
unsigned short | IsCloseToVertex (const TCSlice &slc, const VtxStore &inVx2) |
unsigned short | IsCloseToVertex (const TCSlice &slc, const 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 (const TCSlice &slc, const std::vector< int > &tjIDs) |
int | NeutrinoPrimaryTjID (const TCSlice &slc, const Trajectory &tj) |
int | PrimaryID (const TCSlice &slc, const Trajectory &tj) |
int | PrimaryUID (const TCSlice &slc, const PFPStruct &pfp) |
bool | MergeTjIntoPFP (TCSlice &slc, int mtjid, PFPStruct &pfp, bool prt) |
float | PointPull (TCSlice &slc, Point2_t pos, float chg, const Trajectory &tj) |
bool | CompatibleMerge (const TCSlice &slc, std::vector< int > &tjIDs, bool prt) |
bool | CompatibleMerge (const TCSlice &slc, const Trajectory &tj1, const Trajectory &tj2, bool prt) |
float | OverlapFraction (const 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) |
unsigned short | GetPFPIndex (const TCSlice &slc, int tjID) |
void | ReleaseHits (TCSlice &slc, Trajectory &tj) |
void | UnsetUsedHits (TCSlice &slc, TrajPoint &tp) |
bool | StoreTraj (TCSlice &slc, Trajectory &tj) |
void | FitPar (const TCSlice &slc, const Trajectory &tj, unsigned short originPt, unsigned short npts, short fitDir, ParFit &pFit, unsigned short usePar) |
bool | InTrajOK (TCSlice &slc, std::string someText) |
void | CheckTrajBeginChg (TCSlice &slc, unsigned short itj) |
bool | BraggSplit (TCSlice &slc, unsigned short itj) |
void | TrimHiChgEndPts (TCSlice &slc, Trajectory &tj, bool prt) |
void | TrimEndPts (std::string fcnLabel, TCSlice &slc, Trajectory &tj, const std::vector< float > &fQualityCuts, bool prt) |
void | ChkEndKink (TCSlice &slc, Trajectory &tj, bool prt) |
void | ChkChgAsymmetry (TCSlice &slc, Trajectory &tj, bool prt) |
bool | SignalBetween (const TCSlice &slc, const TrajPoint &tp1, const TrajPoint &tp2, const float &MinWireSignalFraction) |
bool | SignalBetween (const TCSlice &slc, TrajPoint tp, float toPos0, const float &MinWireSignalFraction) |
float | ChgFracBetween (const 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 | SignalAtTpInSlc (const TCSlice &slc, const TrajPoint &tp) |
bool | SignalAtTp (TrajPoint &tp) |
bool | NearbySrcHit (geo::PlaneID plnID, unsigned int wire, float loTick, float hiTick) |
float | TpSumHitChg (const TCSlice &slc, TrajPoint const &tp) |
unsigned short | NumPtsWithCharge (const TCSlice &slc, const Trajectory &tj, bool includeDeadWires) |
unsigned short | NumPtsWithCharge (const TCSlice &slc, const Trajectory &tj, bool includeDeadWires, unsigned short firstPt, unsigned short lastPt) |
float | DeadWireCount (const TCSlice &slc, const TrajPoint &tp1, const TrajPoint &tp2) |
float | DeadWireCount (const 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 (detinfo::DetectorPropertiesData const &detProp, 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 (const TCSlice &slc, TrajPoint const &tp, Trajectory const &tj, unsigned short &closePt, float &minSep) |
bool | TrajTrajDOCA (const TCSlice &slc, const Trajectory &tj1, const Trajectory &tj2, unsigned short &ipt1, unsigned short &ipt2, float &minSep) |
bool | TrajTrajDOCA (const TCSlice &slc, const Trajectory &tj1, const Trajectory &tj2, unsigned short &ipt1, unsigned short &ipt2, float &minSep, bool considerDeadWires) |
float | HitSep2 (const TCSlice &slc, unsigned int iht, unsigned int jht) |
unsigned short | CloseEnd (const TCSlice &slc, const Trajectory &tj, const Point2_t &pos) |
float | PointTrajSep2 (float wire, float time, TrajPoint const &tp) |
float | PointTrajDOCA (const TCSlice &slc, unsigned int iht, TrajPoint const &tp) |
float | PointTrajDOCA (const TCSlice &slc, float wire, float time, TrajPoint const &tp) |
float | PointTrajDOCA2 (const 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 (const TCSlice &slc, std::vector< int > &tjIDs) |
float | TrajLength (const Trajectory &tj) |
float | PosSep (const Point2_t &pos1, const Point2_t &pos2) |
float | PosSep2 (const Point2_t &pos1, const Point2_t &pos2) |
float | TrajPointSeparation (const TrajPoint &tp1, const TrajPoint &tp2) |
bool | TrajClosestApproach (Trajectory const &tj, float x, float y, unsigned short &closePt, float &DOCA) |
float | TwoTPAngle (const TrajPoint &tp1, const TrajPoint &tp2) |
std::vector< unsigned int > | PutHitsInVector (const TCSlice &slc, PFPStruct const &pfp, HitStatus_t hitRequest) |
std::vector< unsigned int > | PutTrajHitsInVector (const Trajectory &tj, HitStatus_t hitRequest) |
void | TagJunkTj (TCSlice &slc, Trajectory &tj, bool prt) |
bool | HasDuplicateHits (const TCSlice &slc, Trajectory const &tj, bool prt) |
void | MoveTPToWire (TrajPoint &tp, float wire) |
std::vector< unsigned int > | FindCloseHits (const 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) |
unsigned short | NearbyCleanPt (const TCSlice &slc, const Trajectory &tj, unsigned short end) |
std::vector< int > | FindCloseTjs (const TCSlice &slc, const TrajPoint &fromTp, const TrajPoint &toTp, const float &maxDelta) |
float | KinkSignificance (TCSlice &slc, Trajectory &tj1, unsigned short end1, Trajectory &tj2, unsigned short end2, unsigned short nPtsFit, bool useChg, bool prt) |
float | KinkSignificance (TCSlice &slc, Trajectory &tj, unsigned short kinkPt, unsigned short nPtsFit, bool useChg, bool prt) |
float | ElectronLikelihood (const TCSlice &slc, const Trajectory &tj) |
float | ChgFracNearPos (const 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 (const TCSlice &slc, const std::vector< int > &tjIDs) |
short | MCSMom (const TCSlice &slc, const Trajectory &tj) |
short | MCSMom (const TCSlice &slc, const Trajectory &tj, unsigned short firstPt, unsigned short lastPt) |
unsigned short | NearestPtWithChg (const TCSlice &slc, const Trajectory &tj, unsigned short thePt) |
float | MCSThetaRMS (const TCSlice &slc, const Trajectory &tj) |
double | MCSThetaRMS (const TCSlice &slc, const Trajectory &tj, unsigned short firstPt, unsigned short lastPt) |
void | TjDeltaRMS (const TCSlice &slc, const Trajectory &tj, unsigned short firstPt, unsigned short lastPt, double &rms, unsigned short &cnt) |
void | SetTPEnvironment (TCSlice &slc, CTP_t inCTP) |
void | UpdateTjChgProperties (std::string inFcnLabel, TCSlice &slc, Trajectory &tj, bool prt) |
void | UpdateVxEnvironment (TCSlice &slc) |
void | UpdateVxEnvironment (TCSlice &slc, VtxStore &vx2, bool prt) |
TrajPoint | MakeBareTP (detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, const Point3_t &pos, CTP_t inCTP) |
TrajPoint | MakeBareTP (detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, const Point3_t &pos, const Vector3_t &dir, CTP_t inCTP) |
bool | MakeBareTrajPoint (const TCSlice &slc, unsigned int fromHit, unsigned int toHit, TrajPoint &tp) |
bool | MakeBareTrajPoint (const 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 (const 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 (const TCSlice &slc, const TrajPoint &tp, HitStatus_t hitRequest) |
float | TPHitsRMSTick (const TCSlice &slc, const TrajPoint &tp, HitStatus_t hitRequest) |
float | HitsRMSTime (const TCSlice &slc, const std::vector< unsigned int > &hitsInMultiplet, HitStatus_t hitRequest) |
float | HitsRMSTick (const TCSlice &slc, const std::vector< unsigned int > &hitsInMultiplet, HitStatus_t hitRequest) |
float | HitsPosTime (const TCSlice &slc, const std::vector< unsigned int > &hitsInMultiplet, float &sum, HitStatus_t hitRequest) |
float | HitsPosTick (const TCSlice &slc, const std::vector< unsigned int > &hitsInMultiplet, float &sum, HitStatus_t hitRequest) |
unsigned short | NumUsedHitsInTj (const TCSlice &slc, const Trajectory &tj) |
unsigned short | NumHitsInTP (const TrajPoint &tp, HitStatus_t hitRequest) |
void | SetPDGCode (TCSlice &slc, unsigned short itj) |
void | SetPDGCode (TCSlice &slc, Trajectory &tj) |
bool | AnalyzeHits () |
bool | LongPulseHit (const recob::Hit &hit) |
void | FillWireHitRange (geo::TPCID inTPCID) |
bool | FillWireHitRange (detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, 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 | PrintDebugMode () |
void | PrintAll (detinfo::DetectorPropertiesData const &detProp, std::string someText) |
void | PrintP (std::string someText, mf::LogVerbatim &myprt, PFPStruct &pfp, bool &printHeader) |
void | Print3V (detinfo::DetectorPropertiesData const &detProp, std::string someText, mf::LogVerbatim &myprt, Vtx3Store &vx3, bool &printHeader) |
void | Print2V (std::string someText, mf::LogVerbatim &myprt, VtxStore &vx2, bool &printHeader) |
void | Print3S (detinfo::DetectorPropertiesData const &detProp, std::string someText, mf::LogVerbatim &myprt, ShowerStruct3D &ss3) |
void | PrintT (std::string someText, mf::LogVerbatim &myprt, Trajectory &tj, bool &printHeader) |
void | PrintAllTraj (detinfo::DetectorPropertiesData const &detProp, std::string someText, TCSlice &slc, unsigned short itj, unsigned short ipt, bool prtVtx) |
void | PrintTrajectory (std::string someText, const TCSlice &slc, const Trajectory &tj, unsigned short tPoint) |
void | PrintTPHeader (std::string someText) |
void | PrintTP (std::string someText, const TCSlice &slc, unsigned short ipt, short dir, unsigned short pass, const TrajPoint &tp) |
std::string | TPEnvString (const TrajPoint &tp) |
void | PrintPFP (std::string someText, TCSlice &slc, const PFPStruct &pfp, bool printHeader) |
void | PrintPFPs (std::string someText, TCSlice &slc) |
std::string | PrintEndFlag (const PFPStruct &pfp, unsigned short end) |
std::string | PrintEndFlag (const Trajectory &tj, unsigned short end) |
std::string | PrintHitShort (const TCHit &tch) |
std::string | PrintHit (const TCHit &tch) |
std::string | PrintPos (const TCSlice &slc, const TrajPoint &tp) |
std::string | PrintPos (const TCSlice &slc, const Point2_t &pos) |
void | ChkMissedKink (TCSlice &slc, Trajectory &tj, bool prt) |
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 47 of file DataStructs.h.
using tca::Point2_t = typedef std::array<float, 2> |
Definition at line 43 of file DataStructs.h.
using tca::Point3_t = typedef std::array<double, 3> |
Definition at line 41 of file DataStructs.h.
using tca::Vector2_t = typedef std::array<double, 2> |
Definition at line 44 of file DataStructs.h.
using tca::Vector3_t = typedef std::array<double, 3> |
Definition at line 42 of file DataStructs.h.
enum tca::AlgBit_t |
Definition at line 426 of file DataStructs.h.
enum tca::EndFlag_t |
Enumerator | |
---|---|
kSignal | |
kAtKink | |
kAtVtx | |
kBragg | |
kAtTj | |
kOutFV | |
kNoFitVx | |
kFlagBitSize |
don't mess with this line |
Definition at line 507 of file DataStructs.h.
enum tca::HitStatus_t |
Enumerator | |
---|---|
kAllHits | |
kUsedHits | |
kUnusedHits |
Definition at line 43 of file larreco/larreco/RecoAlg/TCAlg/Utils.h.
enum tca::PFPFlags_t |
Enumerator | |
---|---|
kCanSection | |
kNeedsUpdate | |
kSmallAngle |
Definition at line 305 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 499 of file DataStructs.h.
enum tca::TCModes_t |
Definition at line 530 of file DataStructs.h.
enum tca::TP3DFlags_t |
Enumerator | |
---|---|
kTP3DGood | |
kTP3DBad | |
kTP3DHiDEdx |
Definition at line 266 of file DataStructs.h.
enum tca::TPEnvironment_t |
Enumerator | |
---|---|
kEnvNotGoodWire | |
kEnvNearMuon | |
kEnvNearShower | |
kEnvOverlap | |
kEnvUnusedHits | |
kEnvNearSrcHit |
TP is near a hit in the srcHit collection but no allHit hit exists (DUNE disambiguation error) |
kEnvFlag |
a general purpose flag bit used in 3D matching |
Definition at line 519 of file DataStructs.h.
enum tca::VtxBit_t |
Definition at line 91 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 3459 of file TCShower.cxx.
void tca::AddHits | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | ipt, | ||
bool & | sigOK | ||
) |
Definition at line 1039 of file StepUtils.cxx.
void tca::AddLAHits | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | ipt, | ||
bool & | sigOK | ||
) |
Definition at line 1216 of file StepUtils.cxx.
bool tca::AddLooseHits | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | cotID, | ||
bool | prt | ||
) |
bool tca::AddLooseHits | ( | TCSlice & | slc, |
int | cotID, | ||
bool | prt | ||
) |
Definition at line 3627 of file TCShower.cxx.
bool tca::AddPFP | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | pID, | ||
ShowerStruct3D & | ss3, | ||
bool | doUpdate, | ||
bool | prt | ||
) |
Definition at line 1386 of file TCShower.cxx.
void tca::AddPointsInRange | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
unsigned short | fromPt, | ||
unsigned short | toPt, | ||
CTP_t | inCTP, | ||
float | maxPull, | ||
unsigned short & | nWires, | ||
unsigned short & | nAdd, | ||
bool | prt | ||
) |
Definition at line 1838 of file PFPUtils.cxx.
bool tca::AddTj | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | tjID, | ||
ShowerStruct & | ss, | ||
bool | doUpdate, | ||
bool | prt | ||
) |
Definition at line 1448 of file TCShower.cxx.
bool tca::AddTjsInsideEnvelope | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3551 of file TCShower.cxx.
bool tca::AnalyzeHits | ( | ) |
Definition at line 4394 of file Utils.cxx.
bool tca::AnalyzeRotPos | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3062 of file TCShower.cxx.
unsigned short tca::AngleRange | ( | float | angle | ) |
Definition at line 793 of file Utils.cxx.
bool tca::AttachAnyTrajToVertex | ( | TCSlice & | slc, |
unsigned short | ivx, | ||
bool | prt | ||
) |
Definition at line 1683 of file TCVertex.cxx.
bool tca::AttachAnyVertexToTraj | ( | TCSlice & | slc, |
int | tjID, | ||
bool | prt | ||
) |
Definition at line 1641 of file TCVertex.cxx.
bool tca::AttachToAnyVertex | ( | TCSlice & | slc, |
PFPStruct & | pfp, | ||
float | maxSep, | ||
bool | prt | ||
) |
Definition at line 1583 of file TCVertex.cxx.
bool tca::AttachTrajToVertex | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
VtxStore & | vx, | ||
bool | prt | ||
) |
Definition at line 1728 of file TCVertex.cxx.
void tca::Average_dEdX | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
const TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
float & | dEdXAve, | ||
float & | dEdXRms | ||
) |
Definition at line 2650 of file PFPUtils.cxx.
bool tca::BraggSplit | ( | TCSlice & | slc, |
unsigned short | itj | ||
) |
Definition at line 1444 of file Utils.cxx.
bool tca::CanSection | ( | const TCSlice & | slc, |
const PFPStruct & | pfp | ||
) |
Definition at line 1343 of file PFPUtils.cxx.
void tca::CheckHiMultEndHits | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2309 of file StepUtils.cxx.
void tca::CheckHiMultUnusedHits | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2167 of file StepUtils.cxx.
void tca::CheckStiffEl | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 916 of file StepUtils.cxx.
void tca::CheckTraj | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 929 of file StepUtils.cxx.
void tca::CheckTrajBeginChg | ( | TCSlice & | slc, |
unsigned short | itj | ||
) |
Definition at line 1337 of file Utils.cxx.
float tca::ChgFracBetween | ( | const TCSlice & | slc, |
TrajPoint | tp, | ||
float | toPos0 | ||
) |
float tca::ChgFracBetween | ( | detinfo::DetectorPropertiesData const & | detProp, |
const TCSlice & | slc, | ||
Point3_t | pos1, | ||
Point3_t | pos2 | ||
) |
Definition at line 3197 of file PFPUtils.cxx.
float tca::ChgFracNearEnd | ( | detinfo::DetectorPropertiesData const & | detProp, |
const TCSlice & | slc, | ||
const PFPStruct & | pfp, | ||
unsigned short | end | ||
) |
Definition at line 3232 of file PFPUtils.cxx.
float tca::ChgFracNearPos | ( | const TCSlice & | slc, |
const Point2_t & | pos, | ||
const std::vector< int > & | tjIDs | ||
) |
Definition at line 3236 of file Utils.cxx.
float tca::ChgToMeV | ( | float | chg | ) |
Definition at line 3982 of file TCShower.cxx.
bool tca::ChkAssns | ( | std::string | inFcnLabel, |
TCSlice & | slc | ||
) |
Definition at line 4157 of file TCShower.cxx.
void tca::ChkBegin | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2674 of file StepUtils.cxx.
void tca::ChkChgAsymmetry | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 1741 of file Utils.cxx.
void tca::ChkEndKink | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 1707 of file Utils.cxx.
bool tca::ChkMichel | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short & | lastGoodPt | ||
) |
Definition at line 3811 of file StepUtils.cxx.
void tca::ChkMissedKink | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
void tca::ChkStop | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 3705 of file StepUtils.cxx.
void tca::ChkStopEndPts | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 1562 of file StepUtils.cxx.
bool tca::ChkVtxAssociations | ( | TCSlice & | slc, |
const CTP_t & | inCTP | ||
) |
Definition at line 2071 of file TCVertex.cxx.
void tca::ClearCRInfo | ( | TCSlice & | slc | ) |
void tca::ClearShowerTree | ( | ShowerTreeVars & | stv | ) |
Definition at line 212 of file TCShTree.cxx.
unsigned short tca::CloseEnd | ( | const TCSlice & | slc, |
const Trajectory & | tj, | ||
const Point2_t & | pos | ||
) |
bool tca::CompatibleMerge | ( | const TCSlice & | slc, |
std::vector< int > & | tjIDs, | ||
bool | prt | ||
) |
Definition at line 580 of file Utils.cxx.
bool tca::CompatibleMerge | ( | const TCSlice & | slc, |
const Trajectory & | tj1, | ||
const Trajectory & | tj2, | ||
bool | prt | ||
) |
Definition at line 652 of file Utils.cxx.
void tca::CompleteIncomplete3DVertices | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc | ||
) |
Definition at line 2490 of file TCVertex.cxx.
void tca::CompleteIncomplete3DVerticesInGaps | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc | ||
) |
Definition at line 2396 of file TCVertex.cxx.
bool tca::CompleteIncompleteShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 756 of file TCShower.cxx.
void tca::ConfigureMVA | ( | TCConfig & | tcc, |
std::string | fMVAShowerParentWeights | ||
) |
Definition at line 35 of file TCShower.cxx.
void tca::CountBadPoints | ( | const TCSlice & | slc, |
const PFPStruct & | pfp, | ||
unsigned short | fromPt, | ||
unsigned short | toPt, | ||
unsigned short & | nBadPts, | ||
unsigned short & | firstBadPt | ||
) |
Definition at line 1309 of file PFPUtils.cxx.
PFPStruct tca::CreatePFP | ( | const TCSlice & | slc | ) |
Definition at line 2824 of file PFPUtils.cxx.
ShowerStruct tca::CreateSS | ( | TCSlice & | slc, |
const std::vector< int > & | tjl | ||
) |
Definition at line 4110 of file TCShower.cxx.
ShowerStruct3D tca::CreateSS3 | ( | TCSlice & | slc | ) |
Definition at line 4090 of file TCShower.cxx.
TP3D tca::CreateTP3D | ( | detinfo::DetectorPropertiesData const & | detProp, |
const TCSlice & | slc, | ||
int | tjID, | ||
unsigned short | tpIndex | ||
) |
Definition at line 2723 of file PFPUtils.cxx.
TrajPoint tca::CreateTPFromTj | ( | TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 3217 of file StepUtils.cxx.
float tca::DeadWireCount | ( | const TCSlice & | slc, |
const TrajPoint & | tp1, | ||
const TrajPoint & | tp2 | ||
) |
Definition at line 2141 of file Utils.cxx.
float tca::DeadWireCount | ( | const TCSlice & | slc, |
const float & | inWirePos1, | ||
const float & | inWirePos2, | ||
CTP_t | tCTP | ||
) |
geo::PlaneID tca::DecodeCTP | ( | CTP_t | CTP | ) |
Definition at line 116 of file DataStructs.cxx.
bool tca::DecodeDebugString | ( | std::string | strng | ) |
Definition at line 5216 of file Utils.cxx.
float tca::dEdx | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
const TCSlice & | slc, | ||
TP3D & | tp3d | ||
) |
Definition at line 2687 of file PFPUtils.cxx.
void tca::DefineDontCluster | ( | TCSlice & | slc, |
bool | prt | ||
) |
void tca::DefineEnvelope | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3489 of file TCShower.cxx.
void tca::DefineHitPos | ( | TCSlice & | slc, |
TrajPoint & | tp | ||
) |
Definition at line 1672 of file StepUtils.cxx.
void tca::DefinePFPParents | ( | TCSlice & | slc, |
bool | prt | ||
) |
Definition at line 2884 of file PFPUtils.cxx.
void tca::DefineTjParents | ( | TCSlice & | slc, |
bool | prt | ||
) |
Definition at line 168 of file Utils.cxx.
double tca::DeltaAngle | ( | const Vector3_t | v1, |
const Vector3_t | v2 | ||
) |
Definition at line 2540 of file PFPUtils.cxx.
double tca::DeltaAngle | ( | const Point2_t & | p1, |
const Point2_t & | p2 | ||
) |
double tca::DeltaAngle2 | ( | double | Ang1, |
double | Ang2 | ||
) |
Vector3_t tca::DirAtEnd | ( | const PFPStruct & | pfp, |
unsigned short | end | ||
) |
Definition at line 3284 of file PFPUtils.cxx.
bool tca::DontCluster | ( | TCSlice & | slc, |
const std::vector< int > & | tjlist1, | ||
const std::vector< int > & | tjlist2 | ||
) |
Definition at line 3258 of file TCShower.cxx.
|
inline |
Definition at line 128 of file PFPUtils.h.
|
inline |
Definition at line 237 of file larreco/larreco/RecoAlg/TCAlg/Utils.h.
void tca::DumpShowerPts | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | cotID | ||
) |
void tca::DumpShowerPts | ( | TCSlice & | slc, |
int | cotID | ||
) |
Definition at line 3875 of file TCShower.cxx.
void tca::DumpTj | ( | ) |
Definition at line 5400 of file Utils.cxx.
float tca::ElectronLikelihood | ( | const TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 3216 of file Utils.cxx.
|
inline |
Definition at line 52 of file DataStructs.h.
|
inline |
Definition at line 57 of file DataStructs.h.
|
inline |
Definition at line 62 of file DataStructs.h.
void tca::EndMerge | ( | TCSlice & | slc, |
CTP_t | inCTP, | ||
bool | lastPass | ||
) |
Definition at line 3253 of file StepUtils.cxx.
float tca::ExpectedHitsRMS | ( | TCSlice & | slc, |
const TrajPoint & | tp | ||
) |
Definition at line 1947 of file Utils.cxx.
unsigned short tca::FarEnd | ( | const TCSlice & | slc, |
const PFPStruct & | pfp, | ||
const Point3_t & | pos | ||
) |
Definition at line 3339 of file PFPUtils.cxx.
unsigned short tca::FarEnd | ( | TCSlice & | slc, |
const Trajectory & | tj, | ||
const Point2_t & | pos | ||
) |
void tca::FilldEdx | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
const TCSlice & | slc, | ||
PFPStruct & | pfp | ||
) |
Definition at line 2597 of file PFPUtils.cxx.
void tca::FillGaps | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2033 of file StepUtils.cxx.
void tca::FillGaps3D | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
bool | prt | ||
) |
Definition at line 1745 of file PFPUtils.cxx.
void tca::FillmAllTraj | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc | ||
) |
Definition at line 2382 of file PFPUtils.cxx.
void tca::FillWireHitRange | ( | geo::TPCID | inTPCID | ) |
Definition at line 4461 of file Utils.cxx.
bool tca::FillWireHitRange | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
TCSlice & | slc | ||
) |
Definition at line 4537 of file Utils.cxx.
void tca::FillWireIntersections | ( | TCSlice & | slc | ) |
Definition at line 612 of file PFPUtils.cxx.
void tca::Find2DVertices | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc, | ||
const CTP_t & | inCTP, | ||
unsigned short | pass | ||
) |
Definition at line 132 of file TCVertex.cxx.
unsigned short tca::Find3DRecoRange | ( | const TCSlice & | slc, |
const PFPStruct & | pfp, | ||
unsigned short | fromPt, | ||
unsigned short | min2DPts, | ||
short | dir | ||
) |
Definition at line 1359 of file PFPUtils.cxx.
void tca::Find3DVertices | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc | ||
) |
Definition at line 1268 of file TCVertex.cxx.
void tca::FindAlongTrans | ( | Point3_t | pos1, |
Vector3_t | dir1, | ||
Point3_t | pos2, | ||
Point2_t & | alongTrans | ||
) |
Definition at line 3097 of file PFPUtils.cxx.
void tca::FindAlongTrans | ( | Point2_t | pos1, |
Vector2_t | dir1, | ||
Point2_t | pos2, | ||
Point2_t & | alongTrans | ||
) |
std::vector< unsigned int > tca::FindCloseHits | ( | const 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 2843 of file Utils.cxx.
bool tca::FindCloseHits | ( | TCSlice & | slc, |
TrajPoint & | tp, | ||
float const & | maxDelta, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 2907 of file Utils.cxx.
std::vector< int > tca::FindCloseTjs | ( | const TCSlice & | slc, |
const TrajPoint & | fromTp, | ||
const TrajPoint & | toTp, | ||
const float & | maxDelta | ||
) |
Definition at line 2977 of file Utils.cxx.
void tca::FindCots | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
const CTP_t & | inCTP, | ||
std::vector< std::vector< int >> & | tjLists, | ||
bool | prt | ||
) |
void tca::FindHammerVertices | ( | TCSlice & | slc, |
const CTP_t & | inCTP | ||
) |
Definition at line 797 of file TCVertex.cxx.
void tca::FindHammerVertices2 | ( | TCSlice & | slc, |
const CTP_t & | inCTP | ||
) |
Definition at line 604 of file TCVertex.cxx.
void tca::FindNearbyTjs | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3380 of file TCShower.cxx.
bool tca::FindParent | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::string | inFcnLabel, | ||
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 1577 of file TCShower.cxx.
void tca::FindPFParticles | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
TCSlice & | slc | ||
) |
Definition at line 191 of file PFPUtils.cxx.
bool tca::FindShowers3D | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc | ||
) |
Definition at line 289 of file TCShower.cxx.
bool tca::FindShowerStart | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 62 of file TCShower.cxx.
void tca::FindStartChg | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | cotID, | ||
bool | prt | ||
) |
Definition at line 3704 of file TCShower.cxx.
void tca::FindUseHits | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | ipt, | ||
float | maxDelta, | ||
bool | useChg | ||
) |
Definition at line 1757 of file StepUtils.cxx.
void tca::Finish3DShowers | ( | TCSlice & | slc | ) |
Definition at line 156 of file TCShower.cxx.
bool tca::Fit2D | ( | short | mode, |
Point2_t | inPt, | ||
float & | inPtErr, | ||
Vector2_t & | outVec, | ||
Vector2_t & | outVecErr, | ||
float & | chiDOF | ||
) |
void tca::FitPar | ( | const TCSlice & | slc, |
const Trajectory & | tj, | ||
unsigned short | originPt, | ||
unsigned short | npts, | ||
short | fitDir, | ||
ParFit & | pFit, | ||
unsigned short | usePar | ||
) |
Definition at line 1219 of file Utils.cxx.
bool tca::FitSection | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
const TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
unsigned short | sfIndex | ||
) |
Definition at line 1414 of file PFPUtils.cxx.
SectionFit tca::FitTP3Ds | ( | detinfo::DetectorPropertiesData const & | detProp, |
const TCSlice & | slc, | ||
const std::vector< TP3D > & | tp3ds, | ||
unsigned short | fromPt, | ||
short | fitDir, | ||
unsigned short | nPtsFit | ||
) |
Definition at line 1447 of file PFPUtils.cxx.
bool tca::FitTP3Ds | ( | detinfo::DetectorPropertiesData const & | detProp, |
const TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
unsigned short | fromPt, | ||
unsigned short | nPtsFit, | ||
unsigned short | sfIndex, | ||
float & | chiDOF | ||
) |
Definition at line 1587 of file PFPUtils.cxx.
void tca::FitTraj | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | originPt, | ||
unsigned short | npts, | ||
short | fitDir, | ||
TrajPoint & | tpFit | ||
) |
Definition at line 822 of file Utils.cxx.
bool tca::FitVertex | ( | TCSlice & | slc, |
VtxStore & | vx, | ||
bool | prt | ||
) |
Definition at line 1954 of file TCVertex.cxx.
bool tca::FitVertex | ( | TCSlice & | slc, |
VtxStore & | vx, | ||
std::vector< TrajPoint > & | vxTPs, | ||
bool | prt | ||
) |
Definition at line 2004 of file TCVertex.cxx.
void tca::FixBegin | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | atPt | ||
) |
Definition at line 2797 of file StepUtils.cxx.
void tca::Forecast | ( | TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 436 of file StepUtils.cxx.
std::vector< int > tca::GetAssns | ( | TCSlice & | slc, |
std::string | type1Name, | ||
int | id, | ||
std::string | type2Name | ||
) |
Definition at line 4849 of file Utils.cxx.
int tca::GetCotID | ( | TCSlice & | slc, |
int | ShowerTjID | ||
) |
Definition at line 3943 of file TCShower.cxx.
void tca::GetHitMultiplet | ( | const TCSlice & | slc, |
unsigned int | theHit, | ||
std::vector< unsigned int > & | hitsInMultiplet, | ||
bool | useLongPulseHits | ||
) |
Definition at line 1415 of file StepUtils.cxx.
int tca::GetOrigin | ( | detinfo::DetectorClocksData const & | clockData, |
TCSlice & | slc, | ||
PFPStruct & | pfp | ||
) |
Definition at line 72 of file TCCR.cxx.
unsigned short tca::GetPFPIndex | ( | const TCSlice & | slc, |
int | tjID | ||
) |
void tca::GetRange | ( | const PFPStruct & | pfp, |
unsigned short | sfIndex, | ||
unsigned short & | fromPt, | ||
unsigned short & | npts | ||
) |
Definition at line 1392 of file PFPUtils.cxx.
std::pair< unsigned short, unsigned short > tca::GetSliceIndex | ( | std::string | typeName, |
int | uID | ||
) |
int tca::GetStageNum | ( | ShowerTreeVars & | stv, |
std::string | stageName | ||
) |
Definition at line 194 of file TCShTree.cxx.
std::vector< int > tca::GetVtxTjIDs | ( | const TCSlice & | slc, |
const VtxStore & | vx2 | ||
) |
Definition at line 2837 of file TCVertex.cxx.
std::vector< int > tca::GetVtxTjIDs | ( | const TCSlice & | slc, |
const Vtx3Store & | vx3, | ||
float & | score | ||
) |
Definition at line 2854 of file TCVertex.cxx.
bool tca::GottaKink | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | doTrim | ||
) |
Definition at line 2556 of file StepUtils.cxx.
bool tca::HasDuplicateHits | ( | const TCSlice & | slc, |
Trajectory const & | tj, | ||
bool | prt | ||
) |
Definition at line 2812 of file Utils.cxx.
float tca::HitSep2 | ( | const TCSlice & | slc, |
unsigned int | iht, | ||
unsigned int | jht | ||
) |
Definition at line 2538 of file Utils.cxx.
float tca::HitsPosTick | ( | const TCSlice & | slc, |
const std::vector< unsigned int > & | hitsInMultiplet, | ||
float & | sum, | ||
HitStatus_t | hitRequest | ||
) |
float tca::HitsPosTime | ( | const TCSlice & | slc, |
const std::vector< unsigned int > & | hitsInMultiplet, | ||
float & | sum, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 4279 of file Utils.cxx.
float tca::HitsRMSTick | ( | const TCSlice & | slc, |
const std::vector< unsigned int > & | hitsInMultiplet, | ||
HitStatus_t | hitRequest | ||
) |
float tca::HitsRMSTime | ( | const TCSlice & | slc, |
const std::vector< unsigned int > & | hitsInMultiplet, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 4237 of file Utils.cxx.
float tca::HitsTimeErr2 | ( | const TCSlice & | slc, |
const std::vector< unsigned int > & | hitVec | ||
) |
Definition at line 1552 of file StepUtils.cxx.
float tca::HitTimeErr | ( | const TCSlice & | slc, |
unsigned int | iht | ||
) |
Definition at line 1544 of file StepUtils.cxx.
unsigned short tca::InsertTP3D | ( | PFPStruct & | pfp, |
TP3D & | tp3d | ||
) |
Definition at line 1989 of file PFPUtils.cxx.
double tca::InShowerProb | ( | double | showerEnergy, |
double | along, | ||
double | trans | ||
) |
float tca::InShowerProb | ( | TCSlice & | slc, |
const ShowerStruct3D & | ss3, | ||
const PFPStruct & | pfp | ||
) |
Definition at line 2016 of file TCShower.cxx.
float tca::InShowerProb | ( | TCSlice & | slc, |
const ShowerStruct & | ss, | ||
const Trajectory & | tj | ||
) |
Definition at line 2040 of file TCShower.cxx.
double tca::InShowerProbLong | ( | double | showerEnergy, |
double | along | ||
) |
Definition at line 1958 of file TCShower.cxx.
double tca::InShowerProbParam | ( | double | showerEnergy, |
double | along, | ||
double | trans | ||
) |
Definition at line 2009 of file TCShower.cxx.
double tca::InShowerProbTrans | ( | double | showerEnergy, |
double | along, | ||
double | trans | ||
) |
Definition at line 1994 of file TCShower.cxx.
bool tca::InsideFV | ( | const TCSlice & | slc, |
const PFPStruct & | pfp, | ||
unsigned short | end | ||
) |
Definition at line 3045 of file PFPUtils.cxx.
bool tca::InsideTPC | ( | const Point3_t & | pos, |
geo::TPCID & | inTPCID | ||
) |
Definition at line 3072 of file PFPUtils.cxx.
bool tca::InTrajOK | ( | TCSlice & | slc, |
std::string | someText | ||
) |
Definition at line 1276 of file Utils.cxx.
unsigned short tca::IsCloseToVertex | ( | const TCSlice & | slc, |
const VtxStore & | inVx2 | ||
) |
Definition at line 2894 of file TCVertex.cxx.
unsigned short tca::IsCloseToVertex | ( | const TCSlice & | slc, |
const Vtx3Store & | vx3 | ||
) |
Definition at line 2914 of file TCVertex.cxx.
bool tca::IsGhost | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2865 of file StepUtils.cxx.
bool tca::IsGhost | ( | TCSlice & | slc, |
std::vector< unsigned int > & | tHits | ||
) |
Definition at line 3029 of file StepUtils.cxx.
bool tca::IsShowerLike | ( | TCSlice & | slc, |
const std::vector< int > | TjIDs | ||
) |
Definition at line 1909 of file TCShower.cxx.
void tca::KillPoorVertices | ( | TCSlice & | slc | ) |
Definition at line 2174 of file TCVertex.cxx.
void tca::KillVerticesInShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 711 of file TCShower.cxx.
float tca::KinkSignificance | ( | TCSlice & | slc, |
Trajectory & | tj1, | ||
unsigned short | end1, | ||
Trajectory & | tj2, | ||
unsigned short | end2, | ||
unsigned short | nPtsFit, | ||
bool | useChg, | ||
bool | prt | ||
) |
Definition at line 3056 of file Utils.cxx.
float tca::KinkSignificance | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | kinkPt, | ||
unsigned short | nPtsFit, | ||
bool | useChg, | ||
bool | prt | ||
) |
Definition at line 3112 of file Utils.cxx.
void tca::LastEndMerge | ( | TCSlice & | slc, |
CTP_t | inCTP | ||
) |
Definition at line 3108 of file StepUtils.cxx.
float tca::Length | ( | const PFPStruct & | pfp | ) |
Definition at line 3304 of file PFPUtils.cxx.
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 | ) |
TrajPoint tca::MakeBareTP | ( | detinfo::DetectorPropertiesData const & | detProp, |
const TCSlice & | slc, | ||
const Point3_t & | pos, | ||
CTP_t | inCTP | ||
) |
Definition at line 4027 of file Utils.cxx.
TrajPoint tca::MakeBareTP | ( | detinfo::DetectorPropertiesData const & | detProp, |
const TCSlice & | slc, | ||
const Point3_t & | pos, | ||
const Vector3_t & | dir, | ||
CTP_t | inCTP | ||
) |
Definition at line 4046 of file Utils.cxx.
bool tca::MakeBareTrajPoint | ( | const TCSlice & | slc, |
unsigned int | fromHit, | ||
unsigned int | toHit, | ||
TrajPoint & | tp | ||
) |
Definition at line 4110 of file Utils.cxx.
bool tca::MakeBareTrajPoint | ( | const TCSlice & | slc, |
float | fromWire, | ||
float | fromTick, | ||
float | toWire, | ||
float | toTick, | ||
CTP_t | tCTP, | ||
TrajPoint & | tp | ||
) |
Definition at line 4129 of file Utils.cxx.
bool tca::MakeBareTrajPoint | ( | const Point2_t & | fromPos, |
const Point2_t & | toPos, | ||
TrajPoint & | tpOut | ||
) |
Definition at line 4152 of file Utils.cxx.
bool tca::MakeBareTrajPoint | ( | const TCSlice & | slc, |
const TrajPoint & | tpIn1, | ||
const TrajPoint & | tpIn2, | ||
TrajPoint & | tpOut | ||
) |
Definition at line 4163 of file Utils.cxx.
void tca::MakeHaloTj | ( | TCSlice & | slc, |
Trajectory & | muTj, | ||
bool | prt | ||
) |
Definition at line 47 of file Utils.cxx.
void tca::MakeJunkTjVertices | ( | TCSlice & | slc, |
const CTP_t & | inCTP | ||
) |
bool tca::MakeJunkTraj | ( | TCSlice & | slc, |
std::vector< unsigned int > | tHits | ||
) |
Definition at line 3868 of file StepUtils.cxx.
void tca::MakeJunkVertices | ( | TCSlice & | slc, |
const CTP_t & | inCTP | ||
) |
Definition at line 31 of file TCVertex.cxx.
void tca::MakePFParticles | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
TCSlice & | slc, | ||
std::vector< MatchStruct > | matVec, | ||
unsigned short | matVec_Iter | ||
) |
Definition at line 268 of file PFPUtils.cxx.
void tca::MakePFPTjs | ( | TCSlice & | slc | ) |
Definition at line 513 of file PFPUtils.cxx.
void tca::MakeShowerObsolete | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 3194 of file TCShower.cxx.
void tca::MakeShowerObsolete | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3213 of file TCShower.cxx.
bool tca::MakeSmallAnglePFP | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
bool | prt | ||
) |
Definition at line 2206 of file PFPUtils.cxx.
TP3D tca::MakeTP3D | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc, | ||
const TrajPoint & | itp, | ||
const TrajPoint & | jtp | ||
) |
Definition at line 2448 of file PFPUtils.cxx.
bool tca::MakeTP3Ds | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
bool | prt | ||
) |
Definition at line 2125 of file PFPUtils.cxx.
void tca::MakeTrajectoryObsolete | ( | TCSlice & | slc, |
unsigned int | itj | ||
) |
Definition at line 2184 of file Utils.cxx.
bool tca::MakeVertexObsolete | ( | std::string | fcnLabel, |
TCSlice & | slc, | ||
VtxStore & | vx2, | ||
bool | forceKill | ||
) |
Definition at line 2726 of file TCVertex.cxx.
bool tca::MakeVertexObsolete | ( | TCSlice & | slc, |
Vtx3Store & | vx3 | ||
) |
Definition at line 2818 of file TCVertex.cxx.
void tca::MaskBadTPs | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
float const & | maxChi | ||
) |
Definition at line 2379 of file StepUtils.cxx.
bool tca::MaskedHitsOK | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2424 of file StepUtils.cxx.
void tca::MaskTrajEndPoints | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned short | nPts | ||
) |
Definition at line 3651 of file StepUtils.cxx.
void tca::Match2DShowers | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
bool | prt | ||
) |
void tca::Match2Planes | ( | TCSlice & | slc, |
std::vector< MatchStruct > & | matVec | ||
) |
Definition at line 945 of file PFPUtils.cxx.
float tca::Match3DFOM | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::string | inFcnLabel, | ||
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 1211 of file TCShower.cxx.
float tca::Match3DFOM | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::string | inFcnLabel, | ||
TCSlice & | slc, | ||
int | icid, | ||
int | jcid, | ||
int | kcid, | ||
bool | prt | ||
) |
Definition at line 1233 of file TCShower.cxx.
float tca::Match3DFOM | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::string | inFcnLabel, | ||
TCSlice & | slc, | ||
int | icid, | ||
int | jcid, | ||
bool | prt | ||
) |
Definition at line 1254 of file TCShower.cxx.
void tca::Match3Planes | ( | TCSlice & | slc, |
std::vector< MatchStruct > & | matVec | ||
) |
Definition at line 814 of file PFPUtils.cxx.
void tca::Match3PlanesSpt | ( | TCSlice & | slc, |
std::vector< MatchStruct > & | matVec | ||
) |
Definition at line 701 of file PFPUtils.cxx.
float tca::MaxChargeAsymmetry | ( | TCSlice & | slc, |
std::vector< int > & | tjIDs | ||
) |
Definition at line 374 of file Utils.cxx.
float tca::MaxHitDelta | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 3276 of file Utils.cxx.
float tca::MaxTjLen | ( | const TCSlice & | slc, |
std::vector< int > & | tjIDs | ||
) |
short tca::MCSMom | ( | const TCSlice & | slc, |
const std::vector< int > & | tjIDs | ||
) |
short tca::MCSMom | ( | const TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 3485 of file Utils.cxx.
short tca::MCSMom | ( | const TCSlice & | slc, |
const Trajectory & | tj, | ||
unsigned short | firstPt, | ||
unsigned short | lastPt | ||
) |
Definition at line 3492 of file Utils.cxx.
float tca::MCSThetaRMS | ( | const TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 3541 of file Utils.cxx.
double tca::MCSThetaRMS | ( | const TCSlice & | slc, |
const Trajectory & | tj, | ||
unsigned short | firstPt, | ||
unsigned short | lastPt | ||
) |
Definition at line 3556 of file Utils.cxx.
bool tca::MergeAndStore | ( | TCSlice & | slc, |
unsigned int | itj1, | ||
unsigned int | itj2, | ||
bool | doPrt | ||
) |
Not allowed
Definition at line 4664 of file Utils.cxx.
void tca::MergeGhostTjs | ( | TCSlice & | slc, |
CTP_t | inCTP | ||
) |
Definition at line 2220 of file Utils.cxx.
void tca::MergeNearby2DShowers | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
const CTP_t & | inCTP, | ||
bool | prt | ||
) |
Definition at line 2310 of file TCShower.cxx.
void tca::MergeOverlap | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
const CTP_t & | inCTP, | ||
bool | prt | ||
) |
Definition at line 2403 of file TCShower.cxx.
void tca::MergeShowerChain | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
const CTP_t & | inCTP, | ||
bool | prt | ||
) |
Definition at line 2524 of file TCShower.cxx.
int tca::MergeShowers | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
std::vector< int > | ssIDs, | ||
bool | prt | ||
) |
Definition at line 2884 of file TCShower.cxx.
bool tca::MergeShowersAndStore | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | icotID, | ||
int | jcotID, | ||
bool | prt | ||
) |
Definition at line 2946 of file TCShower.cxx.
bool tca::MergeShowerTjsAndStore | ( | TCSlice & | slc, |
unsigned short | istj, | ||
unsigned short | jstj, | ||
bool | prt | ||
) |
Definition at line 3017 of file TCShower.cxx.
void tca::MergeSubShowers | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
const CTP_t & | inCTP, | ||
bool | prt | ||
) |
Definition at line 2767 of file TCShower.cxx.
void tca::MergeSubShowersTj | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
const CTP_t & | inCTP, | ||
bool | prt | ||
) |
Definition at line 2655 of file TCShower.cxx.
bool tca::MergeTjIntoPFP | ( | TCSlice & | slc, |
int | mtjid, | ||
PFPStruct & | pfp, | ||
bool | prt | ||
) |
Definition at line 513 of file Utils.cxx.
void tca::MergeTjList | ( | std::vector< std::vector< int >> & | tjList | ) |
Definition at line 1303 of file TCShower.cxx.
void tca::MergeTjList2 | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
std::vector< std::vector< int >> & | tjList, | ||
bool | prt | ||
) |
bool tca::MergeWithVertex | ( | TCSlice & | slc, |
VtxStore & | vx, | ||
unsigned short | oVxID | ||
) |
Definition at line 435 of file TCVertex.cxx.
unsigned short tca::NearbyCleanPt | ( | const TCSlice & | slc, |
const Trajectory & | tj, | ||
unsigned short | end | ||
) |
Definition at line 2956 of file Utils.cxx.
bool tca::NearbySrcHit | ( | geo::PlaneID | plnID, |
unsigned int | wire, | ||
float | loTick, | ||
float | hiTick | ||
) |
Definition at line 2071 of file Utils.cxx.
unsigned short tca::NearestPtWithChg | ( | const TCSlice & | slc, |
const Trajectory & | tj, | ||
unsigned short | thePt | ||
) |
int tca::NeutrinoPrimaryTjID | ( | const TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 444 of file Utils.cxx.
unsigned short tca::NumHitsInTP | ( | const TrajPoint & | tp, |
HitStatus_t | hitRequest | ||
) |
unsigned short tca::NumPtsWithCharge | ( | const TCSlice & | slc, |
const Trajectory & | tj, | ||
bool | includeDeadWires | ||
) |
Definition at line 2116 of file Utils.cxx.
unsigned short tca::NumPtsWithCharge | ( | const TCSlice & | slc, |
const Trajectory & | tj, | ||
bool | includeDeadWires, | ||
unsigned short | firstPt, | ||
unsigned short | lastPt | ||
) |
Definition at line 2125 of file Utils.cxx.
unsigned short tca::NumUsedHitsInTj | ( | const TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 4314 of file Utils.cxx.
float tca::OverlapFraction | ( | const TCSlice & | slc, |
const Trajectory & | tj1, | ||
const Trajectory & | tj2 | ||
) |
float tca::ParentFOM | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
unsigned short | pend, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 2077 of file TCShower.cxx.
float tca::ParentFOM | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
Trajectory & | tj, | ||
unsigned short & | tjEnd, | ||
ShowerStruct & | ss, | ||
float & | tp1Sep, | ||
float & | vx2Score, | ||
bool | prt | ||
) |
Definition at line 2129 of file TCShower.cxx.
int tca::PDGCodeVote | ( | const TCSlice & | slc, |
const std::vector< int > & | tjIDs | ||
) |
int tca::PDGCodeVote | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
const TCSlice & | slc, | ||
PFPStruct & | pfp | ||
) |
Definition at line 3352 of file PFPUtils.cxx.
void tca::PFPVertexCheck | ( | TCSlice & | slc | ) |
Definition at line 2845 of file PFPUtils.cxx.
Vector3_t tca::PointDirection | ( | const Point3_t | p1, |
const Point3_t | p2 | ||
) |
Definition at line 2548 of file PFPUtils.cxx.
Vector2_t tca::PointDirection | ( | const Point2_t | p1, |
const Point2_t | p2 | ||
) |
Definition at line 4187 of file Utils.cxx.
bool tca::PointDirIntersect | ( | Point3_t | p1, |
Vector3_t | p1Dir, | ||
Point3_t | p2, | ||
Vector3_t | p2Dir, | ||
Point3_t & | intersect, | ||
float & | doca | ||
) |
Definition at line 3115 of file PFPUtils.cxx.
bool tca::PointInsideEnvelope | ( | const Point2_t & | Point, |
const std::vector< Point2_t > & | Envelope | ||
) |
Definition at line 3323 of file Utils.cxx.
float tca::PointPull | ( | TCSlice & | slc, |
Point2_t | pos, | ||
float | chg, | ||
const Trajectory & | tj | ||
) |
Definition at line 546 of file Utils.cxx.
float tca::PointPull | ( | const PFPStruct & | pfp, |
const TP3D & | tp3d | ||
) |
Definition at line 2815 of file PFPUtils.cxx.
float tca::PointTrajDOCA | ( | const TCSlice & | slc, |
unsigned int | iht, | ||
TrajPoint const & | tp | ||
) |
Definition at line 2572 of file Utils.cxx.
float tca::PointTrajDOCA | ( | const TCSlice & | slc, |
float | wire, | ||
float | time, | ||
TrajPoint const & | tp | ||
) |
Definition at line 2583 of file Utils.cxx.
float tca::PointTrajDOCA2 | ( | const TCSlice & | slc, |
float | wire, | ||
float | time, | ||
TrajPoint const & | tp | ||
) |
float tca::PointTrajSep2 | ( | float | wire, |
float | time, | ||
TrajPoint const & | tp | ||
) |
Point3_t tca::PosAtEnd | ( | const PFPStruct & | pfp, |
unsigned short | end | ||
) |
Definition at line 3293 of file PFPUtils.cxx.
void tca::PosInPlane | ( | detinfo::DetectorPropertiesData const & | detProp, |
const TCSlice & | slc, | ||
const Vtx3Store & | vx3, | ||
unsigned short | plane, | ||
Point2_t & | pos | ||
) |
Definition at line 2879 of file TCVertex.cxx.
double tca::PosSep | ( | const Point3_t & | pos1, |
const Point3_t & | pos2 | ||
) |
Definition at line 2565 of file PFPUtils.cxx.
float tca::PosSep | ( | const Point2_t & | pos1, |
const Point2_t & | pos2 | ||
) |
double tca::PosSep2 | ( | const Point3_t & | pos1, |
const Point3_t & | pos2 | ||
) |
Definition at line 2572 of file PFPUtils.cxx.
float tca::PosSep2 | ( | const Point2_t & | pos1, |
const Point2_t & | pos2 | ||
) |
int tca::PrimaryID | ( | const TCSlice & | slc, |
const Trajectory & | tj | ||
) |
Definition at line 467 of file Utils.cxx.
int tca::PrimaryUID | ( | const TCSlice & | slc, |
const PFPStruct & | pfp | ||
) |
Definition at line 487 of file Utils.cxx.
void tca::Print2DShowers | ( | std::string | someText, |
TCSlice & | slc, | ||
CTP_t | inCTP, | ||
bool | printKilledShowers | ||
) |
Definition at line 4254 of file TCShower.cxx.
void tca::Print2V | ( | std::string | someText, |
mf::LogVerbatim & | myprt, | ||
VtxStore & | vx2, | ||
bool & | printHeader | ||
) |
Definition at line 5768 of file Utils.cxx.
void tca::Print3S | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::string | someText, | ||
mf::LogVerbatim & | myprt, | ||
ShowerStruct3D & | ss3 | ||
) |
Definition at line 5819 of file Utils.cxx.
void tca::Print3V | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::string | someText, | ||
mf::LogVerbatim & | myprt, | ||
Vtx3Store & | vx3, | ||
bool & | printHeader | ||
) |
Definition at line 5691 of file Utils.cxx.
void tca::PrintAll | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::string | someText | ||
) |
Definition at line 5521 of file Utils.cxx.
void tca::PrintAllTraj | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::string | someText, | ||
TCSlice & | slc, | ||
unsigned short | itj, | ||
unsigned short | ipt, | ||
bool | prtVtx | ||
) |
Definition at line 5952 of file Utils.cxx.
void tca::PrintClusters | ( | ) |
void tca::PrintDebugMode | ( | ) |
Definition at line 5450 of file Utils.cxx.
std::string tca::PrintEndFlag | ( | const PFPStruct & | pfp, |
unsigned short | end | ||
) |
Definition at line 6463 of file Utils.cxx.
std::string tca::PrintEndFlag | ( | const Trajectory & | tj, |
unsigned short | end | ||
) |
Definition at line 6485 of file Utils.cxx.
std::string tca::PrintHit | ( | const TCHit & | tch | ) |
Definition at line 6516 of file Utils.cxx.
std::string tca::PrintHitShort | ( | const TCHit & | tch | ) |
Definition at line 6506 of file Utils.cxx.
void tca::PrintP | ( | std::string | someText, |
mf::LogVerbatim & | myprt, | ||
PFPStruct & | pfp, | ||
bool & | printHeader | ||
) |
Definition at line 5605 of file Utils.cxx.
void tca::PrintPFP | ( | std::string | someText, |
TCSlice & | slc, | ||
const PFPStruct & | pfp, | ||
bool | printHeader | ||
) |
Definition at line 6373 of file Utils.cxx.
void tca::PrintPFPs | ( | std::string | someText, |
TCSlice & | slc | ||
) |
Definition at line 6444 of file Utils.cxx.
std::string tca::PrintPos | ( | const TCSlice & | slc, |
const TrajPoint & | tp | ||
) |
Definition at line 6526 of file Utils.cxx.
std::string tca::PrintPos | ( | const TCSlice & | slc, |
const Point2_t & | pos | ||
) |
Definition at line 6533 of file Utils.cxx.
void tca::PrintShower | ( | std::string | someText, |
TCSlice & | slc, | ||
const ShowerStruct & | ss, | ||
bool | printHeader, | ||
bool | printExtras | ||
) |
Definition at line 4343 of file TCShower.cxx.
void tca::PrintShowers | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::string | fcnLabel, | ||
TCSlice & | slc | ||
) |
Definition at line 4213 of file TCShower.cxx.
void tca::PrintT | ( | std::string | someText, |
mf::LogVerbatim & | myprt, | ||
Trajectory & | tj, | ||
bool & | printHeader | ||
) |
Definition at line 5860 of file Utils.cxx.
void tca::PrintTP | ( | std::string | someText, |
const TCSlice & | slc, | ||
unsigned short | ipt, | ||
short | dir, | ||
unsigned short | pass, | ||
const TrajPoint & | tp | ||
) |
void tca::PrintTP3Ds | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::string | someText, | ||
const TCSlice & | slc, | ||
const PFPStruct & | pfp, | ||
short | printPts | ||
) |
Definition at line 3397 of file PFPUtils.cxx.
void tca::PrintTPHeader | ( | std::string | someText | ) |
void tca::PrintTrajectory | ( | std::string | someText, |
const TCSlice & | slc, | ||
const Trajectory & | tj, | ||
unsigned short | tPoint | ||
) |
Definition at line 6195 of file Utils.cxx.
std::vector< unsigned int > tca::PutHitsInVector | ( | const TCSlice & | slc, |
PFPStruct const & | pfp, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 2731 of file Utils.cxx.
std::vector< unsigned int > tca::PutTrajHitsInVector | ( | const Trajectory & | tj, |
HitStatus_t | hitRequest | ||
) |
Definition at line 2754 of file Utils.cxx.
void tca::Reconcile2Vs | ( | TCSlice & | slc | ) |
Definition at line 1067 of file TCVertex.cxx.
bool tca::Reconcile2VTs | ( | TCSlice & | slc, |
std::vector< int > & | vx2cls, | ||
bool | prt | ||
) |
Definition at line 1163 of file TCVertex.cxx.
bool tca::Reconcile3D | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
bool | parentSearchDone, | ||
bool | prt | ||
) |
Definition at line 429 of file TCShower.cxx.
bool tca::Reconcile3D | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 577 of file TCShower.cxx.
bool tca::ReconcileTPs | ( | TCSlice & | slc, |
PFPStruct & | pfp, | ||
bool | prt | ||
) |
Definition at line 427 of file PFPUtils.cxx.
void tca::ReconcileTPs | ( | TCSlice & | slc | ) |
Definition at line 474 of file PFPUtils.cxx.
void tca::ReconcileVertices | ( | TCSlice & | slc, |
PFPStruct & | pfp, | ||
bool | prt | ||
) |
Definition at line 1650 of file PFPUtils.cxx.
void tca::Recover | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
bool | prt | ||
) |
Definition at line 2089 of file PFPUtils.cxx.
bool tca::RefineVtxPosition | ( | TCSlice & | slc, |
const Trajectory & | tj, | ||
unsigned short & | nearPt, | ||
short | nPtsToChk, | ||
bool | prt | ||
) |
Definition at line 2690 of file TCVertex.cxx.
void tca::ReleaseHits | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
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 1357 of file TCShower.cxx.
bool tca::RemoveTj | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | TjID, | ||
ShowerStruct & | ss, | ||
bool | doUpdate, | ||
bool | prt | ||
) |
Definition at line 1521 of file TCShower.cxx.
bool tca::ReSection | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
const TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
bool | prt | ||
) |
Definition at line 1112 of file PFPUtils.cxx.
void tca::RestoreObsoleteTrajectory | ( | TCSlice & | slc, |
unsigned int | itj | ||
) |
Definition at line 2197 of file Utils.cxx.
void tca::Reverse | ( | TCSlice & | slc, |
PFPStruct & | pfp | ||
) |
Definition at line 2360 of file PFPUtils.cxx.
void tca::ReversePropagate | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 1316 of file StepUtils.cxx.
void tca::ReverseShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 3153 of file TCShower.cxx.
void tca::ReverseShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
int | cotID, | ||
bool | prt | ||
) |
Definition at line 3182 of file TCShower.cxx.
void tca::SaveAllCots | ( | TCSlice & | slc, |
const CTP_t & | inCTP, | ||
std::string | someText | ||
) |
Definition at line 174 of file TCShTree.cxx.
void tca::SaveAllCots | ( | TCSlice & | slc, |
std::string | someText | ||
) |
Definition at line 185 of file TCShTree.cxx.
void tca::SaveCRInfo | ( | detinfo::DetectorClocksData const & | clockData, |
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
bool | prt, | ||
bool | fIsRealData | ||
) |
Definition at line 26 of file TCCR.cxx.
void tca::SaveTjInfo | ( | TCSlice & | slc, |
std::vector< std::vector< int >> & | tjList, | ||
std::string | stageName | ||
) |
Definition at line 14 of file TCShTree.cxx.
void tca::SaveTjInfo | ( | TCSlice & | slc, |
const ShowerStruct & | ss, | ||
std::string | stageName | ||
) |
Definition at line 56 of file TCShTree.cxx.
void tca::SaveTjInfoStuff | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
int | stageNum, | ||
std::string | stageName | ||
) |
Definition at line 140 of file TCShTree.cxx.
void tca::ScoreVertices | ( | TCSlice & | slc | ) |
Definition at line 2146 of file TCVertex.cxx.
bool tca::SectionStartEnd | ( | const PFPStruct & | pfp, |
unsigned short | sfIndex, | ||
unsigned short & | startPt, | ||
unsigned short & | endPt | ||
) |
Definition at line 3312 of file PFPUtils.cxx.
void tca::SetAngleCode | ( | TrajPoint & | tp | ) |
Definition at line 773 of file Utils.cxx.
std::vector< T > tca::SetDifference | ( | const std::vector< T > & | set1, |
const std::vector< T > & | set2 | ||
) |
Definition at line 431 of file larreco/larreco/RecoAlg/TCAlg/Utils.h.
void tca::SetEndPoints | ( | Trajectory & | tj | ) |
Definition at line 3413 of file Utils.cxx.
void tca::SetHighScoreBits | ( | TCSlice & | slc, |
Vtx3Store & | vx3 | ||
) |
Definition at line 2193 of file TCVertex.cxx.
std::vector< T > tca::SetIntersection | ( | const std::vector< T > & | set1, |
const std::vector< T > & | set2 | ||
) |
Definition at line 408 of file larreco/larreco/RecoAlg/TCAlg/Utils.h.
bool tca::SetMag | ( | Vector3_t & | v1, |
double | mag | ||
) |
Definition at line 2583 of file PFPUtils.cxx.
bool tca::SetMag | ( | Vector2_t & | v1, |
double | mag | ||
) |
bool tca::SetParent | ( | detinfo::DetectorPropertiesData const & | detProp, |
std::string | inFcnLabel, | ||
TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 1832 of file TCShower.cxx.
void tca::SetPDGCode | ( | TCSlice & | slc, |
unsigned short | itj | ||
) |
void tca::SetPDGCode | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 4358 of file Utils.cxx.
bool tca::SetSection | ( | detinfo::DetectorPropertiesData const & | detProp, |
const TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
TP3D & | tp3d | ||
) |
Definition at line 2770 of file PFPUtils.cxx.
void tca::SetStrategy | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 340 of file StepUtils.cxx.
void tca::SetTPEnvironment | ( | TCSlice & | slc, |
CTP_t | inCTP | ||
) |
Definition at line 3626 of file Utils.cxx.
void tca::SetVx2Score | ( | TCSlice & | slc | ) |
Definition at line 2264 of file TCVertex.cxx.
void tca::SetVx2Score | ( | TCSlice & | slc, |
VtxStore & | vx2 | ||
) |
Definition at line 2274 of file TCVertex.cxx.
void tca::SetVx3Score | ( | TCSlice & | slc, |
Vtx3Store & | vx3 | ||
) |
Definition at line 2242 of file TCVertex.cxx.
double tca::ShowerEnergy | ( | const ShowerStruct3D & | ss3 | ) |
Definition at line 3954 of file TCShower.cxx.
float tca::ShowerEnergy | ( | TCSlice & | slc, |
const std::vector< int > | tjIDs | ||
) |
Definition at line 3968 of file TCShower.cxx.
void tca::ShowerParams | ( | double | showerEnergy, |
double & | shMaxAlong, | ||
double & | along95 | ||
) |
Definition at line 1923 of file TCShower.cxx.
double tca::ShowerParamTransRMS | ( | double | showerEnergy, |
double | along | ||
) |
Definition at line 1943 of file TCShower.cxx.
bool tca::SignalAtTp | ( | TrajPoint & | tp | ) |
Definition at line 2004 of file Utils.cxx.
bool tca::SignalAtTpInSlc | ( | const TCSlice & | slc, |
const TrajPoint & | tp | ||
) |
Definition at line 1962 of file Utils.cxx.
bool tca::SignalBetween | ( | const TCSlice & | slc, |
const TrajPoint & | tp1, | ||
const TrajPoint & | tp2, | ||
const float & | MinWireSignalFraction | ||
) |
Definition at line 1807 of file Utils.cxx.
bool tca::SignalBetween | ( | const TCSlice & | slc, |
TrajPoint | tp, | ||
float | toPos0, | ||
const float & | MinWireSignalFraction | ||
) |
Definition at line 1833 of file Utils.cxx.
bool tca::SortSection | ( | PFPStruct & | pfp, |
unsigned short | sfIndex | ||
) |
Definition at line 2028 of file PFPUtils.cxx.
bool tca::SplitTraj | ( | detinfo::DetectorPropertiesData const & | detProp, |
TCSlice & | slc, | ||
unsigned short | itj, | ||
float | XPos, | ||
bool | makeVx2, | ||
bool | prt | ||
) |
Definition at line 2272 of file Utils.cxx.
bool tca::SplitTraj | ( | TCSlice & | slc, |
unsigned short | itj, | ||
unsigned short | pos, | ||
unsigned short | ivx, | ||
bool | prt | ||
) |
Definition at line 2319 of file Utils.cxx.
void tca::SplitTrajCrossingVertices | ( | TCSlice & | slc, |
CTP_t | inCTP | ||
) |
Definition at line 923 of file TCVertex.cxx.
bool tca::SptInTPC | ( | const std::array< unsigned int, 3 > & | sptHits, |
unsigned int | tpc | ||
) |
Definition at line 793 of file PFPUtils.cxx.
std::vector< float > tca::StartChgVec | ( | TCSlice & | slc, |
int | cotID, | ||
bool | prt | ||
) |
Definition at line 3825 of file TCShower.cxx.
bool tca::StartTraj | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
unsigned int | fromhit, | ||
unsigned int | tohit, | ||
unsigned short | pass | ||
) |
Definition at line 5001 of file Utils.cxx.
bool tca::StartTraj | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
float | fromWire, | ||
float | fromTick, | ||
float | toWire, | ||
float | toTick, | ||
CTP_t & | tCTP, | ||
unsigned short | pass | ||
) |
Definition at line 5034 of file Utils.cxx.
void tca::StepAway | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 30 of file StepUtils.cxx.
void tca::StitchPFPs | ( | ) |
Definition at line 42 of file PFPUtils.cxx.
bool tca::StopIfBadFits | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2529 of file StepUtils.cxx.
bool tca::StopShort | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 279 of file StepUtils.cxx.
bool tca::StorePFP | ( | TCSlice & | slc, |
PFPStruct & | pfp | ||
) |
Definition at line 3004 of file PFPUtils.cxx.
bool tca::StoreShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3 | ||
) |
Definition at line 3991 of file TCShower.cxx.
bool tca::StoreShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss | ||
) |
Definition at line 4042 of file TCShower.cxx.
bool tca::StoreTraj | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 1089 of file Utils.cxx.
bool tca::StoreVertex | ( | TCSlice & | slc, |
VtxStore & | vx | ||
) |
Definition at line 1918 of file TCVertex.cxx.
void tca::TagJunkTj | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 2782 of file Utils.cxx.
void tca::TagShowerLike | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
const CTP_t & | inCTP | ||
) |
Definition at line 3276 of file TCShower.cxx.
bool tca::TCIntersectionPoint | ( | unsigned int | wir1, |
unsigned int | wir2, | ||
unsigned int | pln1, | ||
unsigned int | pln2, | ||
float & | y, | ||
float & | z | ||
) |
Definition at line 669 of file PFPUtils.cxx.
void tca::TjDeltaRMS | ( | const TCSlice & | slc, |
const Trajectory & | tj, | ||
unsigned short | firstPt, | ||
unsigned short | lastPt, | ||
double & | rms, | ||
unsigned short & | cnt | ||
) |
Definition at line 3584 of file Utils.cxx.
std::string tca::TPEnvString | ( | const TrajPoint & | tp | ) |
Definition at line 6353 of file Utils.cxx.
float tca::TPHitsRMSTick | ( | const TCSlice & | slc, |
const TrajPoint & | tp, | ||
HitStatus_t | hitRequest | ||
) |
float tca::TPHitsRMSTime | ( | const TCSlice & | slc, |
const TrajPoint & | tp, | ||
HitStatus_t | hitRequest | ||
) |
Definition at line 4202 of file Utils.cxx.
unsigned short tca::TPNearVertex | ( | const TCSlice & | slc, |
const TrajPoint & | tp | ||
) |
Definition at line 1568 of file TCVertex.cxx.
float tca::TpSumHitChg | ( | const TCSlice & | slc, |
TrajPoint const & | tp | ||
) |
bool tca::TrajClosestApproach | ( | Trajectory const & | tj, |
float | x, | ||
float | y, | ||
unsigned short & | closePt, | ||
float & | DOCA | ||
) |
bool tca::TrajHitsOK | ( | TCSlice & | slc, |
const std::vector< unsigned int > & | iHitsInMultiplet, | ||
const std::vector< unsigned int > & | jHitsInMultiplet | ||
) |
Definition at line 1873 of file Utils.cxx.
bool tca::TrajHitsOK | ( | TCSlice & | slc, |
const unsigned int | iht, | ||
const unsigned int | jht | ||
) |
void tca::TrajIntersection | ( | TrajPoint const & | tp1, |
TrajPoint const & | tp2, | ||
Point2_t & | pos | ||
) |
Definition at line 2604 of file Utils.cxx.
void tca::TrajIntersection | ( | TrajPoint const & | tp1, |
TrajPoint const & | tp2, | ||
float & | x, | ||
float & | y | ||
) |
Definition at line 2610 of file Utils.cxx.
bool tca::TrajIsClean | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
float tca::TrajPointSeparation | ( | const TrajPoint & | tp1, |
const TrajPoint & | tp2 | ||
) |
void tca::TrajPointTrajDOCA | ( | const TCSlice & | slc, |
TrajPoint const & | tp, | ||
Trajectory const & | tj, | ||
unsigned short & | closePt, | ||
float & | minSep | ||
) |
float tca::TrajPointVertexPull | ( | const TCSlice & | slc, |
const TrajPoint & | tp, | ||
const VtxStore & | vx | ||
) |
Definition at line 1851 of file TCVertex.cxx.
bool tca::TrajTrajDOCA | ( | const TCSlice & | slc, |
const Trajectory & | tj1, | ||
const Trajectory & | tj2, | ||
unsigned short & | ipt1, | ||
unsigned short & | ipt2, | ||
float & | minSep | ||
) |
Definition at line 2460 of file Utils.cxx.
bool tca::TrajTrajDOCA | ( | const TCSlice & | slc, |
const Trajectory & | tj1, | ||
const Trajectory & | tj2, | ||
unsigned short & | ipt1, | ||
unsigned short & | ipt2, | ||
float & | minSep, | ||
bool | considerDeadWires | ||
) |
Definition at line 2472 of file Utils.cxx.
bool tca::TransferTjHits | ( | TCSlice & | slc, |
bool | prt | ||
) |
Definition at line 3898 of file TCShower.cxx.
void tca::TrimEndPts | ( | std::string | fcnLabel, |
TCSlice & | slc, | ||
Trajectory & | tj, | ||
const std::vector< float > & | fQualityCuts, | ||
bool | prt | ||
) |
Definition at line 1600 of file Utils.cxx.
void tca::TrimHiChgEndPts | ( | TCSlice & | slc, |
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 1557 of file Utils.cxx.
float tca::TwoTPAngle | ( | const TrajPoint & | tp1, |
const TrajPoint & | tp2 | ||
) |
void tca::UnsetUsedHits | ( | TCSlice & | slc, |
TrajPoint & | tp | ||
) |
bool tca::Update | ( | detinfo::DetectorClocksData const & | clockData, |
detinfo::DetectorPropertiesData const & | detProp, | ||
const TCSlice & | slc, | ||
PFPStruct & | pfp, | ||
bool | prt | ||
) |
Definition at line 1057 of file PFPUtils.cxx.
void tca::UpdateDeltaRMS | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 2349 of file StepUtils.cxx.
bool tca::UpdateShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 913 of file TCShower.cxx.
bool tca::UpdateShower | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
ShowerStruct3D & | ss3, | ||
bool | prt | ||
) |
Definition at line 1118 of file TCShower.cxx.
void tca::UpdateStiffEl | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 648 of file StepUtils.cxx.
void tca::UpdateTjChgProperties | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
Trajectory & | tj, | ||
bool | prt | ||
) |
Definition at line 3673 of file Utils.cxx.
void tca::UpdateTraj | ( | TCSlice & | slc, |
Trajectory & | tj | ||
) |
Definition at line 669 of file StepUtils.cxx.
void tca::UpdateVxEnvironment | ( | TCSlice & | slc | ) |
Definition at line 3862 of file Utils.cxx.
void tca::UpdateVxEnvironment | ( | TCSlice & | slc, |
VtxStore & | vx2, | ||
bool | prt | ||
) |
Definition at line 3885 of file Utils.cxx.
bool tca::ValidTwoPlaneMatch | ( | detinfo::DetectorPropertiesData const & | detProp, |
const TCSlice & | slc, | ||
const PFPStruct & | pfp | ||
) |
Definition at line 1797 of file PFPUtils.cxx.
float tca::VertexVertexPull | ( | const TCSlice & | slc, |
const Vtx3Store & | vx1, | ||
const Vtx3Store & | vx2 | ||
) |
Definition at line 1887 of file TCVertex.cxx.
float tca::VertexVertexPull | ( | const TCSlice & | slc, |
const VtxStore & | vx1, | ||
const VtxStore & | vx2 | ||
) |
Definition at line 1904 of file TCVertex.cxx.
bool tca::WireHitRangeOK | ( | TCSlice & | slc, |
const CTP_t & | inCTP | ||
) |
bool tca::WrongSplitTj | ( | std::string | inFcnLabel, |
TCSlice & | slc, | ||
Trajectory & | tj, | ||
unsigned short | tjEnd, | ||
ShowerStruct & | ss, | ||
bool | prt | ||
) |
Definition at line 2268 of file TCShower.cxx.
const std::vector< std::string > tca::AlgBitNames |
Definition at line 16 of file DataStructs.cxx.
constexpr unsigned int tca::Cpad = 10000 |
Definition at line 49 of file DataStructs.h.
DebugStuff tca::debug |
Definition at line 4 of file DebugStruct.cxx.
const std::vector< std::string > tca::EndFlagNames |
Definition at line 88 of file DataStructs.cxx.
TCEvent tca::evt |
Definition at line 8 of file DataStructs.cxx.
constexpr unsigned int tca::pAlgModSize = 6 |
Definition at line 280 of file DataStructs.h.
std::vector< TrajPoint > tca::seeds |
Definition at line 14 of file DataStructs.cxx.
std::vector< TCSlice > tca::slices |
Definition at line 13 of file DataStructs.cxx.
const std::vector< std::string > tca::StrategyBitNames |
Definition at line 109 of file DataStructs.cxx.
ShowerTreeVars tca::stv |
Definition at line 11 of file DataStructs.cxx.
TCConfig tca::tcc |
Definition at line 9 of file DataStructs.cxx.
std::vector< TjForecast > tca::tjfs |
Definition at line 10 of file DataStructs.cxx.
constexpr unsigned int tca::Tpad = 10 |
Definition at line 48 of file DataStructs.h.
const std::vector< std::string > tca::VtxBitNames |
Definition at line 98 of file DataStructs.cxx.