CMS 3D CMS Logo

Public Member Functions | Private Attributes

AmplitudeSegmentFP420 Class Reference

#include <AmplitudeSegmentFP420.h>

List of all members.

Public Member Functions

float amplitude () const
 AmplitudeSegmentFP420 ()
 AmplitudeSegmentFP420 (float x, float y, float z, float s, float a=1.0)
const G4ThreeVector & position () const
AmplitudeSegmentFP420set_amplitude (float amp)
float sigma () const
float x () const
float y () const
float z () const

Private Attributes

float _amplitude
G4ThreeVector _pos
float _sigma

Detailed Description

Definition at line 10 of file AmplitudeSegmentFP420.h.


Constructor & Destructor Documentation

AmplitudeSegmentFP420::AmplitudeSegmentFP420 ( ) [inline]

Definition at line 12 of file AmplitudeSegmentFP420.h.

: _pos(0,0,0), _sigma(0), _amplitude(0) {}
AmplitudeSegmentFP420::AmplitudeSegmentFP420 ( float  x,
float  y,
float  z,
float  s,
float  a = 1.0 
) [inline]

Definition at line 14 of file AmplitudeSegmentFP420.h.

                                                                         : 
    _pos(x,y,z), _sigma(s), _amplitude(a) {}

Member Function Documentation

float AmplitudeSegmentFP420::amplitude ( ) const [inline]

Definition at line 22 of file AmplitudeSegmentFP420.h.

References _amplitude.

{ return _amplitude;}
const G4ThreeVector& AmplitudeSegmentFP420::position ( void  ) const [inline]

Definition at line 17 of file AmplitudeSegmentFP420.h.

References _pos.

{ return _pos;}
AmplitudeSegmentFP420& AmplitudeSegmentFP420::set_amplitude ( float  amp) [inline]

Definition at line 23 of file AmplitudeSegmentFP420.h.

References _amplitude.

{ _amplitude = amp; return *this;} 
float AmplitudeSegmentFP420::sigma ( ) const [inline]

Definition at line 21 of file AmplitudeSegmentFP420.h.

References _sigma.

{ return _sigma;}
float AmplitudeSegmentFP420::x ( ) const [inline]

Definition at line 18 of file AmplitudeSegmentFP420.h.

References _pos.

{ return _pos.x();}
float AmplitudeSegmentFP420::y ( ) const [inline]

Definition at line 19 of file AmplitudeSegmentFP420.h.

References _pos.

{ return _pos.y();}
float AmplitudeSegmentFP420::z ( ) const [inline]

Definition at line 20 of file AmplitudeSegmentFP420.h.

References _pos.

{ return _pos.z();}

Member Data Documentation

Definition at line 29 of file AmplitudeSegmentFP420.h.

Referenced by amplitude(), and set_amplitude().

G4ThreeVector AmplitudeSegmentFP420::_pos [private]

Definition at line 27 of file AmplitudeSegmentFP420.h.

Referenced by position(), x(), y(), and z().

Definition at line 28 of file AmplitudeSegmentFP420.h.

Referenced by sigma().