Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
sbncode
sbncode
LArRecoProducer
TrackStoppingChi2Alg.h
Go to the documentation of this file.
1
#ifndef TRACK_STOPPING_CHI2_ALG_H_SEEN
2
#define TRACK_STOPPING_CHI2_ALG_H_SEEN
3
4
///////////////////////////////////////////////////////////////////////////////
5
//
6
// TrackStoppingChi2Alg.h
7
//
8
// Algorithm that performs an exponential and a 0-order polynomial fit
9
// to stopping tracks in order to identify Bragg peaks
10
//
11
///////////////////////////////////////////////////////////////////////////////
12
13
#include "fhiclcpp/ParameterSet.h"
14
#include "
sbnobj/Common/Reco/StoppingChi2Fit.h
"
15
#include "
sbncode/GeometryTools/TPCGeoAlg.h
"
16
#include "
lardataobj/AnalysisBase/Calorimetry.h
"
17
18
#include <vector>
19
20
namespace
sbn {
21
22
class
TrackStoppingChi2Alg
{
23
24
public
:
25
26
TrackStoppingChi2Alg
(fhicl::ParameterSet
const
&
p
);
27
28
StoppingChi2Fit
RunFit
(
const
std::vector<float> &dEdxVec,
const
std::vector<float> &resRangeVec)
const
;
29
30
// Prepare dE/dx and residual range vectors for fitting assuming pandora's track direction
31
StoppingChi2Fit
RunFit
(
const
anab::Calorimetry
&
calo
)
const
;
32
33
// Prepare dE/dx and residual range vectors for fitting assuming incoming cosmic hypothesis
34
StoppingChi2Fit
RunFitForCosmicID
(
const
anab::Calorimetry
& calo)
const
;
35
36
private
:
37
38
const
float
fFitRange
,
fMaxdEdx
;
39
const
unsigned
int
fMinHits
;
40
41
sbn::TPCGeoAlg
fTpcGeo
;
42
43
};
44
}
45
46
#endif
sbn::TrackStoppingChi2Alg
Definition:
TrackStoppingChi2Alg.h:22
sbn::TrackStoppingChi2Alg::fTpcGeo
sbn::TPCGeoAlg fTpcGeo
Definition:
TrackStoppingChi2Alg.h:41
sbn::TPCGeoAlg
Definition:
sbncode/sbncode/GeometryTools/TPCGeoAlg.h:36
p
pdgs p
Definition:
selectors.fcl:22
anab::Calorimetry
Definition:
Calorimetry.h:22
calo
process_name can override from command line with o or output calo
Definition:
pid.fcl:40
sbn::StoppingChi2Fit
Definition:
StoppingChi2Fit.h:7
sbn::TrackStoppingChi2Alg::fMaxdEdx
const float fMaxdEdx
Definition:
TrackStoppingChi2Alg.h:38
Calorimetry.h
sbn::TrackStoppingChi2Alg::TrackStoppingChi2Alg
TrackStoppingChi2Alg(fhicl::ParameterSet const &p)
Definition:
TrackStoppingChi2Alg.cc:7
TPCGeoAlg.h
sbn::TrackStoppingChi2Alg::fMinHits
const unsigned int fMinHits
Definition:
TrackStoppingChi2Alg.h:39
sbn::TrackStoppingChi2Alg::fFitRange
const float fFitRange
Definition:
TrackStoppingChi2Alg.h:38
sbn::TrackStoppingChi2Alg::RunFitForCosmicID
StoppingChi2Fit RunFitForCosmicID(const anab::Calorimetry &calo) const
Definition:
TrackStoppingChi2Alg.cc:56
StoppingChi2Fit.h
sbn::TrackStoppingChi2Alg::RunFit
StoppingChi2Fit RunFit(const std::vector< float > &dEdxVec, const std::vector< float > &resRangeVec) const
Definition:
TrackStoppingChi2Alg.cc:14
Generated by
1.8.5