Added V0A23 (V0 rings 2-3), V0C01 (V0 rings 0-1) and V0S = V0A23+V0C01
[u/mrichter/AliRoot.git] / STEER / STEERBase / AliVCaloTrigger.h
CommitLineData
7d140d6e 1#ifndef ALIVCALOTRIGGER_H
2#define ALIVCALOTRIGGER_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5/* $Id: AliVCaloTrigger.h $ */
6
7//-------------------------------------------------------------------------
8//
9// Virtual class to access calorimeter
10// (EMCAL, PHOS, PMD, FMD) trigger data
11// Author: Salvatore Aiola
12//
13//-------------------------------------------------------------------------
14
15#include <TNamed.h>
16
17class AliVCaloTrigger : public TNamed
18{
19public:
20
7e0cf530 21 AliVCaloTrigger(): TNamed() {;}
7d140d6e 22 AliVCaloTrigger(const char* name, const char* title) : TNamed(name, title) {;}
23 AliVCaloTrigger(const AliVCaloTrigger& ctrig);
24 virtual ~AliVCaloTrigger() {;}
25 AliVCaloTrigger& operator=(const AliVCaloTrigger& ctrig);
26
27 virtual Bool_t IsEmpty() = 0;
28 virtual void Reset() = 0;
29 virtual void Allocate(Int_t /*size*/) = 0;
30 virtual void DeAllocate() = 0;
31 virtual Bool_t Add(Int_t /*col*/, Int_t /*row*/,
32 Float_t /*amp*/, Float_t /*time*/,
33 Int_t* /*trgtimes*/, Int_t /*ntrgtimes*/,
34 Int_t /*trgts*/, Int_t /*trgbits*/) = 0;
35 virtual void SetL1Threshold(Int_t /*i*/, Int_t /*thr*/) = 0;
36 virtual void SetL1V0(const Int_t* /*v*/) = 0;
37 virtual void SetL1FrameMask(Int_t /*m*/) = 0;
38
39 virtual void GetPosition(Int_t& /*col*/, Int_t& /*row*/) const = 0;
40 virtual void GetAmplitude(Float_t& /*amp*/) const = 0;
41 virtual void GetTime(Float_t& /*time*/) const = 0;
42 virtual void GetTriggerBits(Int_t& /*bits*/) const = 0;
43 virtual void GetNL0Times(Int_t& /*ntimes*/) const = 0;
44 virtual void GetL0Times(Int_t* /*times*/) const = 0;
45 virtual Int_t GetEntries() const = 0;
46
47 virtual void GetL1TimeSum(Int_t& /*timesum*/) const = 0;
48 virtual Int_t GetL1Threshold(Int_t /*i*/) const = 0;
49 virtual Int_t GetL1V0(Int_t /*i*/) const = 0;
50 virtual Int_t GetL1FrameMask() const = 0;
51
52 virtual Bool_t Next() = 0;
53 virtual void Copy(TObject& obj) const ;
54
55private:
56
57 ClassDef(AliVCaloTrigger, 0)
58};
59#endif //ALIVCALOTRIGGER_H
60