diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2019-08-02 22:46:21 +0100 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2019-08-02 22:46:21 +0100 |
| commit | ba4dd395d1f163983f7102ff9a6c513cfe17912e (patch) | |
| tree | d92e207a2e743dd7628cc7bc6397a34d081eafbf /src/G4BeamTestSiHit.cxx | |
| parent | d0533d03d0c85f2f993f1793a6b9ea2af3391207 (diff) | |
| download | G4BeamTest-ba4dd395d1f163983f7102ff9a6c513cfe17912e.tar.gz G4BeamTest-ba4dd395d1f163983f7102ff9a6c513cfe17912e.zip | |
Fri 2 Aug 22:46:21 BST 2019
Diffstat (limited to 'src/G4BeamTestSiHit.cxx')
| -rw-r--r-- | src/G4BeamTestSiHit.cxx | 39 |
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; } |
