coverity
[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//_____________________________________________________________________________
31AliEMCALTriggerSTUDCSConfig::AliEMCALTriggerSTUDCSConfig() : TObject()
32 ,fGA(0)
33 ,fGB(1)
34 ,fGC(0)
35 ,fJA(0)
36 ,fJB(1)
37 ,fJC(0)
804b828a 38 ,fGetRawData(1)
fff39dd1 39 ,fRegion(0xFFFFFFFF)
804b828a 40 ,fFw(0x2A012)
fff39dd1 41{
42 //
43 // AliEMCALTriggerSTUDCSConfig default constructor
44 //
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