2 //**************************************************************************
3 //* This file is property of and copyright by the ALICE HLT Project *
4 //* ALICE Experiment at CERN, All rights reserved. *
6 //* Primary Authors: Oystein Djuvsland *
7 //* for The ALICE HLT Project. *
9 //* Permission to use, copy, modify and distribute this software and its *
10 //* documentation strictly for non-commercial purposes is hereby granted *
11 //* without fee, provided that the above copyright notice appears in all *
12 //* copies and that both the copyright notice and this permission notice *
13 //* appear in the supporting documentation. The authors make no claims *
14 //* about the suitability of this software for any purpose. It is *
15 //* provided "as is" without express or implied warranty. *
16 //**************************************************************************
18 /// @file AliHLTTriggerDetectorGeomRectangle.cxx
19 /// @author Oystein Djuvsland
21 /// @brief HLT class describing simple rectangular geometry of (sub-)detectors.
22 /// Used for the AliHLTTriggerBarrelGeomMultiplicity classes
24 // see header file for class documentation
26 // refer to README to build package
28 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
30 #include "AliHLTTriggerDetectorGeomRectangle.h"
31 #include "AliHLTTriggerDetectorGeom.h"
35 AliHLTTriggerDetectorGeomRectangle::AliHLTTriggerDetectorGeomRectangle() : AliHLTTriggerDetectorGeom()
37 // See header file for class documentation
40 AliHLTTriggerDetectorGeomRectangle::~AliHLTTriggerDetectorGeomRectangle()
42 // See header file for class documentation
45 Bool_t AliHLTTriggerDetectorGeomRectangle::IsInDetector(Double_t point[3])
47 // See header file for class documentation
48 TVector3 trackPos(point);
50 if(trackPos.Eta() >= fEtaMin &&
51 trackPos.Eta() <= fEtaMax &&
52 trackPos.Phi() >= fPhiMin &&
53 trackPos.Phi() <= fPhiMax)