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

#include <vec.h>

+ Inheritance diagram for Heed::abssyscoor:

Public Member Functions

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 Attributes

std::string name
 

Detailed Description

Definition at line 426 of file vec.h.

Constructor & Destructor Documentation

◆ abssyscoor() [1/3]

Heed::abssyscoor::abssyscoor ( )
inline

Definition at line 431 of file vec.h.

431: name("none") {}
std::string name
Definition: vec.h:428

◆ abssyscoor() [2/3]

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

Definition at line 432 of file vec.h.

432: name(fname) {}

◆ abssyscoor() [3/3]

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

Definition at line 433 of file vec.h.

433: name(fname) {}

◆ ~abssyscoor()

virtual Heed::abssyscoor::~abssyscoor ( )
inlinevirtual

Definition at line 436 of file vec.h.

436{}

Member Function Documentation

◆ Gabas()

virtual const basis * Heed::abssyscoor::Gabas ( ) const
pure virtual

◆ Gapiv()

virtual const point * Heed::abssyscoor::Gapiv ( ) const
pure virtual

Implemented in Heed::fixsyscoor.

Referenced by Heed::point::down(), print(), and Heed::point::up().

◆ print()

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

Reimplemented in Heed::fixsyscoor.

Definition at line 439 of file vec.cpp.

439 {
440 if (l > 0) {
441 Ifile << "abssyscoor::print(l=" << l << "): name=" << name << '\n';
442 if (l > 1) {
443 indn.n += 2;
444 const point* apiv = Gapiv();
445 if (apiv != NULL) {
446 Ifile << "piv=" << noindent << (*apiv);
447 } else {
448 Ifile << "apiv=NULL\n";
449 }
450 const basis* abas = Gabas();
451 if (abas != NULL) {
452 Ifile << "bas=" << noindent << (*abas);
453 } else {
454 Ifile << "abas=NULL\n";
455 }
456 indn.n -= 2;
457 }
458 file.flush();
459 }
460}
virtual const point * Gapiv() const =0
virtual const basis * Gabas() const =0
std::ostream & noindent(std::ostream &f)
Definition: prstream.cpp:17
indentation indn
Definition: prstream.cpp:15
#define Ifile
Definition: prstream.h:196

Referenced by Heed::manip_absvol::m_print(), Heed::operator<<(), and Heed::fixsyscoor::print().

Member Data Documentation

◆ name

std::string Heed::abssyscoor::name

Definition at line 428 of file vec.h.

Referenced by print().


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