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

#include <vec.h>

+ Inheritance diagram for Heed::fixsyscoor:

Public Member Functions

virtual const pointGapiv () const
 
virtual const basisGabas () const
 
void Ppiv (const point &fpiv)
 
void Pbas (const basis &fbas)
 
 fixsyscoor ()
 
 fixsyscoor (char *fname)
 
 fixsyscoor (const std::string &fname)
 
 fixsyscoor (const point &fpiv, const basis &fbas, const std::string &fname)
 
 fixsyscoor (const point *const fapiv, const basis *const fabas, const std::string &fname)
 
 fixsyscoor (const abssyscoor &f)
 
virtual void print (std::ostream &file, int l) const
 
virtual fixsyscoorcopy () const
 
virtual ~fixsyscoor ()
 
- Public Member Functions inherited from Heed::absref
virtual ~absref ()
 Destructor.
 
virtual void down (const abssyscoor *fasc)
 Convert numbering representation of object to basical system of fasc.
 
virtual void up (const abssyscoor *fasc)
 Convert numbering representation of objects to new system.
 
virtual void turn (const vec &dir, vfloat angle)
 Turn around axis doing via center of coordinate system along dir.
 
virtual void shift (const vec &dir)
 
- Public Member Functions inherited from Heed::abssyscoor
virtual const pointGapiv () const =0
 
virtual const basisGabas () const =0
 
 abssyscoor ()
 
 abssyscoor (char *fname)
 
 abssyscoor (const std::string &fname)
 
virtual void print (std::ostream &file, int l) const
 
virtual ~abssyscoor ()
 
- Public Member Functions inherited from Heed::RegPassivePtr
 RegPassivePtr (void)
 
 RegPassivePtr (char fs_ban_del, char fs_ban_sub, char fs_ban_cop=0)
 
 RegPassivePtr (const RegPassivePtr &f)
 
RegPassivePtroperator= (const RegPassivePtr &f)
 
CountPP_ns::CountPassivePtrbook (void) const
 
void clear_pointers (void) const
 
virtual RegPassivePtrcopy () const
 
virtual ~RegPassivePtr ()
 
virtual void print (std::ostream &file, int l=1) const
 
void set_s_ban_del (char fs_ban_del)
 
char get_s_ban_del (void) const
 
void set_s_ban_sub (char fs_ban_sub)
 
char get_s_ban_sub (void) const
 
void set_s_ban_cop (char fs_ban_cop)
 
char get_s_ban_cop (void) const
 
void set_s_allow_del_at_zero_count (char fs_allow_del_at_zero_count)
 
char get_s_allow_del_at_zero_count (void) const
 
long get_total_number_of_references (void) const
 

Protected Member Functions

virtual void get_components (ActivePtr< absref_transmit > &aref_tran)
 

Static Protected Attributes

static absrefabsref::*[2] aref
 

Additional Inherited Members

- Static Public Member Functions inherited from Heed::RegPassivePtr
static void set_s_ban_del_ignore (char fs_ban_del_ignore)
 
static char get_s_ban_del_ignore (void)
 
static void set_s_print_adr_cpp (char fs_print_adr_cpp)
 
static char get_s_print_adr_cpp (void)
 
- Public Attributes inherited from Heed::abssyscoor
std::string name
 

Detailed Description

Definition at line 440 of file vec.h.

Constructor & Destructor Documentation

◆ fixsyscoor() [1/6]

Heed::fixsyscoor::fixsyscoor ( )
inline

Definition at line 447 of file vec.h.

447{}

Referenced by copy().

◆ fixsyscoor() [2/6]

Heed::fixsyscoor::fixsyscoor ( char *  fname)
inline

Definition at line 448 of file vec.h.

448: abssyscoor(fname) {}

◆ fixsyscoor() [3/6]

Heed::fixsyscoor::fixsyscoor ( const std::string &  fname)
inline

Definition at line 449 of file vec.h.

449: abssyscoor(fname) {}

◆ fixsyscoor() [4/6]

Heed::fixsyscoor::fixsyscoor ( const point fpiv,
const basis fbas,
const std::string &  fname 
)
inline

Definition at line 450 of file vec.h.

451 : abssyscoor(fname), piv(fpiv), bas(fbas) {}

◆ fixsyscoor() [5/6]

Heed::fixsyscoor::fixsyscoor ( const point *const  fapiv,
const basis *const  fabas,
const std::string &  fname 
)
inline

Definition at line 452 of file vec.h.

454 : abssyscoor(fname),
455 piv((fapiv != NULL) ? (*fapiv) : point()),
456 bas((fabas != NULL) ? (*fabas) : basis()) {}

◆ fixsyscoor() [6/6]

Heed::fixsyscoor::fixsyscoor ( const abssyscoor f)
inline

Definition at line 457 of file vec.h.

458 : abssyscoor(f),
459 piv((f.Gapiv() != NULL) ? (*(f.Gapiv())) : point()),
460 bas((f.Gabas() != NULL) ? (*(f.Gabas())) : basis()) {}

◆ ~fixsyscoor()

virtual Heed::fixsyscoor::~fixsyscoor ( )
inlinevirtual

Definition at line 463 of file vec.h.

463{}

Member Function Documentation

◆ copy()

virtual fixsyscoor * Heed::fixsyscoor::copy ( ) const
inlinevirtual

Reimplemented from Heed::RegPassivePtr.

Definition at line 462 of file vec.h.

462{ return new fixsyscoor(*this); }

◆ Gabas()

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

Implements Heed::abssyscoor.

Definition at line 443 of file vec.h.

443{ return &bas; }

◆ Gapiv()

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

Implements Heed::abssyscoor.

Definition at line 442 of file vec.h.

442{ return &piv; }

◆ get_components()

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

Reimplemented from Heed::absref.

Definition at line 473 of file vec.cpp.

473 {
474 aref_tran.pass(new absref_transmit(2, aref));
475}
static absrefabsref::*[2] aref
Definition: vec.h:467

◆ Pbas()

void Heed::fixsyscoor::Pbas ( const basis fbas)

Definition at line 478 of file vec.cpp.

478{ bas = fbas; }

◆ Ppiv()

void Heed::fixsyscoor::Ppiv ( const point fpiv)

Definition at line 477 of file vec.cpp.

477{ piv = fpiv; }

◆ print()

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

Reimplemented from Heed::abssyscoor.

Definition at line 480 of file vec.cpp.

480 {
481 if (l > 0) {
482 Ifile << "fixsyscoor::print(l=" << l << ")\n";
483 if (l > 1) {
484 indn.n += 2;
485 RegPassivePtr::print(file, l);
486 abssyscoor::print(file, l);
487 }
488 }
489}
virtual void print(std::ostream &file, int l=1) const
Definition: AbsPtr.cpp:152
virtual void print(std::ostream &file, int l) const
Definition: vec.cpp:439
indentation indn
Definition: prstream.cpp:15
#define Ifile
Definition: prstream.h:196

Referenced by Heed::sh_manip_box::print().

Member Data Documentation

◆ aref

absref absref::* Heed::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 at line 467 of file vec.h.

Referenced by get_components().


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