Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer << 3 // * DISCLAIMER * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th << 5 // * The following disclaimer summarizes all the specific disclaimers * 6 // * the Geant4 Collaboration. It is provided << 6 // * of contributors to this software. The specific disclaimers,which * 7 // * conditions of the Geant4 Software License << 7 // * govern, are listed with their locations in: * 8 // * LICENSE and available at http://cern.ch/ << 8 // * http://cern.ch/geant4/license * 9 // * include a list of copyright holders. << 10 // * 9 // * * 11 // * Neither the authors of this software syst 10 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 11 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 12 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 13 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file << 14 // * use. * 16 // * for the full disclaimer and the limitatio << 17 // * 15 // * * 18 // * This code implementation is the result << 16 // * This code implementation is the intellectual property of the * 19 // * technical work of the GEANT4 collaboratio << 17 // * GEANT4 collaboration. * 20 // * By using, copying, modifying or distri << 18 // * By copying, distributing or modifying the Program (or any work * 21 // * any work based on the software) you ag << 19 // * based on the Program) you indicate your acceptance of this * 22 // * use in resulting scientific publicati << 20 // * statement, and all its terms. * 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* 21 // ******************************************************************** 25 // 22 // >> 23 // >> 24 // $Id: G4VTRModel.hh,v 1.1 2004/03/01 11:49:49 vnivanch Exp $ >> 25 // GEANT4 tag $Name: geant4-07-00-patch-01 $ >> 26 // >> 27 // G4VTRModel -- header file >> 28 // 26 // The model of transition radiation 29 // The model of transition radiation 27 // 30 // 28 // History: 31 // History: 29 // << 30 // 04.10.05, V.Grichine move from pure virtual << 31 // 29.02.04, V.Ivanchenko created 32 // 29.02.04, V.Ivanchenko created 32 33 33 #ifndef G4VTRModel_h 34 #ifndef G4VTRModel_h 34 #define G4VTRModel_h 35 #define G4VTRModel_h 35 36 36 #include "globals.hh" << 37 #include "G4Material.hh" << 38 #include "G4ThreeVector.hh" << 39 #include "G4Track.hh" << 40 #include "G4VParticleChange.hh" << 41 37 >> 38 #include "globals.hh" 42 #include <vector> 39 #include <vector> 43 40 >> 41 class G4Material; 44 class G4Track; 42 class G4Track; >> 43 class G4VParticleChange; 45 44 46 class G4VTRModel 45 class G4VTRModel 47 { 46 { 48 public: << 47 public: 49 // Constructors << 48 50 explicit G4VTRModel(const G4String& modelNam << 49 // Constructors 51 << 50 G4VTRModel( const G4String& modelName) {name = modelName;}; 52 // Destructor << 51 53 virtual ~G4VTRModel() = default; << 52 // Destructor 54 << 53 virtual ~G4VTRModel() {}; 55 const G4String& GetName() const { return fNa << 54 56 << 55 const G4String& GetName() const {return name;}; 57 virtual void GenerateSecondaries( G4VPartic << 56 58 std::vector << 57 virtual void GenerateSecondaries(G4VParticleChange& pChange, 59 std::vector << 58 std::vector<const G4Material*>& materials, 60 std::vector << 59 std::vector<G4double>& steps, 61 G4ThreeVect << 60 std::vector<G4ThreeVector>& normals, 62 const G4Tra << 61 G4ThreeVector& startingPosition, 63 << 62 const G4Track& track) = 0; 64 // disable assignment operator & copy constr << 63 65 G4VTRModel& operator=(const G4VTRModel& righ << 64 virtual void PrintInfo() const = 0; 66 G4VTRModel(const G4VTRModel&) << 65 >> 66 // private : 67 67 68 virtual void PrintInfo() { return; }; << 68 // hide assignment operator >> 69 G4VTRModel & operator=(const G4VTRModel &right); >> 70 G4VTRModel(const G4VTRModel&); 69 71 70 protected: << 72 G4String name; 71 G4String fName; << 72 }; 73 }; 73 74 74 #endif // G4VTRModel_h << 75 #endif // G4VTRModel_h 75 76