Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
fixsyscoor Class Reference

#include <vec.h>

+ Inheritance diagram for fixsyscoor:

Public Member Functions

virtual const pointGapiv (void) const
 
virtual const basisGabas (void) const
 
void Ppiv (const point &fpiv)
 
void Pbas (const basis &fbas)
 
 fixsyscoor (void)
 
 fixsyscoor (char *fname)
 
 fixsyscoor (const String &fname)
 
 fixsyscoor (const point &fpiv, const basis &fbas, const String &fname)
 
 fixsyscoor (const point *const fapiv, const basis *const fabas, const String &fname)
 
 fixsyscoor (const abssyscoor &f)
 
virtual void print (std::ostream &file, int l) const
 
 macro_copy_total (fixsyscoor)
 
virtual ~fixsyscoor ()
 
- Public Member Functions inherited from absref
virtual ~absref ()
 
virtual void down (const abssyscoor *fasc)
 
virtual void up (const abssyscoor *fasc)
 
virtual void turn (const vec &dir, vfloat angle)
 
virtual void shift (const vec &dir)
 
- Public Member Functions inherited from abssyscoor
virtual const pointGapiv (void) const =0
 
virtual const basisGabas (void) const =0
 
 abssyscoor (void)
 
 abssyscoor (char *fname)
 
 abssyscoor (const String &fname)
 
virtual void print (std::ostream &file, int l) const
 
virtual ~abssyscoor ()
 

Protected Member Functions

virtual void get_components (ActivePtr< absref_transmit > &aref_tran)
 

Static Protected Attributes

static absrefabsref::*[2] aref
 

Additional Inherited Members

- Public Attributes inherited from abssyscoor
String name
 

Detailed Description

Definition at line 577 of file vec.h.

Constructor & Destructor Documentation

◆ fixsyscoor() [1/6]

fixsyscoor::fixsyscoor ( void  )
inline

Definition at line 585 of file vec.h.

585 {
586 ;
587 } // nominal system

◆ fixsyscoor() [2/6]

fixsyscoor::fixsyscoor ( char *  fname)
inline

Definition at line 588 of file vec.h.

588 : abssyscoor(fname) {
589 ;
590 } // nominal system
abssyscoor(void)
Definition: vec.h:567

◆ fixsyscoor() [3/6]

fixsyscoor::fixsyscoor ( const String fname)
inline

Definition at line 591 of file vec.h.

591 : abssyscoor(fname) {
592 ;
593 } // nominal system

◆ fixsyscoor() [4/6]

fixsyscoor::fixsyscoor ( const point fpiv,
const basis fbas,
const String fname 
)
inline

Definition at line 594 of file vec.h.

595 : abssyscoor(fname), piv(fpiv), bas(fbas) {
596 ;
597 }

◆ fixsyscoor() [5/6]

fixsyscoor::fixsyscoor ( const point *const  fapiv,
const basis *const  fabas,
const String fname 
)
inline

Definition at line 598 of file vec.h.

600 : abssyscoor(fname),
601 piv((fapiv != NULL) ? (*fapiv) : point()),
602 bas((fabas != NULL) ? (*fabas) : basis()) {
603 ;
604 }
Definition: vec.h:397
Definition: vec.h:477

◆ fixsyscoor() [6/6]

fixsyscoor::fixsyscoor ( const abssyscoor f)
inline

Definition at line 605 of file vec.h.

606 : abssyscoor(f),
607 piv((f.Gapiv() != NULL) ? (*(f.Gapiv())) : point()),
608 bas((f.Gabas() != NULL) ? (*(f.Gabas())) : basis()) {
609 ;
610 }
virtual const basis * Gabas(void) const =0
virtual const point * Gapiv(void) const =0

◆ ~fixsyscoor()

virtual fixsyscoor::~fixsyscoor ( )
inlinevirtual

Definition at line 613 of file vec.h.

613{ ; }

Member Function Documentation

◆ Gabas()

virtual const basis * fixsyscoor::Gabas ( void  ) const
inlinevirtual

Implements abssyscoor.

Definition at line 580 of file vec.h.

580{ return &bas; }

◆ Gapiv()

virtual const point * fixsyscoor::Gapiv ( void  ) const
inlinevirtual

Implements abssyscoor.

Definition at line 579 of file vec.h.

579{ return &piv; }

◆ get_components()

void fixsyscoor::get_components ( ActivePtr< absref_transmit > &  aref_tran)
protectedvirtual

Reimplemented from absref.

Definition at line 615 of file vec.cpp.

615 {
616 aref_tran.pass(new absref_transmit(2, aref));
617}
static absrefabsref::*[2] aref
Definition: vec.h:620

◆ macro_copy_total()

fixsyscoor::macro_copy_total ( fixsyscoor  )

◆ Pbas()

void fixsyscoor::Pbas ( const basis fbas)

Definition at line 620 of file vec.cpp.

620{ bas = fbas; }

◆ Ppiv()

void fixsyscoor::Ppiv ( const point fpiv)

Definition at line 619 of file vec.cpp.

619{ piv = fpiv; }

◆ print()

void fixsyscoor::print ( std::ostream &  file,
int  l 
) const
virtual

Reimplemented from abssyscoor.

Definition at line 622 of file vec.cpp.

622 {
623 if (l > 0) {
624 Ifile << "fixsyscoor::print(l=" << l << ")\n";
625 if (l > 1) {
626 indn.n += 2;
627 RegPassivePtr::print(file, l);
628 abssyscoor::print(file, l);
629 }
630 }
631}
virtual void print(std::ostream &file, int l) const
Definition: vec.cpp:572
indentation indn
Definition: prstream.cpp:13
#define Ifile
Definition: prstream.h:207

Member Data Documentation

◆ aref

absref absref::* fixsyscoor::aref
staticprotected
Initial value:
= {
reinterpret_cast<absref absref::*>(
static_cast<point absref::*>(&fixsyscoor::piv)),
reinterpret_cast<absref absref::*>(
static_cast<basis absref::*>(&fixsyscoor::bas))
}
Definition: vec.h:134

Definition at line 620 of file vec.h.

Referenced by get_components().


The documentation for this class was generated from the following files: