- virtual void CreateFastRecPoints(AliITSmodule *mod,Int_t module,
- TRandom *rndm) {}
- // Return pointer to Response model
- virtual AliITSresponse* GetResponseModel(){return fResponse;}
- // set pointer to Response model
- virtual void SetResponseModel(AliITSresponse *res){fResponse = res;}
- // Return pointer to Response model
- virtual AliITSsegmentation* GetSegmentationModel(){return fSegmentation;}
- // set pointer to Response model
- virtual void SetSegmentationModel(AliITSsegmentation *seg){
- fSegmentation = seg;}
+ virtual void CreateFastRecPoints(AliITSmodule *,Int_t,
+ TRandom *,TClonesArray* /*recp*/) {;}
+ // Return pointer to Response model
+ virtual AliITSCalibration* GetCalibrationModel(Int_t mod = 0){return fDetType->GetCalibrationModel(mod);}
+ // set pointer to Response model
+ virtual void SetCalibrationModel(Int_t mod, AliITSCalibration *res){fDetType->SetCalibrationModel(mod,res);}
+ // Return pointer to Segmentation object
+ virtual AliITSsegmentation* GetSegmentationModel(Int_t dt) = 0;
+ // set pointer to Segmentation object
+ virtual void SetSegmentationModel(Int_t dt,AliITSsegmentation *seg) = 0;
+ virtual AliITSpList* GetMap(){return fpList;} // Returns fpList, the map.
+ virtual void SetMap(AliITSpList *p){fpList = p;} // Sets fpList, the map.
+ virtual void ClearMap(){fpList->ClearMap();} // Clear fpList, map.
+ virtual void SetModuleNumber(Int_t mod){fModule=mod;} // Set Module number
+ virtual Int_t GetModuleNumber()const {return fModule;}// Gets Module number
+ virtual void SetEventNumber(Int_t evnt){fEvent=evnt;} // Set Event number
+ virtual Int_t GetEventNumber()const {return fEvent;}// Gets Event number
+ // Sets the debug flag for debugging output
+ void SetDebug(Int_t level=5){fDebug=level;}
+ // Clears the debug flag so no debugging output will be generated
+ void SetNoDebug(){fDebug=0;}
+ // Returns the debug flag value
+ Bool_t GetDebug(Int_t level=1)const {return fDebug>=level;}
+ void SetDetType(AliITSDetTypeSim* dettyp) {fDetType=dettyp;}