]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALTriggerPatch.h
Fix the number of contributors in case a vertex constraint is used (+1)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALTriggerPatch.h
CommitLineData
916f1e76 1#ifndef ALIEMCALTRIGGERPATCH_H
2#define ALIEMCALTRIGGERPATCH_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/*
7
8Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
9*/
10
11#ifndef ROOT_TObject
12# include "TObject.h"
13#endif
14
15#include "TVector2.h"
16
17class TArrayI;
18
19class AliEMCALTriggerPatch : public TObject {
20
21public:
22 AliEMCALTriggerPatch(); // default ctor
23 AliEMCALTriggerPatch(const AliEMCALTriggerPatch& other); // copy ctor
24 AliEMCALTriggerPatch(Int_t i, Int_t j, Int_t e);
25 virtual ~AliEMCALTriggerPatch();
26
27 void Position(TVector2& pos) const {pos = *fPosition;}
28 TVector2* Position( ) const {return fPosition;}
29 Int_t Sum() const {return fSum;} // in ADC counts
30 void Print(const Option_t*) const;
31 void GetAbsCellIdsFromPatchPosition(TVector2& psize, TVector2& ssize, TArrayI& absid);
32
33private:
34
35 AliEMCALTriggerPatch& operator=(const AliEMCALTriggerPatch& other); // Not implemented
36
37 TVector2* fPosition;
38 Int_t fSum;
39
40 ClassDef(AliEMCALTriggerPatch,1)
41};
42
43#endif