BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmStsSensorPoint.h
Go to the documentation of this file.
1/** @file CbmStsSensorPoint.h
2 ** @author Volker Friese <v.friese@gsi.de>
3 ** @date 08.05.2013
4 **/
5
6#ifndef CBMSTSSENSORPOINT_H
7#define CBMSTSSENSORPOINT_H 1
8
9#include "Rtypes.h"
10
11/** @class CbmStsSensorPoint
12 ** @brief Container class for a local point in a STS sensor
13 ** @author V.Friese <v.friese@gsi.de>
14 ** @version 1.0
15 **
16 ** Stores parameters needed for digitisation in the sensor C.S.
17 **/
18
20{
21
22 public:
23 /** Default constructor **/
25
26 /** Constructor with parameters
27 ** @param x1,y1 Entry coordinates in local C.S. [cm]
28 ** @param x2,y2 Exit coordinates in local C.S. [cm]
29 ** @param eLoss Energy deposit [GeV]
30 ** @param time Time [ns]
31 **/
33
34 /** Destructor **/
35 virtual ~CbmStsSensorPoint();
36
37 /** Accessors **/
38 Double_t GetX1() const { return fX1; }
39 Double_t GetY1() const { return fY1; }
40 Double_t GetX2() const { return fX2; }
41 Double_t GetY2() const { return fY2; }
42 Double_t GetELoss() const { return fELoss; }
43 Double_t GetTime() const { return fTime; }
44
45 private:
46 Double_t fX1; ///< Entry point x [cm]
47 Double_t fY1; ///< Entry point y [cm]
48 Double_t fX2; ///< Exit point x [cm]
49 Double_t fY2; ///< Exit point y [cm]
50 Double_t fELoss; ///< Energy deposit [GeV]
51 Double_t fTime; ///< Time [ns]
52
54};
55
56#endif /* CBMSTSSENSORPOINT_H */
double Double_t
#define ClassDef(name, id)
Double_t fY2
Exit point y [cm].
Double_t GetY2() const
Double_t fX2
Exit point x [cm].
Double_t GetY1() const
CbmStsSensorPoint()
Default constructor.
Double_t GetX1() const
Accessors.
virtual ~CbmStsSensorPoint()
Destructor.
Double_t fTime
Time [ns].
Double_t fX1
Entry point x [cm].
Double_t GetX2() const
Double_t fY1
Entry point y [cm].
Double_t GetTime() const
Double_t fELoss
Energy deposit [GeV].
Double_t GetELoss() const