Ignore:
Timestamp:
Jun 18, 2010, 11:42:07 AM (14 years ago)
Author:
garnier
Message:

update geant4-09-04-beta-cand-01 interfaces-V09-03-09 vis-V09-03-08

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/particles/management/src/G4ParticleDefinition.cc

    r1196 r1315  
    2525//
    2626//
    27 // $Id: G4ParticleDefinition.cc,v 1.34 2009/09/21 04:08:24 kurasige Exp $
    28 // GEANT4 tag $Name: geant4-09-03-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 $
    2929//
    3030//
     
    133133   G4ApplicationState currentState = G4StateManager::GetStateManager()->GetCurrentState();
    134134
    135    if ( (theParticleType!=nucleus) && (currentState!=G4State_PreInit)){
     135   if ( !fShortLivedFlag && (theParticleType!=nucleus) && (currentState!=G4State_PreInit)){
    136136#ifdef G4VERBOSE
    137137     if (GetVerboseLevel()>0) {
    138        G4cout << "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;
    140140     }
    141141#endif
     
    225225#ifdef G4VERBOSE
    226226        if (verboseLevel>0) {
    227           G4cout << "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;
    230230        }
    231231#endif
     
    236236#ifdef G4VERBOSE
    237237        if (verboseLevel>0) {
    238           G4cout << "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;
    241241        }
    242242#endif
Note: See TracChangeset for help on using the changeset viewer.