Skip to content
Snippets Groups Projects
Commit 60d88b4f authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

Fix std::map usage

parent 415ef878
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,7 @@ public:
pxl::EventView* eventView = new pxl::EventView();
eventView->setName("Generated");
event->insertObject(eventView);
map<int, pxl::Particle*> idMap;
std::map<int, pxl::Particle*> idMap;
for (int cnt=0; cnt<num;++cnt) {
Pythia8::Particle particle = pEvent[cnt];
int status = particle.status();
......@@ -217,7 +217,7 @@ public:
return false;
}
void linkMother(int daugtherID, int motherID, map<int, pxl::Particle*> selectedParticles, Pythia8::Event pEvent) {
void linkMother(int daugtherID, int motherID, std::map<int, pxl::Particle*> selectedParticles, Pythia8::Event pEvent) {
if (motherID>0) {
if (selectedParticles.find(motherID)!=selectedParticles.end()) {
(selectedParticles[motherID])->linkDaughter(selectedParticles[daugtherID]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment