]>
Commit | Line | Data |
---|---|---|
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 purpeateose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | /* | |
17 | ||
18 | ||
19 | EMCal trigger data container | |
20 | for data (both raw & rec) persistency | |
21 | Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3 | |
22 | */ | |
23 | ||
24 | #include "AliEMCALTriggerData.h" | |
25 | #include "AliEMCALTriggerPatch.h" | |
26 | #include "AliLog.h" | |
27 | #include "TIterator.h" | |
28 | #include "Riostream.h" | |
29 | ||
30 | ClassImp(AliEMCALTriggerData) | |
31 | ||
32 | //_____________ | |
33 | AliEMCALTriggerData::AliEMCALTriggerData() : TObject(), | |
34 | fMode(0), | |
35 | fL1GammaThreshold(), | |
36 | fL1JetThreshold(), | |
37 | fL1V0(), | |
38 | fL1FrameMask(0), | |
39 | fL1TriggerType(), | |
40 | fL1DataDecoded(0), | |
41 | fL1RawData(0) | |
42 | { | |
43 | // Ctor | |
44 | ||
45 | fL1GammaThreshold[0] = fL1GammaThreshold[1] = 0; | |
46 | fL1JetThreshold[0] = fL1JetThreshold[1] = 0; | |
47 | ||
48 | fL1V0[0] = fL1V0[1] = 0; | |
49 | for (Int_t i = 0; i < 15; i++) fL1TriggerType[i] = 0; | |
50 | } | |
51 | ||
52 | //_____________ | |
53 | AliEMCALTriggerData::~AliEMCALTriggerData() | |
54 | { | |
55 | // Dtor | |
56 | } | |
57 | ||
58 | //_____________ | |
59 | void AliEMCALTriggerData::Scan() const | |
60 | { | |
61 | // Dump | |
62 | ||
63 | for (int i = 0; i < 2; i++){ | |
64 | printf("\tL1 thresholds[%d]: gamma %d\tjet %d\n", i, fL1GammaThreshold[i], fL1JetThreshold[i]); | |
65 | } | |
66 | } | |
67 | ||
68 | //_____________ | |
69 | void AliEMCALTriggerData::Reset() | |
70 | { | |
71 | // Reset | |
72 | ||
73 | fL1DataDecoded = 0; | |
74 | } | |
75 | ||
76 | ||
77 |