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

#include <volume.h>

+ Inheritance diagram for absref_transmit_2manip:

Public Member Functions

virtual absrefget_other (int n)
 
 absref_transmit_2manip (void)
 
 absref_transmit_2manip (ActivePtr< manip_absvol > *famvol1, ActivePtr< manip_absvol > *famvol2)
 
 macro_copy_total (absref_transmit_2manip)
 
virtual ~absref_transmit_2manip ()
 

Public Attributes

ActivePtr< manip_absvol > * amvol1
 
ActivePtr< manip_absvol > * amvol2
 

Detailed Description

Definition at line 257 of file volume.h.

Constructor & Destructor Documentation

◆ absref_transmit_2manip() [1/2]

absref_transmit_2manip::absref_transmit_2manip ( void  )
inline

Definition at line 269 of file volume.h.

269: absref_transmit() { ; }

◆ absref_transmit_2manip() [2/2]

absref_transmit_2manip::absref_transmit_2manip ( ActivePtr< manip_absvol > *  famvol1,
ActivePtr< manip_absvol > *  famvol2 
)
inline

Definition at line 270 of file volume.h.

272 : absref_transmit(), amvol1(famvol1), amvol2(famvol2) {
273 qaref_other = 2;
274 }
ActivePtr< manip_absvol > * amvol1
Definition: volume.h:259
ActivePtr< manip_absvol > * amvol2
Definition: volume.h:260

◆ ~absref_transmit_2manip()

virtual absref_transmit_2manip::~absref_transmit_2manip ( )
inlinevirtual

Definition at line 276 of file volume.h.

276{ ; }

Member Function Documentation

◆ get_other()

virtual absref * absref_transmit_2manip::get_other ( int  n)
inlinevirtual

Definition at line 261 of file volume.h.

261 {
262 absref* vol = 0;
263 if (n == 0) vol = amvol1->get();
264 if (n == 1) vol = amvol2->get();
265 mcerr << "absref_transmit_2manip::get_other: should never happen\n";
266 spexit(mcerr);
267 return vol;
268 }
#define spexit(stream)
Definition: FunNameStack.h:536
Definition: vec.h:134
#define mcerr
Definition: prstream.h:135

◆ macro_copy_total()

absref_transmit_2manip::macro_copy_total ( absref_transmit_2manip  )

Member Data Documentation

◆ amvol1

ActivePtr<manip_absvol>* absref_transmit_2manip::amvol1

Definition at line 259 of file volume.h.

Referenced by get_other().

◆ amvol2

ActivePtr<manip_absvol>* absref_transmit_2manip::amvol2

Definition at line 260 of file volume.h.

Referenced by get_other().


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