]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALv2.h
Parameters for track finding in AliITStrackerSA added to AliITSRecoParam (F. Prino)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv2.h
index dffa098343b59df813e71c3209d94ad06e087488..f06dd52b9ad169ed9b0500ba02a8e885cda2023c 100644 (file)
@@ -17,25 +17,19 @@ class TFile;
 class TH1F;
 
 class TBrowser;
-class AliEMCALGeometry;
 
 // --- AliRoot header files ---
 #include "AliEMCALv1.h"
 
-// for TRD2 case
-//#include "TGeant3.h"
-
 class AliEMCALv2 : public AliEMCALv1 {
   
 public:
 
   AliEMCALv2(void) ; 
   AliEMCALv2(const char *name, const char *title="") ;
-  // cpy ctor: no implementation yet
-  // requested by the Coding Convention
-  AliEMCALv2(const AliEMCALv1 & emcal):AliEMCALv1(emcal) {
-    Fatal("cpy ctor", "not implemented") ;  }
   virtual ~AliEMCALv2(void) ;
+
+  using AliEMCALv1::AddHit;
   virtual void  AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
                        Int_t id, Float_t *hits, Float_t *p);
 
@@ -45,16 +39,8 @@ public:
   // Gives the version number 
   virtual Int_t  IsVersion(void) const {return 2;}
   virtual const TString Version(void)const {return TString("v2");}
-  //  virtual void RemapTrackHitIDs(Int_t *map);
-  //virtual void FinishPrimary();
-  // virtual void SetTimeCut(Float_t tc){ fTimeCut = tc;}
-  // virtual Float_t GetTimeCut(){return fTimeCut;}
-  // assignement operator requested by coding convention but not needed  
-  AliEMCALv2 & operator = (const AliEMCALv1 & /*rvalue*/){
-    Fatal("operator =", "not implemented") ;  
-    return *this;}
   // 23-mar-05
-  Double_t GetDepositEnergy(int print=1); // *MENU*
+  virtual Double_t GetDepositEnergy(int print=1); // *MENU*
   // 30-aug-04
   virtual void Browse(TBrowser* b);
   // drawing
@@ -62,13 +48,17 @@ public:
   void DrawSuperModuleCut(const char *name="EMOD", int axis=2, double dcut=0.03, int fill = 6);//  *MENU*
   void DrawTowerCut(const char *name="SCMY", int axis=2, double dcut=0., int fill=1, char *optShad="on");   //  *MENU*
   void DrawAlicWithHits(int mode=1);                            // *MENU*
-  void SetVolumeAttributes(const char *name="SCM0",const int seen=1, const int color=1, const int fill=1); // *MENU*
+  void SetVolumeAttributes(const char *name="SCM0", int seen=1, int color=1, int fill=1); // *MENU*
   void TestIndexTransition(int pri=0, int idmax=0); // *MENU*
 
-  AliEMCALGeometry* fGeometry; //!
+ protected:
   TH1F*             fHDe;      //!
   TH1F*             fHNhits;      //!
 
+ private:
+  AliEMCALv2(const AliEMCALv2 & emcal);
+  AliEMCALv2 & operator = (const AliEMCALv2  & /*rvalue*/);
   ClassDef(AliEMCALv2,1)    //Implementation of EMCAL manager class to produce hits in a Shish-Kebab
     
 };