Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larana
larana
CosmicRemoval
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
#include "
fhiclcpp/fwd.h
"
16
17
namespace
cosmic
{
18
class
HitTagAssociatorAlg;
19
}
20
21
class
cosmic::HitTagAssociatorAlg
{
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
cosmic::HitTagAssociatorAlg
Definition:
HitTagAssociatorAlg.h:21
vector
struct vector vector
cosmic::HitTagAssociatorAlg::HitTagAssociatorAlg
HitTagAssociatorAlg(fhicl::ParameterSet const &p)
Definition:
HitTagAssociatorAlg.cxx:15
cosmic
Definition:
CosmicEfficiency_module.cc:33
test.p
p
Definition:
test.py:223
fwd.h
cosmic::HitTagAssociatorAlg::MakeHitTagAssociations
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)
Definition:
HitTagAssociatorAlg.cxx:18
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11