]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALTriggerSTUDCSConfig.cxx
coverity fix for TFF geometry method
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerSTUDCSConfig.cxx
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  
22 Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
23 */
24
25 #include "AliEMCALTriggerSTUDCSConfig.h"
26
27 ClassImp(AliEMCALTriggerSTUDCSConfig)
28   
29 //_____________________________________________________________________________
30 AliEMCALTriggerSTUDCSConfig::AliEMCALTriggerSTUDCSConfig() : TObject()
31   ,fGA(0)
32   ,fGB(1)
33   ,fGC(0)
34   ,fJA(0)
35   ,fJB(1)
36   ,fJC(0)
37   ,fGetRawData(0)
38   ,fRegion(0xFFFFFFFF)
39   ,fFw(2223)
40 {
41   //
42   // AliEMCALTriggerSTUDCSConfig default constructor
43   //
44 }
45
46 //_____________________________________________________________________________
47 void AliEMCALTriggerSTUDCSConfig::GetSegmentation(TVector2& v1, TVector2& v2, TVector2& v3, TVector2& v4) const
48 {
49         //
50         switch (fFw)
51         {
52                 case 2223:
53                         v1.Set(1., 1.);
54                         v2.Set(2., 2.);
55                         v3.Set(4., 4.);
56                         v4.Set(2., 2.);
57                         break;
58         }
59 }
60