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;
37 void Reset()
override;
38 int isValid()
const override {
return 1; }
43 size_t count(
int idkey)
const {
return _map.count(idkey); }
61 return _map.erase(idkey);