#ifndef HEPFILESWITCH_H #define HEPFILESWITCH_H // ---------------------------------------------------------------------- // // HepFileSwitch.cc - definition of class HepFileSwitch // // 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. // // 15-Aug-2002 J. Marraffino Initial definition // // ---------------------------------------------------------------------- #ifndef ZMENVIRONMENT_H #include "ZMutility/ZMenvironment.h" #endif #include ZM_BEGIN_NAMESPACE( zmht ) /* namespace zmht { */ class HepFileSwitch { public: virtual void strayObjectHandler( std::vector& strays ); }; // HepFileSwitch ZM_END_NAMESPACE( zmht ) /* } // namespace zmht */ #endif // HEPFILESWITCH_H