]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFDaConfigHandler.old.h
Changed the default ZDC timing cuts and, correspondingly, the binning of the ZDC...
[u/mrichter/AliRoot.git] / TOF / AliTOFDaConfigHandler.old.h
CommitLineData
104ba366 1#ifndef ALITOFDACONFIGHANDLER_H
2#define ALITOFDACONFIGHANDLER_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 DA for PHYSICS runs //
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>
17class TString;
18
19class AliTOFDaConfigHandler : public TObject {
20
21public:
22
23 AliTOFDaConfigHandler();
24 AliTOFDaConfigHandler(const AliTOFDaConfigHandler &sh);
25 virtual ~AliTOFDaConfigHandler();
26 AliTOFDaConfigHandler &operator=(const AliTOFDaConfigHandler &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 Int_t GetDebugFlag() const {return fDebugFlag;}
41 Int_t GetT0Flag() const {return fT0Flag;}
42
43 private:
44 Int_t fDebugFlag; // debug flag: 0-->off, 1-->first level of debug, 2-->second level of debug, 3-->third level of debug
45 Int_t fT0Flag; // flag for using T0: 0-->off, 1-->on
46
47 ClassDef(AliTOFDaConfigHandler,0);
48};
49#endif
50