diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-08-21 15:36:34 +0100 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2018-08-21 15:36:34 +0100 |
| commit | 2925dbae7f488c3113b5f574eca1ceaba0ffdaac (patch) | |
| tree | 40d8a7000690af2ba40433fc77c38fd23c841b25 /include/G4Interface.h | |
| parent | 3e2608bb7c803eea644edf9fc7afa5bf3921a429 (diff) | |
| download | G4BeamTest-2925dbae7f488c3113b5f574eca1ceaba0ffdaac.tar.gz G4BeamTest-2925dbae7f488c3113b5f574eca1ceaba0ffdaac.zip | |
Tue 21 Aug 15:36:34 BST 2018
Diffstat (limited to 'include/G4Interface.h')
| -rw-r--r-- | include/G4Interface.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/include/G4Interface.h b/include/G4Interface.h index c9bec07..4b88f00 100644 --- a/include/G4Interface.h +++ b/include/G4Interface.h @@ -1,19 +1,8 @@ -/** - * Copyright (C) 2009 - * The IceCube collaboration - * ID: $Id: G4Interface.h 149388 2016-08-18 21:50:04Z jgonzalez $ - * - * @file G4Interface.h - * @version $Rev: 149388 $ - * @date $Date: 2016-08-18 22:50:04 +0100 (Thu, 18 Aug 2016) $ - * @author Tilo Waldenmaier - */ - #ifndef _TOPSIM_G4INTERFACE_H_ #define _TOPSIM_G4INTERFACE_H_ -#include <g4-tankresponse/g4classes/G4BeamTestRunManager.h> -#include <icetray/I3Logging.h> +#include "G4BeamTestRunManager.h" +/* #include <icetray/I3Logging.h> */ #ifdef G4VIS_USE class G4VisManager; @@ -44,7 +33,10 @@ class G4Interface /// To be called after simulating each IceTray event. void TerminateEvent(); /// Simulate a single particle (InitializeEvent must be called first) - void InjectParticle(const I3Particle& particle); + void InjectParticle(const std::string& particleName, + const G4ThreeVector& particlePosition, + const G4ThreeVector& particleDirection, + const G4double particleEnergy); private: void Initialize(); @@ -62,7 +54,7 @@ class G4Interface bool eventInitialized_; std::string visMacro_; - SET_LOGGER("G4Interface"); + /* SET_LOGGER("G4Interface"); */ }; #endif |
