74 fDriftVelocity = detProp.DriftVelocity(detProp.Efield(), detProp.Temperature());
84 if (allHits.size() == 0) {
93 HitIter != allHits.end();
96 unsigned int p(0),
w(0),
t(0),
cs(0);
112 for (
unsigned int ip = 0; ip <
fNPlanes; ip++) {
117 std::cout <<
"At plane " << ip <<
", found " <<
hitlistrefined[ip].size() <<
" hits with " 149 for (
unsigned int iplane = 0; iplane <
fNPlanes; iplane++) {
156 std::vector<art::Ptr<recob::Hit>> splittingVector =
hitlistrefined[iplane];
158 while (splittingVector.size() != 0) {
166 std::vector<int>
index;
167 std::vector<art::Ptr<recob::Hit>> thiscluster;
176 unsigned int plane(0), cstat(0), tpc(0), wire(0);
182 std::cout <<
"Done writing " << thiscluster.size() <<
" hits to cluster with ID " 188 while (index.size() != 0) {
189 splittingVector.erase(splittingVector.begin() + (index.back()));
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
std::vector< std::vector< art::Ptr< recob::Hit > > > hitlistbyplane
std::vector< std::vector< std::vector< art::Ptr< recob::Hit > > > > smallClustList
void ClearandResizeVectors()
int GetPlaneAndTPC(art::Ptr< recob::Hit > a, unsigned int &plane, unsigned int &cryostat, unsigned int &time, unsigned int &wire) 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) const
std::vector< std::vector< art::Ptr< recob::Hit > > > hitlistleftover
geo::Length_t WirePitch(geo::PlaneID const &planeid) const
Returns the distance between two consecutive wires.
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
std::vector< std::vector< art::Ptr< recob::Hit > > > hitlistrefined
float PeakTime() const
Time of the signal peak, in tick units.
art::ServiceHandle< geo::Geometry const > geom
double sampling_rate(DetectorClocksData const &data)
Returns the period of the TPC readout electronics clock.
QTextStream & endl(QTextStream &s)