/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
+/* $Id$ */
+
//////////////////////////////////////////////
// Base ITS calibration class //
//////////////////////////////////////////////
#include "AliLog.h"
#include "AliITSresponse.h"
#include "AliITSMapSDD.h"
+#include "AliITSDriftSpeedArraySDD.h"
class AliITSsegmentation;
class TF1;
// Destructor.
virtual ~AliITSCalibration() {;}
+
+ // Check for dead modules anche chips
+ // Return 1 if the module/chip is dead, 0 if it is ok
+ virtual Bool_t IsBad() const {AliError("This method must be implemented in a derived class"); return kFALSE;}
+ virtual Bool_t IsChipBad(Int_t) const {AliError("This method must be implemented in a derived class"); return kFALSE;}
//
// Configuration methods
//
virtual void Thresholds(Double_t &, Double_t &) const = 0;
virtual void SetMapA(Int_t, AliITSMapSDD*) {AliError("This method must be implemented in a derived class");}
virtual void SetMapT(Int_t, AliITSMapSDD*) {AliError("This method must be implemented in a derived class");}
+ virtual void SetDriftSpeed(Int_t, AliITSDriftSpeedArraySDD*) {AliError("This method must be implemented in a derived class");}
virtual Double_t DriftSpeed() const {return SpeedElectron();};
// Set sigmas of the charge spread function
virtual void SetSigmaSpread(Double_t, Double_t) = 0;
// voltage v [volt] through a distance d [cm] in any material at a
// temperature T [degree K].
virtual Double_t SigmaDiffusion1D(Double_t l) const;
+ // Computes the Lorentz angle for Electron and Hole, under the Magnetic field bz (in kGauss)
+ virtual Double_t LorentzAngleElectron(Double_t bz) const;
+ virtual Double_t LorentzAngleHole(Double_t bz) const;
// Compute the thickness of the depleted region in a Si detector, version A
virtual Double_t DepletedRegionThicknessA(Double_t dopCons,
Double_t voltage,