]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Added method to retrieve PreShowerRecPoint
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Nov 2002 07:51:21 +0000 (07:51 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 29 Nov 2002 07:51:21 +0000 (07:51 +0000)
EMCAL/AliEMCALGetter.h

index 0d2c4a956ce2cbb9a5eed680bca232ef02a0d516..da3181f64a7b228a8f774eb84f0729fb0175d692 100644 (file)
@@ -118,6 +118,7 @@ class AliEMCALGetter : public TObject {
   const AliEMCALTowerRecPoint *  TowerRecPoint(Int_t index) { return static_cast<const AliEMCALTowerRecPoint *>(TowerRecPoints()->At(index)) ;}
   TObjArray * PreShowerRecPoints(const char * name = 0) const { 
     return (dynamic_cast<TObjArray*>(ReturnO("PreShowerRecPoints", name))) ; }
+  const AliEMCALRecPoint *  PreShowerRecPoint(Int_t index) { return static_cast<const AliEMCALRecPoint *>(PreShowerRecPoints()->At(index)) ;}
   const AliEMCALClusterizer * Clusterizer (const char * name =0) const { 
     return (const AliEMCALClusterizer*)(ReturnT("Clusterizer", name)) ;// here static or dynamic cast does not work ! why ?
   }