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