LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "TCShowerAlg.h"
Public Member Functions | |
TCShowerAlg (fhicl::ParameterSet const &pset) | |
int | makeShowers (detinfo::DetectorClocksData const &dataClock, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::PFParticle >> const &pfplist, std::vector< art::Ptr< recob::Cluster >> const &clusterlist, std::vector< art::Ptr< recob::Hit >> const &hitlist, art::FindManyP< recob::Hit > const &cls_fm, art::FindManyP< recob::Cluster > const &clspfp_fm, art::FindManyP< recob::Vertex > const &vtxpfp_fm, art::FindManyP< recob::Cluster > const &hitcls_fm, art::FindManyP< recob::Track > const &trkpfp_fm) |
Public Attributes | |
geo::Vector_t | shwDir |
TVector3 | dcosVtxErr |
geo::Point_t | shwvtx |
TVector3 | xyzErr |
std::vector< double > | totalEnergy |
std::vector< double > | totalEnergyErr |
std::vector< double > | dEdx |
std::vector< double > | dEdxErr |
int | bestplane |
std::vector< art::Ptr< recob::Hit > > | showerHits |
Private Member Functions | |
int | goodHit (detinfo::DetectorClocksData const &dataClock, detinfo::DetectorPropertiesData const &detProp, art::Ptr< recob::Hit > const &, double maxDist, double minDistVert, std::map< geo::PlaneID, double > const &trk_wire1, std::map< geo::PlaneID, double > const &trk_tick1, std::map< geo::PlaneID, double > const &trk_wire2, std::map< geo::PlaneID, double > const &trk_tick2) const |
int | goodHit (detinfo::DetectorClocksData const &dataClock, detinfo::DetectorPropertiesData const &detProp, art::Ptr< recob::Hit > const &, double maxDist, double minDistVert, std::map< geo::PlaneID, double > const &trk_wire1, std::map< geo::PlaneID, double > const &trk_tick1, std::map< geo::PlaneID, double > const &trk_wire2, std::map< geo::PlaneID, double > const &trk_tick2, int &pull) const |
bool | addShowerHit (art::Ptr< recob::Hit > hit, std::vector< art::Ptr< recob::Hit >> showerhits) const |
Private Attributes | |
calo::CalorimetryAlg | fCalorimetryAlg |
pma::ProjectionMatchingAlg | fProjectionMatchingAlg |
Definition at line 38 of file TCShowerAlg.h.
shower::TCShowerAlg::TCShowerAlg | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 44 of file TCShowerAlg.cxx.
|
private |
Definition at line 446 of file TCShowerAlg.cxx.
References art::Ptr< T >::key().
Referenced by makeShowers().
|
private |
Definition at line 356 of file TCShowerAlg.cxx.
Referenced by makeShowers().
|
private |
Definition at line 385 of file TCShowerAlg.cxx.
References util::abs(), larg4::dist(), detinfo::DetectorPropertiesData::DriftVelocity(), detinfo::DetectorPropertiesData::Efield(), recob::Hit::PeakTime(), detinfo::sampling_rate(), detinfo::DetectorPropertiesData::Temperature(), geo::WireID::Wire, recob::Hit::WireID(), geo::GeometryCore::WirePitch(), x1, x2, y1, and y2.
int shower::TCShowerAlg::makeShowers | ( | detinfo::DetectorClocksData const & | dataClock, |
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< art::Ptr< recob::PFParticle >> const & | pfplist, | ||
std::vector< art::Ptr< recob::Cluster >> const & | clusterlist, | ||
std::vector< art::Ptr< recob::Hit >> const & | hitlist, | ||
art::FindManyP< recob::Hit > const & | cls_fm, | ||
art::FindManyP< recob::Cluster > const & | clspfp_fm, | ||
art::FindManyP< recob::Vertex > const & | vtxpfp_fm, | ||
art::FindManyP< recob::Cluster > const & | hitcls_fm, | ||
art::FindManyP< recob::Track > const & | trkpfp_fm | ||
) |
Definition at line 49 of file TCShowerAlg.cxx.
References util::abs(), addShowerHit(), detinfo::DetectorPropertiesData::ConvertXToTicks(), dEdx, dEdxErr, recob::Track::End(), recob::Track::EndDirection(), goodHit(), geo::GeometryCore::Iterate(), recob::Vertex::position(), showerHits, shwDir, shwvtx, totalEnergy, totalEnergyErr, lar::dump::vector(), recob::Track::Vertex(), recob::Track::VertexDirection(), and geo::GeometryCore::WireCoordinate().
Referenced by shower::TCShower::getShowersWithoutSlices(), and shower::TCShower::getShowersWithSlices().
int shower::TCShowerAlg::bestplane |
Definition at line 49 of file TCShowerAlg.h.
Referenced by shower::TCShower::produce().
TVector3 shower::TCShowerAlg::dcosVtxErr |
Definition at line 42 of file TCShowerAlg.h.
Referenced by shower::TCShower::produce().
std::vector<double> shower::TCShowerAlg::dEdx |
Definition at line 47 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
std::vector<double> shower::TCShowerAlg::dEdxErr |
Definition at line 48 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
|
private |
Definition at line 66 of file TCShowerAlg.h.
|
private |
Definition at line 67 of file TCShowerAlg.h.
std::vector<art::Ptr<recob::Hit> > shower::TCShowerAlg::showerHits |
Definition at line 50 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
geo::Vector_t shower::TCShowerAlg::shwDir |
Definition at line 41 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
geo::Point_t shower::TCShowerAlg::shwvtx |
Definition at line 43 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
std::vector<double> shower::TCShowerAlg::totalEnergy |
Definition at line 45 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
std::vector<double> shower::TCShowerAlg::totalEnergyErr |
Definition at line 46 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
TVector3 shower::TCShowerAlg::xyzErr |
Definition at line 44 of file TCShowerAlg.h.
Referenced by shower::TCShower::produce().