LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
VertexAssnMeta.h
Go to the documentation of this file.
1
#ifndef VERTEXASSNMETA_H
2
#define VERTEXASSNMETA_H
3
4
namespace
recob
{
5
22
class
VertexAssnMeta
{
23
public
:
24
enum
VertexAssnStatus
{
Undefined
,
NotUsedInFit
,
RejectedByFit
,
IncludedInFit
};
25
VertexAssnMeta
() {
status_
=
Undefined
; }
26
VertexAssnMeta
(
float
pD,
float
iP,
float
iPErr,
float
c2
,
VertexAssnStatus
st)
27
:
propDist_
(pD),
impactParam_
(iP),
impactParamErr_
(iPErr),
chi2_
(c2),
status_
(st)
28
{}
29
float
propDist
()
const
{
return
propDist_
; }
30
float
impactParam
()
const
{
return
impactParam_
; }
31
float
impactParamErr
()
const
{
return
impactParamErr_
; }
32
float
impactParamSig
()
const
{
return
impactParam_
/
impactParamErr_
; }
33
float
chi2
()
const
{
return
chi2_
; }
34
VertexAssnStatus
status
()
const
{
return
status_
; }
35
void
updateStatus
(
const
VertexAssnStatus
& newstatus) {
status_
= newstatus; }
36
37
private
:
38
float
propDist_
;
39
float
impactParam_
;
40
float
impactParamErr_
;
41
float
chi2_
;
42
VertexAssnStatus
status_
;
43
};
44
45
}
46
47
#endif
recob::VertexAssnMeta::NotUsedInFit
Definition:
VertexAssnMeta.h:24
recob::VertexAssnMeta::updateStatus
void updateStatus(const VertexAssnStatus &newstatus)
Definition:
VertexAssnMeta.h:35
recob
Reconstruction base classes.
Definition:
FlashHypothesisCreator.h:18
recob::VertexAssnMeta::propDist
float propDist() const
Definition:
VertexAssnMeta.h:29
recob::VertexAssnMeta::impactParam_
float impactParam_
Definition:
VertexAssnMeta.h:39
recob::VertexAssnMeta::RejectedByFit
Definition:
VertexAssnMeta.h:24
recob::VertexAssnMeta::VertexAssnMeta
VertexAssnMeta()
Definition:
VertexAssnMeta.h:25
recob::VertexAssnMeta::impactParamSig
float impactParamSig() const
Definition:
VertexAssnMeta.h:32
recob::VertexAssnMeta::chi2
float chi2() const
Definition:
VertexAssnMeta.h:33
recob::VertexAssnMeta::impactParamErr_
float impactParamErr_
Definition:
VertexAssnMeta.h:40
recob::VertexAssnMeta::VertexAssnStatus
VertexAssnStatus
Definition:
VertexAssnMeta.h:24
recob::VertexAssnMeta::impactParamErr
float impactParamErr() const
Definition:
VertexAssnMeta.h:31
recob::VertexAssnMeta::IncludedInFit
Definition:
VertexAssnMeta.h:24
c2
TCanvas * c2
Definition:
plot_hist.C:75
recob::VertexAssnMeta
Class storing the meta-data for track-vertex association: status, propagation distance, impact parameter, impact parameter error, chi2.
Definition:
VertexAssnMeta.h:22
recob::VertexAssnMeta::VertexAssnMeta
VertexAssnMeta(float pD, float iP, float iPErr, float c2, VertexAssnStatus st)
Definition:
VertexAssnMeta.h:26
recob::VertexAssnMeta::impactParam
float impactParam() const
Definition:
VertexAssnMeta.h:30
recob::VertexAssnMeta::status_
VertexAssnStatus status_
Definition:
VertexAssnMeta.h:42
recob::VertexAssnMeta::chi2_
float chi2_
Definition:
VertexAssnMeta.h:41
recob::VertexAssnMeta::status
VertexAssnStatus status() const
Definition:
VertexAssnMeta.h:34
recob::VertexAssnMeta::Undefined
Definition:
VertexAssnMeta.h:24
recob::VertexAssnMeta::propDist_
float propDist_
Definition:
VertexAssnMeta.h:38
lardataobj
v09_18_03
source
lardataobj
RecoBase
VertexAssnMeta.h
Generated on Thu May 2 2024 20:59:38 for LArSoft by
1.8.11