4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //____________________________________________________________________
10 // describes Detector Control System parameters for one SSD module.
12 // This class stores parametrers such as gain, threshold
13 // capacitive coupling.
15 // Class takes care of invalid strip menagement during
16 // simulation and runtime
19 // created at: Warsaw University of Technology
20 // ver. 1.0 WARSAW, 23.12.1999
22 //___________________________________________________________________
29 class AliITSsegmentation;
33 class AliITSdcsSSD: public TObject {
37 //________________________________________________________________
39 // Constructors and deconstructor
40 //________________________________________________________________
43 AliITSdcsSSD(AliITSsegmentation *s, AliITSresponse *r);
45 AliITSdcsSSD(const AliITSdcsSSD &source); // copy constructor
46 AliITSdcsSSD& operator=(const AliITSdcsSSD &source); // assignment operator
48 //________________________________________________________________
50 // Invalid strips management methods
51 //________________________________________________________________
54 // Parameters for invalid strips MonteCarlo
56 void SetInvalidParam(Float_t mean, Float_t sigma);
57 void GetInvalidParam(Float_t &mean, Float_t &sigma);
60 // Methods for creating invalid strips
62 void SetInvalidMC(Float_t mean, Float_t sigma);
66 // Testing if strip is valid
68 Bool_t IsValidN(Int_t strip); //True if strip works properly
69 Bool_t IsValidP(Int_t strip); //True if strip works properly
72 // Access to invalid strips
74 TArrayS *GetInvalidP(); //Array of invalid P strips
75 TArrayS *GetInvalidN(); //Array of invalid N strips
76 Int_t GetNInvalidP(); //Number of invalid P strips
77 Int_t GetNInvalidN(); //Number of invalid N strips
80 // Creating invalid strips
82 void SetInvalidP(Int_t strip, Bool_t side){
86 void SetInvalidN(Int_t strip, Bool_t side){
90 Float_t GetCouplingPR() {
95 Float_t GetCouplingPL() {
100 Float_t GetCouplingNR() {
105 Float_t GetCouplingNL() {
112 //_____________________________________________
114 // Parameters for invalid strips simulatation
115 //_____________________________________________
117 Float_t fCouplingPR; // couplings
118 Float_t fCouplingPL; // couplings
119 Float_t fCouplingNR; // couplings
120 Float_t fCouplingNL; // couplings
122 Float_t fNstrips ; //Number of strips
123 Float_t fNInvalid; //Mean number of invalid strips (for simulation)
124 Float_t fISigma; //RMS of invalid strips (Gaussian)
126 TArrayS *fInvalidP; //Array of invalid strips on P-side
127 TArrayS *fInvalidN; //Array of invalid strips on N-side
129 TRandom *fRandom; //!Random numbers generator
131 ClassDef(AliITSdcsSSD, 1) // ITS SSD DCS specific class