BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmStsSectorDigiPar.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- CbmStsSectorDigiPar header file -----
3// ----- Created 27/06/05 by V. Friese -----
4// -------------------------------------------------------------------------
5
6/** CbmStsSectorDigiPar.h
7 *@author V.Friese <v.friese@gsi.de>
8 **
9 ** Parameter container for the digitisation of a sector of a STS
10 ** strip station.
11 ** Supports the following digitisation types:
12 ** 1 = hybrid pixel
13 ** 2 = strip, readout of all strips
14 ** 3 = strip, readout at bottom corner, double metal layer
15 ** Coordinates and rot. angle are in the global coordinate system.
16 ** In the internal coordinate system, x is across the front side strips
17 ** and y along the front side strips. Irrelevant for pixel detectors.
18 ** Angles are stored and accessed in radians, but must be given in
19 ** degrees in the constructor.
20 **/
21
22#ifndef CBMSTSSECTORDIGIPAR_H
23#define CBMSTSSECTORDIGIPAR_H 1
24
25#include "CbmStsSensorDigiPar.h"
26#include "TObjArray.h"
27
29{
30
31 public:
32 /** Default constructor **/
34
35 /** Standard constructor. For the parameters, see description of
36 ** private data members. Angles must be given in radians. **/
38
39 /** Destructor **/
40 virtual ~CbmStsSectorDigiPar();
41
42 /** Accessors. See private data members for description **/
43 Int_t GetSectorNr() const { return fSectorNr; }
44
45 /** Accessors **/
47 Int_t GetNSensors() { return fSensors->GetEntries(); }
49 CbmStsSensorDigiPar* GetSensor(Int_t iSensor) { return (CbmStsSensorDigiPar*)fSensors->At(iSensor); }
50
51 /** Add parameters of one sensor **/
52 void AddSensor(CbmStsSensorDigiPar* sen) { fSensors->Add(sen); }
53
54 private:
55 /** Sector number in station **/
57 TObjArray* fSensors; // Array of sensor parameters
58
61
63};
64
65#endif
int Int_t
#define ClassDef(name, id)
void AddSensor(CbmStsSensorDigiPar *sen)
Add parameters of one sensor.
Int_t GetSectorNr() const
Accessors.
virtual ~CbmStsSectorDigiPar()
Destructor.
Int_t fSectorNr
Sector number in station.
CbmStsSectorDigiPar operator=(const CbmStsSectorDigiPar &)
CbmStsSensorDigiPar * GetSensor(Int_t iSensor)
CbmStsSectorDigiPar()
Default constructor.
Int_t GetSectorNr()
Accessors.
CbmStsSectorDigiPar(const CbmStsSectorDigiPar &)
CbmStsSensorDigiPar.h.