//*-- AUTHOR : Ilse Koenig //*-- Modified : 17/01/2002 //_HADES_CLASS_DESCRIPTION ///////////////////////////////////////////////////////////// // HMdcConnectedWires ///////////////////////////////////////////////////////////// using namespace std; #include "hmdcconnectedwires.h" #include "hades.h" #include "hruntimedb.h" #include "hmdcmboreadout.h" #include "TClass.h" #include #include ClassImp(HMdcConnectedWires) HMdcConnectedWires::HMdcConnectedWires(const Char_t* name,const Char_t* title, const Char_t* context) : HMdcLookupGeom(name,title,context) { // constructor creates the containers "MdcMboReadout" and "MdcLookupGeom" HRuntimeDb* rtdb=gHades->getRuntimeDb(); readout=(HMdcMboReadout*)(rtdb->getContainer("MdcMboReadout")); lookup=(HMdcLookupGeom*)(rtdb->getContainer("MdcLookupGeom")); } Bool_t HMdcConnectedWires::init(HParIo*,Int_t*) { if (readout->hasChanged() || lookup->hasChanged()) { HMdcLookupGeom& lMdc=*lookup; HMdcMboReadout& rMdc=*readout; for(Int_t s=0;s0 && pMoth.getSize()) { for(Int_t c=0;c