test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimRomanPot
SimFP420
interface
AmplitudeSegmentFP420.h
Go to the documentation of this file.
1
#ifndef AmplitudeSegmentFP420_h
2
#define AmplitudeSegmentFP420_h
3
4
5
//#include "G4StepPoint.hh"
6
7
8
#include<vector>
9
10
class
AmplitudeSegmentFP420
{
11
public
:
12
AmplitudeSegmentFP420
() :
_pos
(0,0,0),
_sigma
(0),
_amplitude
(0) {}
13
14
AmplitudeSegmentFP420
(
float
x
,
float
y
,
float
z
,
float
s
,
float
a
=1.0) :
15
_pos
(x,y,z),
_sigma
(s),
_amplitude
(
a
) {}
16
17
const
G4ThreeVector&
position
()
const
{
return
_pos
;}
18
float
x
()
const
{
return
_pos
.x();}
19
float
y
()
const
{
return
_pos
.y();}
20
float
z
()
const
{
return
_pos
.z();}
21
float
sigma
()
const
{
return
_sigma
;}
22
float
amplitude
()
const
{
return
_amplitude
;}
23
AmplitudeSegmentFP420
&
set_amplitude
(
float
amp) {
_amplitude
= amp;
return
*
this
;}
24
25
private
:
26
27
G4ThreeVector
_pos
;
28
float
_sigma
;
29
float
_amplitude
;
30
};
31
#endif
AmplitudeSegmentFP420::amplitude
float amplitude() const
Definition:
AmplitudeSegmentFP420.h:22
AmplitudeSegmentFP420::_pos
G4ThreeVector _pos
Definition:
AmplitudeSegmentFP420.h:27
AmplitudeSegmentFP420::_sigma
float _sigma
Definition:
AmplitudeSegmentFP420.h:28
AmplitudeSegmentFP420::z
float z() const
Definition:
AmplitudeSegmentFP420.h:20
AmplitudeSegmentFP420::y
float y() const
Definition:
AmplitudeSegmentFP420.h:19
AmplitudeSegmentFP420::_amplitude
float _amplitude
Definition:
AmplitudeSegmentFP420.h:29
AmplitudeSegmentFP420::AmplitudeSegmentFP420
AmplitudeSegmentFP420(float x, float y, float z, float s, float a=1.0)
Definition:
AmplitudeSegmentFP420.h:14
AmplitudeSegmentFP420::set_amplitude
AmplitudeSegmentFP420 & set_amplitude(float amp)
Definition:
AmplitudeSegmentFP420.h:23
AmplitudeSegmentFP420::sigma
float sigma() const
Definition:
AmplitudeSegmentFP420.h:21
AmplitudeSegmentFP420::AmplitudeSegmentFP420
AmplitudeSegmentFP420()
Definition:
AmplitudeSegmentFP420.h:12
AmplitudeSegmentFP420::x
float x() const
Definition:
AmplitudeSegmentFP420.h:18
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
a
double a
Definition:
hdecay.h:121
AmplitudeSegmentFP420
Definition:
AmplitudeSegmentFP420.h:10
AmplitudeSegmentFP420::position
const G4ThreeVector & position() const
Definition:
AmplitudeSegmentFP420.h:17
Generated for CMSSW Reference Manual by
1.8.5