#ifndef HGUPRICH_H #define HGUPRICH_H // // class for Rich derived from baseclass HGupSet (linked list); // #include "hgupset.h" class HGupRich : public HGupSet { public: HGupRich(HGupShapes & shapes) : HGupSet() { // unique substring of the name of the module driftchamber detName="RICH"; // unique substring of the name of all daughtervolumes eleName="R"; // detector name in database detNameDb="RICH"; // pointer to the class HGupShapes pShapes=&shapes; noOfKeepIn=0; objectType=1; } ~HGupRich(){} // reads the module from file using helperfunctions from the baseclass int readDet(HGupInfo & gupInfo, HGupMedia & gupMedia); // reads the module from database using helperfunctions from the baseclass int readDetDb(HGupInfo & gupInfo, HGupMedia & gupMedia); protected: // set to 1 if mothervolume RICH defined int noOfKeepIn; }; #endif