ATLAS Offline Software
Database
AthenaPOOL
AthenaPoolExample
AthenaPoolExampleConverter
AthenaPoolExampleConverter
ExampleHit_p0.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ATHENAPOOLEXAMPLECONVERTER_EXAMPLEHIT_P0_H
6
#define ATHENAPOOLEXAMPLECONVERTER_EXAMPLEHIT_P0_H
7
14
#include <string>
15
19
class
ExampleHit_p0
{
20
21
public
:
// Constructor and Destructor
23
ExampleHit_p0
() :
m_detector
(
""
),
m_x
(0.0),
m_y
(0.0),
m_z
(0.0) {}
25
virtual
~ExampleHit_p0
() {}
26
27
friend
class
ExampleHitStreamer_p0
;
28
29
public
:
// Non-static members
31
double
getX
()
const
{
return
(
m_x
); }
33
double
getY
()
const
{
return
(
m_y
); }
35
double
getZ
()
const
{
return
(
m_z
); }
36
38
const
std::string
getDetector
()
const
{
return
(
m_detector
); }
39
40
private
:
41
std::string
m_detector
;
42
double
m_x
;
43
double
m_y
;
44
double
m_z
;
45
};
46
#endif
ExampleHit_p0::getX
double getX() const
Definition:
ExampleHit_p0.h:31
ExampleHit_p0::getDetector
const std::string getDetector() const
Definition:
ExampleHit_p0.h:38
ExampleHit_p0::m_detector
std::string m_detector
Definition:
ExampleHit_p0.h:41
ExampleHit_p0::ExampleHit_p0
ExampleHit_p0()
Default Constructor.
Definition:
ExampleHit_p0.h:23
ExampleHit_p0::getY
double getY() const
Definition:
ExampleHit_p0.h:33
ExampleHit_p0::getZ
double getZ() const
Definition:
ExampleHit_p0.h:35
ExampleHit_p0
This class provides a dummy hit data object for AthenaPool.
Definition:
ExampleHit_p0.h:19
ExampleHit_p0::~ExampleHit_p0
virtual ~ExampleHit_p0()
Destructor.
Definition:
ExampleHit_p0.h:25
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
ExampleHitStreamer_p0
This class provides an example for a ROOT streamer.
Definition:
ExampleHitStreamer_p0.h:22
Generated on Thu Nov 7 2024 21:15:06 for ATLAS Offline Software by
1.8.18