103 art::Handle< std::vector<recob::Hit> > hitListHandle;
105 for(
unsigned int ii = 0; ii < hitListHandle->size(); ++ii){
106 art::Ptr<recob::Hit>
hit(hitListHandle, ii);
110 art::Handle< std::vector<recob::EndPoint2D> > epListHandle;
112 for(
unsigned int ii = 0; ii < epListHandle->size(); ++ii){
113 art::Ptr<recob::EndPoint2D> ep(epListHandle, ii);
117 art::Handle< std::vector<recob::Track> > trackListHandle;
119 for(
unsigned int ii = 0; ii < trackListHandle->size(); ++ii){
120 art::Ptr<recob::Track>
track(trackListHandle, ii);
124 art::Handle< std::vector<recob::Vertex> > vertexListHandle;
126 for(
unsigned int ii = 0; ii < vertexListHandle->size(); ++ii){
127 art::Ptr<recob::Vertex>
vertex(vertexListHandle, ii);
136 for(
size_t v1 = 0; v1 <
fVertexlist.size(); ++v1) {
138 std::vector< art::Ptr<recob::Track> > tvlist = fmt.at(v1);
142 if(tvlist.size() < 1)
continue;
144 std::vector< art::Ptr<recob::Hit> > hitvlist = fmh.at(v1);
149 art::PtrVector<recob::Hit>::const_iterator hitv = hitvlist.begin();
151 for(
size_t v2 = v1+1; v2 <
fVertexlist.size(); ++v2){
153 std::vector< art::Ptr<recob::Hit> > hitvlist2 = fmh.at(v2);
155 std::vector< art::Ptr<recob::Hit> >::const_iterator hitv2 = hitvlist2.begin();
158 while( hitv != hitvlist.end() ){
159 while( hitv2 != hitvlist2.end() ){
161 mf::LogInfo(
"AggregateVertexAna") <<
"AggregateVertexAna: dist is " << dist.Mag() <<
".";
std::string fTrack3DModuleLabel
art::PtrVector< recob::Track > ftracklist
process_name use argoneut_mc_hitfinder track
art::PtrVector< recob::Hit > fhitlist
std::string fVertexModuleLabel
std::string fHitModuleLabel
art::PtrVector< recob::EndPoint2D > feplist
std::string fEndPointModuleLabel
constexpr double dist(const TReal *x, const TReal *y, const unsigned int dimension)
art::PtrVector< recob::Vertex > fVertexlist