X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAliMUONTriggerLut.h;h=c40300d3c8c5d0b0c2752d0c9e3dee8b187ca804;hb=cd1f0e7965e85321b1e086a2e50be96819730952;hp=09537bb95e48346469d279deefa1c92c18db65ae;hpb=c1a185bf43d1741ff2d489ef07bd25dea5c79305;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AliMUONTriggerLut.h b/MUON/AliMUONTriggerLut.h index 09537bb95e4..c40300d3c8c 100644 --- a/MUON/AliMUONTriggerLut.h +++ b/MUON/AliMUONTriggerLut.h @@ -1,40 +1,53 @@ #ifndef ALIMUONTRIGGERLUT_H #define ALIMUONTRIGGERLUT_H +/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * + * See cxx source for full Copyright notice */ -#include "TNamed.h" -class TH3S; +/* $Id$ */ +// Revision of includes 07/05/2004 + +/// \ingroup calib +/// \class AliMUONTriggerLut +/// \brief MUON trigger look up table class +/// +// Author: Philippe Crochet + +#include + +class TH3; //---------------------------------------------- -class AliMUONTriggerLut : -public TNamed { +class AliMUONTriggerLut : public TNamed +{ public: AliMUONTriggerLut(); // constructor - ~AliMUONTriggerLut(); // destructor - // copy constructor - AliMUONTriggerLut (const AliMUONTriggerLut& AliMUONTriggerLut); - // assignment operator - AliMUONTriggerLut& operator=(const AliMUONTriggerLut& AliMUONTriggerLut); + virtual ~AliMUONTriggerLut(); // destructor - void LoadLut(); + void ReadFromFile(const char* filename); void GetLutOutput(Int_t circuit, Int_t xstrip, Int_t idev, Int_t ystrip, - Int_t lutLpt[2], Int_t lutHpt[2], Int_t lutApt[2]); - + Int_t lutLpt[2], Int_t lutHpt[2]); + private: + /// Not implemented copy constructor + AliMUONTriggerLut (const AliMUONTriggerLut& AliMUONTriggerLut); + /// Not implemented assignment operator + AliMUONTriggerLut& operator=(const AliMUONTriggerLut& AliMUONTriggerLut); + Int_t GetMask(Int_t ystrip); - ClassDef(AliMUONTriggerLut,1) // Trigger Look up Table class +private: + TH3 *fLptPlus; ///< 3-d histogram with 234x32x31 bins Low pt Plus + TH3 *fLptMinu; ///< 3-d histogram with 234x32x31 bins Low pt Minus + TH3 *fLptUnde; ///< 3-d histogram with 234x32x31 bins Low pt Undefined + TH3 *fHptPlus; ///< 3-d histogram with 234x32x31 bins High pt Plus + TH3 *fHptMinu; ///< 3-d histogram with 234x32x31 bins High pt Minus + TH3 *fHptUnde; ///< 3-d histogram with 234x32x31 bins High pt Undefined + TH3 *fAptPlus; ///< 3-d histogram with 234x32x31 bins All pt Plus + TH3 *fAptMinu; ///< 3-d histogram with 234x32x31 bins All pt Minus + TH3 *fAptUnde; ///< 3-d histogram with 234x32x31 bins All pt Undefined - private: - TH3S *fLptPlus; //3-d histogram with 234x32x31 bins Low pt Plus - TH3S *fLptMinu; //3-d histogram with 234x32x31 bins Low pt Minus - TH3S *fLptUnde; //3-d histogram with 234x32x31 bins Low pt Undefined - TH3S *fHptPlus; //3-d histogram with 234x32x31 bins High pt Plus - TH3S *fHptMinu; //3-d histogram with 234x32x31 bins High pt Minus - TH3S *fHptUnde; //3-d histogram with 234x32x31 bins High pt Undefined - TH3S *fAptPlus; //3-d histogram with 234x32x31 bins All pt Plus - TH3S *fAptMinu; //3-d histogram with 234x32x31 bins All pt Minus - TH3S *fAptUnde; //3-d histogram with 234x32x31 bins All pt Undefined + ClassDef(AliMUONTriggerLut,1) // Trigger Look up Table class }; #endif