Changeset 1340 for trunk/source/digits_hits/scorer/include/G4PSCellFlux.hh
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/digits_hits/scorer/include/G4PSCellFlux.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSCellFlux.hh,v 1. 1 2007/07/11 01:29:28 asaimExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSCellFlux.hh,v 1.3 2010/07/22 23:42:01 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 48 48 // 49 49 // Created: 2005-11-14 Tsukasa ASO, Akinori Kimura. 50 // 2010-07-22 Introduce Unit specification. 51 // 2010-07-22 Add weighted option 50 52 // 51 53 /////////////////////////////////////////////////////////////////////////////// … … 56 58 public: // with description 57 59 G4PSCellFlux(G4String name, G4int depth=0); 60 G4PSCellFlux(G4String name, const G4String& unit, G4int depth=0); 58 61 virtual ~G4PSCellFlux(); 62 63 inline void Weighted(G4bool flg=true) { weighted = flg; } 64 // Multiply track weight 59 65 60 66 protected: // with description … … 68 74 virtual void PrintAll(); 69 75 76 virtual void SetUnit(const G4String& unit); 77 78 protected: 79 virtual void DefineUnitAndCategory(); 80 70 81 private: 71 82 G4int HCID; 72 83 G4THitsMap<G4double>* EvtMap; 84 G4bool weighted; 85 73 86 }; 74 87 #endif
Note: See TracChangeset
for help on using the changeset viewer.