| 1 | # $Id: Tiara.i,v 1.9 2005/12/14 13:18:40 ahoward Exp $
|
|---|
| 2 | # -------------------------------------------------------------------
|
|---|
| 3 | # GEANT4 tag $Name: $
|
|---|
| 4 | # -------------------------------------------------------------------
|
|---|
| 5 |
|
|---|
| 6 | %module Tiara
|
|---|
| 7 | %{
|
|---|
| 8 | #include "G4PVPlacement.hh"
|
|---|
| 9 |
|
|---|
| 10 | #include "TiaraSim.hh"
|
|---|
| 11 | #include "TiaraGeometry.hh"
|
|---|
| 12 | #include "TiaraMaterials.hh"
|
|---|
| 13 | #include "TiaraVSourceEnergyGenerator.hh"
|
|---|
| 14 | #include "TiaraSampledEnergy.hh"
|
|---|
| 15 | #include "TiaraDPSSampledEnergy.hh"
|
|---|
| 16 | #include "TiaraFixedEnergyGenerator.hh"
|
|---|
| 17 | #include "TiaraVDirectionGenerator.hh"
|
|---|
| 18 | #include "TiaraIsotropicDirections.hh"
|
|---|
| 19 | #include "TiaraPrimaryGeneratorAction.hh"
|
|---|
| 20 | #include "TiaraCellScorer.hh"
|
|---|
| 21 | #include "TiaraCellScorerStore.hh"
|
|---|
| 22 | #include "TiaraPhysicsList.hh"
|
|---|
| 23 | #include "LHEP_BIC_HP.hh"
|
|---|
| 24 | #include "LHEP_BIC.hh"
|
|---|
| 25 | #include "LHEP.hh"
|
|---|
| 26 | #include "LHEP_PRECO.hh"
|
|---|
| 27 | #include "LHEP_LEAD.hh"
|
|---|
| 28 | #include "LHEP_PRECO_HP.hh"
|
|---|
| 29 | #include "TiaraVisEventAction.hh"
|
|---|
| 30 | #include "TiaraTimedEventAction.hh"
|
|---|
| 31 | #include "TiaraMeasure.hh"
|
|---|
| 32 | #include "TiaraTally.hh"
|
|---|
| 33 | #include "TiaraRandom.hh"
|
|---|
| 34 | %}
|
|---|
| 35 |
|
|---|
| 36 | %include typemaps.i
|
|---|
| 37 | %include std_string.i
|
|---|
| 38 | %include std_vector.i
|
|---|
| 39 |
|
|---|
| 40 | %template(hist_vec_dbl) std::vector< double >;
|
|---|
| 41 | %template(particle_vec_string) std::vector< std::string >;
|
|---|
| 42 |
|
|---|
| 43 |
|
|---|
| 44 | %include CLHEP.i
|
|---|
| 45 | %import G4Kernel.i
|
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 | %include TiaraDimensions.hh
|
|---|
| 51 | %include TiaraMaterials.hh
|
|---|
| 52 | %include TiaraGeometry.hh
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 | %include TiaraMeasure.hh
|
|---|
| 56 | %include TiaraTally.hh
|
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 | %include G4VCellScorer.hh
|
|---|
| 60 | %include TiaraCellScorer.hh
|
|---|
| 61 |
|
|---|
| 62 | %include TiaraCellScorerStore.hh
|
|---|
| 63 | %extend TiaraCellScorerStore {
|
|---|
| 64 | G4VCellScorerStore *GetG4VCellScorerStore() {
|
|---|
| 65 | return self;
|
|---|
| 66 | }
|
|---|
| 67 | }
|
|---|
| 68 |
|
|---|
| 69 | %include TiaraVSourceEnergyGenerator.hh
|
|---|
| 70 | %include TiaraSampledEnergy.hh
|
|---|
| 71 | %include TiaraDPSSampledEnergy.hh
|
|---|
| 72 | %include TiaraFixedEnergyGenerator.hh
|
|---|
| 73 |
|
|---|
| 74 | %include TiaraVDirectionGenerator.hh
|
|---|
| 75 | %include TiaraIsotropicDirections.hh
|
|---|
| 76 |
|
|---|
| 77 | %include TiaraPrimaryGeneratorAction.hh
|
|---|
| 78 |
|
|---|
| 79 | %include TiaraSim.hh
|
|---|
| 80 |
|
|---|
| 81 | %include TiaraVisEventAction.hh
|
|---|
| 82 |
|
|---|
| 83 | %include TiaraTimedEventAction.hh
|
|---|
| 84 |
|
|---|
| 85 | %include TiaraRandom.hh
|
|---|
| 86 |
|
|---|
| 87 | %include LHEP_BIC_HP.hh
|
|---|
| 88 | %template(LHEP_BIC_HP) TLHEP_BIC_HP<G4VModularPhysicsList>;
|
|---|
| 89 | %extend TLHEP_BIC_HP<G4VModularPhysicsList> {
|
|---|
| 90 | std::string getName() const {
|
|---|
| 91 | return std::string("LHEP_BIC_HP");
|
|---|
| 92 | }
|
|---|
| 93 | }
|
|---|
| 94 |
|
|---|
| 95 | %include LHEP_BIC.hh
|
|---|
| 96 | %template(LHEP_BIC) TLHEP_BIC<G4VModularPhysicsList>;
|
|---|
| 97 | %extend TLHEP_BIC<G4VModularPhysicsList> {
|
|---|
| 98 | std::string getName() const {
|
|---|
| 99 | return std::string("LHEP_BIC");
|
|---|
| 100 | }
|
|---|
| 101 | }
|
|---|
| 102 |
|
|---|
| 103 | %include LHEP.hh
|
|---|
| 104 | %template(LHEP) TLHEP<G4VModularPhysicsList>;
|
|---|
| 105 | %extend TLHEP<G4VModularPhysicsList> {
|
|---|
| 106 | std::string getName() const {
|
|---|
| 107 | return std::string("LHEP");
|
|---|
| 108 | }
|
|---|
| 109 | }
|
|---|
| 110 |
|
|---|
| 111 | %include LHEP_PRECO.hh
|
|---|
| 112 | %template(LHEP_PRECO) TLHEP_PRECO<G4VModularPhysicsList>;
|
|---|
| 113 | %extend TLHEP_PRECO<G4VModularPhysicsList> {
|
|---|
| 114 | std::string getName() const {
|
|---|
| 115 | return std::string("LHEP_PRECO");
|
|---|
| 116 | }
|
|---|
| 117 | }
|
|---|
| 118 |
|
|---|
| 119 | %include LHEP_LEAD.hh
|
|---|
| 120 | %template(LHEP_LEAD) TLHEP_LEAD<G4VModularPhysicsList>;
|
|---|
| 121 | %extend TLHEP_LEAD<G4VModularPhysicsList> {
|
|---|
| 122 | std::string getName() const {
|
|---|
| 123 | return std::string("LHEP_LEAD");
|
|---|
| 124 | }
|
|---|
| 125 | }
|
|---|
| 126 |
|
|---|
| 127 | %include LHEP_PRECO_HP.hh
|
|---|
| 128 | %template(LHEP_PRECO_HP) TLHEP_PRECO_HP<G4VModularPhysicsList>;
|
|---|
| 129 | %extend TLHEP_PRECO_HP<G4VModularPhysicsList> {
|
|---|
| 130 | std::string getName() const {
|
|---|
| 131 | return std::string("LHEP_PRECO_HP");
|
|---|
| 132 | }
|
|---|
| 133 | }
|
|---|