- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/particles/management/src/G4ParticleDefinition.cc
r1196 r1315 25 25 // 26 26 // 27 // $Id: G4ParticleDefinition.cc,v 1.3 4 2009/09/21 04:08:24kurasige Exp $28 // GEANT4 tag $Name: geant4-09-0 3-cand-01 $27 // $Id: G4ParticleDefinition.cc,v 1.36 2010/05/20 01:01:07 kurasige Exp $ 28 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ 29 29 // 30 30 // … … 133 133 G4ApplicationState currentState = G4StateManager::GetStateManager()->GetCurrentState(); 134 134 135 if ( (theParticleType!=nucleus) && (currentState!=G4State_PreInit)){135 if ( !fShortLivedFlag && (theParticleType!=nucleus) && (currentState!=G4State_PreInit)){ 136 136 #ifdef G4VERBOSE 137 137 if (GetVerboseLevel()>0) { 138 G4c out << "G4ParticleDefintion (other than ions) should be created in Pre_Init state ";139 G4cout<< aName << G4endl;138 G4cerr << "G4ParticleDefintion (other than ions and shortlived) should be created in Pre_Init state " 139 << aName << G4endl; 140 140 } 141 141 #endif … … 225 225 #ifdef G4VERBOSE 226 226 if (verboseLevel>0) { 227 G4c out << "G4ParticleDefinition::FillQuarkContents : ";228 G4cout << " illegal charge (" << thePDGCharge/eplus;229 G4cout<< " PDG code=" << thePDGEncoding <<G4endl;227 G4cerr << "G4ParticleDefinition::FillQuarkContents : " 228 << " illegal charge (" << thePDGCharge/eplus 229 << " PDG code=" << thePDGEncoding <<G4endl; 230 230 } 231 231 #endif … … 236 236 #ifdef G4VERBOSE 237 237 if (verboseLevel>0) { 238 G4c out << "G4ParticleDefinition::FillQuarkContents : ";239 G4cout << " illegal SPIN (" << thePDGiSpin << "/2";240 G4cout<< " PDG code=" << thePDGEncoding <<G4endl;238 G4cerr << "G4ParticleDefinition::FillQuarkContents : " 239 << " illegal SPIN (" << thePDGiSpin << "/2" 240 << " PDG code=" << thePDGEncoding <<G4endl; 241 241 } 242 242 #endif
Note: See TracChangeset
for help on using the changeset viewer.