#include <SmallClusterFinderAlg.h>
Public Member Functions | |
SmallClusterFinderAlg (fhicl::ParameterSet const &pset) | |
void | SelectLocalHitlist (util::GeometryUtilities const &gser, std::vector< art::Ptr< recob::Hit >> hitlist, std::vector< art::Ptr< recob::Hit >> &hitlistlocal, double wire_start, double time_start, double radlimit) const |
void | SelectLocalHitlist (util::GeometryUtilities const &gser, std::vector< art::Ptr< recob::Hit >> hitlist, std::vector< art::Ptr< recob::Hit >> &hitlistlocal, double wire_start, double time_start, double radlimit, std::vector< int > &) const |
int | GetPlaneAndTPC (art::Ptr< recob::Hit > a, unsigned int &plane, unsigned int &cryostat, unsigned int &time, unsigned int &wire) const |
std::vector< art::Ptr < recob::Hit > > | CreateHighHitlist (util::GeometryUtilities const &gser, std::vector< art::Ptr< recob::Hit >> const &hitlist, std::vector< art::Ptr< recob::Hit >> &hitlistleftover) const |
void | FindSmallClusters (util::GeometryUtilities const &gser, detinfo::DetectorClocksData const &dataClocks, detinfo::DetectorPropertiesData const &detProp, std::vector< art::Ptr< recob::Hit >> allHits) |
void | sortLeftoverHits () |
std::vector< std::vector < art::Ptr< recob::Hit > > > | GetSmallClustersByPlane (unsigned int iPlane) |
std::vector< art::Ptr < recob::Hit > > | GetLeftoversByPlane (unsigned int iPlane) |
Private Member Functions | |
void | ClearandResizeVectors () |
Private Attributes | |
double | fWiretoCm |
double | fTimetoCm |
double | fWireTimetoCmCm |
float | fTimeTick |
float | fDriftVelocity |
double | fWirePitch |
std::vector< unsigned int > | fNWires |
unsigned int | fNPlanes |
double | fNTimes |
art::ServiceHandle < geo::Geometry const > | geom |
std::vector< std::vector < std::vector< art::Ptr < recob::Hit > > > > | smallClustList |
std::vector< std::vector < art::Ptr< recob::Hit > > > | hitlistrefined |
std::vector< std::vector < art::Ptr< recob::Hit > > > | hitlistbyplane |
std::vector< std::vector < art::Ptr< recob::Hit > > > | hitlistleftover |
bool | verbose |
double | fRadiusSizePar |
double | fNHitsInClust |
Definition at line 60 of file SmallClusterFinderAlg.h.
|
explicit |
Definition at line 56 of file SmallClusterFinderAlg.cxx.
|
private |
Definition at line 200 of file SmallClusterFinderAlg.cxx.
std::vector< art::Ptr< recob::Hit > > cluster::SmallClusterFinderAlg::CreateHighHitlist | ( | util::GeometryUtilities const & | gser, |
std::vector< art::Ptr< recob::Hit >> const & | hitlist, | ||
std::vector< art::Ptr< recob::Hit >> & | hitlistleftover | ||
) | const |
Definition at line 288 of file SmallClusterFinderAlg.cxx.
void cluster::SmallClusterFinderAlg::FindSmallClusters | ( | util::GeometryUtilities const & | gser, |
detinfo::DetectorClocksData const & | dataClocks, | ||
detinfo::DetectorPropertiesData const & | detProp, | ||
std::vector< art::Ptr< recob::Hit >> | allHits | ||
) |
These lines determine the conversion factors to take wires and times to CMs
Definition at line 68 of file SmallClusterFinderAlg.cxx.
std::vector< art::Ptr< recob::Hit > > cluster::SmallClusterFinderAlg::GetLeftoversByPlane | ( | unsigned int | iPlane | ) |
Definition at line 366 of file SmallClusterFinderAlg.cxx.
int cluster::SmallClusterFinderAlg::GetPlaneAndTPC | ( | art::Ptr< recob::Hit > | a, |
unsigned int & | plane, | ||
unsigned int & | cryostat, | ||
unsigned int & | time, | ||
unsigned int & | wire | ||
) | const |
Definition at line 337 of file SmallClusterFinderAlg.cxx.
std::vector< std::vector< art::Ptr< recob::Hit > > > cluster::SmallClusterFinderAlg::GetSmallClustersByPlane | ( | unsigned int | iPlane | ) |
Definition at line 355 of file SmallClusterFinderAlg.cxx.
void cluster::SmallClusterFinderAlg::SelectLocalHitlist | ( | util::GeometryUtilities const & | gser, |
std::vector< art::Ptr< recob::Hit >> | hitlist, | ||
std::vector< art::Ptr< recob::Hit >> & | hitlistlocal, | ||
double | wire_start, | ||
double | time_start, | ||
double | radlimit | ||
) | const |
Definition at line 218 of file SmallClusterFinderAlg.cxx.
void cluster::SmallClusterFinderAlg::SelectLocalHitlist | ( | util::GeometryUtilities const & | gser, |
std::vector< art::Ptr< recob::Hit >> | hitlist, | ||
std::vector< art::Ptr< recob::Hit >> & | hitlistlocal, | ||
double | wire_start, | ||
double | time_start, | ||
double | radlimit, | ||
std::vector< int > & | index | ||
) | const |
Definition at line 247 of file SmallClusterFinderAlg.cxx.
void cluster::SmallClusterFinderAlg::sortLeftoverHits | ( | ) |
|
private |
Definition at line 120 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 144 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 123 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 124 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 122 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 142 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 119 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 118 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 121 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 118 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 118 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 127 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 136 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 138 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 135 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 131 of file SmallClusterFinderAlg.h.
|
private |
Definition at line 141 of file SmallClusterFinderAlg.h.