#include "AliITSsegmentationSDD.h"
#include "TArrayI.h"
-class AliITSMapSDD;
+class AliITSCorrMapSDD;
class AliITSDriftSpeedArraySDD;
///////////////////////////////////////////////////////
if(GetChannelGain(anode)==0) return kTRUE;
else return kFALSE;
}
- void SetUseCorrectionMaps(Bool_t useAnodeMap, Bool_t useDriftMap){
- fUseACorrMap=useAnodeMap;
- fUseTCorrMap=useDriftMap;
- }
Float_t GetMapACell(Int_t i,Int_t j) const {
if(i<256) return fMapAW0->GetCellContent(i,j);
else return fMapAW1->GetCellContent(i-256,j);
}
- virtual void SetMapA(Int_t wing,AliITSMapSDD* mapA) {
+ virtual void SetMapA(Int_t wing,AliITSCorrMapSDD* mapA) {
if(wing==0) fMapAW0=mapA;
else fMapAW1=mapA;
}
if(i<256) return fMapTW0->GetCellContent(i,j);
else return fMapTW1->GetCellContent(i-256,j);
}
- virtual void SetMapT(Int_t wing,AliITSMapSDD* mapT) {
+ virtual void SetMapT(Int_t wing,AliITSCorrMapSDD* mapT) {
if(wing==0) fMapTW0=mapT;
else fMapTW1=mapT;
}
virtual void SetZeroSupp(Bool_t opt=kTRUE) {fZeroSupp=opt;}
virtual Bool_t GetZeroSupp() const {return fZeroSupp;}
+ virtual void SetAMAt40MHz() {fAMAt20MHz=kFALSE;}
virtual void SetAMAt20MHz() {fAMAt20MHz=kTRUE;}
virtual Bool_t IsAMAt20MHz() const {return fAMAt20MHz;}
- virtual Float_t GetDriftPath(Float_t time, Float_t xAnode) const {return time*GetDriftSpeedAtAnode(xAnode);}
void GetCorrections(Float_t z, Float_t x, Float_t &devz, Float_t &devx, AliITSsegmentationSDD* seg);
- virtual Float_t GetThresholdAnode(Int_t anode,Int_t nsigma=3) const {
+ virtual Float_t GetThresholdAnode(Int_t anode, Double_t nsigma=2.2) const {
return nsigma*fNoiseAfterEl[anode];}
TArrayI fBadChannels; //Array with bad anodes number (0-512)
- Bool_t fUseACorrMap; // flag for the use of correction maps (anode)
- Bool_t fUseTCorrMap; // flag for the use of correction maps (drift)
-
- AliITSMapSDD* fMapAW0; //! map of residuals on anode coord. wing 0
- AliITSMapSDD* fMapAW1; //! map of residuals on anode coord. wing 1
- AliITSMapSDD* fMapTW0; //! map of residuals on time coord. wing 0
- AliITSMapSDD* fMapTW1; //! map of residuals on time coord. wing 1
+ AliITSCorrMapSDD* fMapAW0; //! map of residuals on anode coord. wing 0
+ AliITSCorrMapSDD* fMapAW1; //! map of residuals on anode coord. wing 1
+ AliITSCorrMapSDD* fMapTW0; //! map of residuals on time coord. wing 0
+ AliITSCorrMapSDD* fMapTW1; //! map of residuals on time coord. wing 1
AliITSDriftSpeedArraySDD* fDrSpeed0; //! drift speed for wing 0
AliITSDriftSpeedArraySDD* fDrSpeed1; //! drift speed for wing 1
AliITSCalibrationSDD& operator=(const AliITSCalibrationSDD & /* source */); // ass. op.
- ClassDef(AliITSCalibrationSDD,13)
+ ClassDef(AliITSCalibrationSDD,17)
};
#endif