]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALLink.h
Station2 detailed geometry builder (Sanjoy, Sukalyan, Shakeel)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALLink.h
index a3d6a489f0f4c6a77f80b259041f0e8a5ff2c861..c517f65eebb9dfb0d4e92ec5c362ea01e1991027 100644 (file)
@@ -25,24 +25,21 @@ class AliEMCALLink : public  TObject
   
 public:
   
-  AliEMCALLink( Float_t prod, Int_t ec, Int_t rp, unsigned int what) ;  // ctor            
+  AliEMCALLink( Float_t prod, Int_t ec, Int_t rp) ;  // ctor            
   virtual ~AliEMCALLink(){
     // dtor
   }
   Int_t   Compare(const TObject * obj) const ;
-  const Int_t GetECAL(void) const { return fECALN ; }  
-  const Int_t GetOther(void) const { return fOtherN ; } 
-  const Float_t GetProd(void) const { return fProd ; }   
-  const Bool_t IsLinkToPRE(void) const  {if (fWhat) return kFALSE; else return kTRUE;}
-  const Bool_t IsLinkToHCAL(void) const {if (fWhat) return kTRUE;  else return kFALSE;}
-  Bool_t  IsSortable() const{ return kTRUE; }
+  Int_t   GetECA(void) const { return fECAN ; }  
+  Int_t   GetOther(void) const { return fOtherN ; } 
+  Float_t GetProd(void) const { return fProd ; }   
+  Bool_t        IsSortable() const{ return kTRUE; }
   
 private:
   
-  Int_t fECALN ;     // ECAL index
-  Int_t fOtherN ;    // index of the linked recpoint 
-  Float_t fProd ;    // Scalar produc of the direction of the 2 recpoints
-  unsigned int fWhat ; // PRE (=0) or HCAL (=1)
+  Int_t fECAN ;        // ECAL index
+  Int_t fOtherN ;      // index of the linked recpoint 
+  Float_t fProd ;      // Scalar produc of the direction of the 2 recpoints
   
   ClassDef(AliEMCALLink,1)  // Auxilliary algorithm class used by AliEMCALTrackSegmentMaker