Jpp master_rocky-44-g75b7c4f75
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

JModule & module
 
JVector3D direction
 

Detailed Description

Auxiliary class to edit (z) position of module.

Definition at line 266 of file JSydney.cc.

Constructor & Destructor Documentation

◆ JModuleEditor() [1/2]

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

Constructor.

Parameters
modulemodule

Definition at line 274 of file JSydney.cc.

274 :
275 module(module),
277 {}
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 286 of file JSydney.cc.

286 :
287 module(module),
289 {}

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

298 {
299 using namespace JPP;
300
301 module.add(direction * step);
302 }
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 305 of file JSydney.cc.

◆ direction

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

Definition at line 306 of file JSydney.cc.


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