MCPcopy Create free account
hub / github.com/Geant4/geant4 / Clear

Method Clear

examples/advanced/doiPET/src/doiPETRun.cc:129–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128//
129void doiPETRun::Clear(){
130 //clear the content of the associative containers, the multimap and the set
131 std::multimap< G4int, InteractionInformation* >::iterator mitr2;
132 for( mitr2= mapBlockInteraction.begin(); mitr2!=mapBlockInteraction.end(); mitr2++){
133 delete (*mitr2).second;
134 }
135
136 mapBlockInteraction.clear();
137 setBlockInteraction.clear();
138 //
139}
140//
141void doiPETRun::GetEventIDRun(G4int evt){
142 eventID = evt;

Callers 13

EndOfRunActionMethod · 0.45
finishMethod · 0.45
EndOfRunActionMethod · 0.45
EndOfRunActionMethod · 0.45
EndWorkerMethod · 0.45
EndWorkerMethod · 0.45
SetGDMLFileMethod · 0.45
FillTotalResultMethod · 0.45
PostStepDoItMethod · 0.45
ApplyYourselfMethod · 0.45
EndOfRunActionMethod · 0.45
EndOfEventActionMethod · 0.45

Calls 3

beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected