LCOV - code coverage report
Current view: top level - PMD/PMDrec - AliPMDCalibGain.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 1 100.0 %
Date: 2016-06-14 17:26:59 Functions: 1 5 20.0 %

          Line data    Source code
       1             : #ifndef ALIPMDCALIBGAIN_H
       2             : #define ALIPMDCALIBGAIN_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * See cxx source for full Copyright notice                               */
       5             : 
       6             : #include "TObject.h"
       7             : 
       8             : class TH1F;  
       9             : class AliRawReader;
      10             : class TTree;
      11             : 
      12             : class AliPMDCalibGain : public TObject
      13             : {
      14             :  public:
      15             :   AliPMDCalibGain() ;              // ctor
      16             :   AliPMDCalibGain(const AliPMDCalibGain &pmdcalibgain);  // copy constructor
      17             :   AliPMDCalibGain &operator=(const AliPMDCalibGain &pmdcalibgain); // assignment op
      18             : 
      19             :   virtual ~AliPMDCalibGain() ;           // dtor
      20             : 
      21             :   Int_t ExtractPedestal(const Char_t *rootFile);    // pedestal 
      22             :   Int_t ExtractHotChannel(const Char_t *rootFile);  // Hotchannel root file 
      23             :   void  ReadTempFile(const Char_t *tempFile);       // read inter file
      24             :   void  WriteTempFile(const Char_t *tempFile);      // write inter file
      25             : 
      26             :   Bool_t ProcessEvent(AliRawReader *rawReader, TObjArray *pmdddlcont);  //Looks for iso cells
      27             : 
      28             :   void Analyse(TTree *gaintree, TTree *meantree);
      29             :   void FindHotCell(TTree *hottree, Float_t xvar); // finds hot cell
      30             :   
      31             :  private:
      32             : 
      33             :   enum
      34             :       {
      35             :           kDet    = 2,   // Number of Planes
      36             :           kMaxSMN = 24,  // Number of Modules per plane
      37             :           kMaxRow = 48,  // Number of Rows
      38             :           kMaxCol = 96   // Number of Columns
      39             :       };
      40             : 
      41             :   Float_t fSMIso[kDet][kMaxSMN];
      42             :   Float_t fSMCount[kDet][kMaxSMN];                     // counter
      43             :   Float_t fCellIso[kDet][kMaxSMN][kMaxRow][kMaxCol];   // adc of iso cells
      44             :   Float_t fCellCount[kDet][kMaxSMN][kMaxRow][kMaxCol]; // counter of iso cell
      45             :   Float_t fNhitCell[kDet][kMaxSMN][kMaxRow][kMaxCol];  // counter
      46             :   Float_t fPedMeanRMS[kDet][kMaxSMN][kMaxRow][kMaxCol];// Pedestal Mean
      47             :   Float_t fHotFlag[kDet][kMaxSMN][kMaxRow][kMaxCol];   // HotChannel Flag 
      48             :    
      49             :   Float_t fCountSm[kDet][kMaxSMN];     // event counter for each module
      50             :   Float_t fTempnhit[kDet][kMaxSMN];    // hit frequency of each module
      51             :   Float_t fTempnhitSq[kDet][kMaxSMN];  // square of hit freq. of each mod.
      52             :   FILE    *fpw;                        // write the temp file
      53             : 
      54          12 : ClassDef(AliPMDCalibGain,7)            // description 
      55             : };
      56             : #endif // ALIPMDCALIBGAIN_H

Generated by: LCOV version 1.11