ATLAS Offline Software
GeoMPVEntry.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include <iostream>
7 
8 bool GeoMPVEntry::operator ==(const GeoMPVEntry &right) const
9 {
11  return true;
12  else
13  return false;
14 }
15 
16 bool GeoMPVEntry::operator <(const GeoMPVEntry &right) const
17 {
19  return true;
20  else
21  return false;
22 }
23 
25 {
26  if (this == &right) return *this;
27 
30  return *this;
31 }
32 
33 GeoMPVEntry::GeoMPVEntry(double aPhotonMomentum, double aProperty)
34 {
35  m_thePhotonMomentum = aPhotonMomentum;
36  m_theProperty = aProperty;
37 }
38 
40 {
43 }
44 
46 
48 {
49  std::cout << "("
51  << ", "
52  << m_theProperty
53  << ")\n";
54 }
GeoMPVEntry.h
GeoMPVEntry::GeoMPVEntry
GeoMPVEntry(double aPhotonMomentum, double aPropertyValue)
Definition: GeoMPVEntry.cxx:33
GeoMPVEntry::~GeoMPVEntry
~GeoMPVEntry()
Definition: GeoMPVEntry.cxx:45
GeoMPVEntry::operator<
bool operator<(const GeoMPVEntry &right) const
Definition: GeoMPVEntry.cxx:16
GeoMPVEntry
Definition: GeoMPVEntry.h:9
GeoMPVEntry::m_thePhotonMomentum
double m_thePhotonMomentum
Definition: GeoMPVEntry.h:25
GeoMPVEntry::operator=
GeoMPVEntry & operator=(const GeoMPVEntry &right)
Definition: GeoMPVEntry.cxx:24
GeoMPVEntry::operator==
bool operator==(const GeoMPVEntry &right) const
Definition: GeoMPVEntry.cxx:8
GeoMPVEntry::DumpEntry
void DumpEntry()
Definition: GeoMPVEntry.cxx:47
GeoMPVEntry::m_theProperty
double m_theProperty
Definition: GeoMPVEntry.h:26