LCOV - code coverage report
Current view: top level - T0/T0rec - AliT0Reconstructor.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 5 5 100.0 %
Date: 2016-06-14 17:26:59 Functions: 8 11 72.7 %

          Line data    Source code
       1             : #ifndef ALIT0RECONSTRUCTOR_H
       2             : #define ALIT0RECONSTRUCTOR_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : /* $Id$ */
       7             : /******************************************************************** 
       8             :  * header class T0 reconstruction 
       9             :  * Alla Maevskaya INR RAS alla@inr.ru      *
      10             :  * Alla.Maevskaya@cern.ch
      11             :  *******************************************************************/
      12             : 
      13             : #include "AliReconstructor.h"
      14             : #include "AliT0Parameters.h"
      15             : #include "AliT0Calibrator.h"
      16             : #include "AliT0RecoParam.h"
      17             : #include "AliESDTZEROfriend.h"
      18             : #include "AliESDTZERO.h"
      19             : 
      20             : #include <TObjArray.h>
      21             : 
      22             : class AliT0Reconstructor: public AliReconstructor {
      23             :  public:
      24             :   AliT0Reconstructor();
      25          12 :   virtual ~AliT0Reconstructor() {};
      26             : 
      27             :   virtual  void   Reconstruct(TTree* fdigits, TTree * frecpoints) const;
      28             :   virtual  void   Reconstruct(AliRawReader*rawReader , TTree* recTree) const;
      29             :   
      30             :   virtual void     FillESD( AliRawReader* /*rawReader*/,  TTree*clustersTree, AliESDEvent*esd ) const
      31           8 :   {FillESD((TTree*)NULL,clustersTree,esd);}
      32             :   virtual void     FillESD( TTree* digitsTree,  TTree*clustersTree, AliESDEvent*esd ) const;
      33             : 
      34          24 :   virtual Bool_t   HasDigitConversion() const {return kFALSE;}
      35             :   static const AliT0RecoParam* GetRecoParam()
      36        1888 :     { return dynamic_cast<const AliT0RecoParam*>(AliReconstructor::GetRecoParam(11)); } // getting RecoParam obj
      37             :   void  ReadNewQTC(Int_t alldata[250][5], Int_t amplitude[26]) const;
      38             :   void ReadOldQTC( Int_t alldata[250][5], Int_t amplitude[26]) const;
      39             : 
      40             :   //!!!!!!!!!!!!!!!!!!!!!!!!!!
      41             :   TBits  SetPileupBits() const;
      42             :   Bool_t  PileupFlag() const;
      43             :   Bool_t  BackgroundFlag() const;
      44             :   Bool_t  SatelliteFlag() const;
      45             :   //!!!!!!!!!!!!!!!!!!!!!!!
      46             :  
      47             :  protected:
      48             :   Float_t             fdZonA;             // Zideal - Zreal side A 
      49             :   Float_t             fdZonC;             // Zideal - Zreal side C
      50             :   Float_t             fZposition;        // vertex position
      51             :   Float_t             fTime0vertex[24];  // time position if Zvertex=0
      52             :   AliT0Parameters     *fParam;           //pointer to T0 parameters class     
      53             :   TObjArray           fAmpLEDrec;        // amp LED-CFD 
      54             :   TObjArray           fQTC;        // QTC vs #MIPs
      55             :   TObjArray           fAmpLED;        // LED-CFD vs #MIPs
      56             :   AliT0Calibrator     *fCalib;           //pointer to T0 Calibrator     
      57             :   Float_t fLatencyHPTDC;  //latency HPTDC
      58             :   Float_t fLatencyL1;     //  latency for (T0A+T0C)/2
      59             :   Float_t fLatencyL1A;    // latency for T0A
      60             :   Float_t fLatencyL1C;    //latency for T0C
      61             :   Float_t fGRPdelays;    //latency for T0C
      62             :   Float_t *fTimeMeanShift; //time adjust
      63             :   Float_t *fTimeSigmaShift;  // time adjust
      64             : 
      65             :   Float_t fMeanOrA;      //mean from DA 
      66             :   Float_t fMeanOrC;      //mean from DA 
      67             :   Float_t fMeanTVDC;     //mean from DA 
      68             :   Float_t fQT1mean[24];  //mean QT1 (start) from DA 
      69             :   Float_t fPedestal[24];  //mean old pedestal from DA 
      70             :   Bool_t fLHCperiod;        // run period
      71             :   
      72             :  
      73             :   AliESDTZEROfriend*  fESDTZEROfriend; // ESD friend object 
      74             :   AliESDTZERO*        fESDTZERO;       // ESD output object 
      75             :  
      76             :   Bool_t fIsCDFfromGRP; //mean CFD position from OCDB or GRP
      77             :  private:
      78             :   AliT0Reconstructor( const AliT0Reconstructor&r ); //Not implemented
      79             :   AliT0Reconstructor& operator=(const AliT0Reconstructor&r); //Not implemented
      80             : 
      81         940 :   ClassDef(AliT0Reconstructor, 12)   // class for the T0 reconstruction
      82             : 
      83             : };
      84             : 
      85             : typedef AliT0Reconstructor AliSTARTReconstructor; // for backward compatibility
      86             : 
      87             : #endif

Generated by: LCOV version 1.11