// $Id$ // // File: Event.h // Created: Mon Apr 5 11:05:20 EDT 2010 // Creator: davidl (on Darwin fwing-dhcp95.jlab.org 9.8.0 i386) // #ifndef _Event_ #define _Event_ #include #include #include #include #include #define MAX_Event 100 class Event:public TObject{ public: // ctor Event(void){ recon = new TClonesArray("Particle", MAX_Event); } // dtor ~Event(void){ delete recon; } // Clear void Clear(void){ Nrecon = 0; recon->Clear(); // delete entries in TClonesArray (without freeing memory) } TLorentzVector thrown; int Nrecon; TClonesArray *recon; private: ClassDef(Event,1); }; #endif // _Event_