2 #ifndef ALIESDCALOTRIGGER_H
3 #define ALIESDCALOTRIGGER_H
6 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7 * See cxx source for full Copyright notice */
10 //-------------------------------------------------------------------------
11 // Class AliESDCaloTrigger
12 // This is a class that summarizes the Trigger Data of EMCal and Phos
14 // Origin: Christian Klein-Boesing, CERN, Christian.Klein-Boesing@cern.ch
15 //-------------------------------------------------------------------------
25 class AliESDCaloTrigger : public TNamed {
28 AliESDCaloTrigger(const AliESDCaloTrigger& ctrig);
29 AliESDCaloTrigger& operator=(const AliESDCaloTrigger& ctrig);
30 virtual ~AliESDCaloTrigger();
31 virtual void Copy(TObject &obj) const;
33 void AddTriggerPosition(const TArrayF & array) {
34 if(fTriggerPosition) *fTriggerPosition = array;
35 else fTriggerPosition = new TArrayF(array);
38 void AddTriggerAmplitudes(const TArrayF & array) {
39 if(fTriggerAmplitudes) *fTriggerAmplitudes = array;
40 else fTriggerAmplitudes = new TArrayF(array);
45 TArrayF* GetTriggerPosition() {return fTriggerPosition;}
46 TArrayF* GetTriggerAmplitudes() {return fTriggerAmplitudes;}
51 TArrayF *fTriggerAmplitudes; // Amplitude of PHOS or EMCal Trigger
52 TArrayF *fTriggerPosition; // Position of PHOS or EMCal Trigger
54 ClassDef(AliESDCaloTrigger,1)