]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/trigger/AliHLTTriggerDetectorGeomRectangle.h
Modifications to the geometry trigger classes. The trigger has now been tested with...
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTTriggerDetectorGeomRectangle.h
1 #ifndef ALIHLTTRIGGERDETECTORGEOMRECTANGLE_H
2 #define ALIHLTTRIGGERDETECTORGEOMRECTANGLE_H
3
4 //* This file is property of and copyright by the ALICE HLT Project        * 
5 //* ALICE Experiment at CERN, All rights reserved.                         *
6 //* See cxx source for full Copyright notice                               *
7
8 /// @file   AliHLTTriggerDetectorGeomRectangle.h
9 /// @author Oystein Djuvsland
10 /// @date   2009-10-08
11 /// @brief  HLT class describing simple rectangular geometry of (sub-)detectors.
12 ///         Used for the AliHLTTriggerBarrelGeomMultiplicity classes
13
14 #include "AliHLTTriggerDetectorGeom.h"
15
16
17 /**
18  * @class  AliHLTTriggerDetectorGeomRectangle
19  * HLT class describing simple rectangular geometry cuts of (sub-)detectors.
20  * Used for the AliHLTTriggerBarrelGeomMultiplicity classes
21  *
22  * \ingroup alihlt_trigger
23  */
24
25 class AliHLTTriggerDetectorGeomRectangle : public AliHLTTriggerDetectorGeom
26 {
27 public: 
28
29   /** Default constructor */
30   AliHLTTriggerDetectorGeomRectangle();
31   
32   /** Default destructor */
33   virtual ~AliHLTTriggerDetectorGeomRectangle();
34
35   /**
36    * Check if a point is in the detector geometry. 
37    * @param point is the point in global coordinates (cm)
38    * @return true if the point is in the geometry
39    */
40   Bool_t IsInDetector(Double_t point[3]);
41   
42   ClassDef(AliHLTTriggerDetectorGeomRectangle, 1);
43 };
44
45 #endif