/// @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
*/
*/
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);
+ /**
+ * 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:
TString fName; // Name of the (sub-)detector
private:
+
/**
* The point which together with a normal vector
* defines the plane of the (sub-)detector
*/
Double_t fNormVector[3]; // Normal vector representing the plane
-
ClassDef(AliHLTTriggerDetectorGeom, 1);
};