Jpp 20.0.0-27-g39925593c-D
the software that should make you happy
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
JACOUSTICS::JSydney::JModuleEditor Struct Reference

Auxiliary class to edit (z) position of module. More...

Inheritance diagram for JACOUSTICS::JSydney::JModuleEditor:
JFIT::JParameter_t

Public Member Functions

 JModuleEditor (JModule &module)
 Constructor.
 
 JModuleEditor (JModule &module, const JVector3D &direction)
 Constructor.
 
virtual void apply (const double step) override
 Apply step.
 

Private Attributes

JModule &JVector3D direction
 

Detailed Description

Auxiliary class to edit (z) position of module.

Definition at line 282 of file JSydney.cc.

Constructor & Destructor Documentation

◆ JModuleEditor() [1/2]

JACOUSTICS::JSydney::JModuleEditor::JModuleEditor ( JModule & module)
inline

Constructor.

Parameters
modulemodule

Definition at line 290 of file JSydney.cc.

290 :
291 module(module),
293 {}
Template definition of a multi-dimensional oscillation probability interpolation table.
static const JVector3D JVector3Z_t(0, 0, 1)
unit z-vector

◆ JModuleEditor() [2/2]

JACOUSTICS::JSydney::JModuleEditor::JModuleEditor ( JModule & module,
const JVector3D & direction )
inline

Constructor.

Parameters
modulemodule
directiondirection

Definition at line 302 of file JSydney.cc.

302 :
303 module(module),
305 {}

Member Function Documentation

◆ apply()

virtual void JACOUSTICS::JSydney::JModuleEditor::apply ( const double step)
inlineoverridevirtual

Apply step.

Parameters
stepstep

Implements JFIT::JParameter_t.

Definition at line 313 of file JSydney.cc.

314 {
315 using namespace JPP;
316
317 module.add(direction * step);
318 }
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).

Member Data Documentation

◆ direction

JModule& JVector3D JACOUSTICS::JSydney::JModuleEditor::direction
private

Definition at line 322 of file JSydney.cc.


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