]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSresponseSSD.cxx
In Open() and GotoEvent() try the ESD operations first, fallback to run-loader.
[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.;
14a74335 27const Double_t AliITSresponseSSD::fgkfCouplingPR = 0.01;
28const Double_t AliITSresponseSSD::fgkfCouplingPL = 0.01;
29const Double_t AliITSresponseSSD::fgkfCouplingNR = 0.01;
30const Double_t AliITSresponseSSD::fgkfCouplingNL = 0.01;
31const Int_t AliITSresponseSSD::fgkZSThreshold = 3;
32
b0f5e3fc 33
6a407881 34ClassImp(AliITSresponseSSD)
35
36//______________________________________________________________________
e56160b8 37AliITSresponseSSD::AliITSresponseSSD():AliITSresponse(),
38fADCpereV(0),
9acf2ecc 39fKeVperADC(0),
e56160b8 40fCouplingPR(0),
41fCouplingPL(0),
42fCouplingNR(0),
43fCouplingNL(9),
10add0d4 44fZSThreshold(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 55AliITSresponseSSD::AliITSresponseSSD(const AliITSresponseSSD &ob) : AliITSresponse(ob),
56fADCpereV(ob.fADCpereV),
9acf2ecc 57fKeVperADC(ob.fKeVperADC),
e56160b8 58fCouplingPR(ob.fCouplingPR),
59fCouplingPL(ob.fCouplingPL),
60fCouplingNR(ob.fCouplingNR),
61fCouplingNL(ob.fCouplingNL),
10add0d4 62fZSThreshold(ob.fZSThreshold){
14a74335 63 // Copy constructor
e56160b8 64
14a74335 65}
66
67//______________________________________________________________________
e56160b8 68AliITSresponseSSD& AliITSresponseSSD::operator=(const AliITSresponseSSD& ob){
14a74335 69 // Assignment operator
e56160b8 70 this->~AliITSresponseSSD();
71 new(this) AliITSresponseSSD(ob);
14a74335 72 return *this;
73}
74