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;
34 class AliITSdcsSSD: public TObject {
38 //________________________________________________________________
40 // Constructors and deconstructor
41 //________________________________________________________________
44 AliITSdcsSSD(AliITSsegmentation *s, AliITSresponse *r);
45 virtual ~AliITSdcsSSD();
46 AliITSdcsSSD(const AliITSdcsSSD &source); // copy constructor
47 AliITSdcsSSD& operator=(const AliITSdcsSSD &source); // assignment operator
49 //________________________________________________________________
51 // Invalid strips management methods
52 //________________________________________________________________
55 // Parameters for invalid strips MonteCarlo
57 void SetInvalidParam(Float_t mean, Float_t sigma);
58 void GetInvalidParam(Float_t &mean, Float_t &sigma);
61 // Methods for creating invalid strips
63 void SetInvalidMC(Float_t mean, Float_t sigma);
67 // Testing if strip is valid
69 Bool_t IsValidN(Int_t strip); //True if strip works properly
70 Bool_t IsValidP(Int_t strip); //True if strip works properly
73 // Access to invalid strips
75 TArrayS *GetInvalidP(); //Array of invalid P strips
76 TArrayS *GetInvalidN(); //Array of invalid N strips
77 Int_t GetNInvalidP(); //Number of invalid P strips
78 Int_t GetNInvalidN(); //Number of invalid N strips
81 // Creating invalid strips
83 void SetInvalidP(Int_t strip, Bool_t side){
87 void SetInvalidN(Int_t strip, Bool_t side){
91 Float_t GetCouplingPR() {
96 Float_t GetCouplingPL() {
101 Float_t GetCouplingNR() {
106 Float_t GetCouplingNL() {
113 //_____________________________________________
115 // Parameters for invalid strips simulatation
116 //_____________________________________________
118 Float_t fCouplingPR; // couplings
119 Float_t fCouplingPL; // couplings
120 Float_t fCouplingNR; // couplings
121 Float_t fCouplingNL; // couplings
123 Float_t fNstrips ; //Number of strips
124 Float_t fNInvalid; //Mean number of invalid strips (for simulation)
125 Float_t fISigma; //RMS of invalid strips (Gaussian)
127 TArrayS *fInvalidP; //Array of invalid strips on P-side
128 TArrayS *fInvalidN; //Array of invalid strips on N-side
130 TRandom *fRandom; //!Random numbers generator
132 ClassDef(AliITSdcsSSD, 1) // ITS SSD DCS specific class