Jpp 21.0.0-rc.3
the software that should make you happy
Loading...
Searching...
No Matches
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

JModulemodule
 
JVector3D direction
 

Detailed Description

Auxiliary class to edit (z) position of module.

Definition at line 381 of file JSydney.cc.

Constructor & Destructor Documentation

◆ JModuleEditor() [1/2]

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

Constructor.

Parameters
modulemodule

Definition at line 389 of file JSydney.cc.

389 :
390 module(module),
392 {}
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 401 of file JSydney.cc.

401 :
402 module(module),
404 {}

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 412 of file JSydney.cc.

413 {
414 using namespace JPP;
415
416 module.add(direction * step);
417 }
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).

Member Data Documentation

◆ module

JModule& JACOUSTICS::JSydney::JModuleEditor::module
private

Definition at line 420 of file JSydney.cc.

◆ direction

JVector3D JACOUSTICS::JSydney::JModuleEditor::direction
private

Definition at line 421 of file JSydney.cc.


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