Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunereco
dunereco
HitFinderDUNE
DisambigAlgProtoDUNESP.h
Go to the documentation of this file.
1
/////////////////////////////////////////////////////////////////
2
//
3
// Disambiguation algorithm for the protoDUNE single phase detector
4
// using two views and the third for confirmation if present. Does not allow for hits to be on
5
// wires on the outside sides of the APA's.
6
// Start from code written by talion@gmail.com
7
// trj@fnal.gov
8
// tjyang@fnal.gov
9
//
10
////////////////////////////////////////////////////////////////////
11
#ifndef DisambigAlgProtoDUNESP_H
12
#define DisambigAlgProtoDUNESP_H
13
#include <vector>
14
#include <map>
15
#include <cmath>
16
#include <iostream>
17
#include <stdint.h>
18
19
#include "
art/Framework/Services/Registry/ServiceHandle.h
"
20
#include "
fhiclcpp/ParameterSet.h
"
21
#include "
canvas/Persistency/Common/Ptr.h
"
22
#include "
canvas/Persistency/Common/PtrVector.h
"
23
#include "
art/Framework/Principal/Event.h
"
24
25
#include "
larcore/Geometry/Geometry.h
"
26
#include "
larcoreobj/SimpleTypesAndConstants/geo_types.h
"
27
#include "
lardataobj/RecoBase/Wire.h
"
28
#include "
lardataobj/RecoBase/Hit.h
"
29
#include "
lardataobj/RecoBase/Cluster.h
"
30
#include "
APAGeometryAlg.h
"
31
#include "
larreco/RecoAlg/DBScanAlg.h
"
32
namespace
detinfo
{
33
class
DetectorPropertiesData;
34
}
35
36
#include "TMatrixD.h"
37
#include "TVectorD.h"
38
39
40
41
namespace
dune
{
42
43
//---------------------------------------------------------------
44
class
DisambigAlgProtoDUNESP
{
45
public
:
46
47
48
DisambigAlgProtoDUNESP
(
fhicl::ParameterSet
const
& pset);
49
50
void
reconfigure
(
fhicl::ParameterSet
const
&
p
);
51
52
void
RunDisambig(
detinfo::DetectorPropertiesData
const
& detProp,
53
const
std::vector
<
art::Ptr<recob::Hit>
> &OrigHits );
54
///< Run disambiguation as currently configured
55
56
57
std::vector< std::pair<art::Ptr<recob::Hit>,
geo::WireID
> >
fDisambigHits
;
58
///< The final list of hits to pass back to be made
59
60
private
:
61
62
bool
notOuterWire(
geo::WireID
wireid);
63
64
int
longTPC(
int
apa
);
65
66
// other classes we will use
67
dune::apa::APAGeometryAlg
fAPAGeo
;
68
double
fTimeCut
;
69
double
fDistanceCut
;
70
double
fDcut2
;
71
};
// class DisambigAlgProtoDUNESP
72
73
}
// namespace dune
74
75
#endif // ifndef DisambigAlgProtoDUNESP_H
dune
Definition:
PdspHDFFileReader.hh:29
DBScanAlg.h
dune::apa::APAGeometryAlg
Definition:
APAGeometryAlg.h:39
detinfo::DetectorPropertiesData
Definition:
DetectorPropertiesData.h:11
vector
struct vector vector
dune::DisambigAlgProtoDUNESP
Definition:
DisambigAlgProtoDUNESP.h:44
geo::WireID
Definition:
geo_types.h:560
PtrVector.h
Geometry.h
art framework interface to geometry description
ParameterSet.h
ServiceHandle.h
dune::DisambigAlgProtoDUNESP::fDisambigHits
std::vector< std::pair< art::Ptr< recob::Hit >, geo::WireID > > fDisambigHits
The final list of hits to pass back to be made.
Definition:
DisambigAlgProtoDUNESP.h:57
RunHistoryService::reconfigure
virtual void reconfigure(fhicl::ParameterSet const &pset)
Cluster.h
Ptr.h
test.p
p
Definition:
test.py:223
detinfo
General LArSoft Utilities.
Definition:
CalibrationTreeBuilder.h:23
geo_types.h
Definition of data types for geometry description.
dune::DisambigAlgProtoDUNESP::fDistanceCut
double fDistanceCut
Definition:
DisambigAlgProtoDUNESP.h:69
Hit.h
Declaration of signal hit object.
dune::DisambigAlgProtoDUNESP::fTimeCut
double fTimeCut
Definition:
DisambigAlgProtoDUNESP.h:68
APAGeometryAlg.h
dune::DisambigAlgProtoDUNESP::fDcut2
double fDcut2
Definition:
DisambigAlgProtoDUNESP.h:70
Wire.h
Declaration of basic channel signal object.
Event.h
dune::DisambigAlgProtoDUNESP::fAPAGeo
dune::apa::APAGeometryAlg fAPAGeo
Definition:
DisambigAlgProtoDUNESP.h:67
art::Ptr< recob::Hit >
apa
Definition:
APAHitFinder_module.cc:34
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11