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/G4VDecayChannel.cc

    r1196 r1315  
    2525//
    2626//
    27 // $Id: G4VDecayChannel.cc,v 1.19 2009/08/17 14:52:19 kurasige Exp $
    28 // GEANT4 tag $Name: geant4-09-03-cand-01 $
     27// $Id: G4VDecayChannel.cc,v 1.20 2010/05/20 01:01:07 kurasige Exp $
     28// GEANT4 tag $Name: geant4-09-04-beta-cand-01 $
    2929//
    3030//
     
    218218#ifdef G4VERBOSE
    219219    if (verboseLevel>0) {
    220       G4cout << "G4VDecayChannel::SetDaughter: ";
    221       G4cout << "Number of daughters is not defined" << G4endl;
     220      G4cerr << "G4VDecayChannel::SetDaughter: "
     221            << "Number of daughters is not defined" << G4endl;
    222222    }
    223223#endif
     
    238238#ifdef G4VERBOSE
    239239    if (verboseLevel>0) {
    240       G4cout << "G4VDecayChannel::SetDaughter";
    241       G4cout << "index out of range " << anIndex << G4endl;
     240      G4cerr << "G4VDecayChannel::SetDaughter"
     241            << "index out of range " << anIndex << G4endl;
    242242    }
    243243#endif
     
    281281#ifdef G4VERBOSE
    282282    if (verboseLevel>0) {
    283       G4cout << "G4VDecayChannel::FillDaughters   ";
    284       G4cout << "[ " << parent->GetParticleName() << " ]";
    285       G4cout << "numberOfDaughters is not defined yet";
     283      G4cerr << "G4VDecayChannel::FillDaughters   "
     284             << "[ " << parent->GetParticleName() << " ]"
     285            << "numberOfDaughters is not defined yet";
    286286    }
    287287#endif
     
    302302#ifdef G4VERBOSE
    303303      if (verboseLevel>0) {
    304         G4cout << "G4VDecayChannel::FillDaughters  ";
    305         G4cout << "[ " << parent->GetParticleName() << " ]";
    306         G4cout << index << "-th daughter is not defined yet" << G4endl;
     304        G4cerr << "G4VDecayChannel::FillDaughters  "
     305               << "[ " << parent->GetParticleName() << " ]"
     306              << index << "-th daughter is not defined yet" << G4endl;
    307307      }
    308308#endif
     
    318318#ifdef G4VERBOSE
    319319      if (verboseLevel>0) {
    320         G4cout << "G4VDecayChannel::FillDaughters  ";
    321         G4cout << "[ " << parent->GetParticleName() << " ]";
    322         G4cout << index << ":" << *daughters_name[index];
    323         G4cout << " is not defined !!" << G4endl;
    324         G4cout << " The BR of this decay mode is set to zero " << G4endl;
     320        G4cerr << "G4VDecayChannel::FillDaughters  "
     321                << "[ " << parent->GetParticleName() << " ]"
     322               << index << ":" << *daughters_name[index]
     323              << " is not defined !!" << G4endl;
     324        G4cerr << " The BR of this decay mode is set to zero " << G4endl;
    325325      }
    326326#endif
     
    345345#ifdef G4VERBOSE
    346346   if (GetVerboseLevel()>0) {
    347      G4cout << "G4VDecayChannel::FillDaughters ";
    348      G4cout << "[ " << parent->GetParticleName() << " ]";
    349      G4cout << "    Energy/Momentum conserevation breaks " <<G4endl;
     347     G4cerr << "G4VDecayChannel::FillDaughters "
     348            << "[ " << parent->GetParticleName() << " ]"
     349           << "    Energy/Momentum conserevation breaks " <<G4endl;
    350350     if (GetVerboseLevel()>1) {
    351        G4cout << "    parent:" << *parent_name;
    352        G4cout << " mass:" << parentmass/GeV << "[GeV/c/c]" <<G4endl;
     351       G4cerr << "    parent:" << *parent_name
     352             << " mass:" << parentmass/GeV << "[GeV/c/c]" <<G4endl;
    353353       for (index=0; index < numberOfDaughters; index++){
    354          G4cout << "     daughter " << index << ":" << *daughters_name[index];
    355          G4cout << " mass:" << daughters[index]->GetPDGMass()/GeV;
    356          G4cout << "[GeV/c/c]" <<G4endl;
     354         G4cerr << "     daughter " << index << ":" << *daughters_name[index]
     355                << " mass:" << daughters[index]->GetPDGMass()/GeV
     356                << "[GeV/c/c]" <<G4endl;
    357357       }
    358358     }
     
    369369#ifdef G4VERBOSE
    370370    if (verboseLevel>0) {
    371       G4cout << "G4VDecayChannel::FillParent   ";
    372       G4cout << ": parent name is not defined !!" << G4endl;
     371      G4cerr << "G4VDecayChannel::FillParent   "
     372            << ": parent name is not defined !!" << G4endl;
    373373    }
    374374#endif
     
    384384#ifdef G4VERBOSE
    385385    if (verboseLevel>0) {
    386       G4cout << "G4VDecayChannel::FillParent   ";
    387       G4cout << *parent_name << " does not exist !!" << G4endl;
     386      G4cerr << "G4VDecayChannel::FillParent   "
     387            << *parent_name << " does not exist !!" << G4endl;
    388388    }
    389389#endif
Note: See TracChangeset for help on using the changeset viewer.