// $Id: DBCALGeometry_factory.cc 3646 2008-04-24 19:44:31Z davidl $ // // File: DFactory_DBCALGeometry.cc // Created: Thu Nov 17 15:10:51 CST 2005 // Creator: gluexuser (on Linux hydra.phys.uregina.ca 2.4.20-8smp i686) // #include #include "DBCALGeometry_factory.h" //------------------ // evnt //------------------ jerror_t DBCALGeometry_factory::evnt(JEventLoop *loop, int eventnumber) { DBCALGeometry *bcalGeom = new DBCALGeometry; bcalGeom->NBCALMODS = 48; bcalGeom->NBCALLAYS1 = 3; bcalGeom->NBCALLAYS2 = 2; bcalGeom->NBCALSECS1 = 3; bcalGeom->NBCALSECS2 = 2; bcalGeom->BCALINNERRAD = 65.0; bcalGeom->BCALMIDRAD = 77.0; bcalGeom->BCALOUTERRAD = 87.46; bcalGeom->BCALFIBERLENGTH = 390.0; bcalGeom->GLOBAL_CENTER = 212; bcalGeom->ATTEN_LENGTH = 300.; bcalGeom->C_EFFECTIVE = 16.75; _data.push_back(bcalGeom); return NOERROR; }