LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "TCShowerAlg.h"
Public Member Functions | |
TCShowerAlg (fhicl::ParameterSet const &pset) | |
int | makeShowers (std::vector< art::Ptr< recob::PFParticle > > pfplist, std::vector< art::Ptr< recob::Vertex > > vertexlist, std::vector< art::Ptr< recob::Cluster > > clusterlist, std::vector< art::Ptr< recob::Hit > > hitlist, art::FindManyP< recob::Hit > cls_fm, art::FindManyP< recob::Cluster > clspfp_fm, art::FindManyP< recob::Vertex > vtxpfp_fm, art::FindManyP< recob::PFParticle > hit_fm, art::FindManyP< recob::Cluster > hitcls_fm, art::FindManyP< recob::Track > trkpfp_fm, art::FindManyP< anab::Calorimetry > fmcal) |
Public Attributes | |
TVector3 | shwDir |
TVector3 | dcosVtxErr |
TVector3 | 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 (art::Ptr< recob::Hit >, double maxDist, double minDistVert, std::map< geo::PlaneID, double > trk_wire1, std::map< geo::PlaneID, double > trk_tick1, std::map< geo::PlaneID, double > trk_wire2, std::map< geo::PlaneID, double > trk_tick2) |
int | goodHit (art::Ptr< recob::Hit >, double maxDist, double minDistVert, std::map< geo::PlaneID, double > trk_wire1, std::map< geo::PlaneID, double > trk_tick1, std::map< geo::PlaneID, double > trk_wire2, std::map< geo::PlaneID, double > trk_tick2, int &pull) |
bool | addShowerHit (art::Ptr< recob::Hit > hit, std::vector< art::Ptr< recob::Hit > > showerhits) |
Private Attributes | |
calo::CalorimetryAlg | fCalorimetryAlg |
pma::ProjectionMatchingAlg | fProjectionMatchingAlg |
Definition at line 49 of file TCShowerAlg.h.
shower::TCShowerAlg::TCShowerAlg | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 45 of file TCShowerAlg.cxx.
|
private |
Definition at line 438 of file TCShowerAlg.cxx.
References art::Ptr< T >::key().
Referenced by makeShowers().
|
private |
Definition at line 378 of file TCShowerAlg.cxx.
Referenced by makeShowers().
|
private |
Definition at line 390 of file TCShowerAlg.cxx.
References recob::Hit::PeakTime(), geo::WireID::Wire, recob::Hit::WireID(), geo::GeometryCore::WirePitch(), x1, x2, y1, and y2.
int shower::TCShowerAlg::makeShowers | ( | std::vector< art::Ptr< recob::PFParticle > > | pfplist, |
std::vector< art::Ptr< recob::Vertex > > | vertexlist, | ||
std::vector< art::Ptr< recob::Cluster > > | clusterlist, | ||
std::vector< art::Ptr< recob::Hit > > | hitlist, | ||
art::FindManyP< recob::Hit > | cls_fm, | ||
art::FindManyP< recob::Cluster > | clspfp_fm, | ||
art::FindManyP< recob::Vertex > | vtxpfp_fm, | ||
art::FindManyP< recob::PFParticle > | hit_fm, | ||
art::FindManyP< recob::Cluster > | hitcls_fm, | ||
art::FindManyP< recob::Track > | trkpfp_fm, | ||
art::FindManyP< anab::Calorimetry > | fmcal | ||
) |
Definition at line 50 of file TCShowerAlg.cxx.
References addShowerHit(), pfpStuff::clsIDs, comparePFP(), dEdx, dEdxErr, recob::Track::End(), recob::Track::EndDirection(), goodHit(), pfpStuff::hits, recob::Vertex::ID(), pfpStuff::pfp, recob::Vertex::position(), recob::PFParticle::Self(), showerHits, shwDir, shwvtx, totalEnergy, totalEnergyErr, pfpStuff::trk, lar::dump::vector(), recob::Track::Vertex(), recob::Track::VertexDirection(), and pfpStuff::vtx.
Referenced by shower::TCShower::getShowersWithoutSlices(), and shower::TCShower::getShowersWithSlices().
int shower::TCShowerAlg::bestplane |
Definition at line 61 of file TCShowerAlg.h.
Referenced by shower::TCShower::produce().
TVector3 shower::TCShowerAlg::dcosVtxErr |
Definition at line 54 of file TCShowerAlg.h.
Referenced by shower::TCShower::produce().
std::vector<double> shower::TCShowerAlg::dEdx |
Definition at line 59 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
std::vector<double> shower::TCShowerAlg::dEdxErr |
Definition at line 60 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
|
private |
Definition at line 70 of file TCShowerAlg.h.
|
private |
Definition at line 71 of file TCShowerAlg.h.
std::vector< art::Ptr<recob::Hit> > shower::TCShowerAlg::showerHits |
Definition at line 62 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
TVector3 shower::TCShowerAlg::shwDir |
Definition at line 53 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
TVector3 shower::TCShowerAlg::shwvtx |
Definition at line 55 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
std::vector<double> shower::TCShowerAlg::totalEnergy |
Definition at line 57 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
std::vector<double> shower::TCShowerAlg::totalEnergyErr |
Definition at line 58 of file TCShowerAlg.h.
Referenced by makeShowers(), and shower::TCShower::produce().
TVector3 shower::TCShowerAlg::xyzErr |
Definition at line 56 of file TCShowerAlg.h.
Referenced by shower::TCShower::produce().