Newer
Older
Presentations / Kstmumu / Answers_to_questions_v3 / softcode / code.cc~
@Marcin Chrzaszcz Marcin Chrzaszcz on 22 Dec 2013 705 bytes updated presentation, after blending presetantion
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