Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
lardataobj
lardataobj
RecoBase
VertexAssnMeta.h
Go to the documentation of this file.
1
#ifndef VERTEXASSNMETA_H
2
#define VERTEXASSNMETA_H
3
4
namespace
recob
{
5
6
/**
7
* @file lardataobj/RecoBase/VertexAssnMeta.h
8
* @class recob::VertexAssnMeta
9
*
10
* @brief Class storing the meta-data for track-vertex association: status, propagation distance, impact parameter, impact parameter error, chi2.
11
*
12
* The status is meant to describe if and how the track was used in the vertex fit.
13
* The values of the parameters (propagation distance, impact parameter, impact parameter error, chi2) should be computed in an unbiased way,
14
* i.e. with respect to the vertex re-fitted without using the specific associated track.
15
* A method is also provided to retrieve the impact parameter significance.
16
*
17
* @author G. Cerati (FNAL, MicroBooNE)
18
* @date 2017
19
* @version 1.0
20
*/
21
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
float
propDist
()
const
{
return
propDist_
; }
29
float
impactParam
()
const
{
return
impactParam_
; }
30
float
impactParamErr
()
const
{
return
impactParamErr_
; }
31
float
impactParamSig
()
const
{
return
impactParam_
/
impactParamErr_
; }
32
float
chi2
()
const
{
return
chi2_
; }
33
VertexAssnStatus
status
()
const
{
return
status_
; }
34
void
updateStatus
(
const
VertexAssnStatus
& newstatus) {
status_
= newstatus; }
35
private
:
36
float
propDist_
;
37
float
impactParam_
;
38
float
impactParamErr_
;
39
float
chi2_
;
40
VertexAssnStatus
status_
;
41
};
42
43
}
44
45
#endif
recob::VertexAssnMeta::NotUsedInFit
Definition:
VertexAssnMeta.h:24
recob::VertexAssnMeta::updateStatus
void updateStatus(const VertexAssnStatus &newstatus)
Definition:
VertexAssnMeta.h:34
recob
Reconstruction base classes.
Definition:
AdcChannelData.h:91
recob::VertexAssnMeta::propDist
float propDist() const
Definition:
VertexAssnMeta.h:28
recob::VertexAssnMeta::impactParam_
float impactParam_
Definition:
VertexAssnMeta.h:37
recob::VertexAssnMeta::RejectedByFit
Definition:
VertexAssnMeta.h:24
recob::VertexAssnMeta::VertexAssnMeta
VertexAssnMeta()
Definition:
VertexAssnMeta.h:25
recob::VertexAssnMeta::impactParamSig
float impactParamSig() const
Definition:
VertexAssnMeta.h:31
recob::VertexAssnMeta::chi2
float chi2() const
Definition:
VertexAssnMeta.h:32
recob::VertexAssnMeta::impactParamErr_
float impactParamErr_
Definition:
VertexAssnMeta.h:38
recob::VertexAssnMeta::VertexAssnStatus
VertexAssnStatus
Definition:
VertexAssnMeta.h:24
recob::VertexAssnMeta::impactParamErr
float impactParamErr() const
Definition:
VertexAssnMeta.h:30
recob::VertexAssnMeta::IncludedInFit
Definition:
VertexAssnMeta.h:24
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:29
recob::VertexAssnMeta::status_
VertexAssnStatus status_
Definition:
VertexAssnMeta.h:40
recob::VertexAssnMeta::chi2_
float chi2_
Definition:
VertexAssnMeta.h:39
recob::VertexAssnMeta::status
VertexAssnStatus status() const
Definition:
VertexAssnMeta.h:33
recob::VertexAssnMeta::Undefined
Definition:
VertexAssnMeta.h:24
recob::VertexAssnMeta::propDist_
float propDist_
Definition:
VertexAssnMeta.h:36
Generated by
1.8.11