BmnRoot
Loading...
Searching...
No Matches
CbmStsSenzor.h
Go to the documentation of this file.
1
9#ifndef CBMSTSSENZOR_H
10#define CBMSTSSENZOR_H 1
11
12
13#include "TGeoPhysicalNode.h"
14#include "TNamed.h"
15
16#include "CbmStsAddress.h"
17
18
19class CbmStsModule;
20class CbmStsPoint;
22
23
33class CbmStsSenzor : public TNamed
34{
35
36 public:
37
40
41
43 virtual ~CbmStsSenzor() { };
44
45
47 UInt_t GetAddress() const { return fAddress; }
48
49
51 CbmStsModule* GetModule() const { return fModule; }
52
53
55 Int_t GetSensorId() const {
57 }
58
59
61 CbmStsSensorType* GetType() const { return fType; }
62
63
69 void ProcessPoint(CbmStsPoint* point) const;
70
71
75 void SetAddress(UInt_t address) { fAddress = address; }
76
77
81 void SetModule(CbmStsModule* module) { fModule = module; }
82
83
84 private:
85
86 UInt_t fAddress;
87 TGeoPhysicalNode* fNode;
88 CbmStsSensorType* fType;
89 CbmStsModule* fModule;
90
91
93 CbmStsSenzor& operator=(const CbmStsSenzor&);
94
95 ClassDef(CbmStsSenzor,1);
96
97};
98
99
100
101
102#endif
@ kStsSensor
Sensor.
static Int_t GetElementId(UInt_t address, Int_t level)
Class representing an instance of a readout unit in the CBM-STS.
Abstract base class for description of the functional behaviour of sensors in the STS.
Class representing an instance of a sensor in the CBM-STS.
void SetModule(CbmStsModule *module)
void ProcessPoint(CbmStsPoint *point) const
CbmStsSensorType * GetType() const
UInt_t GetAddress() const
Int_t GetSensorId() const
void SetAddress(UInt_t address)
virtual ~CbmStsSenzor()
CbmStsModule * GetModule() const