Changeset 850 for trunk/source/digits_hits/utils/include
- Timestamp:
- Sep 10, 2008, 5:40:37 PM (17 years ago)
- Location:
- trunk/source/digits_hits/utils/include
- Files:
-
- 8 edited
-
G4DefaultLinearColorMap.hh (modified) (1 diff)
-
G4ScoreQuantityMessenger.hh (modified) (1 diff)
-
G4ScoringBox.hh (modified) (1 diff)
-
G4ScoringManager.hh (modified) (1 diff)
-
G4ScoringMessenger.hh (modified) (4 diffs)
-
G4VScoreColorMap.hh (modified) (5 diffs)
-
G4VScoreWriter.hh (modified) (1 diff)
-
G4VScoringMesh.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/digits_hits/utils/include/G4DefaultLinearColorMap.hh
r814 r850 26 26 // 27 27 // $Id: G4DefaultLinearColorMap.hh,v 1.1 2007/11/04 04:06:08 asaim Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 -
trunk/source/digits_hits/utils/include/G4ScoreQuantityMessenger.hh
r814 r850 26 26 // 27 27 // $Id: G4ScoreQuantityMessenger.hh,v 1.4 2007/11/06 17:17:14 asaim Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // (HISTORY) -
trunk/source/digits_hits/utils/include/G4ScoringBox.hh
r814 r850 26 26 // 27 27 // $Id: G4ScoringBox.hh,v 1.18 2007/11/06 09:41:34 akimura Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 -
trunk/source/digits_hits/utils/include/G4ScoringManager.hh
r814 r850 26 26 // 27 27 // $Id: G4ScoringManager.hh,v 1.23 2007/11/14 20:41:17 asaim Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 -
trunk/source/digits_hits/utils/include/G4ScoringMessenger.hh
r814 r850 25 25 // 26 26 // 27 // $Id: G4ScoringMessenger.hh,v 1.2 1 2007/11/07 04:12:07akimura Exp $28 // GEANT4 tag $Name: geant4-09-01-patch-02$27 // $Id: G4ScoringMessenger.hh,v 1.22 2008/02/29 12:23:14 akimura Exp $ 28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // (HISTORY) 31 31 // 03-Sep-2007 T.Aso Command definitions are introduced. 32 32 // 01-Nov-2007 M.Asai Class is splitted into two. 33 // 18-Feb-2008 T.Aso Command for cylindrical scorer. 34 // 18-Feb-2008 T.Aso Command for color chart display. 33 35 34 36 … … 89 91 G4UIdirectory* meshCreateDir; 90 92 G4UIcmdWithAString* meshBoxCreateCmd; 91 // G4UIcmdWithAString* meshTubsCreateCmd;93 G4UIcmdWithAString* meshCylinderCreateCmd; 92 94 // G4UIcmdWithAString* meshSphereCreateCmd; 93 95 // … … 101 103 // Size commands 102 104 G4UIcmdWith3VectorAndUnit* mBoxSizeCmd; 103 G4UIc mdWith3VectorAndUnit* mTubsSizeCmd;104 G4UIcmdWith3VectorAndUnit* mSphereSizeCmd;105 G4UIcommand* mCylinderSizeCmd; 106 // G4UIcmdWith3VectorAndUnit* mSphereSizeCmd; 105 107 // 106 108 // Division command … … 124 126 G4UIcmdWithAString * floatMinMaxCmd; 125 127 G4UIcommand * colorMapMinMaxCmd; 128 G4UIcommand * chartCmd; 126 129 // 127 130 // Dump scoring result to file -
trunk/source/digits_hits/utils/include/G4VScoreColorMap.hh
r814 r850 25 25 // 26 26 // 27 // $Id: G4VScoreColorMap.hh,v 1. 3 2007/11/06 17:17:14 asaimExp $28 // GEANT4 tag $Name: geant4-09-01-patch-02$27 // $Id: G4VScoreColorMap.hh,v 1.5 2008/08/29 02:50:05 akimura Exp $ 28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 … … 33 33 34 34 #include "globals.hh" 35 36 class G4VVisManager; 35 37 36 38 class G4VScoreColorMap … … 52 54 inline void SetMinMax(G4double minVal, G4double maxVal) 53 55 { 54 if(fMinVal >= fMaxVal) 55 { G4cerr << "G4VScoreColoMap::SetMinMax() : minimum is larger than maximum. Verify values you set, [" 56 << fMinVal << ", " << fMaxVal << "]" << G4endl; } 57 else 58 { fMinVal = minVal; fMaxVal = maxVal; } 56 if(minVal >= maxVal) 57 { G4cerr << "WARNING: G4VScoreColoMap::SetMinMax() : minimum is larger than or equal to maximum. Verify values you set, [" 58 << minVal << ", " << maxVal << "]" << G4endl; 59 fMinVal = maxVal; fMaxVal = minVal; 60 } 61 else { 62 fMinVal = minVal; fMaxVal = maxVal; 63 } 59 64 } 60 65 inline G4double GetMin() const … … 63 68 { return fMaxVal; } 64 69 70 // draw a color chart 71 virtual void DrawColorChart(G4int nPoint = 5); 72 virtual void DrawColorChartBar(G4int nPoint); 73 virtual void DrawColorChartText(G4int nPoint); 74 65 75 protected: 66 76 G4String fName; … … 68 78 G4double fMinVal; 69 79 G4double fMaxVal; 80 G4VVisManager * fVisManager; 70 81 }; 71 82 -
trunk/source/digits_hits/utils/include/G4VScoreWriter.hh
r814 r850 26 26 // 27 27 // $Id: G4VScoreWriter.hh,v 1.2 2007/11/06 09:41:34 akimura Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 -
trunk/source/digits_hits/utils/include/G4VScoringMesh.hh
r814 r850 26 26 // 27 27 // $Id: G4VScoringMesh.hh,v 1.27 2007/11/06 17:17:14 asaim Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30
Note:
See TracChangeset
for help on using the changeset viewer.
