Jpp 20.0.0-195-g190c9e876
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 283 of file JSydney.cc.

Constructor & Destructor Documentation

◆ JModuleEditor() [1/2]

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

Constructor.

Parameters
modulemodule

Definition at line 291 of file JSydney.cc.

291 :
292 module(module),
294 {}
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 303 of file JSydney.cc.

303 :
304 module(module),
306 {}

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

315 {
316 using namespace JPP;
317
318 module.add(direction * step);
319 }
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 322 of file JSydney.cc.

◆ direction

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

Definition at line 323 of file JSydney.cc.


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