AliPhysics  ff07904 (ff07904)
AliEMCALTriggerPatchADCInfoAP.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRIGGERPATCHADCINFO_H
2 #define ALIEMCALTRIGGERPATCHADCINFO_H
3 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include <TObject.h>
7 #include "AliEMCALTriggerDataGrid.h"
8 
30 public:
31 
36 
42  AliEMCALTriggerPatchADCInfoAP(UChar_t patchsize);
43 
49 
56 
61 
70  Int_t GetADC(UChar_t col, UChar_t row) const;
71 
76  Int_t GetSumADC() const;
77 
83  Int_t GetMaxADC() const;
84 
90  Int_t GetNFastorsContrib() const;
91 
96  UChar_t GetPatchSize() const { return fPatchSize; }
97 
103  void SetPatchSize(UChar_t patchsize);
104 
113  void SetADC(Int_t adc, UChar_t col, UChar_t row);
114 
115 private:
116  UChar_t fPatchSize;
118 
120  ClassDef(AliEMCALTriggerPatchADCInfoAP, 1)
122 };
123 
124 
125 
126 #endif /* PWG_EMCAL_EMCALTRIGGER_ALIEMCALTRIGGERPATCHADCINFO_H_ */
AliEMCALTriggerDataGrid< Int_t > fADCValues
underlying container with ADC data
AliEMCALTriggerPatchADCInfoAP & operator=(const AliEMCALTriggerPatchADCInfoAP &ref)
void SetADC(Int_t adc, UChar_t col, UChar_t row)
int Int_t
Definition: External.C:63
Int_t GetADC(UChar_t col, UChar_t row) const