- /** Make a ring volume
- @param r Ring geometry
- @return Ring volume */
- virtual TGeoVolume* RingGeometry(AliFMDRing* r);
- /** Make a detector volume
- @param d Detector geometry
- @param motherTop Mother volume (detector volume)
- @param motherBot Mother volume (detector volume)
- @param zmother Z position of mother
- @param innerTop Inner ring volume
- @param innerBot Inner ring volume
- @param outerTop Outer ring volume
- @param outerBot Outer ring volume
- @return Detector volume */
- virtual TGeoVolume* DetectorGeometry(AliFMDDetector* d,
+ /** Copy CTOR */
+ AliFMDGeometryBuilder(const AliFMDGeometryBuilder& o)
+ : TTask(o),
+ fActiveId(o.fActiveId),
+ fDetailed(o.fDetailed),
+ fUseAssembly(o.fUseAssembly),
+ fSectorOff(o.fSectorOff),
+ fModuleOff(o.fModuleOff),
+ fRingOff(o.fRingOff),
+ fDetectorOff(o.fDetectorOff),
+ fSi(o.fSi),
+ fC(o.fC),
+ fAl(o.fAl),
+ fPCB(o.fPCB),
+ fChip(o.fChip),
+ fAir(o.fAir),
+ fPlastic(o.fPlastic),
+ fCopper(o.fCopper),
+ fSteel(o.fSteel)
+ {}
+ /**
+ * Assignment operator
+ *
+ * @return Reference to this object
+ */
+ AliFMDGeometryBuilder& operator=(const AliFMDGeometryBuilder&){return *this;}
+
+ /**
+ * Make a polygonic extrusion shape based on verticies passed in @a
+ * verticies
+ *
+ * @param verticies List of verticies
+ * @param thick Thickness
+ *
+ * @return newly allocated polygonic extrusion shape
+ */
+ virtual TGeoShape* MakeXTRU(const TObjArray& verticies, Double_t thick) const;
+
+ /**
+ * Make a ring volume
+ *
+ * @param r Ring geometry
+ *
+ * @return Ring volume
+ */
+ virtual TGeoVolume* RingGeometry(const AliFMDRing* r);
+
+ /**
+ * Make a honey comb shape from passed parameters.
+ *
+ * @param id Detector identifier (1,2, or 3)
+ * @param ring Ring identifier ('I' or 'O')
+ * @param r1 Inner radius
+ * @param r2 Outer radius
+ * @param w width
+ * @param t Thickness of material
+ * @param c Clearing from horizontal.
+ *
+ * @return Pointer to newly allocated composite shape.
+ */
+ virtual TGeoShape* HoneycombShape(Int_t id, Char_t ring,
+ double r1, double r2,
+ double w, double t, double c=0.3);
+ /**
+ * Get the tension box volume
+ *
+ *
+ * @return
+ */
+ virtual TGeoVolume* TensionBox();
+ /**
+ * Make a detector volume
+ *
+ * @param d Detector geometry
+ * @param motherTop Mother volume (detector volume)
+ * @param motherBot Mother volume (detector volume)
+ * @param zmother Z position of mother
+ * @param innerTop Inner ring volume
+ * @param innerBot Inner ring volume
+ * @param outerTop Outer ring volume
+ * @param outerBot Outer ring volume
+ *
+ * @return Detector volume
+ */
+ virtual TGeoVolume* DetectorGeometry(const AliFMDDetector* d,