]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCCalPadRegion.h
Create bitmask in the first itteration
[u/mrichter/AliRoot.git] / TPC / AliTPCCalPadRegion.h
index 25a6f03e7830f138b4e4120c539117781f295fcf..f7757b05bfe26178fdda6991278577500e6168c9 100644 (file)
@@ -18,11 +18,9 @@ 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 void       Delete(Option_t* option = "") { if (fObjects) fObjects->Delete(); }
+  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; }
    static  UInt_t     GetNPadTypes() { return fgkNPadTypes; }