aboutsummaryrefslogtreecommitdiffstats
path: root/src/G4BeamTestSiHit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/G4BeamTestSiHit.cxx')
-rw-r--r--src/G4BeamTestSiHit.cxx39
1 files changed, 20 insertions, 19 deletions
diff --git a/src/G4BeamTestSiHit.cxx b/src/G4BeamTestSiHit.cxx
index 591274c..0c90623 100644
--- a/src/G4BeamTestSiHit.cxx
+++ b/src/G4BeamTestSiHit.cxx
@@ -9,7 +9,6 @@
#include "G4VisAttributes.hh"
G4ThreadLocal G4Allocator<G4BeamTestSiHit>* G4BeamTestSiHitAllocator=0;
-static std::fstream testnew("./testnew.txt", std::ofstream::out);
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -86,28 +85,30 @@ void G4BeamTestSiHit::Draw()
void G4BeamTestSiHit::Print()
{
- G4cout
- << " trackID: " << fTrackID
- << "Edep: "
- << std::setw(7) << G4BestUnit(fEdep,"Energy")
- << " Position: "
- << std::setw(7) << G4BestUnit(fPos ,"Length")
- << "Time: "
- << std::setw(7) << G4BestUnit(fTime,"Time")
- << G4endl;
+ // G4cout
+ // << " trackID: " << fTrackID
+ // << "Edep: "
+ // << std::setw(7) << G4BestUnit(fEdep,"Energy")
+ // << " Position: "
+ // << std::setw(7) << G4BestUnit(fPos ,"Length")
+ // << "Time: "
+ // << std::setw(7) << G4BestUnit(fTime,"Time")
+ // << G4endl;
}
void G4BeamTestSiHit::Dataout()
{
-testnew
- << " trackID: " << fTrackID
- << "Edep: "
- << std::setw(7) << G4BestUnit(fEdep,"Energy")
- << " Position: "
- << std::setw(7) << G4BestUnit( fPos ,"Length")
- << "Time: "
- << std::setw(7) << G4BestUnit( fTime,"Time")
- << G4endl;
+// testnew << std::flush;
+// testnew
+// << " trackID: " << fTrackID
+// << "Edep: "
+// << std::setw(7) << G4BestUnit(fEdep,"Energy")
+// << " Position: "
+// << std::setw(7) << G4BestUnit( fPos ,"Length")
+// << "Time: "
+// << std::setw(7) << G4BestUnit( fTime,"Time")
+// << G4endl;
+// testnew << std::flush;
}