00001 00002 // $Id: JobCRecord.h,v 1.1 2001/11/15 14:30:39 messier Exp $ 00003 // 00004 // A class to hold the event data pointer and any information that 00005 // might go along with it. 00006 // 00007 // messier@huhepl.harvard.edu 00009 #ifndef JOBCRECORD_H 00010 #define JOBCRECORD_H 00011 00012 class MomNavigator; 00013 00014 class JobCRecord 00015 { 00016 public: 00017 JobCRecord(); 00018 JobCRecord(MomNavigator* mom); 00019 ~JobCRecord(); 00020 00021 MomNavigator* GetDataPtr() const; 00022 bool IsPhysics() const; 00023 bool IsNonPhysics() const; 00024 00025 void SetDataPtr(MomNavigator* mom); 00026 void SetIsPhysics(bool isphys=true); 00027 void Reset(); 00028 00029 private: 00030 MomNavigator* fDataPtr; // The pointer to the event data 00031 bool fOwnData; // Do we own the object pointed to by data ptr? 00032 bool fIsPhysics; // Is this record physics data? 00033 }; 00034 #endif 00035
1.3.9.1