X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HMPID%2FAliHMPID.h;h=52a12e16bbc431d8c8103593fffe80a7ad3752e7;hb=2991d6090f69a6248a8e63dfb22797f3f1a81dd0;hp=b1514d5f361e9bc2c4fc60438c8eb6e8f020564f;hpb=1d4857c5309d183422e07523c36b66bcdda36c92;p=u%2Fmrichter%2FAliRoot.git diff --git a/HMPID/AliHMPID.h b/HMPID/AliHMPID.h index b1514d5f361..52a12e16bbc 100644 --- a/HMPID/AliHMPID.h +++ b/HMPID/AliHMPID.h @@ -7,14 +7,16 @@ #include //XxxCreate() #include //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