]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSresponseSSD.cxx
Changed the data format to pass to the Make methods
[u/mrichter/AliRoot.git] / ITS / AliITSresponseSSD.cxx
CommitLineData
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 26const Float_t AliITSresponseSSD::fgkDiffCoeffDefault = 0.;
703a4e51 27const TString AliITSresponseSSD::fgkOption1Default = "";
28const TString AliITSresponseSSD::fgkOption2Default = "";
14a74335 29const Double_t AliITSresponseSSD::fgkfCouplingPR = 0.01;
30const Double_t AliITSresponseSSD::fgkfCouplingPL = 0.01;
31const Double_t AliITSresponseSSD::fgkfCouplingNR = 0.01;
32const Double_t AliITSresponseSSD::fgkfCouplingNL = 0.01;
33const Int_t AliITSresponseSSD::fgkZSThreshold = 3;
34
b0f5e3fc 35
6a407881 36ClassImp(AliITSresponseSSD)
37
38//______________________________________________________________________
e56160b8 39AliITSresponseSSD::AliITSresponseSSD():AliITSresponse(),
40fADCpereV(0),
9acf2ecc 41fKeVperADC(0),
e56160b8 42fCouplingPR(0),
43fCouplingPL(0),
44fCouplingNR(0),
45fCouplingNL(9),
46fZSThreshold(0),
47fOption1(),
48fOption2(){
9de0700b 49 // Default Constructor
50
fcf95fc7 51 SetDiffCoeff(fgkDiffCoeffDefault,0.);
52 SetParamOptions(fgkOption1Default.Data(),fgkOption2Default.Data());
53 SetADCpereV();
9acf2ecc 54 SetKeVperADC();
14a74335 55 SetCouplings(fgkfCouplingPR,fgkfCouplingPL,fgkfCouplingNR,fgkfCouplingNL);
56 SetZSThreshold(fgkZSThreshold);
b0f5e3fc 57}
14a74335 58
59//______________________________________________________________________
e56160b8 60AliITSresponseSSD::AliITSresponseSSD(const AliITSresponseSSD &ob) : AliITSresponse(ob),
61fADCpereV(ob.fADCpereV),
9acf2ecc 62fKeVperADC(ob.fKeVperADC),
e56160b8 63fCouplingPR(ob.fCouplingPR),
64fCouplingPL(ob.fCouplingPL),
65fCouplingNR(ob.fCouplingNR),
66fCouplingNL(ob.fCouplingNL),
67fZSThreshold(ob.fZSThreshold),
68fOption1(ob.fOption1),
69fOption2(ob.fOption2) {
14a74335 70 // Copy constructor
e56160b8 71
14a74335 72}
73
74//______________________________________________________________________
e56160b8 75AliITSresponseSSD& AliITSresponseSSD::operator=(const AliITSresponseSSD& ob){
14a74335 76 // Assignment operator
e56160b8 77 this->~AliITSresponseSSD();
78 new(this) AliITSresponseSSD(ob);
14a74335 79 return *this;
80}
81