]>
Commit | Line | Data |
---|---|---|
b0f5e3fc | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
b0f5e3fc | 16 | |
17 | #include "AliITSresponseSSD.h" | |
703a4e51 | 18 | ////////////////////////////////////////////////// |
fcf95fc7 | 19 | // Base response class for ITS // |
20 | // It is used to set static data members // | |
21 | // connected to parameters equal for all // | |
22 | // the SSD modules // | |
23 | ////////////////////////////////////////////////// | |
24 | ||
703a4e51 | 25 | |
fcf95fc7 | 26 | const Float_t AliITSresponseSSD::fgkDiffCoeffDefault = 0.; |
703a4e51 | 27 | const TString AliITSresponseSSD::fgkOption1Default = ""; |
28 | const TString AliITSresponseSSD::fgkOption2Default = ""; | |
14a74335 | 29 | const Double_t AliITSresponseSSD::fgkfCouplingPR = 0.01; |
30 | const Double_t AliITSresponseSSD::fgkfCouplingPL = 0.01; | |
31 | const Double_t AliITSresponseSSD::fgkfCouplingNR = 0.01; | |
32 | const Double_t AliITSresponseSSD::fgkfCouplingNL = 0.01; | |
33 | const Int_t AliITSresponseSSD::fgkZSThreshold = 3; | |
34 | ||
b0f5e3fc | 35 | |
6a407881 | 36 | ClassImp(AliITSresponseSSD) |
37 | ||
38 | //______________________________________________________________________ | |
fcf95fc7 | 39 | AliITSresponseSSD::AliITSresponseSSD():AliITSresponse(){ |
9de0700b | 40 | // Default Constructor |
41 | ||
fcf95fc7 | 42 | SetDiffCoeff(fgkDiffCoeffDefault,0.); |
43 | SetParamOptions(fgkOption1Default.Data(),fgkOption2Default.Data()); | |
44 | SetADCpereV(); | |
14a74335 | 45 | SetCouplings(fgkfCouplingPR,fgkfCouplingPL,fgkfCouplingNR,fgkfCouplingNL); |
46 | SetZSThreshold(fgkZSThreshold); | |
b0f5e3fc | 47 | } |
14a74335 | 48 | |
49 | //______________________________________________________________________ | |
50 | AliITSresponseSSD::AliITSresponseSSD(const AliITSresponseSSD &ob) : AliITSresponse(ob) { | |
51 | // Copy constructor | |
52 | // Copies are not allowed. The method is protected to avoid misuse. | |
53 | Error("AliITSresponseSSD","Copy constructor not allowed\n"); | |
54 | } | |
55 | ||
56 | //______________________________________________________________________ | |
57 | AliITSresponseSSD& AliITSresponseSSD::operator=(const AliITSresponseSSD& /* ob */){ | |
58 | // Assignment operator | |
59 | // Assignment is not allowed. The method is protected to avoid misuse. | |
60 | Error("= operator","Assignment operator not allowed\n"); | |
61 | return *this; | |
62 | } | |
63 |