- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/digits_hits/scorer/include/G4PSNofSecondary.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSNofSecondary.hh,v 1. 2 2007/08/14 21:23:51 taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSNofSecondary.hh,v 1.4 2010/07/22 23:42:01 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 46 46 // particleDef is not set, it accepts all secondaies. 47 47 // But onece user sets it, it accepts only the particle. 48 // 2010-07-22 Introduce Unit specification. 48 49 // 49 50 // … … 59 60 // Scoring option 60 61 void SetParticle(const G4String& particleName); 62 63 inline void Weighted(G4bool flg=true) { weighted = flg; } 64 // Multiply track weight 61 65 62 66 protected: // with description … … 75 79 virtual void PrintAll(); 76 80 81 virtual void SetUnit(const G4String& unit); 82 77 83 private: 78 84 G4int HCID; 79 85 G4THitsMap<G4double>* EvtMap; 80 86 G4ParticleDefinition* particleDef; 87 G4bool weighted; 81 88 82 89 public:
Note: See TracChangeset
for help on using the changeset viewer.