ATTPCROOT  0.3.0-alpha
A ROOT-based framework for analyzing data from active target detectors
AtSpacePointMeasurement.h
Go to the documentation of this file.
1 /* Copyright 2008-2010, Technische Universitaet Muenchen,
2  Authors: Christian Hoeppner & Sebastian Neubert & Johannes Rauch
3  This file is part of GENFIT.
4  GENFIT is free software: you can redistribute it and/or modify
5  it under the terms of the GNU Lesser General Public License as published
6  by the Free Software Foundation, either version 3 of the License, or
7  (at your option) any later version.
8  GENFIT is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU Lesser General Public License for more details.
12  You should have received a copy of the GNU Lesser General Public License
13  along with GENFIT. If not, see <http://www.gnu.org/licenses/>.
14 */
15 
16 // Modified for SpiRITROOT by Genie Jhang (2015/06/15)
17 // Adapted to ATTPCROOTv2 Yassid Ayyad (03/17/2021) ayyadlim@frib.msu.edu
18 
19 #ifndef ATSPACEPOINTMEASUREMENT
20 #define ATSPACEPOINTMEASUREMENT
21 
22 #include <Rtypes.h>
23 
24 #include "SpacepointMeasurement.h"
25 
26 class AtHitCluster;
27 class TBuffer;
28 class TClass;
29 class TMemberInspector;
30 
31 namespace genfit {
32 class AbsMeasurement;
33 class TrackCandHit;
34 
42 class AtSpacepointMeasurement : public SpacepointMeasurement {
43 public:
45  AtSpacepointMeasurement(const AtHitCluster *detHit, const TrackCandHit *hit);
46 
47  virtual AbsMeasurement *clone() const;
48 
49  Double_t GetCharge();
50 
51 private:
52  Double_t fCharge{};
53 
54  ClassDef(AtSpacepointMeasurement, 1)
55 };
56 
57 } /* End of namespace genfit */
58 
59 #endif
genfit::AtSpacepointMeasurement
Class for a spacepoint measurement which can be created from STHitCluster via the MeasurementFactory.
Definition: AtSpacePointMeasurement.h:42
genfit::AtSpacepointMeasurement::AtSpacepointMeasurement
AtSpacepointMeasurement(const AtHitCluster *detHit, const TrackCandHit *hit)
AtHitCluster
: Class representing a cluster of hits that arise from the same deposition of charge in space....
Definition: AtHitCluster.h:37
genfit
Definition: AtFitter.h:20
genfit::AtSpacepointMeasurement::clone
virtual AbsMeasurement * clone() const
genfit::AtSpacepointMeasurement::AtSpacepointMeasurement
AtSpacepointMeasurement()
genfit::AtSpacepointMeasurement::GetCharge
Double_t GetCharge()