6 #ifndef ATLASHEPMC_OPERATORS_H
7 #define ATLASHEPMC_OPERATORS_H
22 return a.id()==
b.id();
31 return a.id()!=
b.id();
34 bool operator ==(
const HepMC3::GenVertex*
a,
const std::shared_ptr<HepMC3::GenVertex>
b ) {
37 bool operator ==(
const std::shared_ptr<HepMC3::GenVertex>
a,
const HepMC3::GenVertex*
const b) {
40 bool operator ==(
const std::shared_ptr<const HepMC3::GenVertex>
a,
const HepMC3::GenVertex*
const b) {
43 bool operator ==(
const HepMC3::GenVertex
a,
const HepMC3::GenVertex
b) {
44 return a.id()==
b.id();
46 bool operator !=(
const std::shared_ptr<HepMC3::GenVertex>
a,
const HepMC3::GenVertex*
const b) {
49 bool operator !=(
const std::shared_ptr<const HepMC3::GenVertex>
a,
const HepMC3::GenVertex*
const b) {
52 bool operator !=(
const HepMC3::GenVertex
a,
const HepMC3::GenVertex
b) {
53 return a.id()!=
b.id();