]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/AliITSresponseSSD.cxx
Parameters of AliITSVertexer3D added in AliITSRecoParam (F.Prino)
[u/mrichter/AliRoot.git] / ITS / AliITSresponseSSD.cxx
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
16
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       //
22 //  the SSD modules                             //
23 //////////////////////////////////////////////////
24
25
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;
32
33
34 ClassImp(AliITSresponseSSD)
35
36 //______________________________________________________________________
37 AliITSresponseSSD::AliITSresponseSSD():AliITSresponse(),
38 fADCpereV(0),
39 fKeVperADC(0),
40 fCouplingPR(0),
41 fCouplingPL(0),
42 fCouplingNR(0),
43 fCouplingNL(9),
44 fZSThreshold(0){
45     // Default Constructor
46
47   SetDiffCoeff(fgkDiffCoeffDefault,0.);
48   SetADCpereV();
49   SetKeVperADC();
50   SetCouplings(fgkfCouplingPR,fgkfCouplingPL,fgkfCouplingNR,fgkfCouplingNL);
51   SetZSThreshold(fgkZSThreshold);
52 }
53
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){
63   // Copy constructor
64
65 }
66
67 //______________________________________________________________________
68 AliITSresponseSSD& AliITSresponseSSD::operator=(const AliITSresponseSSD& ob){
69   // Assignment operator
70   this->~AliITSresponseSSD();
71   new(this) AliITSresponseSSD(ob);
72   return *this;
73 }
74