Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larreco
larreco
RecoAlg
StitchAlg.h
Go to the documentation of this file.
1
/////////////////////////////////////////////////////////////////
2
// \StitchAlg.h
3
// echurch@fnal.gov
4
////////////////////////////////////////////////////////////////////
5
6
#ifndef STITCHALG_H
7
#define STITCHALG_H
8
9
// C/C++ standard libraries
10
#include <vector>
11
12
// art libraries
13
#include "
canvas/Persistency/Common/PtrVector.h
"
14
#include "
art/Framework/Principal/Handle.h
"
15
16
// LArSoft libraries
17
#include "
lardataobj/RecoBase/Track.h
"
18
19
namespace
fhicl
{
class
ParameterSet; }
20
namespace
art
{
class
Event
; }
21
22
23
namespace
trkf
{
24
25
26
class
StitchAlg
27
{
28
29
30
public
:
31
StitchAlg
(
fhicl::ParameterSet
const
& pset) ;
32
33
void
reconfigure
(
fhicl::ParameterSet
const
& pset) ;
34
35
void
FindHeadsAndTails(
const
art::Event
&
e
,
const
std::string
&
t
);
36
void
FirstStitch(
const
std::vector
<
art::PtrVector <recob::Track>
>::
iterator
itvvArg,
const
std::vector <recob::Track>::iterator
itvArg);
37
void
WalkStitch();
38
bool
CommonComponentStitch();
39
40
void
GetTrackComposites
(
std::vector
<
art::PtrVector <recob::Track>
> &
c
)
const
{
c
= fTrackComposite;}
41
void
GetTracks
(std::vector <recob::Track>& t)
const
{ t = fTrackVec ;}
42
43
art::Handle< std::vector< recob::Track >
>
ftListHandle
;
44
45
private
:
46
47
std::vector <std::tuple <std::string, int, int, double, double> >
fh
;
48
std::vector <std::tuple <std::string, int, int, double, double> >
ft
;
49
int
ftNo
;
50
double
fCosAngTol
;
51
double
fSepTol
;
52
53
54
std::vector <art::PtrVector <recob::Track> >
fTrackComposite
;
55
std::vector <recob::Track>
fTrackVec
;
56
std::vector <std::vector <std::string>>
fHT
;
57
58
};
59
60
61
62
}
// namespace
63
64
#endif // ifndef STITCHALG_H
trkf::StitchAlg::fh
std::vector< std::tuple< std::string, int, int, double, double > > fh
Definition:
StitchAlg.h:47
iterator
intermediate_table::iterator iterator
Definition:
intermediate_table.cc:27
trkf::StitchAlg::GetTracks
void GetTracks(std::vector< recob::Track > &t) const
Definition:
StitchAlg.h:41
trkf::StitchAlg::ftListHandle
art::Handle< std::vector< recob::Track > > ftListHandle
Definition:
StitchAlg.h:43
trkf::StitchAlg::fTrackVec
std::vector< recob::Track > fTrackVec
Definition:
StitchAlg.h:55
Handle.h
string
std::string string
Definition:
nybbler.cc:12
vector
struct vector vector
trkf::StitchAlg::GetTrackComposites
void GetTrackComposites(std::vector< art::PtrVector< recob::Track > > &c) const
Definition:
StitchAlg.h:40
art::Handle
Definition:
fwd.h:19
PtrVector.h
trkf::StitchAlg::fHT
std::vector< std::vector< std::string > > fHT
Definition:
StitchAlg.h:56
trkf::StitchAlg::fSepTol
double fSepTol
Definition:
StitchAlg.h:51
e
const double e
Definition:
gUpMuFluxGen.cxx:165
RunHistoryService::reconfigure
virtual void reconfigure(fhicl::ParameterSet const &pset)
ValidateOpDetSimulation.c
dictionary c
Definition:
ValidateOpDetSimulation.py:57
fhicl
Definition:
InputSourceFactory.h:7
reco_momentum_tuples.t
t
Definition:
reco_momentum_tuples.py:25
trkf
Definition:
TrackAnaCT_module.cc:245
shims::map::iter
Definition:
stdmap_shims.h:52
trkf::StitchAlg::fCosAngTol
double fCosAngTol
Definition:
StitchAlg.h:50
art::Event
Definition:
Event.h:22
art::PtrVector< recob::Track >
Event
Definition:
types.h:32
trkf::StitchAlg::ftNo
int ftNo
Definition:
StitchAlg.h:49
Track.h
Provides recob::Track data product.
trkf::StitchAlg::ft
std::vector< std::tuple< std::string, int, int, double, double > > ft
Definition:
StitchAlg.h:48
art
Definition:
BasicOptionsHandler.h:9
trkf::StitchAlg::fTrackComposite
std::vector< art::PtrVector< recob::Track > > fTrackComposite
Definition:
StitchAlg.h:54
trkf::StitchAlg
Definition:
StitchAlg.h:26
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11