All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HitTagAssociatorAlg.h
Go to the documentation of this file.
1 #ifndef HITTAGASSOCIATIORALG_H
2 #define HITTAGASSOCIATIORALG_H
3 /*!
4  * Title: Hit <--> Cosmic Tag Associator Alg
5  * Author: Wes Ketchum (wketchum@lanl.gov)
6  *
7  * Description: Algorithm that will provide associations of Hits to
8  * cosmic tags, where both of those are associated to some
9  * intermediate object (like a track or cluster)
10  * Input: Assn<recob::Hit,???> and Assn<???,anab::CosmicTag>
11  * Output: Assn<recob::Hit,anab::CosmicTag>
12 */
13 #include <vector>
14 
15 namespace fhicl { class ParameterSet; }
16 
17 namespace cosmic{
18  class HitTagAssociatorAlg;
19 }
20 
22  public:
23  HitTagAssociatorAlg(fhicl::ParameterSet const& p);
24 
25  //possiblity of multiple tags per bridge object
26  void MakeHitTagAssociations(std::vector< std::vector<size_t> > const& bridges_per_hit,
27  std::vector< std::vector<size_t> > const& tags_per_bridges,
28  std::vector< std::vector<size_t> >& tags_per_hit);
29 
30  //exactly one tag per bridge object
31  void MakeHitTagAssociations(std::vector< std::vector<size_t> > const& bridges_per_hit,
32  std::vector<size_t> const& tag_per_bridge,
33  std::vector< std::vector<size_t> >& tags_per_hit);
34 
35  private:
36 
37  //anything need to be private?
38 
39 };
40 
41 #endif
pdgs p
Definition: selectors.fcl:22
HitTagAssociatorAlg(fhicl::ParameterSet const &p)
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:265
BEGIN_PROLOG cosmic
void MakeHitTagAssociations(std::vector< std::vector< size_t > > const &bridges_per_hit, std::vector< std::vector< size_t > > const &tags_per_bridges, std::vector< std::vector< size_t > > &tags_per_hit)