GENFIT Rev: NoNumberAvailable
Loading...
Searching...
No Matches
mySpacepointMeasurement.h
Go to the documentation of this file.
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
24#include "TrackCandHit.h"
26
27
28namespace genfit {
29
37
38 public:
39
43
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};
61
62
63} /* End of namespace genfit */
64
65#endif // genfit_mySpacepointMeasurement_h
Hit object for use in TrackCand. Provides IDs and sorting parameters.
Example class for a spacepoint detector hit.
Example class for a spacepoint measurement which can be created from mySpacepointDetectorHit via the ...
virtual mySpacepointMeasurement * clone() const
Deep copy ctor for polymorphic class.
mySpacepointMeasurement(const mySpacepointDetectorHit *detHit, const TrackCandHit *hit)
Defines for I/O streams used for error and debug printing.