]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TGeant4/TG4PhysicsConstructorMuon.cxx
Update to track display by Chuncheng
[u/mrichter/AliRoot.git] / TGeant4 / TG4PhysicsConstructorMuon.cxx
index 14236808a19074b6689196b44b2a2a6ea4b427f2..d7a784262b8b1d71db7666138b9006b9b2b7b20b 100644 (file)
 
 //_____________________________________________________________________________
 TG4PhysicsConstructorMuon::TG4PhysicsConstructorMuon(const G4String& name)
-  : G4VPhysicsConstructor(name)
-{
+  : TG4VPhysicsConstructor(name) {
+//
+}
+
+//_____________________________________________________________________________
+TG4PhysicsConstructorMuon::TG4PhysicsConstructorMuon(G4int verboseLevel,
+                                                     const G4String& name)
+  : TG4VPhysicsConstructor(name, verboseLevel) {
 //
-  SetVerboseLevel(1);
 }
 
 //_____________________________________________________________________________
@@ -201,6 +206,7 @@ void TG4PhysicsConstructorMuon::ConstructProcess()
   ConstructProcessForTauPlus();
   ConstructProcessForTauMinus();
 
-  if (verboseLevel>0)
+  if (VerboseLevel() >0 ) {
     G4cout << "### Muon physics constructed." << G4endl;
+  }  
 }