BmnRoot
Loading...
Searching...
No Matches
CbmStsStationDigiPar.cxx
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- CbmStsStationDigiPar source file -----
3// ----- Created 28/06/05 by V. Friese -----
4// -------------------------------------------------------------------------
5
6
8
9#include "TMath.h"
10
11// ----- Default constructor -------------------------------------------
13: fStationNr(-1),
14 fRotation(0.),
15 fSectors()
16{
17 fSectors = new TObjArray();
18}
19// -------------------------------------------------------------------------
20
21
22
23// ----- Standard constructor ------------------------------------------
25 Double_t rotation)
26: fStationNr(-1),
27 fRotation(0.),
28 fSectors()
29{
30 fStationNr = stationNr;
31 fRotation = rotation * TMath::Pi() / 180.;
32 fSectors = new TObjArray();
33}
34// -------------------------------------------------------------------------
35
36
37
38// ----- Destructor ----------------------------------------------------
40 if ( fSectors) {
41 fSectors->Delete();
42 delete fSectors;
43 }
44}
45// -------------------------------------------------------------------------