]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALTriggerSTUDCSConfig.cxx
reviewing typos, re-writting parts -- Cath
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerSTUDCSConfig.cxx
CommitLineData
fff39dd1 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
15
16/*
17
18
19
20
21
22Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
23*/
24
25#include "AliEMCALTriggerSTUDCSConfig.h"
79b05051 26#include "TVector2.h"
fff39dd1 27
28ClassImp(AliEMCALTriggerSTUDCSConfig)
29
30//_____________________________________________________________________________
63c22917 31AliEMCALTriggerSTUDCSConfig::AliEMCALTriggerSTUDCSConfig() : TObject(),
32fGetRawData(1),
33fRegion(0xFFFFFFFF),
34fFw(0x2A012)
fff39dd1 35{
63c22917 36 //
37 // AliEMCALTriggerSTUDCSConfig default constructor
38 //
39 for (int i = 0; i < 3; i++) {
40 for (int j = 0; j < 2; j++) {
41 fG[i][j] = 0;
42 fJ[i][j] = 0;
43 }
44 }
fff39dd1 45}
46
de39a0ff 47//_____________________________________________________________________________
48void AliEMCALTriggerSTUDCSConfig::GetSegmentation(TVector2& v1, TVector2& v2, TVector2& v3, TVector2& v4) const
49{
79b05051 50 // Get Segmentation
51
804b828a 52 v1.Set(1., 1.);
53 v2.Set(2., 2.);
54 v3.Set(4., 4.);
55
56 Double_t js = 2 + (fFw >> 16);
57 v4.Set(js, js);
de39a0ff 58}
fff39dd1 59