LCOV - code coverage report
Current view: top level - EMCAL/EMCALbase - AliEMCALTriggerData.cxx (source / functions) Hit Total Coverage
Test: coverage.info Lines: 19 24 79.2 %
Date: 2016-06-14 17:26:59 Functions: 4 8 50.0 %

          Line data    Source code
       1             : /**************************************************************************
       2             :  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       3             :  *                                                                        *
       4             :  * Author: The ALICE Off-line Project.                                    *
       5             :  * Contributors are mentioned in the code where appropriate.              *
       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 purpeateose. It is      *
      13             :  * provided "as is" without express or implied warranty.                  *
      14             :  **************************************************************************/
      15             : 
      16             : /*
      17             :  
      18             :  
      19             : EMCal trigger data container
      20             : for data (both raw & rec) persistency
      21             : Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
      22             : */
      23             : 
      24             : #include "AliEMCALTriggerData.h"
      25             : //#include "AliEMCALTriggerPatch.h"
      26             : #include "AliLog.h"
      27             : #include "TIterator.h"
      28             : #include "Riostream.h"
      29             : 
      30          42 : ClassImp(AliEMCALTriggerData)
      31             : 
      32             : //_____________
      33           3 : AliEMCALTriggerData::AliEMCALTriggerData() : TObject(),
      34           3 : fMode(0),
      35           3 : fL1GammaThreshold(),
      36           3 : fL1JetThreshold(),
      37           3 : fL1V0(),
      38           3 : fL1FrameMask(0),
      39           3 : fL1TriggerType(),
      40           3 : fL1DataDecoded(0),
      41           3 : fL1RawData(0),
      42           3 : fMedian(0)
      43          15 : {  
      44             :         // Ctor
      45             :                 
      46           3 :         fL1GammaThreshold[0] = fL1GammaThreshold[1] = 0;
      47           3 :         fL1JetThreshold[0] = fL1JetThreshold[1] = 0;
      48             :         
      49           3 :         fL1V0[0] = fL1V0[1] = 0;
      50         120 :         for (Int_t i = 0; i < 19; i++) fL1TriggerType[i] = 0;        
      51           6 : }
      52             : 
      53             : //_____________
      54             : AliEMCALTriggerData::~AliEMCALTriggerData()
      55           0 : {
      56             :         // Dtor 
      57           0 : }
      58             : 
      59             : //_____________
      60             : void AliEMCALTriggerData::Scan() const
      61             : {
      62             :         // Dump
      63             : 
      64           0 :         for (int i = 0; i < 2; i++){
      65           0 :                 printf("\tL1 thresholds[%d]: gamma %d\tjet %d\n", i, fL1GammaThreshold[i], fL1JetThreshold[i]);
      66             :         }
      67           0 : }
      68             : 
      69             : //_____________
      70             : void AliEMCALTriggerData::Reset()
      71             : {
      72             :         // Reset
      73             :         
      74          24 :         fL1DataDecoded = 0;
      75          12 : }
      76             : 
      77             : 
      78             : 

Generated by: LCOV version 1.11