hepmc - Diff between revs 105 and 179

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 105 Rev 179
Line 181... Line 181...
181             HEPEVT_Wrapper::set_children( i, 0, 0 ); 181             HEPEVT_Wrapper::set_children( i, 0, 0 );
182         } 182         }
183     } 183     }
184 184
185     void IO_HEPEVT::build_production_vertex(int i, 185     void IO_HEPEVT::build_production_vertex(int i,
186                                             std::vector<GenParticle*>& -  
-   186                                             std::vector<HepMC::GenParticle*>&
187                                             hepevt_particle, 187                                             hepevt_particle,
188                                             GenEvent* evt ) { 188                                             GenEvent* evt ) {
189         /// 189         ///
190         /// for particle in HEPEVT with index i, build a production vertex 190         /// for particle in HEPEVT with index i, build a production vertex
191         /// if appropriate, and add that vertex to the event 191         /// if appropriate, and add that vertex to the event
Line 246... Line 246...
246             if ( ++mother > HEPEVT_Wrapper::last_parent(i) ) mother = 0; 246             if ( ++mother > HEPEVT_Wrapper::last_parent(i) ) mother = 0;
247         } 247         }
248     } 248     }
249 249
250     void IO_HEPEVT::build_end_vertex 250     void IO_HEPEVT::build_end_vertex
251     ( int i, std::vector<GenParticle*>& hepevt_particle, GenEvent* evt ) -  
-   251     ( int i, std::vector<HepMC::GenParticle*>& hepevt_particle, GenEvent* evt )
252     { 252     {
253         /// 253         ///
254         /// for particle in HEPEVT with index i, build an end vertex 254         /// for particle in HEPEVT with index i, build an end vertex
255         /// if appropriate, and add that vertex to the event 255         /// if appropriate, and add that vertex to the event
256         //    Identical steps as for build_production_vertex 256         //    Identical steps as for build_production_vertex
Line 329... Line 329...
329         p->setGeneratedMass( HEPEVT_Wrapper::m(index) ); 329         p->setGeneratedMass( HEPEVT_Wrapper::m(index) );
330         p->suggest_barcode( index ); 330         p->suggest_barcode( index );
331         return p; 331         return p;
332     } 332     }
333 333
334     int IO_HEPEVT::find_in_map( const std::map<GenParticle*,int>& m, -  
-   334     int IO_HEPEVT::find_in_map( const std::map<HepMC::GenParticle*,int>& m,
335                                 GenParticle* p) const { 335                                 GenParticle* p) const {
336         std::map<GenParticle*,int>::const_iterator iter = m.find(p); 336         std::map<GenParticle*,int>::const_iterator iter = m.find(p);
337         if ( iter == m.end() ) return 0; 337         if ( iter == m.end() ) return 0;
338         return iter->second; 338         return iter->second;
339     } 339     }