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