6#ifndef ATLASHEPMC_OPERATORS_H
7#define ATLASHEPMC_OPERATORS_H
12bool operator ==(
const HepMC3::GenParticle*
a,
const std::shared_ptr<HepMC3::GenParticle> b ) {
15bool operator ==(
const std::shared_ptr<HepMC3::GenParticle>
a,
const HepMC3::GenParticle*
const b) {
18bool operator ==(
const std::shared_ptr<const HepMC3::GenParticle>
a,
const HepMC3::GenParticle*
const b) {
21bool operator ==(
const HepMC3::GenParticle
a,
const HepMC3::GenParticle b) {
22 return a.id()==
b.id();
24bool operator !=(
const std::shared_ptr<HepMC3::GenParticle>
a,
const HepMC3::GenParticle*
const b) {
27bool operator !=(
const std::shared_ptr<const HepMC3::GenParticle>
a,
const HepMC3::GenParticle*
const b) {
30bool operator !=(
const HepMC3::GenParticle
a,
const HepMC3::GenParticle b) {
31 return a.id()!=
b.id();
34bool operator ==(
const HepMC3::GenVertex*
a,
const std::shared_ptr<HepMC3::GenVertex> b ) {
37bool operator ==(
const std::shared_ptr<HepMC3::GenVertex>
a,
const HepMC3::GenVertex*
const b) {
40bool operator ==(
const std::shared_ptr<const HepMC3::GenVertex>
a,
const HepMC3::GenVertex*
const b) {
43bool operator ==(
const HepMC3::GenVertex
a,
const HepMC3::GenVertex b) {
44 return a.id()==
b.id();
46bool operator !=(
const std::shared_ptr<HepMC3::GenVertex>
a,
const HepMC3::GenVertex*
const b) {
49bool operator !=(
const std::shared_ptr<const HepMC3::GenVertex>
a,
const HepMC3::GenVertex*
const b) {
52bool operator !=(
const HepMC3::GenVertex
a,
const HepMC3::GenVertex b) {
53 return a.id()!=
b.id();
bool operator!=(const DataVector< T > &a, const DataVector< T > &b)
Based on operator==.
bool operator==(const DataVector< T > &a, const DataVector< T > &b)
Vector equality comparison.