- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/digits_hits/scorer/include/G4PSFlatSurfaceFlux.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSFlatSurfaceFlux.hh,v 1. 1 2007/07/11 01:29:28 asaimExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSFlatSurfaceFlux.hh,v 1.3 2010/07/22 23:42:01 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 57 57 // Bug fix. Area definition. 58 58 // 29-Mar-2007 T.Aso, Bug fix for momentum direction at outgoing flux. 59 // 2010-07-22 Introduce Unit specification. 60 // 2010-07-22 Add weighted and divideByArea options 59 61 /////////////////////////////////////////////////////////////////////////////// 60 62 … … 63 65 public: // with description 64 66 G4PSFlatSurfaceFlux(G4String name,G4int direction, G4int depth=0); 67 G4PSFlatSurfaceFlux(G4String name,G4int direction, 68 const G4String& unit, G4int depth=0); 65 69 virtual ~G4PSFlatSurfaceFlux(); 70 71 inline void Weighted(G4bool flg=true) { weighted = flg; } 72 // Multiply track weight 73 74 inline void DivideByArea(G4bool flg=true) { divideByArea = flg; } 75 // Divided by Area. 66 76 67 77 protected: // with description … … 76 86 virtual void PrintAll(); 77 87 88 virtual void SetUnit(const G4String& unit); 89 90 protected: 91 virtual void DefineUnitAndCategory(); 92 78 93 private: 79 94 G4int HCID; 80 95 G4int fDirection; 81 96 G4THitsMap<G4double>* EvtMap; 82 97 G4bool weighted; 98 G4bool divideByArea; 83 99 }; 84 100
Note: See TracChangeset
for help on using the changeset viewer.