Changeset 1196 for trunk/source/track/include/G4VUserTrackInformation.hh
- Timestamp:
- Nov 25, 2009, 5:13:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/track/include/G4VUserTrackInformation.hh
r1058 r1196 25 25 // 26 26 // 27 // $Id: G4VUserTrackInformation.hh,v 1. 6 2006/06/29 21:14:59 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // $Id: G4VUserTrackInformation.hh,v 1.8 2009/10/19 17:11:43 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 57 57 #define G4VUserTrackInformation_H 1 58 58 59 #include "globals.hh" 60 59 61 class G4VUserTrackInformation 60 { 61 public: 62 { 63 public: // With Description 62 64 G4VUserTrackInformation(); 65 G4VUserTrackInformation(const G4String& infoType); 66 // String is provided to indicate Type of UserTrackInfo class 67 // User is recommended to set the type of his/her class 68 63 69 virtual ~G4VUserTrackInformation(); 64 70 65 public:66 71 virtual void Print() const = 0; 72 73 const G4String& GetType() const; 74 // get Type of this UserTrackInfo 75 76 protected: 77 G4String fType; 67 78 }; 68 79 80 inline 81 const G4String& G4VUserTrackInformation::GetType() const 82 { 83 return fType; 84 } 85 69 86 #endif 70 87
Note: See TracChangeset
for help on using the changeset viewer.