]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EMCAL/AliEMCALTriggerData.cxx
fix compilation
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerData.cxx
... / ...
CommitLineData
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
19EMCal trigger data container
20for data (both raw & rec) persistency
21Author: 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
30ClassImp(AliEMCALTriggerData)
31
32//_____________
33AliEMCALTriggerData::AliEMCALTriggerData() : TObject(),
34fMode(0),
35fL1GammaThreshold(),
36fL1JetThreshold(),
37fL1V0(),
38fL1FrameMask(0),
39fL1TriggerType(),
40fL1DataDecoded(0),
41fL1RawData(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//_____________
53AliEMCALTriggerData::~AliEMCALTriggerData()
54{
55 // Dtor
56}
57
58//_____________
59void 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//_____________
69void AliEMCALTriggerData::Reset()
70{
71 // Reset
72
73 fL1DataDecoded = 0;
74}
75
76
77