#include <JobCRecord.h>
Public Member Functions | |
| JobCRecord () | |
| JobCRecord (MomNavigator *mom) | |
| ~JobCRecord () | |
| MomNavigator * | GetDataPtr () const |
| bool | IsPhysics () const |
| bool | IsNonPhysics () const |
| void | SetDataPtr (MomNavigator *mom) |
| void | SetIsPhysics (bool isphys=true) |
| void | Reset () |
Private Attributes | |
| MomNavigator * | fDataPtr |
| bool | fOwnData |
| bool | fIsPhysics |
|
|
Definition at line 13 of file JobCRecord.cxx. References fDataPtr. 00013 : 00014 fDataPtr(new MomNavigator()), 00015 fOwnData(true), 00016 fIsPhysics(true) 00017 { 00018 assert(fDataPtr); 00019 }
|
|
|
Definition at line 23 of file JobCRecord.cxx. References fDataPtr. 00023 : 00024 fDataPtr(mom), 00025 fOwnData(false), 00026 fIsPhysics(true) 00027 { 00028 assert(fDataPtr); 00029 }
|
|
|
Definition at line 33 of file JobCRecord.cxx. References fDataPtr. 00034 {
00035 if (fOwnData) {
00036 delete fDataPtr;
00037 fDataPtr = 0;
00038 }
00039 }
|
|
|
Definition at line 43 of file JobCRecord.cxx. Referenced by JobCPath::Execute(). 00044 {
00045 return fDataPtr;
00046 }
|
|
|
Definition at line 54 of file JobCRecord.cxx. 00054 { return !fIsPhysics; }
|
|
|
Definition at line 50 of file JobCRecord.cxx. 00050 { return fIsPhysics; }
|
|
|
Definition at line 81 of file JobCRecord.cxx. References MomNavigator::Clear(), fDataPtr, and fIsPhysics. Referenced by JobCPath::Run(). 00082 {
00083 //======================================================================
00084 // Reset the record to initial set of defaults
00085 //======================================================================
00086
00087 if (fDataPtr) fDataPtr->Clear();
00088
00089 fIsPhysics = true; // Assume records hold physics unless told otherwise
00090 }
|
|
|
Definition at line 58 of file JobCRecord.cxx. References fDataPtr, and fOwnData. 00059 {
00060 //======================================================================
00061 // Accecpt a pointer to data from external source. Ownership stays
00062 // with the external source.
00063 //======================================================================
00064 if (fDataPtr && fOwnData) {
00065 delete fDataPtr;
00066 fDataPtr = 0;
00067 }
00068 fDataPtr = mom;
00069 fOwnData = false;
00070 }
|
|
|
Definition at line 74 of file JobCRecord.cxx. References fIsPhysics. Referenced by JobCPath::Execute(). 00075 {
00076 fIsPhysics = isphys;
00077 }
|
|
|
Definition at line 30 of file JobCRecord.h. Referenced by JobCRecord(), Reset(), SetDataPtr(), and ~JobCRecord(). |
|
|
Definition at line 32 of file JobCRecord.h. Referenced by Reset(), and SetIsPhysics(). |
|
|
Definition at line 31 of file JobCRecord.h. Referenced by SetDataPtr(). |
1.3.9.1