Jpp 20.0.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
JGEOMETRY3D::JBjorkenY Class Reference

Bjorken-y. More...

#include <JBjorkenY.hh>

Inheritance diagram for JGEOMETRY3D::JBjorkenY:
JGEOMETRY3D::JShower3EY JGEOMETRY3D::JTrack3EY

Public Member Functions

 JBjorkenY ()
 Default constructor.
 
 JBjorkenY (const double Y)
 Constructor.
 
void setBjY (const double Y)
 Set Bjorken-y.
 
double getBjY () const
 Get Borken-y.
 

Protected Attributes

double __BY
 

Friends

std::istream & operator>> (std::istream &in, JBjorkenY &bjorkeny)
 Read Bjorken-y from input.
 
std::ostream & operator<< (std::ostream &out, const JBjorkenY &bjorkeny)
 Write Bjorken-y to output.
 
JReaderoperator>> (JReader &in, JBjorkenY &bjorkeny)
 Read Bjorken-y from input.
 
JWriteroperator<< (JWriter &out, const JBjorkenY &bjorkeny)
 Write Bjorken-y to output.
 

Detailed Description

Bjorken-y.

Definition at line 27 of file JBjorkenY.hh.

Constructor & Destructor Documentation

◆ JBjorkenY() [1/2]

JGEOMETRY3D::JBjorkenY::JBjorkenY ( )
inline

Default constructor.

Definition at line 33 of file JBjorkenY.hh.

33 :
34 __BY(0.0)
35 {}

◆ JBjorkenY() [2/2]

JGEOMETRY3D::JBjorkenY::JBjorkenY ( const double Y)
inline

Constructor.

Parameters
YBjorken-y

Definition at line 43 of file JBjorkenY.hh.

43 :
44 __BY(Y)
45 {}

Member Function Documentation

◆ setBjY()

void JGEOMETRY3D::JBjorkenY::setBjY ( const double Y)
inline

Set Bjorken-y.

Parameters
YBjorken-y

Definition at line 53 of file JBjorkenY.hh.

54 {
55 __BY = Y;
56 }

◆ getBjY()

double JGEOMETRY3D::JBjorkenY::getBjY ( ) const
inline

Get Borken-y.

Returns
Bjorken-y

Definition at line 64 of file JBjorkenY.hh.

65 {
66 return __BY;
67 }

Friends And Related Symbol Documentation

◆ operator>> [1/2]

std::istream & operator>> ( std::istream & in,
JBjorkenY & bjorkeny )
friend

Read Bjorken-y from input.

Parameters
ininput stream
bjorkenyBjorken-y
Returns
input stream

Definition at line 77 of file JBjorkenY.hh.

78 {
79 in >> bjorkeny.__BY;
80
81 return in;
82 }

◆ operator<< [1/2]

std::ostream & operator<< ( std::ostream & out,
const JBjorkenY & bjorkeny )
friend

Write Bjorken-y to output.

Parameters
outoutput stream
bjorkenybjorkeny
Returns
output stream

Definition at line 92 of file JBjorkenY.hh.

93 {
94 const JFormat format(out, getFormat<JBjorkenY>(JFormat_t(7, 3, std::ios::scientific)));
95
96 out << bjorkeny.__BY;
97
98 return out;
99 }
JFormat_t & getFormat()
Get format for given type.
Definition JManip.hh:682
Data structure for format specifications.
Definition JManip.hh:524
Auxiliary class to temporarily define format specifications.
Definition JManip.hh:636

◆ operator>> [2/2]

JReader & operator>> ( JReader & in,
JBjorkenY & bjorkeny )
friend

Read Bjorken-y from input.

Parameters
inreader
bjorkenyBjorken-y
Returns
reader

Definition at line 109 of file JBjorkenY.hh.

110 {
111 in >> bjorkeny.__BY;
112
113 return in;
114 }

◆ operator<< [2/2]

JWriter & operator<< ( JWriter & out,
const JBjorkenY & bjorkeny )
friend

Write Bjorken-y to output.

Parameters
outwriter
bjorkenyBjorken-y
Returns
writer

Definition at line 124 of file JBjorkenY.hh.

125 {
126 out << bjorkeny.__BY;
127
128 return out;
129 }

Member Data Documentation

◆ __BY

double JGEOMETRY3D::JBjorkenY::__BY
protected

Definition at line 133 of file JBjorkenY.hh.


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