X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=FMD%2FAliFMDGeometry.h;h=089e4c9e7617a0577619c44b7c33a699c31f0a8e;hb=a6e0640d5508d256287593625d08326f654b180b;hp=ca7db1f549569ebbde48b3befb53e7d69011422c;hpb=9f662337ab28768a7b1b10a7048d145ae833eb73;p=u%2Fmrichter%2FAliRoot.git diff --git a/FMD/AliFMDGeometry.h b/FMD/AliFMDGeometry.h index ca7db1f5495..089e4c9e761 100644 --- a/FMD/AliFMDGeometry.h +++ b/FMD/AliFMDGeometry.h @@ -7,12 +7,18 @@ * * See cxx source for full Copyright notice */ -//____________________________________________________________________ -// +/** @file AliFMDGeometry.h + @author Christian Holm Christensen + @date Mon Mar 27 12:40:37 2006 + @brief Geometry mananger for the FMD +*/ +//____________________________________________________________________ +// // Forward Multiplicity Detector based on Silicon wafers. // // This class is a singleton that handles the geometry parameters of // the FMD detectors. +// The actual code is done by various separate classes. // #ifndef ALIGEOMETRY_H # include @@ -35,7 +41,7 @@ class AliFMDGeometryBuilder; //__________________________________________________________________ -/** Singleton object of FMD geometry descriptions and parameters. +/** @brief Singleton object of FMD geometry descriptions and parameters. This class is a singleton that handles the geometry parameters of the FMD detectors. @@ -129,7 +135,7 @@ public: like @code geom->XYZ2Detector(x,y,z-ipz,d,r,s,t); - @endverbatim + @endcode @param x X coordinate @param y Y coordinate @param z Z coordinate @@ -170,6 +176,9 @@ public: void SetActive(Int_t* active, Int_t n); /** @param id Register volume @a id to be active */ void AddActive(Int_t id); + /** Get Array of active volume numbers + @return constant reference to active volume numbers */ + const TArrayI& ActiveIds() const { return fActive; } /** Set an external geometry builder @param b Geometry builder */ void SetBuilder(AliFMDGeometryBuilder* b) { fBuilder = b; } @@ -199,6 +208,8 @@ public: @param particle Track @return @c true if @a particle will hit this detector */ virtual Bool_t Impact(const TParticle* particle) const; + /** Declare alignable volumes */ + virtual void SetAlignableVolumes() const; protected: Bool_t fIsInitialized; // Whether singleton is initalized AliFMDRing* fInner; // Inner ring geometry information @@ -221,16 +232,16 @@ protected: AliFMDGeometry& operator=(const AliFMDGeometry& other); virtual ~AliFMDGeometry() {} - AliFMDGeometryBuilder* fBuilder; - Int_t fDetectorOff; - Int_t fModuleOff; - Int_t fRingOff; - Int_t fSectorOff; - TArrayI fActive; - Bool_t fDetailed; - Bool_t fUseAssembly; + AliFMDGeometryBuilder* fBuilder; // Geometry builder + Int_t fDetectorOff; // Detector off-set + Int_t fModuleOff; // Module off-set + Int_t fRingOff; // ring offset + Int_t fSectorOff; // Sector offset + TArrayI fActive; // Active volumes + Bool_t fDetailed; // Whether to make detailed geom + Bool_t fUseAssembly; // Whther to use assemblies - ClassDef(AliFMDGeometry,1); // + ClassDef(AliFMDGeometry,1); // Geometry parameters and manager };