LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "TrajClusterAlg.h"
Data structures for the reconstruction results | |
TruthMatcher | fTM |
Deletes all the results. More... | |
TTree * | showertree |
Deletes all the results. More... | |
calo::CalorimetryAlg | fCaloAlg |
Deletes all the results. More... | |
TMVA::Reader | fMVAReader |
Deletes all the results. More... | |
std::vector< unsigned int > | fAlgModCount |
Deletes all the results. More... | |
TrajClusterAlg (fhicl::ParameterSet const &pset) | |
Deletes all the results. More... | |
virtual void | reconfigure (fhicl::ParameterSet const &pset) |
Deletes all the results. More... | |
bool | SetInputHits (std::vector< recob::Hit > const &inputHits) |
Deletes all the results. More... | |
void | RunTrajClusterAlg (std::vector< unsigned int > &hitsInSlice, int sliceID) |
Deletes all the results. More... | |
bool | CreateSlice (std::vector< unsigned int > &hitsInSlice) |
Deletes all the results. More... | |
void | FinishEvent () |
Deletes all the results. More... | |
void | DefineShTree (TTree *t) |
Deletes all the results. More... | |
unsigned short | GetSlicesSize () |
Deletes all the results. More... | |
TCSlice const & | GetSlice (unsigned short sliceIndex) const |
Deletes all the results. More... | |
void | MergeTPHits (std::vector< unsigned int > &tpHits, std::vector< recob::Hit > &newHitCol, std::vector< unsigned int > &newHitAssns) |
Deletes all the results. More... | |
std::vector< unsigned int > const & | GetAlgModCount () const |
Deletes all the results. More... | |
std::vector< std::string > const & | GetAlgBitNames () const |
Deletes all the results. More... | |
void | ClearResults () |
Deletes all the results. More... | |
recob::Hit | MergeTPHitsOnWire (std::vector< unsigned int > &tpHits) |
Deletes all the results. More... | |
void | ReconstructAllTraj (TCSlice &slc, CTP_t inCTP) |
Deletes all the results. More... | |
void | FindJunkTraj (TCSlice &slc, CTP_t inCTP) |
Deletes all the results. More... | |
void | ChkInTraj (std::string someText, TCSlice &slc) |
Deletes all the results. More... | |
void | FindMissedVxTjs (TCSlice &slc) |
Deletes all the results. More... | |
Definition at line 49 of file TrajClusterAlg.h.
tca::TrajClusterAlg::TrajClusterAlg | ( | fhicl::ParameterSet const & | pset | ) |
Deletes all the results.
Definition at line 18 of file TrajClusterAlg.cxx.
References tca::TCConfig::caloAlg, fCaloAlg, fMVAReader, reconfigure(), tca::TCConfig::showerParentReader, and tca::tcc.
|
private |
Deletes all the results.
Definition at line 876 of file TrajClusterAlg.cxx.
References tca::AlgBitNames, evd::details::end(), fAlgModCount, tca::TCSlice::isValid, tca::kChkInTraj, tca::kKilled, tca::kUsedHits, tca::PrintHit(), tca::PrintTrajectory(), tca::PutTrajHitsInVector(), tca::TCSlice::slHits, tca::tcc, tca::TCSlice::tjs, tca::TCConfig::useAlg, and tca::TCSlice::vtxs.
|
inline |
Deletes all the results.
Definition at line 79 of file TrajClusterAlg.h.
References tca::slices.
Referenced by SetInputHits().
bool tca::TrajClusterAlg::CreateSlice | ( | std::vector< unsigned int > & | hitsInSlice | ) |
Deletes all the results.
Definition at line 1253 of file TrajClusterAlg.cxx.
References tca::TCEvent::allHits, tca::DebugStuff::Cryostat, tca::DebugStuff::CTP, tca::TCConfig::dbgSlc, tca::debug, tca::EncodeCTP(), tca::evt, tca::FillWireHitRange(), tca::TCSlice::isValid, tca::kDebug, tca::TCConfig::modes, tca::DebugStuff::Plane, tca::TCSlice::slHits, tca::DebugStuff::Slice, tca::slices, tca::tcc, tca::DebugStuff::TPC, and tca::TCSlice::TPCID.
Referenced by RunTrajClusterAlg().
void tca::TrajClusterAlg::DefineShTree | ( | TTree * | t | ) |
Deletes all the results.
Definition at line 1201 of file TrajClusterAlg.cxx.
References tca::ShowerTreeVars::BeginAng, tca::ShowerTreeVars::BeginChg, tca::ShowerTreeVars::BeginTim, tca::ShowerTreeVars::BeginVtx, tca::ShowerTreeVars::BeginWir, tca::ShowerTreeVars::EndAng, tca::ShowerTreeVars::EndChg, tca::ShowerTreeVars::EndTim, tca::ShowerTreeVars::EndVtx, tca::ShowerTreeVars::EndWir, tca::ShowerTreeVars::Envelope, tca::ShowerTreeVars::EnvPlane, tca::ShowerTreeVars::EnvShowerID, tca::ShowerTreeVars::EnvStage, tca::TCEvent::event, tca::evt, tca::ShowerTreeVars::IsShowerParent, tca::ShowerTreeVars::IsShowerTj, tca::ShowerTreeVars::MCSMom, tca::ShowerTreeVars::nPlanes, tca::ShowerTreeVars::nStages, tca::ShowerTreeVars::PlaneNum, tca::TCEvent::run, tca::ShowerTreeVars::ShowerID, showertree, tca::ShowerTreeVars::StageName, tca::ShowerTreeVars::StageNum, tca::stv, tca::TCEvent::subRun, and tca::ShowerTreeVars::TjID.
Deletes all the results.
Definition at line 730 of file TrajClusterAlg.cxx.
References tca::TCConfig::dbgAlg, tca::TCConfig::dbgStp, tca::debug, tca::DecodeCTP(), tca::TCSlice::firstWire, tca::GetHitMultiplet(), tca::DebugStuff::Hit, tca::HitSep2(), tca::IsGhost(), tca::TCConfig::JTMaxHitSep2, tca::kDebug, tca::kJunkTj, tca::TCSlice::lastWire, tca::MakeJunkTraj(), tca::TCConfig::modes, tca::TCSlice::nWires, geo::PlaneID::Plane, tca::PrintHit(), tca::TCSlice::slHits, tca::tcc, tca::TrajHitsOK(), tca::TCConfig::useAlg, and tca::TCSlice::wireHitRange.
Referenced by ReconstructAllTraj().
|
private |
Deletes all the results.
Definition at line 963 of file TrajClusterAlg.cxx.
References detinfo::DetectorProperties::ConvertXToTicks(), geo::CryostatID::Cryostat, tca::TCConfig::dbg3V, tca::TCConfig::dbgAlg, tca::TCConfig::dbgStp, tca::TCConfig::detprop, tca::EncodeCTP(), tca::Vtx3Store::ID, tca::kComp3DVx, tca::kHaloTj, tca::kKilled, tca::kMisdVxTj, tca::TCSlice::nPlanes, tca::TrajPoint::Pos, tca::tcc, tca::TCSlice::tjs, geo::TPCID::TPC, tca::Vtx3Store::TPCID, tca::TrajPointTrajDOCA(), tca::TCConfig::unitsPerTick, tca::TCConfig::useAlg, tca::TCSlice::vtx3s, tca::TCSlice::vtxs, tca::Vtx3Store::Vx2ID, tca::Vtx3Store::Wire, and tca::Vtx3Store::X.
Referenced by RunTrajClusterAlg().
void tca::TrajClusterAlg::FinishEvent | ( | ) |
Deletes all the results.
Definition at line 1294 of file TrajClusterAlg.cxx.
References tca::PFPVertexCheck(), tca::slices, and tca::StitchPFPs().
|
inline |
Deletes all the results.
Definition at line 76 of file TrajClusterAlg.h.
References tca::AlgBitNames.
|
inline |
Deletes all the results.
Definition at line 75 of file TrajClusterAlg.h.
References fAlgModCount.
|
inline |
Deletes all the results.
Definition at line 71 of file TrajClusterAlg.h.
References MergeTPHits(), and tca::slices.
|
inline |
void tca::TrajClusterAlg::MergeTPHits | ( | std::vector< unsigned int > & | tpHits, |
std::vector< recob::Hit > & | newHitCol, | ||
std::vector< unsigned int > & | newHitAssns | ||
) |
Deletes all the results.
Definition at line 1025 of file TrajClusterAlg.cxx.
References tca::TCEvent::allHits, tca::evt, MergeTPHitsOnWire(), and tmp.
Referenced by GetSlice().
|
private |
Deletes all the results.
Definition at line 1081 of file TrajClusterAlg.cxx.
References tca::TCEvent::allHits, and tca::evt.
Referenced by MergeTPHits().
|
virtual |
Deletes all the results.
Definition at line 30 of file TrajClusterAlg.cxx.
References tca::AlgBitNames, tca::TCConfig::angleRanges, tca::TCEvent::aveHitRMS, tca::TCEvent::aveHitRMSValid, tca::TCConfig::chargeCuts, tca::TCConfig::chkStopCuts, art::errors::Configuration, tca::ConfigureMVA(), tca::TCConfig::dbgAlg, tca::debug, tca::DecodeDebugString(), tca::TCConfig::deltaRayTag, tca::TCConfig::doForecast, tca::TCConfig::electronTag, tca::TCEvent::eventsProcessed, tca::evt, fAlgModCount, fhicl::ParameterSet::get(), fhicl::ParameterSet::get_if_present(), fhicl::ParameterSet::has_key(), tca::TCConfig::hitErrFac, tca::TCConfig::JTMaxHitSep2, tca::kAlgBitSize, tca::kChkInTraj, tca::kDebug, tca::kFlagBitSize, tca::TCConfig::kinkCuts, tca::kKilled, tca::kSaveCRTree, tca::kSaveShowerTree, tca::kStepDir, tca::kStopAtTj, tca::kStudy1, tca::kStudy2, tca::kStudy3, tca::kStudy4, tca::kTagCosmics, tca::kTestBeam, tca::TCConfig::match3DCuts, tca::TCConfig::matchTruth, tca::TCConfig::maxAngleCode, tca::TCConfig::maxChi, tca::TCConfig::maxWireSkipNoSignal, tca::TCConfig::maxWireSkipWithSignal, tca::TCConfig::minMCSMom, tca::TCConfig::minPts, tca::TCConfig::minPtsFit, tca::TCConfig::modes, tca::TCConfig::multHitSep, tca::TCConfig::muonTag, tca::TCConfig::neutralVxCuts, tca::TCConfig::nPtsAve, tca::TCConfig::pfpStitchCuts, tca::TCConfig::projectionErrFactor, tca::TCConfig::qualityCuts, tca::TCConfig::showerTag, tca::DebugStuff::Slice, tca::StopFlagNames, tca::tcc, tca::TCConfig::testBeamCuts, tca::TCConfig::useAlg, tca::TCConfig::VLAStepSize, tca::TCConfig::vtx2DCuts, tca::TCConfig::vtx3DCuts, tca::TCConfig::vtxScoreWeights, and tca::DebugStuff::WorkID.
Referenced by TrajClusterAlg().
Deletes all the results.
Definition at line 415 of file TrajClusterAlg.cxx.
References tca::AddHits(), tca::Trajectory::AlgMod, tca::TCEvent::allHits, tca::AttachAnyTrajToVertex(), tca::Trajectory::AveChg, tca::TCEvent::aveHitRMS, tca::CheckTraj(), tca::CheckTrajBeginChg(), tca::ChkHiChgHits(), tca::ChkVtxAssociations(), tca::Trajectory::CTP, tca::TCConfig::dbg2V, tca::TCConfig::dbgSlc, tca::TCConfig::dbgStp, tca::debug, tca::DecodeCTP(), tca::EndMerge(), tca::Trajectory::EndPt, tca::TCEvent::eventsProcessed, tca::evt, tca::Find2DVertices(), FindJunkTraj(), tca::TCSlice::firstWire, tca::GetHitMultiplet(), tca::DebugStuff::Hit, tca::TCConfig::hitErrFac, tca::HitsPosTick(), tca::HitsRMSTick(), tca::Trajectory::ID, tca::InTrajOK(), tca::Trajectory::IsGood, tca::TCSlice::isValid, tca::TCConfig::JTMaxHitSep2, tca::kChkInTraj, tca::kDebug, tca::kKilled, tca::kNewStpCuts, tca::kNormal, tca::kRvPrp, tca::kStepDir, tca::kStopAtTj, tca::kUnusedHits, tca::TCSlice::lastWire, tca::LongPulseHit(), tca::MakeHaloTj(), tca::MakeJunkVertices(), tca::TCConfig::maxAngleCode, tca::TCConfig::minPts, tca::TCConfig::minPtsFit, tca::TCConfig::modes, tca::TCConfig::muonTag, tca::NumPtsWithCharge(), tca::TCSlice::nWires, tca::Trajectory::ParentID, tca::Trajectory::Pass, geo::PlaneID::Plane, tca::PrintHit(), tca::PrintPos(), tca::PrintTrajectory(), tca::Trajectory::Pts, tca::ReleaseHits(), tca::seeds, tca::TCConfig::showerTag, tca::TCSlice::slHits, tca::slices, tca::SplitTrajCrossingVertices(), tca::StartTraj(), tca::StepAway(), tca::Trajectory::StepDir, tca::StoreTraj(), tca::Trajectory::Strategy, tca::TagDeltaRays(), tca::TagShowerLike(), tca::tcc, tca::TCSlice::tjs, tca::TrajHitsOK(), tca::TCConfig::unitsPerTick, tca::UpdateVxEnvironment(), tca::TCConfig::useAlg, tca::VtxHitsSwap(), tca::TCSlice::vtxs, tca::TCSlice::wireHitRange, and tca::TCEvent::WorkID.
Referenced by RunTrajClusterAlg().
void tca::TrajClusterAlg::RunTrajClusterAlg | ( | std::vector< unsigned int > & | hitsInSlice, |
int | sliceID | ||
) |
Deletes all the results.
Definition at line 312 of file TrajClusterAlg.cxx.
References tca::AlgBitNames, tca::TCEvent::aveHitRMS, tca::ChkVtxAssociations(), art::errors::Configuration, CreateSlice(), tca::TCConfig::dbgDump, tca::DefinePFPParents(), tca::DefineTjParents(), tca::DumpTj(), tca::EncodeCTP(), tca::TCEvent::eventsProcessed, tca::evt, fAlgModCount, tca::FillmAllTraj(), tca::Find3DVertices(), FindMissedVxTjs(), tca::FindNeutralVertices(), tca::FindPFParticles(), tca::FindShowers3D(), tca::Finish3DShowers(), tca::kDebug, tca::KillPoorVertices(), tca::kSaveShowerTree, tca::TCConfig::match3DCuts, tca::TCConfig::modes, ReconstructAllTraj(), tca::TCConfig::recoSlice, tca::ScoreVertices(), tca::TCConfig::showerTag, showertree, tca::slices, tca::ShowerTreeVars::StageNum, tca::stv, and tca::tcc.
bool tca::TrajClusterAlg::SetInputHits | ( | std::vector< recob::Hit > const & | inputHits | ) |
Deletes all the results.
Definition at line 290 of file TrajClusterAlg.cxx.
References tca::TCEvent::allHits, tca::AnalyzeHits(), ClearResults(), tca::TCConfig::detprop, tca::evt, tca::TCConfig::geom, tca::TCEvent::globalPFPID, tca::TCEvent::globalS2ID, tca::TCEvent::globalS3ID, tca::TCEvent::globalTjID, tca::TCEvent::globalVx2ID, tca::TCEvent::globalVx3ID, tca::tcc, and tca::TCEvent::WorkID.
|
private |
Deletes all the results.
Definition at line 95 of file TrajClusterAlg.h.
Referenced by ChkInTraj(), GetAlgModCount(), reconfigure(), and RunTrajClusterAlg().
|
private |
Deletes all the results.
Definition at line 92 of file TrajClusterAlg.h.
Referenced by TrajClusterAlg().
|
private |
Deletes all the results.
Definition at line 93 of file TrajClusterAlg.h.
Referenced by TrajClusterAlg().
TruthMatcher tca::TrajClusterAlg::fTM |
Deletes all the results.
Definition at line 80 of file TrajClusterAlg.h.
|
private |
Deletes all the results.
Definition at line 87 of file TrajClusterAlg.h.
Referenced by DefineShTree(), and RunTrajClusterAlg().