hepmc - Diff between revs 67 and 266

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 67 Rev 266
Line 121... Line 121...
121     std::cout << " Add output momenta " << std::endl; 121     std::cout << " Add output momenta " << std::endl;
122     HepLorentzVector sum; 122     HepLorentzVector sum;
123     for ( GenEvent::particle_const_iterator p = evt->particles_begin(); 123     for ( GenEvent::particle_const_iterator p = evt->particles_begin();
124               p != evt->particles_end(); ++p ){ 124               p != evt->particles_end(); ++p ){
125         if( (*p)->status() == 1 ) { 125         if( (*p)->status() == 1 ) {
126             sum += SVtoLV( (*p)->momentum() ); -  
-   126             sum += convertTo( (*p)->momentum() );
127             (*p)->print(); 127             (*p)->print();
128         } 128         }
129     } 129     }
130     std::cout << "Vector Sum: " << sum << std::endl; 130     std::cout << "Vector Sum: " << sum << std::endl;
131 131