Garfield++ 3.0
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 ()=default
 
 abssyscoor (char *fname)
 
 abssyscoor (const std::string &fname)
 
virtual void print (std::ostream &file, int l) const
 
virtual ~abssyscoor ()
 

Public Attributes

std::string name = "none"
 

Detailed Description

Definition at line 417 of file vec.h.

Constructor & Destructor Documentation

◆ abssyscoor() [1/3]

Heed::abssyscoor::abssyscoor ( )
default

◆ abssyscoor() [2/3]

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

Definition at line 423 of file vec.h.

423: name(fname) {}
std::string name
Definition: vec.h:419

◆ abssyscoor() [3/3]

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

Definition at line 424 of file vec.h.

424: name(fname) {}

◆ ~abssyscoor()

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

Definition at line 427 of file vec.h.

427{}

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 = "none"

Definition at line 419 of file vec.h.

Referenced by print().


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