LCOV - code coverage report
Current view: top level - EMCAL/EMCALTriggerBase - AliEMCALTriggerFastOR.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 12 0.0 %
Date: 2016-06-14 17:26:59 Functions: 0 12 0.0 %

          Line data    Source code
       1             : /**************************************************************************
       2             :  * This file is property of and copyright by the ALICE HLT Project        *
       3             :  * All rights reserved.                                                   *
       4             :  *                                                                        *
       5             :  * Primary Authors: Salvatore Aiola                                       *
       6             :  *                                                                        *
       7             :  * Permission to use, copy, modify and distribute this software and its   *
       8             :  * documentation strictly for non-commercial purposes is hereby granted   *
       9             :  * without fee, provided that the above copyright notice appears in all   *
      10             :  * copies and that both the copyright notice and this permission notice   *
      11             :  * appear in the supporting documentation. The authors make no claims     *
      12             :  * about the suitability of this software for any purpose. It is          *
      13             :  * provided "as is" without express or implied warranty.                  *
      14             :  **************************************************************************/
      15             : #ifndef ALIEMCALTRIGGERFASTOR_H
      16             : #define ALIEMCALTRIGGERFASTOR_H
      17             : /**
      18             :  * Trigger FastOR data struct
      19             :  *
      20             :  * @file   AliEMCALTriggerFastOR.h
      21             :  * @author Salvatore Aiola
      22             :  * @date
      23             :  * @brief  Trigger FastOR data struct
      24             :  */
      25             : 
      26             : #include <Rtypes.h>
      27             : 
      28             : class AliEMCALGeometry;
      29             : 
      30             : /**
      31             :  * @class AliEMCALTriggerFastOR
      32             :  * Trigger FastOR data struct
      33             :  *
      34             :  */
      35             : class AliEMCALTriggerFastOR {
      36             : 
      37             :  public:
      38             : 
      39             :   AliEMCALTriggerFastOR();
      40             :   AliEMCALTriggerFastOR(UInt_t L0amp, UInt_t L1amp, Int_t absId, const AliEMCALGeometry* geom);
      41             :   AliEMCALTriggerFastOR(UInt_t L0amp, UInt_t L1amp, Int_t globalRow, Int_t glocalCol, const AliEMCALGeometry* geom);
      42             :   
      43             :   void Initialize(UInt_t L0amp, UInt_t L1amp, Int_t absId, const AliEMCALGeometry* geom);
      44             :   void Initialize(UInt_t L0amp, UInt_t L1amp, Int_t globalRow, Int_t glocalCol, Int_t L0time, const AliEMCALGeometry* geom);
      45             : 
      46             :   void Initialize(Int_t absId, const AliEMCALGeometry* geom);
      47             :   void Initialize(Int_t globalRow, Int_t glocalCol, const AliEMCALGeometry* geom);
      48             : 
      49           0 :   UInt_t                   GetAbsId()        const { return fAbsId     ; }
      50           0 :   UChar_t                  GetGlobalCol()    const { return fGlobalCol ; }
      51           0 :   UChar_t                  GetGlobalRow()    const { return fGlobalRow ; }
      52           0 :   UChar_t                  GetSM()           const { return fSM        ; }
      53           0 :   UChar_t                  GetCol()          const { return fCol       ; }
      54           0 :   UChar_t                  GetRow()          const { return fRow       ; }
      55           0 :   UInt_t                   GetL0Amp()        const { return fL0Amp     ; }
      56           0 :   UInt_t                   GetL1Amp()        const { return fL1Amp     ; }
      57           0 :   Int_t                    GetL0Time()       const { return fL0Time    ; }
      58             : 
      59           0 :   void                     SetL0Amp(UInt_t amp)    { fL0Amp     = amp  ; }
      60           0 :   void                     SetL1Amp(UInt_t amp)    { fL1Amp     = amp  ; }
      61           0 :   void                     SetL0Time(Int_t t)      { fL0Time    = t    ; }
      62             : 
      63             :  private:
      64             :   /**Abs ID of the trigger FastOR */
      65             :   UInt_t                    fAbsId;
      66             :   /** Global column of the trigger FastOR */
      67             :   UChar_t                   fGlobalCol;
      68             :   /** Global row of the trigger FastOR */
      69             :   UChar_t                   fGlobalRow;
      70             :   /** SM of the trigger FastOR */
      71             :   UChar_t                   fSM;
      72             :   /** Column of the trigger FastOR  within the SM */
      73             :   UChar_t                   fCol;
      74             :   /** Row of the trigger FastOR within the SM*/
      75             :   UChar_t                   fRow;
      76             :   /** ADC counts in the trigger FastOR */
      77             :   UInt_t                    fL0Amp;
      78             :   /** L1 time sum in the trigger FastOR */
      79             :   UInt_t                    fL1Amp;
      80             :   /** Time of the trigger FastOR */
      81             :   Int_t                     fL0Time;
      82             : };
      83             : 
      84             : #endif

Generated by: LCOV version 1.11