Jpp 20.0.0-rc.9-29-gccc23c492-D
the software that should make you happy
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
JFIT::JShower3Z Class Reference

Data structure for cascade in positive z-direction. More...

#include <JShower3Z.hh>

Inheritance diagram for JFIT::JShower3Z:
JFIT::JPoint4D JFIT::JShower3EZ JFIT::JShowerEH

Public Types

typedef double JShower3Z::* parameter_type
 

Public Member Functions

 JShower3Z ()
 Default constructor.
 
 JShower3Z (const JPoint4D &point, const JVersor3Z &dir)
 Constructor.
 
JShower3Znegate ()
 Prefix unary minus.
 
JShower3Zadd (const JShower3Z &value)
 Addition operator.
 
JShower3Zsub (const JShower3Z &value)
 Subtraction operator.
 
JShower3Zmul (const double value)
 Multiplication operator.
 
JShower3Zdiv (const double value)
 Divison operator.
 

Static Public Member Functions

static parameter_type pDX ()
 
static parameter_type pDY ()
 
static parameter_type pX ()
 
static parameter_type pY ()
 
static parameter_type pZ ()
 
static parameter_type pT ()
 

Friends

std::istream & operator>> (std::istream &in, JShower3Z &object)
 Read object from input.
 
std::ostream & operator<< (std::ostream &out, const JShower3Z &object)
 Write object to output.
 

Detailed Description

Data structure for cascade in positive z-direction.

Note that the position coordinates are defined with respect to the given direction.

Definition at line 32 of file JShower3Z.hh.

Member Typedef Documentation

◆ parameter_type

typedef double JShower3Z::* JFIT::JShower3Z::parameter_type

Definition at line 169 of file JShower3Z.hh.

Constructor & Destructor Documentation

◆ JShower3Z() [1/2]

JFIT::JShower3Z::JShower3Z ( )
inline

Default constructor.

Definition at line 49 of file JShower3Z.hh.

49 :
50 JPoint4D(),
51 JVersor3Z()
52 {}
JPoint4D()
Default constructor.
Definition JPoint4D.hh:29

◆ JShower3Z() [2/2]

JFIT::JShower3Z::JShower3Z ( const JPoint4D & point,
const JVersor3Z & dir )
inline

Constructor.

Parameters
pointpoint
dirdirection

Definition at line 60 of file JShower3Z.hh.

61 :
62 JPoint4D(point),
63 JVersor3Z(dir)
64 {}

Member Function Documentation

◆ negate()

JShower3Z & JFIT::JShower3Z::negate ( )
inline

Prefix unary minus.

Returns
shower

Definition at line 71 of file JShower3Z.hh.

72 {
73 JPoint4D ::negate();
74 JVersor3Z::negate();
75
76 return *this;
77 }

◆ add()

JShower3Z & JFIT::JShower3Z::add ( const JShower3Z & value)
inline

Addition operator.

Parameters
valueshower
Returns
shower

Definition at line 85 of file JShower3Z.hh.

86 {
87 JPoint4D ::add(value);
88 JVersor3Z::add(value);
89
90 return *this;
91 }

◆ sub()

JShower3Z & JFIT::JShower3Z::sub ( const JShower3Z & value)
inline

Subtraction operator.

Parameters
valueshower
Returns
shower

Definition at line 99 of file JShower3Z.hh.

100 {
101 JPoint4D ::sub(value);
102 JVersor3Z::sub(value);
103
104 return *this;
105 }

◆ mul()

JShower3Z & JFIT::JShower3Z::mul ( const double value)
inline

Multiplication operator.

Parameters
value
Returns
shower

Definition at line 113 of file JShower3Z.hh.

114 {
115 JPoint4D ::mul(value);
116 JVersor3Z::mul(value);
117
118 return *this;
119 }

◆ div()

JShower3Z & JFIT::JShower3Z::div ( const double value)
inline

Divison operator.

Parameters
value
Returns
shower

Definition at line 127 of file JShower3Z.hh.

128 {
129 JPoint4D ::div(value);
130 JVersor3Z::div(value);
131
132 return *this;
133 }

◆ pDX()

static parameter_type JFIT::JShower3Z::pDX ( )
inlinestatic

Definition at line 171 of file JShower3Z.hh.

171{ return &JShower3Z::__dx; }

◆ pDY()

static parameter_type JFIT::JShower3Z::pDY ( )
inlinestatic

Definition at line 172 of file JShower3Z.hh.

172{ return &JShower3Z::__dy; }

◆ pX()

static parameter_type JFIT::JPoint4D::pX ( )
inlinestaticinherited

Definition at line 58 of file JPoint4D.hh.

58{ return &JPoint4D::__x; }

◆ pY()

static parameter_type JFIT::JPoint4D::pY ( )
inlinestaticinherited

Definition at line 59 of file JPoint4D.hh.

59{ return &JPoint4D::__y; }

◆ pZ()

static parameter_type JFIT::JPoint4D::pZ ( )
inlinestaticinherited

Definition at line 60 of file JPoint4D.hh.

60{ return &JPoint4D::__z; }

◆ pT()

static parameter_type JFIT::JPoint4D::pT ( )
inlinestaticinherited

Definition at line 61 of file JPoint4D.hh.

61{ return &JPoint4D::__t; }

Friends And Related Symbol Documentation

◆ operator>>

std::istream & operator>> ( std::istream & in,
JShower3Z & object )
friend

Read object from input.

Parameters
ininput stream
objectobject
Returns
input stream

Definition at line 142 of file JShower3Z.hh.

143 {
144 in >> static_cast<JPoint4D&>(object);
145 in >> object.__dx;
146 in >> object.__dy;
147
148 return in;
149 }

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const JShower3Z & object )
friend

Write object to output.

Parameters
outoutput stream
objectobject
Returns
output stream

Definition at line 159 of file JShower3Z.hh.

160 {
161 out << static_cast<const JPoint4D&>(object);
162 out << ' ' << object.__dx;
163 out << ' ' << object.__dy;
164
165 return out;
166 }

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