CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
AmplitudeSegmentFP420 Class Reference

#include <AmplitudeSegmentFP420.h>

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 9 of file AmplitudeSegmentFP420.h.

Constructor & Destructor Documentation

◆ AmplitudeSegmentFP420() [1/2]

AmplitudeSegmentFP420::AmplitudeSegmentFP420 ( )
inline

Definition at line 11 of file AmplitudeSegmentFP420.h.

11 : _pos(0, 0, 0), _sigma(0), _amplitude(0) {}

◆ AmplitudeSegmentFP420() [2/2]

AmplitudeSegmentFP420::AmplitudeSegmentFP420 ( float  x,
float  y,
float  z,
float  s,
float  a = 1.0 
)
inline

Definition at line 13 of file AmplitudeSegmentFP420.h.

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

Member Function Documentation

◆ amplitude()

float AmplitudeSegmentFP420::amplitude ( ) const
inline

Definition at line 20 of file AmplitudeSegmentFP420.h.

20 { return _amplitude; }

References _amplitude.

◆ position()

const G4ThreeVector& AmplitudeSegmentFP420::position ( ) const
inline

Definition at line 15 of file AmplitudeSegmentFP420.h.

15 { return _pos; }

References _pos.

◆ set_amplitude()

AmplitudeSegmentFP420& AmplitudeSegmentFP420::set_amplitude ( float  amp)
inline

Definition at line 21 of file AmplitudeSegmentFP420.h.

21  {
22  _amplitude = amp;
23  return *this;
24  }

References _amplitude.

◆ sigma()

float AmplitudeSegmentFP420::sigma ( ) const
inline

Definition at line 19 of file AmplitudeSegmentFP420.h.

19 { return _sigma; }

References _sigma.

◆ x()

float AmplitudeSegmentFP420::x ( ) const
inline

◆ y()

float AmplitudeSegmentFP420::y ( ) const
inline

◆ z()

float AmplitudeSegmentFP420::z ( ) const
inline

Definition at line 18 of file AmplitudeSegmentFP420.h.

18 { return _pos.z(); }

References _pos.

Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().

Member Data Documentation

◆ _amplitude

float AmplitudeSegmentFP420::_amplitude
private

Definition at line 29 of file AmplitudeSegmentFP420.h.

Referenced by amplitude(), and set_amplitude().

◆ _pos

G4ThreeVector AmplitudeSegmentFP420::_pos
private

Definition at line 27 of file AmplitudeSegmentFP420.h.

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

◆ _sigma

float AmplitudeSegmentFP420::_sigma
private

Definition at line 28 of file AmplitudeSegmentFP420.h.

Referenced by sigma().

AmplitudeSegmentFP420::x
float x() const
Definition: AmplitudeSegmentFP420.h:16
AmplitudeSegmentFP420::_amplitude
float _amplitude
Definition: AmplitudeSegmentFP420.h:29
alignCSCRings.s
s
Definition: alignCSCRings.py:92
AmplitudeSegmentFP420::_sigma
float _sigma
Definition: AmplitudeSegmentFP420.h:28
a
double a
Definition: hdecay.h:119
AmplitudeSegmentFP420::y
float y() const
Definition: AmplitudeSegmentFP420.h:17
AmplitudeSegmentFP420::_pos
G4ThreeVector _pos
Definition: AmplitudeSegmentFP420.h:27
AmplitudeSegmentFP420::z
float z() const
Definition: AmplitudeSegmentFP420.h:18