Jpp 19.3.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 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 {}
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

◆ module

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

Definition at line 321 of file JSydney.cc.

◆ direction

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: