MiniCaptExposedBuilder.hh
Go to the documentation of this file.
1 #ifndef MiniCaptExposedBuilder_hh_Seen
2 #define MiniCaptExposedBuilder_hh_Seen
3 
4 #include "EDepSimBuilder.hh"
5 class G4LogicalVolume;
6 
7 #include <string>
8 
9 /// Construct the exposed part of the miniCAPTAIN detector. This builds
10 /// exposed parts of the TPC that are in the argon gas. The exposed volume is
11 /// returned as a cylinder filled with liquid argon.
13 public:
15  : EDepSim::Builder(name,parent) {Init();};
16  virtual ~MiniCaptExposedBuilder();
17 
18  /// Construct and return a G4 volume for the object. This is a pure
19  /// virtual function, which means it must be implemented by the inheriting
20  /// classes. This returns an unplaced logical volume which faces along
21  /// the Z axis.
22  virtual G4LogicalVolume *GetPiece(void);
23 
24  /// Return the offset of the intended origin of the volume relative to the
25  /// center of the logical volume. To get the origin at the right location
26  /// (say originPosition), the logical volume should be positioned at
27  /// originPosition-GetOffset(). The offset is defined by the bottom of
28  /// the wire plane assembly (a decision will be made in the future as to
29  /// whether this is the bottom of the grid, or the bottom of the V plane.
30  /// This means that the wires for the V plane are at a (very) small
31  /// positive z coordinate.
32  G4ThreeVector GetOffset() {return fOffset;}
33 
34  /// Get the radius of the exposed region. This is calculated.
35  double GetRadius();
36 
37  /// Get the height of the exposed region. This is calculated.
38  double GetHeight();
39 
40 private:
41  void Init(void);
42 
43  G4ThreeVector fOffset;
44 };
45 #endif
46 
static QCString name
Definition: declinfo.cpp:673
double GetHeight()
Get the height of the exposed region. This is calculated.
Construct a module from components.
Definition: TG4HitSegment.h:10
Builder(G4String n, EDepSim::UserDetectorConstruction *c)
MiniCaptExposedBuilder(G4String name, EDepSim::Builder *parent)
double GetRadius()
Get the radius of the exposed region. This is calculated.
def parent(G, child, parent_type)
Definition: graph.py:67
virtual G4LogicalVolume * GetPiece(void)