1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
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 **************************************************************************/
17 #include "AliITSresponseSSD.h"
18 //////////////////////////////////////////////////
19 // Base response class for ITS //
20 // It is used to set static data members //
21 // connected to parameters equal for all //
23 //////////////////////////////////////////////////
26 const Float_t AliITSresponseSSD::fgkDiffCoeffDefault = 0.;
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;
34 ClassImp(AliITSresponseSSD)
36 //______________________________________________________________________
37 AliITSresponseSSD::AliITSresponseSSD():AliITSresponse(),
45 // Default Constructor
47 SetDiffCoeff(fgkDiffCoeffDefault,0.);
50 SetCouplings(fgkfCouplingPR,fgkfCouplingPL,fgkfCouplingNR,fgkfCouplingNL);
51 SetZSThreshold(fgkZSThreshold);
54 //______________________________________________________________________
55 AliITSresponseSSD::AliITSresponseSSD(const AliITSresponseSSD &ob) : AliITSresponse(ob),
56 fADCpereV(ob.fADCpereV),
57 fKeVperADC(ob.fKeVperADC),
58 fCouplingPR(ob.fCouplingPR),
59 fCouplingPL(ob.fCouplingPL),
60 fCouplingNR(ob.fCouplingNR),
61 fCouplingNL(ob.fCouplingNL),
62 fZSThreshold(ob.fZSThreshold){
67 //______________________________________________________________________
68 AliITSresponseSSD& AliITSresponseSSD::operator=(const AliITSresponseSSD& ob){
69 // Assignment operator
70 this->~AliITSresponseSSD();
71 new(this) AliITSresponseSSD(ob);