X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=ITS%2FAliITSdcsSSD.h;h=b9c10ca8100343d732b7b2aeb61e5eb50e792bd1;hb=e0fc0305e238341aea4f168618b34a1e3880bed0;hp=17bd003bc7b27afe9179ab2a45da4dd5bf18b74d;hpb=b0f5e3fcf84ecedb50df35ebe629b44bafc15bc0;p=u%2Fmrichter%2FAliRoot.git diff --git a/ITS/AliITSdcsSSD.h b/ITS/AliITSdcsSSD.h index 17bd003bc7b..b9c10ca8100 100644 --- a/ITS/AliITSdcsSSD.h +++ b/ITS/AliITSdcsSSD.h @@ -4,10 +4,6 @@ /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ -#include -#include -#include - //____________________________________________________________________ // // Class AliITSdcsSSD @@ -24,114 +20,77 @@ // ver. 1.0 WARSAW, 23.12.1999 // //___________________________________________________________________ -// +#include +class TArrayS; +class TRandom; class AliITSsegmentation; class AliITSresponse; - class AliITSdcsSSD: public TObject { -public: - - //________________________________________________________________ - // - // Constructors and deconstructor - //________________________________________________________________ - // - - AliITSdcsSSD(AliITSsegmentation *s, AliITSresponse *r); - ~AliITSdcsSSD(); + public: + AliITSdcsSSD(); // Default constructor + // Standard constructor + AliITSdcsSSD(AliITSsegmentation *s, AliITSresponse *r); + virtual ~AliITSdcsSSD(); // Destructor AliITSdcsSSD(const AliITSdcsSSD &source); // copy constructor AliITSdcsSSD& operator=(const AliITSdcsSSD &source); // assignment operator - //________________________________________________________________ // // Invalid strips management methods //________________________________________________________________ - // - // Parameters for invalid strips MonteCarlo - void SetInvalidParam(Float_t mean, Float_t sigma); - void GetInvalidParam(Float_t &mean, Float_t &sigma); - - + void GetInvalidParam(Float_t &mean, Float_t &sigma); // Methods for creating invalid strips - void SetInvalidMC(Float_t mean, Float_t sigma); void SetInvalidMC(); - - // Testing if strip is valid - Bool_t IsValidN(Int_t strip); //True if strip works properly - Bool_t IsValidP(Int_t strip); //True if strip works properly - - + Bool_t IsValidP(Int_t strip); //True if strip works properly // Access to invalid strips - TArrayS *GetInvalidP(); //Array of invalid P strips TArrayS *GetInvalidN(); //Array of invalid N strips Int_t GetNInvalidP(); //Number of invalid P strips - Int_t GetNInvalidN(); //Number of invalid N strips - - + Int_t GetNInvalidN(); //Number of invalid N strips // Creating invalid strips - - void SetInvalidP(Int_t strip, Bool_t side){ - //Set invalid if true + void SetInvalidP(Int_t strip, Bool_t side){//Set invalid if true } - - void SetInvalidN(Int_t strip, Bool_t side){ - //Set invalid if true + void SetInvalidN(Int_t strip, Bool_t side){//Set invalid if true } - - Float_t GetCouplingPR() { - // couplings + Float_t GetCouplingPR() {// couplings return fCouplingPR; } - - Float_t GetCouplingPL() { - // couplings + Float_t GetCouplingPL() {// couplings return fCouplingPL; } - - Float_t GetCouplingNR() { - // couplings + Float_t GetCouplingNR() {// couplings return fCouplingNR; } - - Float_t GetCouplingNL() { - // couplings + Float_t GetCouplingNL() {// couplings return fCouplingNL; } - protected: - + protected: //_____________________________________________ // // Parameters for invalid strips simulatation - //_____________________________________________ - + //_____________________________________________ Float_t fCouplingPR; // couplings Float_t fCouplingPL; // couplings Float_t fCouplingNR; // couplings Float_t fCouplingNL; // couplings - Float_t fNstrips ; //Number of strips - Float_t fNInvalid; //Mean number of invalid strips (for simulation) - Float_t fISigma; //RMS of invalid strips (Gaussian) + Float_t fNstrips; //Number of strips + Float_t fNInvalid; //Mean number of invalid strips (for simulation) + Float_t fISigma; //RMS of invalid strips (Gaussian) - TArrayS *fInvalidP; //Array of invalid strips on P-side - TArrayS *fInvalidN; //Array of invalid strips on N-side - - TRandom *fRandom; //!Random numbers generator + TArrayS *fInvalidP; //Array of invalid strips on P-side + TArrayS *fInvalidN; //Array of invalid strips on N-side ClassDef(AliITSdcsSSD, 1) // ITS SSD DCS specific class }; - - #endif