]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/trigger/AliHLTTriggerDetectorGeom.h
flat friends update
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTTriggerDetectorGeom.h
index 522bbf64d6575bf12284baedeb509ef2edbf63cf..ea40af5c027f258bc6107e488098d444aa7dbe2a 100644 (file)
 /// @brief  HLT class describing simple geometry of (sub-)detectors.
 ///         Used for the AliHLTTriggerBarrelGeomMultiplicity classes
 
+
+#include "TString.h"
+#include <ostream>
 #include "TObject.h"
 #include "TString.h"
 #include <ostream>
+#include "TObject.h"
 
 /**
  * @class  AliHLTTriggerDetectorGeom
  * HLT class describing simple geometry cuts of (sub-)detectors.
- * Used for the AliHLTTriggerBarrelGeomMultiplicity classes
+ * Used for the AliHLTTriggerBarrelGeomMultiplicity class
  *
  * \ingroup alihlt_trigger
  */
@@ -75,18 +79,50 @@ public:
    */
   void SetDetName(TString &name) { fName = name; } // Set name
 
+  /** 
+   * Get the minimum in eta (should be moved...)
+   */
   Double_t EtaMin() { return fEtaMin; }
+
+  /** 
+   * Get the maximum in eta (should be moved...)
+   */
   Double_t EtaMax() { return fEtaMax; }
+
+  /** 
+   * Get the minimum in phi (should be moved...)
+   */
   Double_t PhiMin() { return fPhiMin; }
+
+  /** 
+   * Get the maximum in phi (should be moved...)
+   */
   Double_t PhiMax() { return fPhiMax; }
 
+  /** 
+   * Get the initial point
+   */
   void GetInitialPoint(Double_t *point);
-  Double_t* NormVector() { return fNormVector; }
+
+  /**
+   * Get the normal vector
+   */
+  void GetNormVector(Double_t *vec);
   
-  TString DetName() { return fName; }
+  /** 
+   * Get the detector name
+   */
+  TString& DetName() { return fName; }
 
+  /** 
+   * Print the geometry
+   */
   void PrintDetectorGeom(std::ostream &out);
 
+  /** 
+   * Abstract method to check if a point is in the 
+   * acceptance of the geometry 
+   */
   virtual Bool_t IsInDetector(Double_t point[3]) = 0;
 
 protected:
@@ -107,6 +143,7 @@ protected:
   TString fName;      // Name of the (sub-)detector 
   
 private: 
+
   /** 
    * The point which together with a normal vector 
    * defines the plane of the (sub-)detector
@@ -119,7 +156,6 @@ private:
    */
   Double_t fNormVector[3]; // Normal vector representing the plane
 
-  
   ClassDef(AliHLTTriggerDetectorGeom, 1);
 
 };