FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
tracking
ftscatracking
code
KFParticle
KFPTopoReconstructor.h
Go to the documentation of this file.
1
#ifndef KFPTopoReconstructor_H
2
#define KFPTopoReconstructor_H
3
4
/*
5
* Class for Event Topology Reconstructing
6
*/
7
8
#include "
KFVertex.h
"
9
#include "assert.h"
10
11
#include "
KFPTrack.h
"
12
#include <vector>
13
using
std::vector;
14
15
class
KFParticle
;
16
17
class
KFPTopoReconstructor
{
18
public
:
19
KFPTopoReconstructor
(){};
20
~KFPTopoReconstructor
(){};
21
22
void
Init
(vector<KFPTrack> &tracks,
int
nParticles);
// init array of particles
23
24
void
ReconstructPrimVertex
();
// find primary vertex
25
27
KFParticle
&
GetPrimVertex
() { assert(
fPrimVertices
.size() > 0 );
return
fPrimVertices
[0]; };
28
KFParticle
&
GetParticle
(
int
i
){ assert( i <
fNParticles
);
return
fParticles
[
i
]; };
29
30
private
:
31
KFPTopoReconstructor
&
operator=
(
KFPTopoReconstructor
&);
32
KFPTopoReconstructor
(
KFPTopoReconstructor
&);
33
34
void
FindPrimaryClusters
();
35
36
vector<KFParticle>
fParticles
;
// input particles
37
int
fNParticles
;
// number of input particles
38
39
struct
KFParticleCluster
{
40
vector<short int>
fCluster
;
41
float
fP
[3];
42
float
fC
[6];
43
};
44
45
vector< KFParticleCluster >
fClusters
;
46
vector<KFVertex>
fPrimVertices
;
// created primary vertex(-es) (currently only one primary vertex in possible
47
};
// class KFPTopoReconstructor
48
49
50
#endif // KFPTopoReconstructor_H
51
KFPTopoReconstructor::operator=
KFPTopoReconstructor & operator=(KFPTopoReconstructor &)
KFPTopoReconstructor::GetPrimVertex
KFParticle & GetPrimVertex()
Accessors.
Definition:
KFPTopoReconstructor.h:27
KFPTopoReconstructor::Init
void Init(vector< KFPTrack > &tracks, int nParticles)
Definition:
KFPTopoReconstructor.cxx:30
i
Int_t i
Definition:
run_full.C:25
KFPTopoReconstructor::~KFPTopoReconstructor
~KFPTopoReconstructor()
Definition:
KFPTopoReconstructor.h:20
KFPTopoReconstructor::KFParticleCluster::fP
float fP[3]
Definition:
KFPTopoReconstructor.h:41
KFPTrack.h
KFPTopoReconstructor::fNParticles
int fNParticles
Definition:
KFPTopoReconstructor.h:37
KFPTopoReconstructor::KFPTopoReconstructor
KFPTopoReconstructor()
Definition:
KFPTopoReconstructor.h:19
KFPTopoReconstructor::KFParticleCluster
Definition:
KFPTopoReconstructor.h:39
KFVertex.h
KFParticle
Definition:
KFParticle.h:38
KFPTopoReconstructor::KFParticleCluster::fC
float fC[6]
Definition:
KFPTopoReconstructor.h:42
KFPTopoReconstructor::ReconstructPrimVertex
void ReconstructPrimVertex()
Definition:
KFPTopoReconstructor.cxx:214
KFPTopoReconstructor::KFParticleCluster::fCluster
vector< short int > fCluster
Definition:
KFPTopoReconstructor.h:40
KFPTopoReconstructor
Definition:
KFPTopoReconstructor.h:17
KFPTopoReconstructor::fClusters
vector< KFParticleCluster > fClusters
Definition:
KFPTopoReconstructor.h:45
KFPTopoReconstructor::fPrimVertices
vector< KFVertex > fPrimVertices
Definition:
KFPTopoReconstructor.h:46
KFPTopoReconstructor::GetParticle
KFParticle & GetParticle(int i)
Definition:
KFPTopoReconstructor.h:28
KFPTopoReconstructor::fParticles
vector< KFParticle > fParticles
Definition:
KFPTopoReconstructor.h:36
KFPTopoReconstructor::FindPrimaryClusters
void FindPrimaryClusters()
Definition:
KFPTopoReconstructor.cxx:53
Generated on Sun Aug 18 2019 03:01:14 for FairRoot/PandaRoot by
1.8.8