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

          Line data    Source code
       1             : #ifndef ALITOFNOISECONFIGHANDLER_H
       2             : #define ALITOFNOISECONFIGHANDLER_H
       3             : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
       4             :  * * See cxx source for full Copyright notice */
       5             : /* $Id$ */
       6             : 
       7             : ////////////////////////////////////////////////////////////////////////////
       8             : //                                                                        //
       9             : //  The SAX XML file handler used by the TOF noiseDA                      //
      10             : //  to get the necessary flags to run (e.g. debug flag)                   //
      11             : //                                                                        //
      12             : //  Chiara.Zampolli (Chiara.Zampolli@cern.ch)                             //
      13             : //                                                                        //
      14             : ////////////////////////////////////////////////////////////////////////////
      15             : 
      16             : #include <TObject.h>
      17             : class TString;
      18             : 
      19             : class AliTOFNoiseConfigHandler : public TObject {
      20             : 
      21             : public:
      22             : 
      23             :   AliTOFNoiseConfigHandler();
      24             :   AliTOFNoiseConfigHandler(const AliTOFNoiseConfigHandler &sh);
      25             :   virtual ~AliTOFNoiseConfigHandler();
      26             :   AliTOFNoiseConfigHandler &operator=(const AliTOFNoiseConfigHandler &sh);
      27             : 
      28             :   // functions to interface to TSAXHandler
      29             :   void          OnStartDocument();
      30             :   void          OnEndDocument();
      31             :   void          OnStartElement(const char *name, const TList *attributes);
      32             :   void          OnEndElement(const char *name);
      33             :   void          OnCharacters(const char *name);
      34             :   void          OnComment(const char *name);
      35             :   void          OnWarning(const char *name);
      36             :   void          OnError(const char *name);
      37             :   void          OnFatalError(const char *name);
      38             :   void          OnCdataBlock(const char *name, Int_t len);
      39             : 
      40           0 :   Int_t GetDebugFlag() const {return fDebugFlag;}
      41             : 
      42             :  private:
      43             :   Int_t fDebugFlag;          // debug flag: 0-->off, 1-->on
      44             : 
      45          26 :   ClassDef(AliTOFNoiseConfigHandler,0);   
      46             : };
      47             : #endif
      48             : 

Generated by: LCOV version 1.11