- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/digits_hits/detector/include/G4VPrimitiveScorer.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4VPrimitiveScorer.hh,v 1. 3 2007/08/28 07:51:45 asaimExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4VPrimitiveScorer.hh,v 1.6 2010/07/22 07:36:50 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 46 46 // used either as a sensitive detector or to be registered to 47 47 // G4MultiFunctionalDetector to define multiple functionalities. 48 // 49 // 48 50 49 51 class G4VPrimitiveScorer … … 78 80 // These methods are invoked by G4SDManager through G4MultiFunctionalDetector. 79 81 82 virtual void SetUnit(const G4String& unit)=0; 83 G4String GetUnit() const { return unitName;} 84 G4double GetUnitValue() const { return unitValue;} 85 86 protected: 87 void CheckAndSetUnit(const G4String& unit,const G4String& category); 88 80 89 protected: 81 90 G4String primitiveName; … … 84 93 G4int verboseLevel; 85 94 G4int indexDepth; 95 G4String unitName; 96 G4double unitValue; 86 97 87 98 public: // with description
Note: See TracChangeset
for help on using the changeset viewer.