Changeset 1205 for trunk/source/physics_lists/lists/include/QBBC.hh
- Timestamp:
- Nov 27, 2009, 4:50:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/physics_lists/lists/include/QBBC.hh
r988 r1205 24 24 // ******************************************************************** 25 25 // 26 // $Id: QBBC.hh,v 1. 2 2007/04/16 11:57:40 vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$26 // $Id: QBBC.hh,v 1.3 2009/10/04 16:05:10 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-03 $ 28 28 // 29 29 //--------------------------------------------------------------------------- … … 37 37 //---------------------------------------------------------------------------- 38 38 // 39 #ifndef TQBBC_h40 #define TQBBC_h 139 #ifndef QBBC_h 40 #define QBBC_h 1 41 41 42 42 #include "G4VModularPhysicsList.hh" 43 43 #include "globals.hh" 44 #include "CompileTimeConstraints.hh"45 44 46 template<class T> 47 class TQBBC: public T 45 class QBBC : public G4VModularPhysicsList 48 46 { 49 47 public: 50 48 51 TQBBC(G4int ver = 1, const G4String& type = "QBBC", G4bool glauber = true);49 QBBC(G4int ver = 1, const G4String& type = "QBBC"); 52 50 53 virtual ~TQBBC(); 54 55 public: 51 virtual ~QBBC(); 56 52 57 53 virtual void SetCuts(); 58 54 59 55 private: 60 enum {ok = CompileTimeConstraints::IsA<T, G4VModularPhysicsList>::ok }; 56 57 // copy constructor and hide assignment operator 58 QBBC(QBBC &); 59 QBBC & operator=(const QBBC &right); 60 61 61 }; 62 63 #include "QBBC.icc"64 typedef TQBBC<G4VModularPhysicsList> QBBC;65 62 66 63 #endif
Note: See TracChangeset
for help on using the changeset viewer.