]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/trigger/AliHLTTriggerDetectorGeomRectangle.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[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  * @class  AliHLTTriggerDetectorGeomRectangle
18  * HLT class describing simple rectangular geometry cuts of (sub-)detectors.
19  * Used for the AliHLTTriggerBarrelGeomMultiplicity classes
20  *
21  * \ingroup alihlt_trigger
22  */
23
24 #include "AliHLTTriggerDetectorGeom.h"
25
26 class AliHLTTriggerDetectorGeomRectangle : public AliHLTTriggerDetectorGeom
27 {
28 public: 
29
30   /** Default constructor */
31   AliHLTTriggerDetectorGeomRectangle();
32   
33   /** Default destructor */
34   virtual ~AliHLTTriggerDetectorGeomRectangle();
35
36   /**
37    * Check if a point is in the detector geometry. 
38    * @param point is the point in global coordinates (cm)
39    * @return true if the point is in the geometry
40    */
41   Bool_t IsInDetector(Double_t point[3]);
42   
43   ClassDef(AliHLTTriggerDetectorGeomRectangle, 1);
44 };
45
46 #endif