- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/digits_hits/scorer/include/G4PSTrackLength.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSTrackLength.hh,v 1. 2 2007/08/14 21:23:51taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSTrackLength.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 43 43 // Modified: 2007-02-02 Tsukasa ASO, Add MultiplyKineticEnergy() 44 44 // and DivideByVelocity(). 45 // 2010-07-22 Introduce Unit specification. 45 46 // 46 47 // … … 52 53 public: // with description 53 54 G4PSTrackLength(G4String name, G4int depth=0); 55 G4PSTrackLength(G4String name, const G4String& unit, G4int depth=0); 54 56 virtual ~G4PSTrackLength(); 55 57 … … 57 59 // Multiply track weight 58 60 59 inline void MultiplyKineticEnergy(G4bool flg=true) { multiplyKinE = flg; }61 void MultiplyKineticEnergy(G4bool flg=true); 60 62 // Multiply Kinetic Energy 61 63 62 inline void DivideByVelocity(G4bool flg=true) { divideByVelocity = flg; }64 void DivideByVelocity(G4bool flg=true); 63 65 // Divide by velocity 64 66 … … 74 76 virtual void PrintAll(); 75 77 78 virtual void SetUnit(const G4String& unit); 79 80 protected: 81 virtual void DefineUnitAndCategory(); 82 76 83 private: 77 84 G4int HCID;
Note: See TracChangeset
for help on using the changeset viewer.