ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
GeoMPVEntry Class Reference

#include <GeoMPVEntry.h>

Collaboration diagram for GeoMPVEntry:

Public Member Functions

bool operator< (const GeoMPVEntry &right) const
 
bool operator== (const GeoMPVEntry &right) const
 
GeoMPVEntryoperator= (const GeoMPVEntry &right)
 
 GeoMPVEntry (double aPhotonMomentum, double aPropertyValue)
 
 GeoMPVEntry (const GeoMPVEntry &right)
 
 ~GeoMPVEntry ()
 
double GetPhotonMomentum ()
 
double GetProperty ()
 
void DumpEntry ()
 

Private Attributes

double m_thePhotonMomentum
 
double m_theProperty
 

Detailed Description

Definition at line 8 of file GeoMPVEntry.h.

Constructor & Destructor Documentation

◆ GeoMPVEntry() [1/2]

GeoMPVEntry::GeoMPVEntry ( double  aPhotonMomentum,
double  aPropertyValue 
)

Definition at line 33 of file GeoMPVEntry.cxx.

34 {
35  m_thePhotonMomentum = aPhotonMomentum;
36  m_theProperty = aProperty;
37 }

◆ GeoMPVEntry() [2/2]

GeoMPVEntry::GeoMPVEntry ( const GeoMPVEntry right)

Definition at line 39 of file GeoMPVEntry.cxx.

40 {
43 }

◆ ~GeoMPVEntry()

GeoMPVEntry::~GeoMPVEntry ( )

Definition at line 45 of file GeoMPVEntry.cxx.

45 {}

Member Function Documentation

◆ DumpEntry()

void GeoMPVEntry::DumpEntry ( )

Definition at line 47 of file GeoMPVEntry.cxx.

48 {
49  std::cout << "("
51  << ", "
52  << m_theProperty
53  << ")\n";
54 }

◆ GetPhotonMomentum()

double GeoMPVEntry::GetPhotonMomentum ( )
inline

Definition at line 29 of file GeoMPVEntry.h.

30 {
31  return m_thePhotonMomentum;
32 }

◆ GetProperty()

double GeoMPVEntry::GetProperty ( )
inline

Definition at line 34 of file GeoMPVEntry.h.

35 {
36  return m_theProperty;
37 }

◆ operator<()

bool GeoMPVEntry::operator< ( const GeoMPVEntry right) const

Definition at line 16 of file GeoMPVEntry.cxx.

17 {
19  return true;
20  else
21  return false;
22 }

◆ operator=()

GeoMPVEntry & GeoMPVEntry::operator= ( const GeoMPVEntry right)

Definition at line 24 of file GeoMPVEntry.cxx.

25 {
26  if (this == &right) return *this;
27 
30  return *this;
31 }

◆ operator==()

bool GeoMPVEntry::operator== ( const GeoMPVEntry right) const

Definition at line 8 of file GeoMPVEntry.cxx.

9 {
11  return true;
12  else
13  return false;
14 }

Member Data Documentation

◆ m_thePhotonMomentum

double GeoMPVEntry::m_thePhotonMomentum
private

Definition at line 25 of file GeoMPVEntry.h.

◆ m_theProperty

double GeoMPVEntry::m_theProperty
private

Definition at line 26 of file GeoMPVEntry.h.


The documentation for this class was generated from the following files:
GeoMPVEntry::m_thePhotonMomentum
double m_thePhotonMomentum
Definition: GeoMPVEntry.h:25
GeoMPVEntry::m_theProperty
double m_theProperty
Definition: GeoMPVEntry.h:26