]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCCalPadRegion.h
coverity fix
[u/mrichter/AliRoot.git] / TPC / AliTPCCalPadRegion.h
index 30e5031600a77fbb8888c6f18c616d4baac98f3a..f7757b05bfe26178fdda6991278577500e6168c9 100644 (file)
@@ -18,10 +18,8 @@ public:
    virtual ~AliTPCCalPadRegion() { delete fObjects; }
    AliTPCCalPadRegion& operator=(const AliTPCCalPadRegion& rhs);
    
-   virtual TObject*   GetObject(UInt_t segment, UInt_t padType)
-      { return BoundsOk("GetObject", segment, padType) ? fObjects->At(segment+fgkNSegments*padType) : 0x0; }
-   virtual void       SetObject(TObject* obj, UInt_t segment, UInt_t padType)
-      { if (BoundsOk("SetObject", segment, padType)) fObjects->AddAt(obj, segment+fgkNSegments*padType); }
+  virtual TObject*   GetObject(UInt_t segment, UInt_t padType);
+  virtual void       SetObject(TObject* obj, UInt_t segment, UInt_t padType);
   virtual void       Delete(Option_t* option = "") { if (fObjects) fObjects->Delete(option); }
    virtual TIterator* MakeIterator(Bool_t direction = kIterForward) const { return fObjects->MakeIterator(direction); }
    static  UInt_t     GetNSegments() { return fgkNSegments; }