Newer
Older
Presentations / Lc23Mu / Status_report_12_02_14 / softcode / code.cc~
@mchrzasz mchrzasz on 31 Mar 2014 705 bytes update
  1. if(aMother != 0 && aMother->nDaughters() != listOfDaughters.size()) {
  2. // the mother has more daughters...
  3. HepAListIterator< BtaCandidate > dauIter = aMother->daughterIterator();
  4. BtaCandidate* aDaughter(0);
  5. while( (aDaughter = dauIter()) ) {
  6. // something not impotent ...
  7. if(FSR)
  8. {
  9. if( dau->pdtEntry() != 0 )
  10. {
  11. string name( dau->pdtEntry()->name() );
  12. if( name.find( "gamma" ) != string::npos){
  13. std::cout<<"SUCCESSSSS!!!!!!!, we found gamma"<<std::endl; // to be commented out
  14. continue;
  15. }
  16. } // if we have pdt entry!
  17. } // end of FSR
  18.