aboutsummaryrefslogtreecommitdiffstats
path: root/src/#G4BeamTestSiHit.cxx#
diff options
context:
space:
mode:
authorshivesh <s.p.mandalia@qmul.ac.uk>2019-08-22 01:37:19 +0100
committershivesh <s.p.mandalia@qmul.ac.uk>2019-08-22 01:37:19 +0100
commite3079fb2367c26f767be41e6c313d960c517bbcd (patch)
tree509f081184a4179894ab8370ea06425d46729e9a /src/#G4BeamTestSiHit.cxx#
parentba4dd395d1f163983f7102ff9a6c513cfe17912e (diff)
downloadG4BeamTest-e3079fb2367c26f767be41e6c313d960c517bbcd.tar.gz
G4BeamTest-e3079fb2367c26f767be41e6c313d960c517bbcd.zip
Thu 22 Aug 01:37:19 BST 2019
Diffstat (limited to 'src/#G4BeamTestSiHit.cxx#')
-rw-r--r--src/#G4BeamTestSiHit.cxx#115
1 files changed, 0 insertions, 115 deletions
diff --git a/src/#G4BeamTestSiHit.cxx# b/src/#G4BeamTestSiHit.cxx#
deleted file mode 100644
index 663a03f..0000000
--- a/src/#G4BeamTestSiHit.cxx#
+++ /dev/null
@@ -1,115 +0,0 @@
-#include <iostream>
-#include <iomanip>
-
-#include "G4BeamTestSiHit.h"
-#include "G4UnitsTable.hh"
-#include "G4VVisManager.hh"
-#include "G4Circle.hh"
-#include "G4Colour.hh"
-#include "G4VisAttributes.hh"
-
-G4ThreadLocal G4Allocator<G4BeamTestSiHit>* G4BeamTestSiHitAllocator=0;
-static std::fstream testnew("./testnew.txt", std::ofstream::out);
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
-
-G4BeamTestSiHit::G4BeamTestSiHit()
- : G4VHit(),
- fTrackID(-1),
-
- fEdep(0.),
- fTime(0.),
- fPos(G4ThreeVector())
-{
- /* G4cout << "opening file" << G4endl; */
- /* testnew.open(testnew_out); */
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
-
-G4BeamTestSiHit ::~G4BeamTestSiHit() {
- /* G4cout << "closing file" << G4endl; */
- /* testnew.close(); */
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
-
-G4BeamTestSiHit::G4BeamTestSiHit(const G4BeamTestSiHit& right)
- : G4VHit()
-{
- fTrackID = right.fTrackID;
- // fChamberNb = right.fChamberNb;
- fEdep = right.fEdep;
- fPos = right.fPos;
- fTime = right.fTime;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
-
-const G4BeamTestSiHit& G4BeamTestSiHit::operator=(const G4BeamTestSiHit& right)
-{
- fTrackID = right.fTrackID;
- // fChamberNb = right.fChamberNb;
- fEdep = right.fEdep;
- fPos = right.fPos;
- fTime = right.fTime;
-
- return *this;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
-
-G4int G4BeamTestSiHit::operator==(const G4BeamTestSiHit& right) const
-{
- return ( this == &right ) ? 1 : 0;
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
-
-void G4BeamTestSiHit::Draw()
-{
- /* G4VVisManager* pVVisManager = G4VVisManager::GetConcreteInstance(); */
- /* if(pVVisManager) */
- /* { */
- /* G4Circle circle(fPos); */
- /* circle.SetScreenSize(4.); */
- /* circle.SetFillStyle(G4Circle::filled); */
- /* G4Colour colour(1.,0.,0.); */
- /* G4VisAttributes attribs(colour); */
- /* circle.SetVisAttributes(attribs); */
- /* pVVisManager->Draw(circle); */
- /* } */
-}
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
-
-
-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;
-}
-
-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;
-
- }
-
-
-//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......