]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/trigger/AliHLTTriggerDetectorGeom.cxx
- Adding the new track multiplicity trigger cutting on geometrical acceptance
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTTriggerDetectorGeom.cxx
1 //**************************************************************************
2 //* This file is property of and copyright by the ALICE HLT Project        * 
3 //* ALICE Experiment at CERN, All rights reserved.                         *
4 //*                                                                        *
5 //* Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>        *
6 //*                  for The ALICE HLT Project.                            *
7 //*                                                                        *
8 //* Permission to use, copy, modify and distribute this software and its   *
9 //* documentation strictly for non-commercial purposes is hereby granted   *
10 //* without fee, provided that the above copyright notice appears in all   *
11 //* copies and that both the copyright notice and this permission notice   *
12 //* appear in the supporting documentation. The authors make no claims     *
13 //* about the suitability of this software for any purpose. It is          *
14 //* provided "as is" without express or implied warranty.                  *
15 //**************************************************************************
16
17 /// @file   AliHLTTriggerDetectorGeom.cxx
18 /// @author Oystein Djuvsland
19 /// @date   2009-10-08
20 /// @brief  HLT class describing simple geometry of (sub-)detectors.
21 ///         Used for the AliHLTTriggerBarrelGeomMultiplicity classes
22
23 // see header file for class documentation
24 // or
25 // refer to README to build package
26 // or
27 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
28
29 #include "AliHLTTriggerDetectorGeom.h"
30
31 /** ROOT macro for the implementation of ROOT specific class methods */
32 ClassImp(AliHLTTriggerDetectorGeom)
33
34 AliHLTTriggerDetectorGeom::AliHLTTriggerDetectorGeom() 
35 : TObject(),
36   fEtaMin(0),
37   fEtaMax(0),
38   fPhiMin(0),
39   fPhiMax(0),
40   fInitalPoint(0),
41   fNormVector(0),
42   fName('\0')
43 {
44   // See header file for class documentation
45   for(Int_t i = 0; i < 3; i++) 
46     {
47       fInitalPoint[i] = 0;
48       fNormVector[i] = 0;
49     }
50 }
51   
52 AliHLTTriggerDetectorGeom::~AliHLTTriggerDetectorGeom()
53 {
54   // See header file for class documentation
55 }
56
57 void AliHLTTriggerDetectorGeom::SetInitialPoint(Double_t &point[3])
58 {
59   // See header file for class documentation
60   for(int i = 0; i < 3; i++)
61     {
62       fInitalPoint[i] = point[i];
63     }
64 }
65
66 void AliHLTTriggerDetectorGeom::SetNormVector(Double_t &nVector[3])
67 {
68   // See header file for class documentation
69   for(int i = 0; i < 3; i++)
70     {
71       fNormVector[i] = nVector[i];
72     }
73 }