]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EMCAL/AliEMCALTriggerTRU.h
Coding conventions
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerTRU.h
... / ...
CommitLineData
1#ifndef ALIEMCALTRIGGERTRU_H
2#define ALIEMCALTRIGGERTRU_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/*
7
8
9Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
10*/
11
12#include <AliEMCALTriggerBoard.h>
13
14class AliEMCALTriggerSTU;
15class AliEMCALDigit;
16class AliEMCALCalibData;
17
18class AliEMCALTriggerTRU : public AliEMCALTriggerBoard
19{
20public:
21
22 AliEMCALTriggerTRU();
23 AliEMCALTriggerTRU(AliEMCALCalibData *calibData, const TVector2& rSize, Int_t mapType);
24 virtual ~AliEMCALTriggerTRU();
25
26 virtual Int_t L0v0(); // space sum has reached a max
27 virtual Int_t L0v1(); // one of the 4 FastOR in the patch has reached a max
28 virtual Int_t L0v2(); // activity trigger
29
30 virtual void PeakFinder(const Int_t idx[], Int_t nfastor, Int_t start, Int_t nup, Int_t ndown, Int_t& npeaks);
31 virtual void SetADC(Int_t channel, Int_t bin, Int_t sig );
32
33 virtual void SaveRegionADC(Int_t iTRU, Int_t iEvent);
34// virtual void Scan();
35 virtual void Reset();
36 virtual void Peaks(Int_t arr[96][2]);
37 virtual void ShowFastOR(Int_t timewindow, Int_t chan = -1);
38
39private:
40 AliEMCALTriggerTRU(const AliEMCALTriggerTRU& rhs);
41 AliEMCALTriggerTRU& operator=(const AliEMCALTriggerTRU& rhs);
42
43 Int_t fADC[96][256]; //! FIXME: Check the maximum number of samples
44
45 ClassDef(AliEMCALTriggerTRU,1)
46};
47
48#endif