#ifndef HGEOCOILS_H #define HGEOCOILS_H // // class for COILS derived from base class HGeoSet (linked list); // #include "hgeoset.h" #include "hgeomedia.h" class HGeoCoils : public HGeoSet { public: HGeoCoils(HGeoShapes & shapes) : HGeoSet() { // unique substring of the name of the coil keepin volume detName="CKIV"; // unique substring of the names of all daughtervolumes eleName="C"; // pointer to the class HGeoShapes pShapes=&shapes; noOfKeepIn=0; } ~HGeoCoils(){} // reads geometry data from database int readDet(HGeoInfo & geoInfo, HGeoMedia & geomedia); // reads geometry data from file int readDet(HGeoInfo & geoInfo); // creates all volumes int createDet(HGeoInfo & geoInfo, HGeoMedia & geomedia); protected: // number of sectors in which the keepin volumes are defined int noOfKeepIn; }; #endif