]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/AliHMPID.h
correction of trivial typo preventing compilation
[u/mrichter/AliRoot.git] / HMPID / AliHMPID.h
index b1514d5f361e9bc2c4fc60438c8eb6e8f020564f..52a12e16bbc431d8c8103593fffe80a7ad3752e7 100644 (file)
@@ -7,14 +7,16 @@
 #include <TClonesArray.h> //XxxCreate() 
 #include <TObjArray.h>    //fDig,fClu field
 
-
+//.
+//HMPID base class
+//.
 
 class AliHMPID : public AliDetector //TObject-TNamed-AliModule-AliDetector-AliHMPID
 {
 public:
 //ctor & dtor    
-            AliHMPID(const char *nm,const char *ttl);                                              //named ctor
-            AliHMPID(                              ):AliDetector(    ),fSdi(0),fDig(0),fClu(0) {}  //default ctor          
+            AliHMPID(const char *nm,const char *ttl);                                                           //named ctor
+            AliHMPID(                              ):AliDetector(    ),fDoFeed(kTRUE),fSdi(0),fDig(0),fClu(0) {}  //default ctor          
   virtual  ~AliHMPID();                                            
 //framework part  
           void  BuildGeometry   (                ) {}          //from AliModule invoked from AliMC::InitGeometry() to build geometry for old event display
@@ -48,6 +50,7 @@ public:
     fClu=new TObjArray(7); for(Int_t i=0;i<7;i++)fClu->AddAt(new TClonesArray("AliHMPIDCluster"),i);            }//create clusters list
          void   CluReset (         )     {if(fClu)for(int i=0;i<7;i++)fClu->At(i)->Clear();                     }//clean clusters list
 protected:  
+  Bool_t                fDoFeed;                  //! Flag to switch on/off Feedback photon creation
   TClonesArray         *fSdi;                     //! list of sdigits  
   TObjArray            *fDig;                     //! each chamber holds it's one list of digits
   TObjArray            *fClu;                     //! each chamber holds it's one list of clusters 
@@ -59,7 +62,5 @@ private:
   ClassDef(AliHMPID,11)                            //Main HMPID class 
 };//class AliHMPID  
 
-typedef AliHMPID AliRICH; // for backward compatibility
-
 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 #endif