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