1 #ifndef PHHEPMC_PHHEPMCGENEVENTMAP_H
2 #define PHHEPMC_PHHEPMCGENEVENTMAP_H
25 typedef std::map<int, PHHepMCGenEvent*>::const_iterator
ConstIter;
26 typedef std::map<int, PHHepMCGenEvent*>::iterator
Iter;
28 typedef std::map<int, PHHepMCGenEvent*>::reverse_iterator
ReverseIter;
36 void identify(std::ostream&
os = std::cout)
const override;
38 void Reset()
override;
39 int isValid()
const override {
return 1; }
44 size_t count(
int idkey)
const {
return _map.count(idkey); }
62 return _map.erase(idkey);