]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/trigger/AliHLTTriggerDetectorGeomRectangle.h
- adding functionality for loading detector geometries from OCDB or ROOT file
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTTriggerDetectorGeomRectangle.h
CommitLineData
fde46e9e 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
c308d915 14#include "AliHLTTriggerDetectorGeom.h"
15
16
fde46e9e 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
fde46e9e 25class AliHLTTriggerDetectorGeomRectangle : public AliHLTTriggerDetectorGeom
26{
27public:
28
c308d915 29 /** Default constructor */
fde46e9e 30 AliHLTTriggerDetectorGeomRectangle();
c308d915 31
32 /** Default destructor */
fde46e9e 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