1 #ifndef PHGENEVENTLISTV1_H__
2 #define PHGENEVENTLISTV1_H__
20 size_t size()
const {
return _genevents.size();}
24 bool has(
unsigned int id)
const;
25 size_t find(
unsigned int id)
const;
34 void identify(std::ostream& out = std::cout)
const;
35 void print(std::ostream& out = std::cout)
const;
40 bool stale()
const {
return _stale;}
43 std::vector<PHGenEventVersion> _genevents;
47 mutable std::map<unsigned int,const PHGenEvent*> _id_genevent_map;
unsigned int generate_id() const
void insert(const PHGenEvent *genevent)
bool has(unsigned int id) const
PHGenEventv1 PHGenEventVersion
void print(std::ostream &out=std::cout) const
const PHGenEvent * at(size_t i) const
size_t find(unsigned int id) const
const PHGenEvent * fetch(unsigned int id) const
virtual ~PHGenEventListv1()
void identify(std::ostream &out=std::cout) const