Changeset 1315 for trunk/source/particles/management/src/G4VDecayChannel.cc
- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/particles/management/src/G4VDecayChannel.cc
r1196 r1315 25 25 // 26 26 // 27 // $Id: G4VDecayChannel.cc,v 1. 19 2009/08/17 14:52:19kurasige Exp $28 // GEANT4 tag $Name: geant4-09-0 3-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 $ 29 29 // 30 30 // … … 218 218 #ifdef G4VERBOSE 219 219 if (verboseLevel>0) { 220 G4c out << "G4VDecayChannel::SetDaughter: ";221 G4cout<< "Number of daughters is not defined" << G4endl;220 G4cerr << "G4VDecayChannel::SetDaughter: " 221 << "Number of daughters is not defined" << G4endl; 222 222 } 223 223 #endif … … 238 238 #ifdef G4VERBOSE 239 239 if (verboseLevel>0) { 240 G4c out << "G4VDecayChannel::SetDaughter";241 G4cout<< "index out of range " << anIndex << G4endl;240 G4cerr << "G4VDecayChannel::SetDaughter" 241 << "index out of range " << anIndex << G4endl; 242 242 } 243 243 #endif … … 281 281 #ifdef G4VERBOSE 282 282 if (verboseLevel>0) { 283 G4c out << "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"; 286 286 } 287 287 #endif … … 302 302 #ifdef G4VERBOSE 303 303 if (verboseLevel>0) { 304 G4c out << "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; 307 307 } 308 308 #endif … … 318 318 #ifdef G4VERBOSE 319 319 if (verboseLevel>0) { 320 G4c out << "G4VDecayChannel::FillDaughters ";321 G4cout << "[ " << parent->GetParticleName() << " ]";322 G4cout << index << ":" << *daughters_name[index]; 323 G4cout<< " is not defined !!" << G4endl;324 G4c out<< " 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; 325 325 } 326 326 #endif … … 345 345 #ifdef G4VERBOSE 346 346 if (GetVerboseLevel()>0) { 347 G4c out << "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; 350 350 if (GetVerboseLevel()>1) { 351 G4c out << " 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; 353 353 for (index=0; index < numberOfDaughters; index++){ 354 G4c out << " 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; 357 357 } 358 358 } … … 369 369 #ifdef G4VERBOSE 370 370 if (verboseLevel>0) { 371 G4c out << "G4VDecayChannel::FillParent ";372 G4cout<< ": parent name is not defined !!" << G4endl;371 G4cerr << "G4VDecayChannel::FillParent " 372 << ": parent name is not defined !!" << G4endl; 373 373 } 374 374 #endif … … 384 384 #ifdef G4VERBOSE 385 385 if (verboseLevel>0) { 386 G4c out << "G4VDecayChannel::FillParent ";387 G4cout<< *parent_name << " does not exist !!" << G4endl;386 G4cerr << "G4VDecayChannel::FillParent " 387 << *parent_name << " does not exist !!" << G4endl; 388 388 } 389 389 #endif
Note: See TracChangeset
for help on using the changeset viewer.