#ifndef HGEOCOILS_H #define HGEOCOILS_H // // class for COILS derived from base class HGeoDet (linked list); // // The list contains two elements "COILKI" and "COILS". These names are // not identical with the names of the volumes created in Geant. Only the // geometrical informations about the magnet which is necessary to create // all volumes are stored in these listelements in a very special way. // // The Driftchambers DR2M and DR3M are also read because the keepinvolume // of the coils reaches till these driftchambers and depends therefore f // their size and position. // #include "hgeoset.h" #include "hgeomedia.h" class HGeoCoils : public HGeoSet { public: HGeoCoils(HGeoShapes & shapes) : HGeoSet() { detName="COILKI"; eleName="COILS"; // unique substring of the name of the module driftchamber // 3rd character is changed from 2 to 3 in readDet(...) keepinName="DR2M"; // pointer to the class HGeoShapes pShapes=&shapes; } ~HGeoCoils(){} // read the driftchambers and the 2 elements COILKI and COILS from database int readDet(HGeoInfo & geoInfo, HGeoMedia & geomedia); // read the driftchambers and the 2 elements COILKI and COILS from file int readDet(HGeoInfo & geoInfo); // very special routine to create all voulumes // The names of the volumes and the tree and the media are hardwired. int createDet(HGeoInfo & geoInfo, HGeoMedia & geomedia); }; #endif