LCOV - code coverage report
Current view: top level - EMCAL/EMCALraw - AliEMCALRawResponse.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 2 8 25.0 %
Date: 2016-06-14 17:26:59 Functions: 2 14 14.3 %

          Line data    Source code
       1             : // -*- mode: c++ -*-
       2             : 
       3             : #ifndef ALIEMCALRAWRESPONSE_H
       4             : #define ALIEMCALRAWRESPONSE_H
       5             : 
       6             : /**************************************************************************
       7             :  * This file is property of and copyright by the Experimental Nuclear     *
       8             :  * Physics Group, Yale University, US 2011                                *
       9             :  *                                                                        *
      10             :  * Author: Per Thomas Hille <perthomas.hille@yale.edu> for the ALICE      *
      11             :  * experiment. Contributors are mentioned in the code where appropriate.  *
      12             :  * Please report bugs to  perthomas.hille@yale.edu                        *
      13             :  *                                                                        *
      14             :  * Permission to use, copy, modify and distribute this software and its   *
      15             :  * documentation strictly for non-commercial purposes is hereby granted   *
      16             :  * without fee, provided that the above copyright notice appears in all   *
      17             :  * copies and that both the copyright notice and this permission notice   *
      18             :  * appear in the supporting documentation. The authors make no claims     *
      19             :  * about the suitability of this software for any purpose. It is          *
      20             :  * provided "as is" without express or implied warranty.                  *
      21             :  **************************************************************************/
      22             : 
      23             : #include "Rtypes.h"
      24             : 
      25           0 : class  AliEMCALRawResponse
      26             : {
      27             : public:
      28             :   AliEMCALRawResponse();
      29             :   virtual ~AliEMCALRawResponse();
      30             :   static Double_t RawResponseFunction(Double_t *x, Double_t *par); 
      31             :   static Bool_t   RawSampledResponse(Double_t dtime, Double_t damp, Int_t * adcH, Int_t * adcL, 
      32             :                               const Int_t keyErr=0);  
      33             :   
      34           0 :   static Int_t    GetPedestalValue()     {return fgPedestalValue;}
      35           0 :   static Double_t GetFEENoise()          {return fgFEENoise;}
      36           0 :   static void SetFEENoise(Double_t val)                   {fgFEENoise = val;}
      37           0 :   static Double_t GetRawFormatTimeTrigger()  { return fgTimeTrigger ; }
      38         232 :   static Int_t GetRawFormatThreshold()       { return fgThreshold ; }   
      39           0 :   static void SetPedestalValue(Int_t val)                 {fgPedestalValue = val;}
      40             :   
      41             : private:
      42             :   static Double_t fgTimeTrigger ;       // time of the trigger for the RO signal 
      43             :   static Int_t fgThreshold;             // threshold
      44             :   static Int_t fgPedestalValue;         // pedestal value for Digits2Raw
      45             :   static Double_t fgFEENoise;           // electronics noise in ADC units
      46             :   
      47          42 :   ClassDef(AliEMCALRawResponse,1)
      48             : };
      49             : 
      50             : #endif

Generated by: LCOV version 1.11