- virtual void SetLowCarlosThreshold(Int_t th, Int_t i)
- {fLowThreshold[i]=th;}
- virtual void SetNCarlos(Int_t nC=12){fNCarlos=nC;}
- static Int_t GetModuleNumber(UInt_t iDDL, UInt_t iModule)
- {return fgkDDLModuleMap[iDDL][iModule];}
+ virtual void SetDecompressAmbra(Bool_t deco=kTRUE){
+ fDecompressAmbra=deco;
+ }
+ virtual void SetDDLModuleMap(AliITSDDLModuleMapSDD* ddlsdd){
+ if(!fDDLModuleMap) fDDLModuleMap=new AliITSDDLModuleMapSDD();
+ fDDLModuleMap->SetDDLMap(ddlsdd);
+ }
+ virtual void SetZeroSuppLowThreshold(Int_t iMod, Int_t iSid, Int_t th)
+ {fLowThresholdArray[iMod][iSid]=th;}
+ Int_t GetModuleNumber(UInt_t iDDL, UInt_t iModule) const {
+ if(!fDDLModuleMap) return kSPDModules+1; // dummy module number if the DDL map is not set (case of DAs)
+ return fDDLModuleMap->GetModuleNumber(iDDL,iModule);
+ }