Skip to content
Snippets Groups Projects

Fix const-cast warning in OldSpclMcFilterTool

1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -301,9 +301,9 @@ StatusCode OldSpclMcFilterTool::selectSpclMcBarcodes()
@@ -301,9 +301,9 @@ StatusCode OldSpclMcFilterTool::selectSpclMcBarcodes()
StatusCode OldSpclMcFilterTool::shapeGenEvent( McEventCollection* genAod )
StatusCode OldSpclMcFilterTool::shapeGenEvent( McEventCollection* genAod )
{
{
//now remove all the particles except those whose barcodes are marked
//now remove all the particles except those whose barcodes are marked
for ( McEventCollection::const_iterator evt = genAod->begin();
for ( McEventCollection::iterator evt = genAod->begin();
evt != genAod->end();
evt != genAod->end();
++evt) {
++evt) {
std::vector<HepMC::GenParticlePtr> going_out;
std::vector<HepMC::GenParticlePtr> going_out;
std::list<int> evtBarcodes;
std::list<int> evtBarcodes;
Loading