From 11ad066fb381f2f494247b72b91ad1ea00a16cd8 Mon Sep 17 00:00:00 2001 From: mariana Date: Sat, 17 Mar 2001 15:15:35 +0000 Subject: [PATCH] Set PASCAL parameters to ALICE conditions --- ITS/AliITSetfSDD.cxx | 27 ++++++++++++++++++++------- ITS/AliITSetfSDD.h | 7 +++++-- 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/ITS/AliITSetfSDD.cxx b/ITS/AliITSetfSDD.cxx index 2b87db07930..7e397a85378 100644 --- a/ITS/AliITSetfSDD.cxx +++ b/ITS/AliITSetfSDD.cxx @@ -15,6 +15,7 @@ #include #include +#include #include "AliITSetfSDD.h" //////////////////////////////////////////////////////////////////////// @@ -33,16 +34,21 @@ Int_t ppower(Int_t b, Int_t e) { return power; } -AliITSetfSDD::AliITSetfSDD(Double_t timestep) +AliITSetfSDD::AliITSetfSDD(Double_t timestep, Int_t amplif) { // sampling time in ns + fTimeDelay = 53.5; + if(amplif == 2) fTimeDelay = 35.5; fSamplingTime = timestep; fT0 = 0.; fDf = ppower(10,9)/(kMaxNofSamples*fSamplingTime); - fA0 = 9000.; + fA0 = 16500.; // AL: 16500.; // TB: 24000.; // 26000.; // 24000.; // 18000.; + if(amplif == 2) fA0 = 24000.; + cout << "fA0: " << fA0 << endl; + cout << "fTimeDelay: " << fTimeDelay << endl; Int_t i,j; for(i=0; i