// ---------------------------------------------------------------------- // // Intended to give the user access to the leftover objects when // HepFileManager::switchFile is called. That function can deal with TH1 // objects, TDirectory objects and TTree objects. A pointer to any TObject // that is not one of these three is inserted into a // // std::vector strays // // and passed on to a virtual member function of this class for disposition. // The strategy is that this is implemented as a base class with a // do-nothing, virtual member function. The user should write a // descendent class which overrides this member function with whatever code // may be appropriate for his/her application. // // Note that we have used void* instead of TObject* so as to not inject // Root-specific types into the base class code. Doing that requires the // user to cast things correctly. Ugly! // // 15-Aug-2002 J. Marraffino Initial definition // // ---------------------------------------------------------------------- #include "HepTuple/HepFileSwitch.h" ZM_BEGIN_NAMESPACE( zmht ) /* namespace zmht { */ void HepFileSwitch::strayObjectHandler( std::vector& strays ) { } ZM_END_NAMESPACE( zmht ) /* } // namespace zmht */