CMS 3D CMS Logo

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 #include "G4ThreeVector.hh"
10 
12  public:
14 
15  AmplitudeSegmentFP420( float x, float y, float z, float s,float a=1.0) :
16  _pos(x,y,z), _sigma(s), _amplitude(a) {}
17 
18  const G4ThreeVector& position() const { return _pos;}
19  float x() const { return _pos.x();}
20  float y() const { return _pos.y();}
21  float z() const { return _pos.z();}
22  float sigma() const { return _sigma;}
23  float amplitude() const { return _amplitude;}
24  AmplitudeSegmentFP420& set_amplitude( float amp) { _amplitude = amp; return *this;}
25 
26  private:
27 
28  G4ThreeVector _pos;
29  float _sigma;
30  float _amplitude;
31  };
32 #endif
AmplitudeSegmentFP420(float x, float y, float z, float s, float a=1.0)
AmplitudeSegmentFP420 & set_amplitude(float amp)
double a
Definition: hdecay.h:121
const G4ThreeVector & position() const