EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GFDafHit.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file GFDafHit.h
1
/* Copyright 2008-2010, Technische Universitaet Muenchen,
2
Authors: Christian Hoeppner & Sebastian Neubert
3
4
This file is part of GENFIT.
5
6
GENFIT is free software: you can redistribute it and/or modify
7
it under the terms of the GNU Lesser General Public License as published
8
by the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
GENFIT is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU Lesser General Public License for more details.
15
16
You should have received a copy of the GNU Lesser General Public License
17
along with GENFIT. If not, see <http://www.gnu.org/licenses/>.
18
*/
23
#ifndef GFDAFHIT_H
24
#define GFDAFHIT_H
25
26
#include<cmath>
27
#include<
GFAbsRecoHit.h
>
28
#include<
GFAbsTrackRep.h
>
29
#include<
GFDetPlane.h
>
30
#include<
GFTools.h
>
31
#include<stdlib.h>
32
#include<vector>
33
40
class
GFDafHit
:
public
GFAbsRecoHit
{
41
public
:
42
43
GFDafHit
(){};
44
45
~GFDafHit
(){
fRawHits
.clear(); };
46
52
GFDafHit
(std::vector<GFAbsRecoHit*> HitsInPlane);
53
85
void
getMeasurement
(
const
GFAbsTrackRep
* rep,
const
GFDetPlane
& pl,
const
TMatrixT<double>& statePred,
const
TMatrixT<double>& covPred,TMatrixT<double>&
m
, TMatrixT<double>& V);
86
92
TMatrixT<double>
getHMatrix
(
const
GFAbsTrackRep
* rep);
93
94
GFDafHit
*
clone
();
95
101
const
GFDetPlane
&
getDetPlane
(
GFAbsTrackRep
* rep);
102
107
void
setWeights
(std::vector<double> weights);
108
111
unsigned
int
getNumHits
() {
return
fRawHits
.size(); };
112
115
GFAbsRecoHit
*
getHit
(
unsigned
int
ihit
);
116
122
const
std::string&
getPolicyName
();
123
124
private
:
125
bool
fHitUpd
;
126
GFDetPlane
fPl
;
127
std::vector<TMatrixT<double> >
fCovInvs
;
128
std::vector<GFAbsRecoHit*>
fRawHits
;
129
std::vector<double>
fWeights
;
130
131
public
:
132
ClassDef(
GFDafHit
,2)
133
134
};
135
#endif
136
EicRoot
blob
master
genfit
GFDafHit.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:36
using
1.8.2 with
EIC GitHub integration