]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EMCAL/AliEMCALTriggerSTUDCSConfig.cxx
bugfix: output of one extra cluster when the last rawcluster was accepted by the...
[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 #include "TVector2.h"
27
28 ClassImp(AliEMCALTriggerSTUDCSConfig)
29   
30 //_____________________________________________________________________________
31 AliEMCALTriggerSTUDCSConfig::AliEMCALTriggerSTUDCSConfig() : TObject()
32   ,fGA(0)
33   ,fGB(1)
34   ,fGC(0)
35   ,fJA(0)
36   ,fJB(1)
37   ,fJC(0)
38   ,fGetRawData(0)
39   ,fRegion(0xFFFFFFFF)
40   ,fFw(2223)
41 {
42   //
43   // AliEMCALTriggerSTUDCSConfig default constructor
44   //
45 }
46
47 //_____________________________________________________________________________
48 void AliEMCALTriggerSTUDCSConfig::GetSegmentation(TVector2& v1, TVector2& v2, TVector2& v3, TVector2& v4) const
49 {
50         // Get Segmentation
51         
52         switch (fFw)
53         {
54                 case 2223:
55                         v1.Set(1., 1.);
56                         v2.Set(2., 2.);
57                         v3.Set(4., 4.);
58                         v4.Set(2., 2.);
59                         break;
60         }
61 }
62