LCOV - code coverage report
Current view: top level - T0/T0base - AliT0Digitizer.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 6 16.7 %
Date: 2016-06-14 17:26:59 Functions: 2 10 20.0 %

          Line data    Source code
       1             : #ifndef ALIT0DIGITIZER_H
       2             : #define ALIT0DIGITIZER_H
       3             : /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : /******************************************************************
       6             :  *    Produde digits from hits
       7             :  * Alla.Maevskaya@cern.ch 
       8             :  ********************************************************************/
       9             : 
      10             : #include <AliDigitizer.h>
      11             : #include "AliT0Parameters.h"
      12             : 
      13             : #include <AliDigitizationInput.h>
      14             : class AliT0;
      15             : class AliT0hit;
      16             : class AliT0digit;
      17             : 
      18             : class AliT0Digitizer : public AliDigitizer {
      19             :  public:
      20             :   
      21             :   AliT0Digitizer();
      22             :   AliT0Digitizer(AliDigitizationInput * digInput);
      23             :   virtual ~AliT0Digitizer();
      24             :   virtual Bool_t Init();
      25           0 :   TClonesArray *Hits() const {return fHits;}
      26           0 :   TArrayI *TimeCFD() {return ftimeCFD;}
      27           0 :   TArrayI *TimeLED() {return ftimeLED;}
      28           0 :   TArrayI * ADC() {return fADC;} 
      29           0 :   TArrayI * ADC0() {return fADC0;} 
      30             : 
      31             :   // Do the main work
      32             :   void Digitize(Option_t* /*option=0*/) ;
      33             :   //  Bool_t RegisterPhotoE(Int_t impt, Double_t energy);
      34             :   enum {kBgTag = -1};
      35             :  
      36             : private:
      37             : 
      38             :   AliT0 *fT0;            //!
      39             :   TClonesArray *fHits;   //! List of hits
      40             :   AliT0digit *fdigits;   //! digits
      41             :   TArrayI *ftimeCFD;     //! array of CFD signal 
      42             :   TArrayI *ftimeLED;     //! array of (LED-GFD) time (amplitude)
      43             :   TArrayI *fADC;         //! array of QTC signals (main amplitude)
      44             :   TArrayI *fADC0;        //! array of QTC signals (main amplitude)
      45             :   Int_t fSumMult;        // multiplicity
      46             :   TObjArray fAmpLED;     // amplitude  CFD-LED dependence #channel -> #MIPs
      47             :   TObjArray fAmpQTC;     // amplitude  QTC dependence #channel -> #MIPs
      48             :  
      49             :   AliT0Parameters  *fParam;           //pointer to T0 parameters class     
      50             :   Bool_t fRun2;         // RUN2 or RUN1
      51             : 
      52             :   AliT0Digitizer(const AliT0Digitizer&);
      53             :   AliT0Digitizer& operator=(const AliT0Digitizer&);
      54             : 
      55          66 :     ClassDef(AliT0Digitizer,4)
      56             : };    
      57             : 
      58             : typedef AliT0Digitizer AliSTARTDigitizer; // for backward compatibility
      59             : 
      60             : #endif
      61             : 

Generated by: LCOV version 1.11