Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
HeedChamber.hh
Go to the documentation of this file.
1
2#ifndef G_HEED_CHAMBER_H
3#define G_HEED_CHAMBER_H
4
10
11namespace Garfield {
12
14 public Heed::box,
15 public Heed::EnTransfCS,
17
18 public:
19 HeedChamber(const Heed::abssyscoor& fcsys, const double dx, const double dy,
20 const double dz, const Heed::EnTransfCS& etcs,
21 const Heed::HeedDeltaElectronCS& hdecs)
22 : Heed::sh_manip_absvol(fcsys),
23 Heed::box(dx * Heed::CLHEP::cm,
24 dy * Heed::CLHEP::cm,
25 dz * Heed::CLHEP::cm, "chamber"),
26 Heed::EnTransfCS(etcs),
28
29 s_sensitive = true;
30 }
31
32 Garfield::HeedChamber* copy() const override {
33 return new Garfield::HeedChamber(*this);
34 }
35 absvol* Gavol() const override { return (Heed::box*)this; }
36
37 protected:
39 return sh_manip_absvol::get_components();
40 }
41};
42}
43
44#endif
Garfield::HeedChamber * copy() const override
Definition: HeedChamber.hh:32
HeedChamber(const Heed::abssyscoor &fcsys, const double dx, const double dy, const double dz, const Heed::EnTransfCS &etcs, const Heed::HeedDeltaElectronCS &hdecs)
Definition: HeedChamber.hh:19
absvol * Gavol() const override
Get the volume.
Definition: HeedChamber.hh:35
Heed::absref_transmit get_components() override
Definition: HeedChamber.hh:38
EnTransfCS()=default
Default constructor.
HeedDeltaElectronCS()
Default constructor.
bool s_sensitive
Definition: volume.h:73
Definition: box.h:25
box()
Default constructor.
Definition: box.cpp:27
Definition: BGMesh.cpp:6