/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are mentioned in the code where appropriate. * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notice * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ #include "AliITSCalibrationSPD.h" const Double_t AliITSCalibrationSPD::fgkThreshDefault = 3000.; const Double_t AliITSCalibrationSPD::fgkSigmaDefault = 250.; const Double_t AliITSCalibrationSPD::fgkCouplColDefault = 0.; const Double_t AliITSCalibrationSPD::fgkCouplRowDefault = 0.047; const Double_t AliITSCalibrationSPD::fgkBiasVoltageDefault = 18.182; ClassImp(AliITSCalibrationSPD) /////////////////////////////////////////////////////////////////////////// // Calibration class for set:ITS // Specific subdetector implementation for // Silicon pixels // // Modified by D. Elia, G.E. Bruno, H. Tydesjo // March-April 2006 // /////////////////////////////////////////////////////////////////////////// //______________________________________________________________________ AliITSCalibrationSPD::AliITSCalibrationSPD(): AliITSCalibration(), fBaseline(0.0), fNoise(0.0), fThresh(fgkThreshDefault), fSigma(fgkSigmaDefault), fCouplCol(fgkCouplColDefault), fCouplRow(fgkCouplRowDefault), fBiasVoltage(fgkBiasVoltageDefault), fNrDead(0), fNrNoisy(0){ // constructor SetThresholds(fgkThreshDefault,fgkSigmaDefault); SetCouplingParam(fgkCouplColDefault,fgkCouplRowDefault); SetBiasVoltage(fgkBiasVoltageDefault); SetNoiseParam(0.,0.); SetDataType("simulated"); } //_________________________________________________________________________ void AliITSCalibrationSPD::AddDead(UInt_t col, UInt_t row) { // // Add a dead channel to fDeadChannel array // fDeadChannels.Set(fNrDead*2+2); fDeadChannels.AddAt(col,fNrDead*2); fDeadChannels.AddAt(row,fNrDead*2+1); fNrDead++; } //_________________________________________________________________________ Int_t AliITSCalibrationSPD::GetDeadColAt(UInt_t index) { // // Returns column of index-th dead channel // if (index