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
mySpacepointMeasurement.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file mySpacepointMeasurement.h
1
/* Copyright 2008-2010, Technische Universitaet Muenchen,
2
Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
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
*/
19
20
#ifndef genfit_mySpacepointMeasurement_h
21
#define genfit_mySpacepointMeasurement_h
22
23
#include "SpacepointMeasurement.h"
24
#include "
TrackCandHit.h
"
25
#include "
mySpacepointDetectorHit.h
"
26
27
28
namespace
genfit {
29
36
class
mySpacepointMeasurement
:
public
SpacepointMeasurement
{
37
38
public
:
39
41
mySpacepointMeasurement
() :
42
SpacepointMeasurement
() {;}
43
44
mySpacepointMeasurement
(
const
mySpacepointDetectorHit
* detHit,
const
TrackCandHit
* hit) :
45
SpacepointMeasurement
()
46
{
47
rawHitCoords_
(0) = detHit->
getPos
()(0);
48
rawHitCoords_
(1) = detHit->
getPos
()(1);
49
rawHitCoords_
(2) = detHit->
getPos
()(2);
50
rawHitCov_
= detHit->
getCov
();
51
detId_
= hit->
getDetId
();
52
hitId_
= hit->
getHitId
();
53
54
this
->
initG
();
55
}
56
57
virtual
mySpacepointMeasurement
*
clone
()
const
{
return
new
mySpacepointMeasurement
(*
this
);}
58
59
ClassDef(
mySpacepointMeasurement
,1)
60
};
63
}
/* End of namespace genfit */
64
65
#endif // genfit_mySpacepointMeasurement_h
fun4all_GenFit
blob
master
utilities
include
mySpacepointMeasurement.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:54
using
1.8.2 with
EIC GitHub integration