]>
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.; |
14a74335 | 27 | const Double_t AliITSresponseSSD::fgkfCouplingPR = 0.01; |
28 | const Double_t AliITSresponseSSD::fgkfCouplingPL = 0.01; | |
29 | const Double_t AliITSresponseSSD::fgkfCouplingNR = 0.01; | |
30 | const Double_t AliITSresponseSSD::fgkfCouplingNL = 0.01; | |
31 | const Int_t AliITSresponseSSD::fgkZSThreshold = 3; | |
32 | ||
b0f5e3fc | 33 | |
6a407881 | 34 | ClassImp(AliITSresponseSSD) |
35 | ||
36 | //______________________________________________________________________ | |
e56160b8 | 37 | AliITSresponseSSD::AliITSresponseSSD():AliITSresponse(), |
38 | fADCpereV(0), | |
9acf2ecc | 39 | fKeVperADC(0), |
e56160b8 | 40 | fCouplingPR(0), |
41 | fCouplingPL(0), | |
42 | fCouplingNR(0), | |
43 | fCouplingNL(9), | |
10add0d4 | 44 | fZSThreshold(0){ |
9de0700b | 45 | // Default Constructor |
46 | ||
fcf95fc7 | 47 | SetDiffCoeff(fgkDiffCoeffDefault,0.); |
fcf95fc7 | 48 | SetADCpereV(); |
9acf2ecc | 49 | SetKeVperADC(); |
14a74335 | 50 | SetCouplings(fgkfCouplingPR,fgkfCouplingPL,fgkfCouplingNR,fgkfCouplingNL); |
51 | SetZSThreshold(fgkZSThreshold); | |
b0f5e3fc | 52 | } |
14a74335 | 53 | |
54 | //______________________________________________________________________ | |
e56160b8 | 55 | AliITSresponseSSD::AliITSresponseSSD(const AliITSresponseSSD &ob) : AliITSresponse(ob), |
56 | fADCpereV(ob.fADCpereV), | |
9acf2ecc | 57 | fKeVperADC(ob.fKeVperADC), |
e56160b8 | 58 | fCouplingPR(ob.fCouplingPR), |
59 | fCouplingPL(ob.fCouplingPL), | |
60 | fCouplingNR(ob.fCouplingNR), | |
61 | fCouplingNL(ob.fCouplingNL), | |
10add0d4 | 62 | fZSThreshold(ob.fZSThreshold){ |
14a74335 | 63 | // Copy constructor |
e56160b8 | 64 | |
14a74335 | 65 | } |
66 | ||
67 | //______________________________________________________________________ | |
e56160b8 | 68 | AliITSresponseSSD& AliITSresponseSSD::operator=(const AliITSresponseSSD& ob){ |
14a74335 | 69 | // Assignment operator |
e56160b8 | 70 | this->~AliITSresponseSSD(); |
71 | new(this) AliITSresponseSSD(ob); | |
14a74335 | 72 | return *this; |
73 | } | |
74 |