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

This class provides a dummy hit data object for AthenaPool. More...

#include <ExampleHit_p0.h>

Collaboration diagram for ExampleHit_p0:

Public Member Functions

 ExampleHit_p0 ()
 Default Constructor. More...
 
virtual ~ExampleHit_p0 ()
 Destructor. More...
 
double getX () const
 
double getY () const
 
double getZ () const
 
const std::string getDetector () const
 

Private Attributes

std::string m_detector
 
double m_x
 
double m_y
 
double m_z
 

Friends

class ExampleHitStreamer_p0
 

Detailed Description

This class provides a dummy hit data object for AthenaPool.

Definition at line 19 of file ExampleHit_p0.h.

Constructor & Destructor Documentation

◆ ExampleHit_p0()

ExampleHit_p0::ExampleHit_p0 ( )
inline

Default Constructor.

Definition at line 23 of file ExampleHit_p0.h.

23 : m_detector(""), m_x(0.0), m_y(0.0), m_z(0.0) {}

◆ ~ExampleHit_p0()

virtual ExampleHit_p0::~ExampleHit_p0 ( )
inlinevirtual

Destructor.

Definition at line 25 of file ExampleHit_p0.h.

25 {}

Member Function Documentation

◆ getDetector()

const std::string ExampleHit_p0::getDetector ( ) const
inline
Returns
the detector string.

Definition at line 38 of file ExampleHit_p0.h.

38 { return(m_detector); }

◆ getX()

double ExampleHit_p0::getX ( ) const
inline
Returns
the X coordinate.

Definition at line 31 of file ExampleHit_p0.h.

31 { return(m_x); }

◆ getY()

double ExampleHit_p0::getY ( ) const
inline
Returns
the Y coordinate.

Definition at line 33 of file ExampleHit_p0.h.

33 { return(m_y); }

◆ getZ()

double ExampleHit_p0::getZ ( ) const
inline
Returns
the Z coordinate.

Definition at line 35 of file ExampleHit_p0.h.

35 { return(m_z); }

Friends And Related Function Documentation

◆ ExampleHitStreamer_p0

friend class ExampleHitStreamer_p0
friend

Definition at line 27 of file ExampleHit_p0.h.

Member Data Documentation

◆ m_detector

std::string ExampleHit_p0::m_detector
private

Definition at line 41 of file ExampleHit_p0.h.

◆ m_x

double ExampleHit_p0::m_x
private

Definition at line 42 of file ExampleHit_p0.h.

◆ m_y

double ExampleHit_p0::m_y
private

Definition at line 43 of file ExampleHit_p0.h.

◆ m_z

double ExampleHit_p0::m_z
private

Definition at line 44 of file ExampleHit_p0.h.


The documentation for this class was generated from the following file:
ExampleHit_p0::m_detector
std::string m_detector
Definition: ExampleHit_p0.h:41
ExampleHit_p0::m_x
double m_x
Definition: ExampleHit_p0.h:42
ExampleHit_p0::m_z
double m_z
Definition: ExampleHit_p0.h:44
ExampleHit_p0::m_y
double m_y
Definition: ExampleHit_p0.h:43