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

#include <surface.h>

+ Inheritance diagram for Heed::manip_ulsvolume:

Public Member Functions

 manip_ulsvolume ()
 
 manip_ulsvolume (const manip_ulsvolume &f)
 
 manip_ulsvolume (const ulsvolume &f)
 
virtual ~manip_ulsvolume ()
 Destructor.
 
virtual absvolGavol () const
 Get the volume.
 
virtual void chname (char *nm) const
 
virtual void print (std::ostream &file, int l) const
 
virtual manip_ulsvolumecopy () const
 
- Public Member Functions inherited from Heed::manip_absvol
virtual absvolGavol () const =0
 Get the volume.
 
virtual const abssyscoorGasc () const
 Get the coordinate system.
 
virtual int m_check_point_inside (const point &fpt, const vec &dir) const
 
virtual int m_find_embed_vol (const point &fpt, const vec &fdir, manip_absvol_treeid *atid) const
 
virtual int m_range (trajestep &fts, int s_ext, int &sb, PassivePtr< manip_absvol > &faeid) const
 
virtual int m_range_ext (trajestep &fts, int s_ext) const
 
void down_absref (absref *f) const
 
void up_absref (absref *f) const
 
void m_chname (char *nm) const
 
virtual void m_print (std::ostream &file, int l) const
 
virtual manip_absvolcopy () const
 
virtual ~manip_absvol ()
 
- 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::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
 
- Public Member Functions inherited from Heed::ulsvolume
 ulsvolume ()
 Default constructor.
 
 ulsvolume (surface *fsurf[pqqsurf], int fqsurf, char *fname, vfloat fprec)
 
 ulsvolume (ulsvolume &f)
 
 ulsvolume (const ulsvolume &fv)
 
virtual ~ulsvolume ()
 Destructor.
 
int check_point_inside (const point &fpt, const vec &dir) const
 
int range_ext (trajestep &fts, int s_ext) const
 
void ulsvolume_init (surface *fsurf[pqqsurf], int fqsurf, const std::string &fname, vfloat fprec)
 
virtual void income (gparticle *)
 
virtual void chname (char *nm) const
 
virtual void print (std::ostream &file, int l) const
 
virtual ulsvolumecopy () const
 
- Public Member Functions inherited from Heed::absvol
virtual ~absvol ()
 Destructor.
 
virtual int check_point_inside (const point &fpt, const vec &dir) const =0
 
virtual int find_embed_vol (const point &fpt, const vec &dir, manip_absvol_treeid *atid) const
 
virtual int range (trajestep &fts, int s_ext, int &sb, PassivePtr< manip_absvol > &faeid) const
 
virtual int range_ext (trajestep &fts, int s_ext) const =0
 
virtual void income (gparticle *)
 
virtual void chname (char *nm) const
 
virtual void print (std::ostream &file, int l) const
 
virtual absvolcopy () const
 
virtual std::vector< manip_absvol * > Gamanip_embed () const
 

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::ulsvolume
int qsurf
 
ActivePtr< surfacesurf [pqqsurf]
 
std::string name
 
- Public Attributes inherited from Heed::absvol
vfloat prec
 
bool s_sensitive
 
- Protected Member Functions inherited from Heed::ulsvolume
virtual void get_components (ActivePtr< absref_transmit > &aref_tran)
 
- Protected Attributes inherited from Heed::ulsvolume
surfaceadrsurf [pqqsurf]
 

Detailed Description

Definition at line 178 of file surface.h.

Constructor & Destructor Documentation

◆ manip_ulsvolume() [1/3]

Heed::manip_ulsvolume::manip_ulsvolume ( )
inline

Definition at line 180 of file surface.h.

180: manip_absvol(), ulsvolume() {}
ulsvolume()
Default constructor.
Definition: surface.cpp:335

Referenced by copy().

◆ manip_ulsvolume() [2/3]

Heed::manip_ulsvolume::manip_ulsvolume ( const manip_ulsvolume f)

Definition at line 399 of file surface.cpp.

400 : absref(f), manip_absvol(f), ulsvolume(f) {}

◆ manip_ulsvolume() [3/3]

Heed::manip_ulsvolume::manip_ulsvolume ( const ulsvolume f)
inline

Definition at line 182 of file surface.h.

182: manip_absvol(), ulsvolume(f) {}

◆ ~manip_ulsvolume()

virtual Heed::manip_ulsvolume::~manip_ulsvolume ( )
inlinevirtual

Destructor.

Definition at line 184 of file surface.h.

184{}

Member Function Documentation

◆ chname()

virtual void Heed::manip_ulsvolume::chname ( char *  nm) const
inlinevirtual

Reimplemented from Heed::ulsvolume.

Definition at line 187 of file surface.h.

187 {
188 strcpy(nm, "manip_ulsvolume: ");
189 strcat(nm, name.c_str());
190 }
std::string name
Definition: surface.h:146

Referenced by print().

◆ copy()

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

Reimplemented from Heed::ulsvolume.

Definition at line 192 of file surface.h.

192{ return new manip_ulsvolume(*this); }

◆ Gavol()

virtual absvol * Heed::manip_ulsvolume::Gavol ( ) const
inlinevirtual

Get the volume.

Implements Heed::manip_absvol.

Definition at line 186 of file surface.h.

186{ return (ulsvolume*)this; }

◆ print()

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

Reimplemented from Heed::ulsvolume.

Definition at line 402 of file surface.cpp.

402 {
403 if (l <= 0) return;
404 char s[1000];
405 chname(s);
406 Ifile << "manip_ulsvolume::print(l=" << l << "): " << s << '\n';
407 l = l - 1;
408 if (l > 0) {
409 indn.n += 2;
410 // If to call this it calls manip_ulsvolume::print again and loop...
411 ulsvolume::print(file, l - 1);
412 indn.n -= 2;
413 }
414}
virtual void chname(char *nm) const
Definition: surface.h:187
virtual void print(std::ostream &file, int l) const
Definition: surface.cpp:377
indentation indn
Definition: prstream.cpp:15
#define Ifile
Definition: prstream.h:196

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