LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "TCTruth.h"
Public Member Functions | |
MCParticleListUtils (TjStuff &my_tjs) | |
void | MakeTruTrajPoint (unsigned int MCParticleListIndex, TrajPoint &tp) |
ShowerStruct3D | MakeCheatShower (unsigned int mcpIndex, Point3_t primVx, int &truParentPFP) |
bool | PrimaryElectronStart (Point3_t &start, Vector3_t &dir, float &energy) |
int | PrimaryElectronPFPID (const geo::TPCID &tpcid) |
int | PrimaryElectronTjID (CTP_t inCTP) |
int | MCParticleStartTjID (unsigned int MCParticleListIndex, CTP_t inCTP) |
unsigned int | GetMCPartListIndex (const TrajPoint &tp) |
unsigned int | GetMCPartListIndex (const Trajectory &tj, unsigned short &nTruHits) |
unsigned int | GetMCPartListIndex (const ShowerStruct &ss, unsigned short &nTruHits) |
Public Attributes | |
TjStuff & | tjs |
|
inline |
unsigned int tca::MCParticleListUtils::GetMCPartListIndex | ( | const TrajPoint & | tp | ) |
Definition at line 1499 of file TCTruth.cxx.
References tca::TrajPoint::Chg, tca::TjStuff::fHits, tca::TrajPoint::Hits, tca::TjStuff::MCPartList, tca::TruthMatcher::tjs, and tca::TrajPoint::UseHit.
unsigned int tca::MCParticleListUtils::GetMCPartListIndex | ( | const Trajectory & | tj, |
unsigned short & | nTruHits | ||
) |
Definition at line 1571 of file TCTruth.cxx.
References tca::TjStuff::fHits, tca::TjStuff::MCPartList, tca::Trajectory::Pts, and tca::TruthMatcher::tjs.
unsigned int tca::MCParticleListUtils::GetMCPartListIndex | ( | const ShowerStruct & | ss, |
unsigned short & | nTruHits | ||
) |
Definition at line 1534 of file TCTruth.cxx.
References tca::TjStuff::allTraj, tca::TjStuff::fHits, tca::TjStuff::MCPartList, tca::Trajectory::Pts, tca::ShowerStruct::TjIDs, and tca::TruthMatcher::tjs.
ShowerStruct3D tca::MCParticleListUtils::MakeCheatShower | ( | unsigned int | mcpIndex, |
Point3_t | primVx, | ||
int & | truParentPFP | ||
) |
Definition at line 1191 of file TCTruth.cxx.
References tca::TjStuff::allTraj, close(), tca::CreateSS(), tca::CreateSS3(), geo::CryostatID::Cryostat, tca::EncodeCTP(), evd::details::end(), sim::ParticleList::EveId(), tca::TjStuff::fHits, tca::GetAssns(), tca::kMat3D, tca::TjStuff::MCPartList, tca::TjStuff::NumPlanes, cheat::ParticleInventoryService::ParticleList(), tca::TjStuff::pfps, tca::PosSep(), ss, tca::StoreShower(), tca::TruthMatcher::tjs, geo::TPCID::TPC, tca::TjStuff::TPCID, tca::TjStuff::UnitsPerTick, tca::UpdateShower(), and tca::TjStuff::WirePitch.
void tca::MCParticleListUtils::MakeTruTrajPoint | ( | unsigned int | MCParticleListIndex, |
TrajPoint & | tp | ||
) |
Definition at line 1174 of file TCTruth.cxx.
References tca::TrajPoint::CTP, dir, tca::MakeBareTP(), tca::TjStuff::MCPartList, simb::MCParticle::Px(), simb::MCParticle::Py(), simb::MCParticle::Pz(), tca::SetMag(), tca::TruthMatcher::tjs, simb::MCParticle::Vx(), simb::MCParticle::Vy(), and simb::MCParticle::Vz().
int tca::MCParticleListUtils::MCParticleStartTjID | ( | unsigned int | MCParticleListIndex, |
CTP_t | inCTP | ||
) |
Definition at line 1454 of file TCTruth.cxx.
References geo::CryostatID::Cryostat, tca::DecodeCTP(), tca::TjStuff::fHits, tca::TjStuff::MCPartList, geo::PlaneID::Plane, tca::TruthMatcher::tjs, tmp, and geo::TPCID::TPC.
int tca::MCParticleListUtils::PrimaryElectronPFPID | ( | const geo::TPCID & | tpcid | ) |
Definition at line 1374 of file TCTruth.cxx.
References tca::TjStuff::allTraj, close(), geo::CryostatID::Cryostat, tca::EncodeCTP(), sim::ParticleList::EveId(), tca::FarEnd(), tca::TjStuff::fHits, tca::GetAssns(), tca::kMat3D, tca::kUsedHits, tca::TjStuff::MCPartList, tca::TjStuff::NumPlanes, part, cheat::ParticleInventoryService::ParticleList(), tca::TjStuff::pfps, tca::PosSep2(), tca::PutTrajHitsInVector(), tca::SetIntersection(), tca::TruthMatcher::tjs, and geo::TPCID::TPC.
bool tca::MCParticleListUtils::PrimaryElectronStart | ( | Point3_t & | start, |
Vector3_t & | dir, | ||
float & | energy | ||
) |
Definition at line 1346 of file TCTruth.cxx.
References sim::ParticleList::EveId(), tca::TjStuff::MCPartList, part, cheat::ParticleInventoryService::ParticleList(), tca::SetMag(), and tca::TruthMatcher::tjs.
int tca::MCParticleListUtils::PrimaryElectronTjID | ( | CTP_t | inCTP | ) |
Definition at line 1437 of file TCTruth.cxx.
References sim::ParticleList::EveId(), tca::TjStuff::MCPartList, part, cheat::ParticleInventoryService::ParticleList(), and tca::TruthMatcher::tjs.