- if(aMother != 0 && aMother->nDaughters() != listOfDaughters.size()) {
- // the mother has more daughters...
- HepAListIterator< BtaCandidate > dauIter = aMother->daughterIterator();
- BtaCandidate* aDaughter(0);
- while( (aDaughter = dauIter()) ) {
- // something not impotent ...
- if(FSR)
- {
- if( dau->pdtEntry() != 0 )
- {
- string name( dau->pdtEntry()->name() );
- if( name.find( "gamma" ) != string::npos){
- std::cout<<"SUCCESSSSS!!!!!!!, we found gamma"<<std::endl; // to be commented out
- continue;
- }
- } // if we have pdt entry!
- } // end of FSR
-