LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Step Class Reference

#include "Step.hh"

Public Member Functions

 Step ()
 
 ~Step ()
 
void SetX (double x0)
 
double GetX () const
 

Private Attributes

double x
 

Detailed Description

Definition at line 40 of file Step.hh.

Constructor & Destructor Documentation

Step::Step ( )

Definition at line 41 of file Step.cc.

42  : x(0)
44 {
45  std::cout << "Step is created. @"
46  << this << std::endl;
47 }
double x
Definition: Step.hh:42
Step::~Step ( )

Definition at line 51 of file Step.cc.

53 {
54  std::cout << "Step is deleted. @"
55  << this << std::endl;
56 }

Member Function Documentation

double Step::GetX ( ) const
inline

Definition at line 57 of file Step.hh.

References x.

Referenced by BOOST_PYTHON_MODULE().

57 { return x; }
double x
Definition: Step.hh:42
void Step::SetX ( double  x0)
inline

Definition at line 56 of file Step.hh.

References x.

Referenced by BOOST_PYTHON_MODULE().

56 { x= x0; }
double x
Definition: Step.hh:42

Member Data Documentation

double Step::x
private

Definition at line 42 of file Step.hh.

Referenced by GetX(), and SetX().


The documentation for this class was generated from the following files: