#include <CaptWirePlaneBuilder.hh>
Public Member Functions | |
CaptWirePlaneBuilder (G4String name, EDepSim::Builder *parent) | |
virtual | ~CaptWirePlaneBuilder () |
virtual G4LogicalVolume * | GetPiece (void) |
void | SetHeight (double v) |
double | GetHeight () const |
void | SetApothem (double v) |
double | GetApothem () const |
void | SetRadius (double v) |
double | GetRadius () const |
void | SetSpacing (double v) |
double | GetSpacing () const |
void | SetMaxWireCount (int v) |
int | GetMaxWireCount () const |
Public Member Functions inherited from EDepSim::Builder | |
Builder (G4String n, EDepSim::UserDetectorConstruction *c) | |
Builder (G4String n, EDepSim::Builder *parent) | |
virtual | ~Builder () |
G4String | GetName (void) |
Return the base name of the object that this builds. More... | |
G4String | GetLocalName (void) |
Return the base name of the object that this builds. More... | |
void | SetLocalName (const G4String &name) |
Set the base name of the logical volume that this builds. More... | |
void | SetOpacity (double v) |
Set the relative opacity of the constructed object. More... | |
double | GetOpacity (void) const |
Get the relative opacity of the constructed object. More... | |
void | SetDaughterOpacity (double v) |
Set the relative opacity of the object daughters. More... | |
EDepSim::UserDetectorConstruction * | GetConstruction (void) |
Return the detector construction that is building this piece. More... | |
virtual void | SetSensitiveDetector (G4VSensitiveDetector *s) |
Set the sensitive detector for this component. More... | |
virtual G4VSensitiveDetector * | GetSensitiveDetector (void) |
Get the sensitive detector for this component. More... | |
virtual void | SetSensitiveDetector (G4String name, G4String type) |
Set the sensitive detector for this component by name. More... | |
virtual void | SetMaximumHitSagitta (double sagitta) |
virtual void | SetMaximumHitLength (double length) |
Set the maximum length of a single hit segment. More... | |
G4UImessenger * | GetMessenger (void) |
Return the messenger for this constructor. More... | |
void | SetMessenger (G4UImessenger *m) |
Set the messenger for this constructor. More... | |
void | AddBuilder (EDepSim::Builder *c) |
template<class T > | |
T & | Get (G4String n) |
template<class T > | |
T * | Find (G4String n) |
bool | Check () |
void | SetCheck (bool v) |
Set the check value. More... | |
Private Member Functions | |
void | Init (void) |
Private Attributes | |
double | fApothem |
The radius of the circle that can fit inside the wire plane. More... | |
double | fHeight |
The thickness of the wire plane. More... | |
double | fSpacing |
The wire to wire spacing. More... | |
int | fMaxWireCount |
The maximum number of wires in the plane. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from EDepSim::Builder | |
G4Material * | FindMaterial (G4String m) |
G4VisAttributes | GetColor (G4LogicalVolume *volume, double opacity=0.0) |
G4VisAttributes | GetColor (G4Material *volume, double opacity=0.0) |
Construct an unrotated wire plane. In the local coordinate system, the wires are oriented along the Y axis, and the wire number increases from negative X to positive X. The electric field points along the Z axis, or in other words, into the drift region, and electrons drift from positive Z toward the planes (i.e. in the negative Z direction).
The wires are not "tubes", but are boxes that represent the area overwhich the wire will measure charge. The name of the wire planes is significant since captevent will assigned a geometry identifier based on the name "XPlane", "UPlane", "VPlane". There can only be one with each name.
Definition at line 19 of file CaptWirePlaneBuilder.hh.
|
inline |
Definition at line 21 of file CaptWirePlaneBuilder.hh.
|
virtual |
Definition at line 91 of file CaptWirePlaneBuilder.cc.
|
inline |
Definition at line 41 of file CaptWirePlaneBuilder.hh.
|
inline |
Definition at line 34 of file CaptWirePlaneBuilder.hh.
|
inline |
Definition at line 63 of file CaptWirePlaneBuilder.hh.
|
virtual |
Construct and return a G4 volume for the object. This is a pure virtual function, which means it must be implemented by the inheriting classes. This returns an unplaced logical volume which faces along the Z axis.
Implements EDepSim::Builder.
Definition at line 93 of file CaptWirePlaneBuilder.cc.
|
inline |
Definition at line 49 of file CaptWirePlaneBuilder.hh.
|
inline |
Definition at line 55 of file CaptWirePlaneBuilder.hh.
|
private |
Definition at line 80 of file CaptWirePlaneBuilder.cc.
|
inline |
Set the radius of the largest cylinder that can be contained in the hexagonal wire plane. This is the maximum local X dimension.
Definition at line 40 of file CaptWirePlaneBuilder.hh.
|
inline |
Get the total height (thickness) of the drift region.
Definition at line 33 of file CaptWirePlaneBuilder.hh.
|
inline |
Get or set the maximum number of wires. The default number of wires is calculated based on the apothem and the wire spacing, but can be limited by SetMaxWireCount().
Definition at line 62 of file CaptWirePlaneBuilder.hh.
|
inline |
Set the radius of the smallest cylinder that contains the hexagonal wire plane. This is the maximum local Y dimension and is the apothem divided by the cosine of 30 degrees.
Definition at line 48 of file CaptWirePlaneBuilder.hh.
|
inline |
Get or set the distance between wires.
Definition at line 54 of file CaptWirePlaneBuilder.hh.
|
private |
The radius of the circle that can fit inside the wire plane.
Definition at line 70 of file CaptWirePlaneBuilder.hh.
|
private |
The thickness of the wire plane.
Definition at line 73 of file CaptWirePlaneBuilder.hh.
|
private |
The maximum number of wires in the plane.
Definition at line 79 of file CaptWirePlaneBuilder.hh.
|
private |
The wire to wire spacing.
Definition at line 76 of file CaptWirePlaneBuilder.hh.