#ifndef HGUPCOILS_H #define HGUPCOILS_H // // class for COILS derived from base class HGupSet (linked list); // #include "hgupset.h" class HGupCoils : public HGupSet { public: HGupCoils(HGupShapes & shapes) : HGupSet() { // unique substring of the name of the coil keepin volume detName="CKIV"; // unique substring of the names of all daughtervolumes eleName="C"; // detector name in database detNameDb="MAGNET"; // pointer to the class HGupShapes pShapes=&shapes; noOfKeepIn=0; objectType=1; } ~HGupCoils(){} // reads geometry data from database int readDetDb(HGupInfo & gupInfo, HGupMedia & gupmedia); // reads geometry data from file int readDet(HGupInfo & gupInfo, HGupMedia & gupmedia); protected: // number of sectors in which the keepin volumes are defined int noOfKeepIn; }; #endif