Changeset 1340 for trunk/source/digits_hits/scorer/include
- Timestamp:
- Nov 5, 2010, 3:45:55 PM (15 years ago)
- Location:
- trunk/source/digits_hits/scorer/include
- Files:
-
- 40 edited
-
CVS/Entries (modified) (1 diff)
-
G4PSCellCharge.hh (modified) (4 diffs)
-
G4PSCellCharge3D.hh (modified) (3 diffs)
-
G4PSCellFlux.hh (modified) (4 diffs)
-
G4PSCellFlux3D.hh (modified) (3 diffs)
-
G4PSCylinderSurfaceCurrent.hh (modified) (4 diffs)
-
G4PSCylinderSurfaceCurrent3D.hh (modified) (3 diffs)
-
G4PSCylinderSurfaceFlux.hh (modified) (4 diffs)
-
G4PSCylinderSurfaceFlux3D.hh (modified) (3 diffs)
-
G4PSDoseDeposit.hh (modified) (4 diffs)
-
G4PSDoseDeposit3D.hh (modified) (3 diffs)
-
G4PSEnergyDeposit.hh (modified) (4 diffs)
-
G4PSEnergyDeposit3D.hh (modified) (3 diffs)
-
G4PSFlatSurfaceCurrent.hh (modified) (4 diffs)
-
G4PSFlatSurfaceCurrent3D.hh (modified) (3 diffs)
-
G4PSFlatSurfaceFlux.hh (modified) (4 diffs)
-
G4PSFlatSurfaceFlux3D.hh (modified) (3 diffs)
-
G4PSMinKinEAtGeneration.hh (modified) (4 diffs)
-
G4PSMinKinEAtGeneration3D.hh (modified) (3 diffs)
-
G4PSNofCollision.hh (modified) (3 diffs)
-
G4PSNofSecondary.hh (modified) (4 diffs)
-
G4PSNofStep.hh (modified) (3 diffs)
-
G4PSNofStep3D.hh (modified) (2 diffs)
-
G4PSPassageCellCurrent.hh (modified) (3 diffs)
-
G4PSPassageCellCurrent3D.hh (modified) (2 diffs)
-
G4PSPassageCellFlux.hh (modified) (5 diffs)
-
G4PSPassageCellFlux3D.hh (modified) (3 diffs)
-
G4PSPassageTrackLength.hh (modified) (4 diffs)
-
G4PSPassageTrackLength3D.hh (modified) (3 diffs)
-
G4PSPopulation.hh (modified) (3 diffs)
-
G4PSSphereSurfaceCurrent.hh (modified) (4 diffs)
-
G4PSSphereSurfaceCurrent3D.hh (modified) (3 diffs)
-
G4PSSphereSurfaceFlux.hh (modified) (4 diffs)
-
G4PSSphereSurfaceFlux3D.hh (modified) (3 diffs)
-
G4PSTermination.hh (modified) (3 diffs)
-
G4PSTrackCounter.hh (modified) (3 diffs)
-
G4PSTrackCounter3D.hh (modified) (2 diffs)
-
G4PSTrackLength.hh (modified) (5 diffs)
-
G4PSTrackLength3D.hh (modified) (3 diffs)
-
G4SDParticleFilter.hh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/digits_hits/scorer/include/CVS/Entries
r1337 r1340 1 /G4PS CellCharge.hh/1.1/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-012 /G4PS CellCharge3D.hh/1.2/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-013 /G4PS CellFlux.hh/1.1/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-014 /G4PS CellFlux3D.hh/1.2/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-015 /G4PS CylinderSurfaceCurrent.hh/1.1/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-016 /G4 PSCylinderSurfaceCurrent3D.hh/1.2/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-017 /G4 PSCylinderSurfaceFlux.hh/1.1/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-018 /G4 PSCylinderSurfaceFlux3D.hh/1.2/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-019 /G4 PSDirectionFlag.hh/1.1/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-0110 /G4PS DoseDeposit.hh/1.1/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-0111 /G4PS DoseDeposit3D.hh/1.2/Wed Sep 29 21:47:40 2010//Tgeant4-09-04-beta-0112 /G4PS EnergyDeposit.hh/1.1/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0113 /G4PS EnergyDeposit3D.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0114 /G4PS FlatSurfaceCurrent.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0115 /G4PS FlatSurfaceCurrent3D.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0116 /G4PS FlatSurfaceFlux.hh/1.1/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0117 /G4PS FlatSurfaceFlux3D.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0118 /G4PS MinKinEAtGeneration.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0119 /G4PS MinKinEAtGeneration3D.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0120 /G4PS NofCollision.hh/1.1/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0121 /G4PS NofCollision3D.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0122 /G4PS NofSecondary.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0123 /G4PS NofSecondary3D.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0124 /G4PS NofStep.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0125 /G4PS NofStep3D.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0126 /G4PS PassageCellCurrent.hh/1.1/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0127 /G4PS PassageCellCurrent3D.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0128 /G4PS PassageCellFlux.hh/1.1/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0129 /G4PS PassageCellFlux3D.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0130 /G4PS PassageTrackLength.hh/1.1/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0131 /G4PS PassageTrackLength3D.hh/1.2/Wed Sep 29 21:47:49 2010//Tgeant4-09-04-beta-0132 /G4PSP opulation.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0133 /G4PSP opulation3D.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0134 /G4PS SphereSurfaceCurrent.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0135 /G4PS SphereSurfaceCurrent3D.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0136 /G4PS SphereSurfaceFlux.hh/1.1/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0137 /G4PS SphereSurfaceFlux3D.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0138 /G4PS Termination.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0139 /G4PS Termination3D.hh/1.3/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0140 /G4PS TrackCounter.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0141 /G4PS TrackCounter3D.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0142 /G4PS TrackLength.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0143 /G4PST rackLength3D.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0144 /G4 SDChargedFilter.hh/1.1/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0145 /G4 SDKineticEnergyFilter.hh/1.1/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0146 /G4 SDNeutralFilter.hh/1.1/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0147 /G4 SDParticleFilter.hh/1.2/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-0148 /G4SDParticle WithEnergyFilter.hh/1.1/Wed Sep 29 21:47:50 2010//Tgeant4-09-04-beta-011 /G4PSDirectionFlag.hh/1.1/Wed Sep 29 21:47:40 2010// 2 /G4PSNofCollision3D.hh/1.2/Wed Sep 29 21:47:49 2010// 3 /G4PSNofSecondary3D.hh/1.2/Wed Sep 29 21:47:49 2010// 4 /G4PSPopulation3D.hh/1.2/Wed Sep 29 21:47:50 2010// 5 /G4PSTermination3D.hh/1.3/Wed Sep 29 21:47:50 2010// 6 /G4SDChargedFilter.hh/1.1/Wed Sep 29 21:47:50 2010// 7 /G4SDKineticEnergyFilter.hh/1.1/Wed Sep 29 21:47:50 2010// 8 /G4SDNeutralFilter.hh/1.1/Wed Sep 29 21:47:50 2010// 9 /G4SDParticleWithEnergyFilter.hh/1.1/Wed Sep 29 21:47:50 2010// 10 /G4PSCellCharge.hh/1.2/Fri Nov 5 09:57:28 2010// 11 /G4PSCellCharge3D.hh/1.3/Fri Nov 5 09:57:28 2010// 12 /G4PSCellFlux.hh/1.3/Fri Nov 5 09:57:28 2010// 13 /G4PSCellFlux3D.hh/1.3/Fri Nov 5 09:57:28 2010// 14 /G4PSCylinderSurfaceCurrent.hh/1.2/Fri Nov 5 09:57:28 2010// 15 /G4PSCylinderSurfaceCurrent3D.hh/1.3/Fri Nov 5 09:57:28 2010// 16 /G4PSCylinderSurfaceFlux.hh/1.3/Fri Nov 5 09:57:28 2010// 17 /G4PSCylinderSurfaceFlux3D.hh/1.3/Fri Nov 5 09:57:28 2010// 18 /G4PSDoseDeposit.hh/1.2/Fri Nov 5 09:57:28 2010// 19 /G4PSDoseDeposit3D.hh/1.3/Fri Nov 5 09:57:28 2010// 20 /G4PSEnergyDeposit.hh/1.3/Fri Nov 5 09:57:28 2010// 21 /G4PSEnergyDeposit3D.hh/1.4/Fri Nov 5 09:57:28 2010// 22 /G4PSFlatSurfaceCurrent.hh/1.3/Fri Nov 5 09:57:28 2010// 23 /G4PSFlatSurfaceCurrent3D.hh/1.3/Fri Nov 5 09:57:28 2010// 24 /G4PSFlatSurfaceFlux.hh/1.3/Fri Nov 5 09:57:28 2010// 25 /G4PSFlatSurfaceFlux3D.hh/1.3/Fri Nov 5 09:57:28 2010// 26 /G4PSMinKinEAtGeneration.hh/1.3/Fri Nov 5 09:57:28 2010// 27 /G4PSMinKinEAtGeneration3D.hh/1.3/Fri Nov 5 09:57:28 2010// 28 /G4PSNofCollision.hh/1.2/Fri Nov 5 09:57:28 2010// 29 /G4PSNofSecondary.hh/1.4/Fri Nov 5 09:57:28 2010// 30 /G4PSNofStep.hh/1.3/Fri Nov 5 09:57:28 2010// 31 /G4PSNofStep3D.hh/1.3/Fri Nov 5 09:57:28 2010// 32 /G4PSPassageCellCurrent.hh/1.3/Fri Nov 5 09:57:28 2010// 33 /G4PSPassageCellCurrent3D.hh/1.3/Fri Nov 5 09:57:28 2010// 34 /G4PSPassageCellFlux.hh/1.3/Fri Nov 5 09:57:28 2010// 35 /G4PSPassageCellFlux3D.hh/1.3/Fri Nov 5 09:57:28 2010// 36 /G4PSPassageTrackLength.hh/1.2/Fri Nov 5 09:57:28 2010// 37 /G4PSPassageTrackLength3D.hh/1.3/Fri Nov 5 09:57:28 2010// 38 /G4PSPopulation.hh/1.3/Fri Nov 5 09:57:28 2010// 39 /G4PSSphereSurfaceCurrent.hh/1.3/Fri Nov 5 09:57:28 2010// 40 /G4PSSphereSurfaceCurrent3D.hh/1.3/Fri Nov 5 09:57:28 2010// 41 /G4PSSphereSurfaceFlux.hh/1.3/Fri Nov 5 09:57:28 2010// 42 /G4PSSphereSurfaceFlux3D.hh/1.3/Fri Nov 5 09:57:28 2010// 43 /G4PSTermination.hh/1.3/Fri Nov 5 09:57:28 2010// 44 /G4PSTrackCounter.hh/1.3/Fri Nov 5 09:57:28 2010// 45 /G4PSTrackCounter3D.hh/1.3/Fri Nov 5 09:57:28 2010// 46 /G4PSTrackLength.hh/1.3/Fri Nov 5 09:57:28 2010// 47 /G4PSTrackLength3D.hh/1.3/Fri Nov 5 09:57:28 2010// 48 /G4SDParticleFilter.hh/1.3/Fri Nov 5 09:57:28 2010// 49 49 D -
trunk/source/digits_hits/scorer/include/G4PSCellCharge.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSCellCharge.hh,v 1. 1 2007/07/11 01:29:28 asaimExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSCellCharge.hh,v 1.2 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 40 40 // 41 41 // Created: 2007-08-20 Tsukasa ASO 42 // 2010-07-22 Introduce Unit specification. 42 43 // 43 44 /////////////////////////////////////////////////////////////////////////////// … … 48 49 public: // with description 49 50 G4PSCellCharge(G4String name, G4int depth=0); 51 G4PSCellCharge(G4String name, const G4String& unit, G4int depth=0); 50 52 virtual ~G4PSCellCharge(); 51 53 … … 60 62 virtual void PrintAll(); 61 63 64 virtual void SetUnit(const G4String& unit); 65 62 66 private: 63 67 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSCellCharge3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSCellCharge3D.hh,v 1. 2 2007/08/28 08:01:55 taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSCellCharge3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 39 39 // 40 40 // Created: 2007-08-20 Tsukasa ASO 41 // 2010-07-22 Introduce Unit specification. 41 42 // 42 43 /////////////////////////////////////////////////////////////////////////////// … … 47 48 public: // with description 48 49 G4PSCellCharge3D(G4String name, 50 G4int ni=1,G4int nj=1, G4int nk=1, 51 G4int depi=2, G4int depj=1, G4int depk=0); 52 G4PSCellCharge3D(G4String name, const G4String& unit, 49 53 G4int ni=1,G4int nj=1, G4int nk=1, 50 54 G4int depi=2, G4int depj=1, G4int depk=0); -
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 -
trunk/source/digits_hits/scorer/include/G4PSCellFlux3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSCellFlux3D.hh,v 1. 2 2007/08/28 08:01:55 taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSCellFlux3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 46 46 // 47 47 // Created: 2007-08-14 Tsukasa ASO 48 // 2010-07-22 Introduce Unit specification. 48 49 // 49 50 /////////////////////////////////////////////////////////////////////////////// … … 54 55 public: // with description 55 56 G4PSCellFlux3D(G4String name, 57 G4int ni=1,G4int nj=1, G4int nk=1, 58 G4int depi=2, G4int depj=1, G4int depk=0); 59 G4PSCellFlux3D(G4String name,const G4String& unit, 56 60 G4int ni=1,G4int nj=1, G4int nk=1, 57 61 G4int depi=2, G4int depj=1, G4int depk=0); -
trunk/source/digits_hits/scorer/include/G4PSCylinderSurfaceCurrent.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSCylinderSurfaceCurrent.hh,v 1. 1 2007/08/14 21:23:51taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSCylinderSurfaceCurrent.hh,v 1.2 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 53 53 // 54 54 // Created: 2007-03-21 Tsukasa ASO 55 // 2010-07-22 Introduce Unit specification. 55 56 // 56 57 /////////////////////////////////////////////////////////////////////////////// … … 60 61 61 62 public: // with description 62 G4PSCylinderSurfaceCurrent(G4String name ,G4int direction, G4int depth=0); 63 G4PSCylinderSurfaceCurrent(G4String name ,G4int direction, 64 G4int depth=0); 65 G4PSCylinderSurfaceCurrent(G4String name ,G4int direction, 66 const G4String& unit, G4int depth=0); 63 67 virtual ~G4PSCylinderSurfaceCurrent(); 64 68 … … 81 85 virtual void PrintAll(); 82 86 87 virtual void SetUnit(const G4String& unit); 88 89 protected: 90 virtual void DefineUnitAndCategory(); 91 83 92 private: 84 93 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSCylinderSurfaceCurrent3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSCylinderSurfaceCurrent3D.hh,v 1. 2 2007/08/28 08:01:55 taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSCylinderSurfaceCurrent3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 49 49 // 50 50 // Created: 2008-08-14 Tsukasa ASO 51 // 2010-07-22 Introduce Unit specification. 51 52 /////////////////////////////////////////////////////////////////////////////// 52 53 … … 56 57 public: // with description 57 58 G4PSCylinderSurfaceCurrent3D(G4String name, G4int direction, 59 G4int ni=1,G4int nj=1, G4int nk=1, 60 G4int depi=2, G4int depj=1, G4int depk=0); 61 G4PSCylinderSurfaceCurrent3D(G4String name, G4int direction, 62 const G4String& unit, 58 63 G4int ni=1,G4int nj=1, G4int nk=1, 59 64 G4int depi=2, G4int depj=1, G4int depk=0); -
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 -
trunk/source/digits_hits/scorer/include/G4PSCylinderSurfaceFlux3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSCylinderSurfaceFlux3D.hh,v 1. 2 2007/08/28 08:01:55 taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSCylinderSurfaceFlux3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 49 49 // 50 50 // Created: 2008-08-14 Tsukasa ASO 51 // 2010-07-22 Introduce Unit specification. 51 52 /////////////////////////////////////////////////////////////////////////////// 52 53 … … 56 57 public: // with description 57 58 G4PSCylinderSurfaceFlux3D(G4String name, G4int direction, 59 G4int ni=1,G4int nj=1, G4int nk=1, 60 G4int di=2, G4int dj=1, G4int dk=0); 61 G4PSCylinderSurfaceFlux3D(G4String name, G4int direction, 62 const G4String& unit, 58 63 G4int ni=1,G4int nj=1, G4int nk=1, 59 64 G4int di=2, G4int dj=1, G4int dk=0); -
trunk/source/digits_hits/scorer/include/G4PSDoseDeposit.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSDoseDeposit.hh,v 1. 1 2007/07/11 01:29:28 asaimExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSDoseDeposit.hh,v 1.2 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 40 40 // 41 41 // Created: 2005-11-14 Tsukasa ASO, Akinori Kimura. 42 // 2010-07-22 Introduce Unit specification. 42 43 // 43 44 /////////////////////////////////////////////////////////////////////////////// … … 47 48 public: // with description 48 49 G4PSDoseDeposit(G4String name, G4int depth=0); 50 G4PSDoseDeposit(G4String name, const G4String& unit, G4int depth=0); 49 51 virtual ~G4PSDoseDeposit(); 50 52 … … 59 61 virtual void PrintAll(); 60 62 63 virtual void SetUnit(const G4String& unit); 64 61 65 private: 62 66 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSDoseDeposit3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSDoseDeposit3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSDoseDeposit3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 39 39 // 40 40 // Created: 2008-08-14 Tsukasa ASO 41 // 2010-07-22 Introduce Unit specification. 41 42 // 42 43 /////////////////////////////////////////////////////////////////////////////// … … 46 47 public: // with description 47 48 G4PSDoseDeposit3D(G4String name, 49 G4int ni=1,G4int nj=1, G4int nk=1, 50 G4int depi=2, G4int depj=1, G4int depk=0); 51 G4PSDoseDeposit3D(G4String name, const G4String& unit, 48 52 G4int ni=1,G4int nj=1, G4int nk=1, 49 53 G4int depi=2, G4int depj=1, G4int depk=0); -
trunk/source/digits_hits/scorer/include/G4PSEnergyDeposit.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSEnergyDeposit.hh,v 1. 1 2007/07/11 01:29:28 asaimExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSEnergyDeposit.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 40 40 // 41 41 // Created: 2005-11-14 Tsukasa ASO, Akinori Kimura 42 // 2010-07-22 Introduce Unit specification. 42 43 // 43 44 /////////////////////////////////////////////////////////////////////////////// … … 47 48 48 49 public: // with description 49 G4PSEnergyDeposit(G4String name, G4int depth=0); 50 G4PSEnergyDeposit(G4String name, G4int depth=0); // default unit 51 G4PSEnergyDeposit(G4String name, const G4String& unit, G4int depth=0); 50 52 virtual ~G4PSEnergyDeposit(); 51 53 … … 60 62 virtual void PrintAll(); 61 63 64 virtual void SetUnit(const G4String& unit); 65 62 66 private: 63 67 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSEnergyDeposit3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSEnergyDeposit3D.hh,v 1. 2 2007/08/28 08:01:55 taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSEnergyDeposit3D.hh,v 1.4 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 38 38 // 39 39 // Created: 2007-08-14 Tsukasa ASO 40 // 2010-07-22 Introduce Unit specification. 40 41 /////////////////////////////////////////////////////////////////////////////// 41 42 … … 47 48 G4int ni=1,G4int nj=1, G4int nk=1, 48 49 G4int depi=2, G4int depj=1, G4int depk=0); 50 G4PSEnergyDeposit3D(G4String name, const G4String& unit, 51 G4int ni=1,G4int nj=1, G4int nk=1, 52 G4int depi=2, G4int depj=1, G4int depk=0); 53 49 54 virtual ~G4PSEnergyDeposit3D(); 50 55 -
trunk/source/digits_hits/scorer/include/G4PSFlatSurfaceCurrent.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSFlatSurfaceCurrent.hh,v 1. 2 2007/08/14 21:23:51taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSFlatSurfaceCurrent.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 55 55 // 17-Nov-2005 T.Aso, Bug fix for area definition. 56 56 // 31-Mar-2007 T.Aso, Add option for normalizing by the area. 57 // 2010-07-22 Introduce Unit specification. 57 58 // 58 59 /////////////////////////////////////////////////////////////////////////////// … … 63 64 public: // with description 64 65 G4PSFlatSurfaceCurrent(G4String name ,G4int direction, G4int depth=0); 66 G4PSFlatSurfaceCurrent(G4String name ,G4int direction, 67 const G4String& unit, G4int depth=0); 65 68 virtual ~G4PSFlatSurfaceCurrent(); 66 69 … … 82 85 virtual void PrintAll(); 83 86 87 virtual void SetUnit(const G4String& unit); 88 89 protected: 90 virtual void DefineUnitAndCategory(); 91 84 92 private: 85 93 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSFlatSurfaceCurrent3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSFlatSurfaceCurrent3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSFlatSurfaceCurrent3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 49 49 // 50 50 // Created: 2008-08-14 Tsukasa ASO 51 // 2010-07-22 Introduce Unit specification. 51 52 /////////////////////////////////////////////////////////////////////////////// 52 53 … … 56 57 public: // with description 57 58 G4PSFlatSurfaceCurrent3D(G4String name, G4int direction, 59 G4int ni=1,G4int nj=1, G4int nk=1, 60 G4int depi=2, G4int depj=1, G4int depk=0); 61 G4PSFlatSurfaceCurrent3D(G4String name, G4int direction, 62 const G4String& unit, 58 63 G4int ni=1,G4int nj=1, G4int nk=1, 59 64 G4int depi=2, G4int depj=1, G4int depk=0); -
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 -
trunk/source/digits_hits/scorer/include/G4PSFlatSurfaceFlux3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSFlatSurfaceFlux3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSFlatSurfaceFlux3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 50 50 // 51 51 // Created: 2007-08-14 Tsukasa ASO 52 // 2010-07-22 Introduce Unit specification. 52 53 // 53 54 /////////////////////////////////////////////////////////////////////////////// … … 58 59 public: // with description 59 60 G4PSFlatSurfaceFlux3D(G4String name, G4int direction, 61 G4int ni=1,G4int nj=1, G4int nk=1, 62 G4int depi=2, G4int depj=1, G4int depk=0); 63 G4PSFlatSurfaceFlux3D(G4String name, G4int direction, 64 const G4String& unit, 60 65 G4int ni=1,G4int nj=1, G4int nk=1, 61 66 G4int depi=2, G4int depj=1, G4int depk=0); -
trunk/source/digits_hits/scorer/include/G4PSMinKinEAtGeneration.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSMinKinEAtGeneration.hh,v 1. 2 2007/08/14 21:23:51taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSMinKinEAtGeneration.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 41 41 // 42 42 // Created: 2005-11-17 Tsukasa ASO, Akinori Kimura. 43 // 2010-07-22 Introduce Unit specification. 43 44 // 44 45 // … … 51 52 public: // with description 52 53 G4PSMinKinEAtGeneration(G4String name, G4int depth=0); 54 G4PSMinKinEAtGeneration(G4String name, const G4String& unit, 55 G4int depth=0); 53 56 54 57 protected: // with description … … 67 70 virtual void PrintAll(); 68 71 72 virtual void SetUnit(const G4String& unit); 73 69 74 private: 70 75 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSMinKinEAtGeneration3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSMinKinEAtGeneration3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSMinKinEAtGeneration3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 40 40 // 41 41 // Created: 2007-08-14 Tsukasa ASO 42 // 2010-07-22 Introduce Unit specification. 42 43 // 43 44 // … … 48 49 public: // with description 49 50 G4PSMinKinEAtGeneration3D(G4String name, 51 G4int ni=1,G4int nj=1, G4int nk=1, 52 G4int depi=2, G4int depj=1, G4int depk=0); 53 G4PSMinKinEAtGeneration3D(G4String name,const G4String& unit, 50 54 G4int ni=1,G4int nj=1, G4int nk=1, 51 55 G4int depi=2, G4int depj=1, G4int depk=0); -
trunk/source/digits_hits/scorer/include/G4PSNofCollision.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSNofCollision.hh,v 1. 1 2007/07/11 01:29:28 asaimExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSNofCollision.hh,v 1.2 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 41 41 // 42 42 // Created: 2007-2-2 Tsukasa ASO, Akinori Kimura. 43 // 2010-07-22 Introduce Unit specification. 43 44 // 44 45 /////////////////////////////////////////////////////////////////////////////// … … 69 70 virtual void PrintAll(); 70 71 72 virtual void SetUnit(const G4String& unit); 73 71 74 private: 72 75 G4int HCID; -
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: -
trunk/source/digits_hits/scorer/include/G4PSNofStep.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSNofStep.hh,v 1. 2 2007/08/29 06:36:41taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSNofStep.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 40 40 // 41 41 // Created: 2005-11-14 Tsukasa ASO, Akinori Kimura. 42 // 2010-07-22 Introduce Unit specification. 42 43 // 43 44 /////////////////////////////////////////////////////////////////////////////// … … 65 66 virtual void PrintAll(); 66 67 68 virtual void SetUnit(const G4String& unit); 69 67 70 public: 68 71 void SetBoundaryFlag(G4bool flg=true) -
trunk/source/digits_hits/scorer/include/G4PSNofStep3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSNofStep3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSNofStep3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 38 38 // 39 39 // Created: 2007-08-14 Tsukasa ASO 40 // 2010-07-22 Introduce Unit specification. 40 41 // 41 42 /////////////////////////////////////////////////////////////////////////////// -
trunk/source/digits_hits/scorer/include/G4PSPassageCellCurrent.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSPassageCellCurrent.hh,v 1. 1 2007/08/14 21:30:45taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSPassageCellCurrent.hh,v 1.3 2010/07/22 23:42:01 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 42 42 // 43 43 // Created: 2005-11-14 Tsukasa ASO, Akinori Kimura. 44 // 2010-07-22 Introduce Unit specification. 45 // 2010-07-22 Add weighted option 44 46 // 45 47 /////////////////////////////////////////////////////////////////////////////// … … 70 72 virtual void PrintAll(); 71 73 74 virtual void SetUnit(const G4String& unit); 75 72 76 private: 73 77 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSPassageCellCurrent3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSPassageCellCurrent3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSPassageCellCurrent3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 41 41 // 42 42 // Created: 2007-08-14 Tsukasa ASO 43 // 2010-07-22 Introduce Unit specification. 43 44 // 44 45 /////////////////////////////////////////////////////////////////////////////// -
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 }; -
trunk/source/digits_hits/scorer/include/G4PSPassageCellFlux3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSPassageCellFlux3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSPassageCellFlux3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 44 44 // 45 45 // Created: 2007-08-14 Tsukasa ASO 46 // 2010-07-22 Introduce Unit specification. 46 47 /////////////////////////////////////////////////////////////////////////////// 47 48 … … 51 52 public: // with description 52 53 G4PSPassageCellFlux3D(G4String name, 54 G4int ni=1,G4int nj=1, G4int nk=1, 55 G4int depi=2, G4int depj=1, G4int depk=0); 56 G4PSPassageCellFlux3D(G4String name,const G4String& unit, 53 57 G4int ni=1,G4int nj=1, G4int nk=1, 54 58 G4int depi=2, G4int depj=1, G4int depk=0); -
trunk/source/digits_hits/scorer/include/G4PSPassageTrackLength.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSPassageTrackLength.hh,v 1. 1 2007/07/11 01:29:28 asaimExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSPassageTrackLength.hh,v 1.2 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 42 42 // 43 43 // Created: 2005-11-14 Tsukasa ASO, Akinori Kimura. 44 // 2010-07-22 Introduce Unit specification. 44 45 // 45 46 /////////////////////////////////////////////////////////////////////////////// … … 50 51 public: // with description 51 52 G4PSPassageTrackLength(G4String name, G4int depth=0); 53 G4PSPassageTrackLength(G4String name, const G4String& unit, 54 G4int depth=0); 52 55 virtual ~G4PSPassageTrackLength(); 53 56 … … 66 69 virtual void PrintAll(); 67 70 71 virtual void SetUnit(const G4String& unit); 72 68 73 private: 69 74 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSPassageTrackLength3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSPassageTrackLength3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSPassageTrackLength3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 41 41 // 42 42 // Created: 2008-08-14 Tsukasa ASO 43 // 2010-07-22 Introduce Unit specification. 43 44 // 44 45 /////////////////////////////////////////////////////////////////////////////// … … 49 50 public: // with description 50 51 G4PSPassageTrackLength3D(G4String name, 52 G4int ni=1,G4int nj=1, G4int nk=1, 53 G4int depi=2, G4int depj=1, G4int depk=0); 54 G4PSPassageTrackLength3D(G4String name,const G4String& unit, 51 55 G4int ni=1,G4int nj=1, G4int nk=1, 52 56 G4int depi=2, G4int depj=1, G4int depk=0); -
trunk/source/digits_hits/scorer/include/G4PSPopulation.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSPopulation.hh,v 1. 2 2007/08/14 21:23:51taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSPopulation.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 43 43 // 44 44 // Created: 2007-02-02 Tsukasa ASO, Akinori Kimura. 45 // 2010-07-22 Introduce Unit specification. 45 46 // 46 47 /////////////////////////////////////////////////////////////////////////////// … … 71 72 virtual void PrintAll(); 72 73 74 virtual void SetUnit(const G4String& unit); 75 73 76 private: 74 77 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSSphereSurfaceCurrent.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSSphereSurfaceCurrent.hh,v 1. 2 2007/08/14 21:23:51taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSSphereSurfaceCurrent.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 53 53 // Created: 2005-11-14 Tsukasa ASO, Akinori Kimura. 54 54 // 17-Nov-2005 Bug fix. square definition. 55 // 31-Mar-2007 T.Aso, Add option for normalizing by the area. 55 // 31-Mar-2007 T.Aso, Add option for normalizing by the area. 56 // 2010-07-22 Introduce Unit specification. 56 57 // 57 58 /////////////////////////////////////////////////////////////////////////////// … … 62 63 public: // with description 63 64 G4PSSphereSurfaceCurrent(G4String name, G4int direction, G4int depth=0); 65 G4PSSphereSurfaceCurrent(G4String name, G4int direction, 66 const G4String& unit, G4int depth=0); 64 67 virtual ~G4PSSphereSurfaceCurrent(); 65 68 … … 80 83 virtual void PrintAll(); 81 84 85 virtual void SetUnit(const G4String& unit); 86 87 protected: 88 virtual void DefineUnitAndCategory(); 89 82 90 private: 83 91 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSSphereSurfaceCurrent3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSSphereSurfaceCurrent3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSSphereSurfaceCurrent3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 48 48 // 49 49 // Created: 2007-08-14 Tsukasa ASO 50 // 2010-07-22 Introduce Unit specification. 50 51 // 51 52 /////////////////////////////////////////////////////////////////////////////// … … 58 59 G4int ni=1,G4int nj=1, G4int nk=1, 59 60 G4int depi=2, G4int depj=1, G4int depk=0); 61 G4PSSphereSurfaceCurrent3D(G4String name, G4int direction, 62 const G4String& unit, 63 G4int ni=1,G4int nj=1, G4int nk=1, 64 G4int depi=2, G4int depj=1, G4int depk=0); 65 60 66 61 67 virtual ~G4PSSphereSurfaceCurrent3D(); -
trunk/source/digits_hits/scorer/include/G4PSSphereSurfaceFlux.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSSphereSurfaceFlux.hh,v 1. 1 2007/07/11 01:29:28 asaimExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSSphereSurfaceFlux.hh,v 1.3 2010/07/22 23:42:01 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 53 53 // Created: 2005-11-14 Tsukasa ASO, Akinori Kimura. 54 54 // 17-Nov-2005 Bug fix. square definition. 55 // 29-Mar-2007 T.Aso, Bug fix for momentum direction at outgoing flux. 55 // 29-Mar-2007 T.Aso, Bug fix for momentum direction for out-going flux. 56 // 2010-07-22 Introduce Unit specification. 57 // 2010-07-22 Add weighted and divideByArea options 56 58 // 57 59 /////////////////////////////////////////////////////////////////////////////// … … 62 64 public: // with description 63 65 G4PSSphereSurfaceFlux(G4String name, G4int direction, G4int depth=0); 66 G4PSSphereSurfaceFlux(G4String name, G4int direction, 67 const G4String& unit, G4int depth=0); 64 68 virtual ~G4PSSphereSurfaceFlux(); 69 70 inline void Weighted(G4bool flg=true) { weighted = flg; } 71 // Multiply track weight 72 73 inline void DivideByArea(G4bool flg=true) { divideByArea = flg; } 74 // Divided by Area. 65 75 66 76 protected: // with description … … 75 85 virtual void PrintAll(); 76 86 87 virtual void SetUnit(const G4String& unit); 88 89 protected: 90 virtual void DefineUnitAndCategory(); 91 77 92 private: 78 93 G4int HCID; 79 94 G4int fDirection; 80 95 G4THitsMap<G4double>* EvtMap; 81 96 G4bool weighted; 97 G4bool divideByArea; 82 98 }; 83 99 -
trunk/source/digits_hits/scorer/include/G4PSSphereSurfaceFlux3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSSphereSurfaceFlux3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSSphereSurfaceFlux3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 49 49 // 50 50 // Created: 2007-08-14 Tsukasa ASO 51 // 2010-07-22 Introduce Unit specification. 51 52 /////////////////////////////////////////////////////////////////////////////// 52 53 … … 56 57 public: // with description 57 58 G4PSSphereSurfaceFlux3D(G4String name, G4int direction, 59 G4int ni=1,G4int nj=1, G4int nk=1, 60 G4int depi=2, G4int depj=1, G4int depk=0); 61 62 G4PSSphereSurfaceFlux3D(G4String name, G4int direction, 63 const G4String& unit, 58 64 G4int ni=1,G4int nj=1, G4int nk=1, 59 65 G4int depi=2, G4int depj=1, G4int depk=0); -
trunk/source/digits_hits/scorer/include/G4PSTermination.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSTermination.hh,v 1. 2 2007/12/10 16:29:35 gunterExp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSTermination.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 41 41 // 42 42 // Created: 2007-2-2 Tsukasa ASO, Akinori Kimura. 43 // 2010-07-22 Introduce Unit specification. 43 44 // 44 45 /////////////////////////////////////////////////////////////////////////////// … … 69 70 virtual void PrintAll(); 70 71 72 virtual void SetUnit(const G4String& unit); 73 71 74 private: 72 75 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSTrackCounter.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSTrackCounter.hh,v 1. 2 2007/08/14 21:23:51taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSTrackCounter.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 42 42 // 43 43 // Created: 2007-02-02 Tsukasa ASO, Akinori Kimura. 44 // 2010-07-22 Introduce Unit specification. 44 45 // 45 46 /////////////////////////////////////////////////////////////////////////////// … … 69 70 virtual void PrintAll(); 70 71 72 virtual void SetUnit(const G4String& unit); 73 71 74 private: 72 75 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSTrackCounter3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSTrackCounter3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSTrackCounter3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 40 40 // 41 41 // Created: 2007-08-14 Tsukasa ASO 42 // 2010-07-22 Introduce Unit specification. 42 43 // 43 44 /////////////////////////////////////////////////////////////////////////////// -
trunk/source/digits_hits/scorer/include/G4PSTrackLength.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSTrackLength.hh,v 1. 2 2007/08/14 21:23:51taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSTrackLength.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 43 43 // Modified: 2007-02-02 Tsukasa ASO, Add MultiplyKineticEnergy() 44 44 // and DivideByVelocity(). 45 // 2010-07-22 Introduce Unit specification. 45 46 // 46 47 // … … 52 53 public: // with description 53 54 G4PSTrackLength(G4String name, G4int depth=0); 55 G4PSTrackLength(G4String name, const G4String& unit, G4int depth=0); 54 56 virtual ~G4PSTrackLength(); 55 57 … … 57 59 // Multiply track weight 58 60 59 inline void MultiplyKineticEnergy(G4bool flg=true) { multiplyKinE = flg; }61 void MultiplyKineticEnergy(G4bool flg=true); 60 62 // Multiply Kinetic Energy 61 63 62 inline void DivideByVelocity(G4bool flg=true) { divideByVelocity = flg; }64 void DivideByVelocity(G4bool flg=true); 63 65 // Divide by velocity 64 66 … … 74 76 virtual void PrintAll(); 75 77 78 virtual void SetUnit(const G4String& unit); 79 80 protected: 81 virtual void DefineUnitAndCategory(); 82 76 83 private: 77 84 G4int HCID; -
trunk/source/digits_hits/scorer/include/G4PSTrackLength3D.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4PSTrackLength3D.hh,v 1. 2 2007/08/28 10:11:29taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4PSTrackLength3D.hh,v 1.3 2010/07/22 07:23:45 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 40 40 // 41 41 // Created: 2008-08-14 Tsukasa ASO 42 // 2010-07-22 Introduce Unit specification. 42 43 // 43 44 /////////////////////////////////////////////////////////////////////////////// … … 48 49 public: // with description 49 50 G4PSTrackLength3D(G4String name, 51 G4int ni=1,G4int nj=1, G4int nk=1, 52 G4int depi=2, G4int depj=1, G4int depk=0); 53 G4PSTrackLength3D(G4String name, const G4String& unit, 50 54 G4int ni=1,G4int nj=1, G4int nk=1, 51 55 G4int depi=2, G4int depj=1, G4int depk=0); -
trunk/source/digits_hits/scorer/include/G4SDParticleFilter.hh
r1337 r1340 25 25 // 26 26 // 27 // $Id: G4SDParticleFilter.hh,v 1. 2 2007/08/14 21:23:51taso Exp $28 // GEANT4 tag $Name: geant4-09-04-beta-01$27 // $Id: G4SDParticleFilter.hh,v 1.3 2010/07/23 00:59:33 taso Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 … … 48 48 // 49 49 // Created: 2005-11-14 Tsukasa ASO. 50 // 2010-07-22 T.Aso Filter for Ions 50 51 // 51 52 /////////////////////////////////////////////////////////////////////////////// … … 72 73 // set method for acceptable particle name. 73 74 // 75 void addIon(G4int Z, G4int A); 74 76 void show(); 75 77 76 78 private: 77 79 std::vector<G4ParticleDefinition*> thePdef; 80 std::vector<G4int> theIonZ; 81 std::vector<G4int> theIonA; 78 82 79 83 };
Note:
See TracChangeset
for help on using the changeset viewer.
