All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
TCShower.h File Reference
#include <string>
#include <vector>
#include "larreco/RecoAlg/TCAlg/DataStructs.h"

Go to the source code of this file.

Namespaces

 detinfo
 General LArSoft Utilities.
 
 tca
 

Functions

void tca::ConfigureMVA (TCConfig &tcc, std::string fMVAShowerParentWeights)
 
bool tca::FindShowerStart (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc, ShowerStruct3D &ss3, bool prt)
 
void tca::KillVerticesInShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt)
 
void tca::Finish3DShowers (TCSlice &slc)
 
bool tca::FindShowers3D (detinfo::DetectorPropertiesData const &detProp, TCSlice &slc)
 
bool tca::Reconcile3D (std::string inFcnLabel, TCSlice &slc, bool parentSearchDone, bool prt)
 
bool tca::Reconcile3D (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt)
 
bool tca::MergeShowerTjsAndStore (TCSlice &slc, unsigned short istj, unsigned short jstj, bool prt)
 
bool tca::TransferTjHits (TCSlice &slc, bool prt)
 
int tca::GetCotID (TCSlice &slc, int ShowerTjID)
 
bool tca::CompleteIncompleteShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt)
 
void tca::Match2DShowers (std::string inFcnLabel, TCSlice &slc, bool prt)
 
bool tca::UpdateShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt)
 
bool tca::UpdateShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt)
 
float tca::Match3DFOM (detinfo::DetectorPropertiesData const &detProp, std::string inFcnLabel, TCSlice &slc, int icid, int jcid, bool prt)
 
float tca::Match3DFOM (detinfo::DetectorPropertiesData const &detProp, std::string inFcnLabel, TCSlice &slc, int icid, int jcid, int kcid, bool prt)
 
float tca::Match3DFOM (detinfo::DetectorPropertiesData const &detProp, std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt)
 
void tca::MakeShowerObsolete (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt)
 
void tca::MakeShowerObsolete (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt)
 
bool tca::DontCluster (TCSlice &slc, const std::vector< int > &tjlist1, const std::vector< int > &tjlist2)
 
void tca::DefineDontCluster (TCSlice &slc, bool prt)
 
bool tca::RemovePFP (std::string inFcnLabel, TCSlice &slc, PFPStruct &pfp, ShowerStruct3D &ss3, bool doUpdate, bool prt)
 
bool tca::AddPFP (std::string inFcnLabel, TCSlice &slc, int pID, ShowerStruct3D &ss3, bool doUpdate, bool prt)
 
bool tca::RemovePFP (std::string inFcnLabel, TCSlice &slc, int pID, ShowerStruct3D &ss3, bool doUpdate, bool prt)
 
bool tca::AddTj (std::string inFcnLabel, TCSlice &slc, int tjID, ShowerStruct &ss, bool doUpdate, bool prt)
 
bool tca::RemoveTj (std::string inFcnLabel, TCSlice &slc, int TjID, ShowerStruct &ss, bool doUpdate, bool prt)
 
bool tca::AnalyzeRotPos (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt)
 
void tca::ReverseShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt)
 
void tca::ReverseShower (std::string inFcnLabel, TCSlice &slc, int cotID, bool prt)
 
bool tca::FindParent (detinfo::DetectorPropertiesData const &detProp, std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3, bool prt)
 
bool tca::SetParent (detinfo::DetectorPropertiesData const &detProp, std::string inFcnLabel, TCSlice &slc, PFPStruct &pfp, ShowerStruct3D &ss3, bool prt)
 
bool tca::WrongSplitTj (std::string inFcnLabel, TCSlice &slc, Trajectory &tj, unsigned short tjEnd, ShowerStruct &ss, bool prt)
 
bool tca::IsShowerLike (TCSlice &slc, const std::vector< int > TjIDs)
 
float tca::InShowerProb (TCSlice &slc, const ShowerStruct3D &ss3, const PFPStruct &pfp)
 
float tca::InShowerProb (TCSlice &slc, const ShowerStruct &ss, const Trajectory &tj)
 
void tca::ShowerParams (double showerEnergy, double &shMaxAlong, double &along95)
 
double tca::ShowerParamTransRMS (double showerEnergy, double along)
 
double tca::InShowerProbLong (double showerEnergy, double along)
 
double tca::InShowerProbTrans (double showerEnergy, double along, double trans)
 
double tca::InShowerProb (double showerEnergy, double along, double trans)
 
float tca::ParentFOM (std::string inFcnLabel, TCSlice &slc, PFPStruct &pfp, unsigned short pend, ShowerStruct3D &ss3, bool prt)
 
float tca::ParentFOM (std::string inFcnLabel, TCSlice &slc, Trajectory &tj, unsigned short &tjEnd, ShowerStruct &ss, float &tp1Sep, float &vx2Score, bool prt)
 
void tca::DefineEnvelope (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt)
 
bool tca::AddTjsInsideEnvelope (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt)
 
bool tca::AddLooseHits (std::string inFcnLabel, TCSlice &slc, int cotID, bool prt)
 
void tca::FindStartChg (std::string inFcnLabel, TCSlice &slc, int cotID, bool prt)
 
std::vector< float > tca::StartChgVec (TCSlice &slc, int cotID, bool prt)
 
void tca::DumpShowerPts (std::string inFcnLabel, TCSlice &slc, int cotID)
 
void tca::FindCots (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, std::vector< std::vector< int >> &tjLists, bool prt)
 
void tca::TagShowerLike (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP)
 
void tca::FindNearbyTjs (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss, bool prt)
 
void tca::AddCloseTjsToList (std::string inFcnLabel, TCSlice &slc, unsigned short itj, std::vector< int > list)
 
void tca::MergeTjList (std::vector< std::vector< int >> &tjList)
 
void tca::MergeTjList2 (std::string inFcnLabel, TCSlice &slc, std::vector< std::vector< int >> &tjList, bool prt)
 
void tca::MergeNearby2DShowers (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, bool prt)
 
void tca::MergeOverlap (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, bool prt)
 
void tca::MergeShowerChain (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, bool prt)
 
void tca::MergeSubShowersTj (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, bool prt)
 
void tca::MergeSubShowers (std::string inFcnLabel, TCSlice &slc, const CTP_t &inCTP, bool prt)
 
int tca::MergeShowers (std::string inFcnLabel, TCSlice &slc, std::vector< int > ssIDs, bool prt)
 
bool tca::MergeShowersAndStore (std::string inFcnLabel, TCSlice &slc, int icotID, int jcotID, bool prt)
 
double tca::ShowerEnergy (const ShowerStruct3D &ss3)
 
float tca::ShowerEnergy (TCSlice &slc, const std::vector< int > tjIDs)
 
float tca::ChgToMeV (float chg)
 
bool tca::StoreShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct3D &ss3)
 
bool tca::StoreShower (std::string inFcnLabel, TCSlice &slc, ShowerStruct &ss)
 
ShowerStruct3D tca::CreateSS3 (TCSlice &slc)
 
ShowerStruct tca::CreateSS (TCSlice &slc, const std::vector< int > &tjl)
 
bool tca::ChkAssns (std::string inFcnLabel, TCSlice &slc)
 
void tca::PrintShowers (detinfo::DetectorPropertiesData const &detProp, std::string fcnLabel, TCSlice &slc)
 
void tca::Print2DShowers (std::string someText, TCSlice &slc, CTP_t inCTP, bool printKilledShowers)
 
void tca::PrintShower (std::string someText, TCSlice &slc, const ShowerStruct &ss, bool printHeader, bool printExtras)