forked from alisw/AliRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAliTOFDaConfigHandler.old.h
50 lines (40 loc) · 1.93 KB
/
AliTOFDaConfigHandler.old.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef ALITOFDACONFIGHANDLER_H
#define ALITOFDACONFIGHANDLER_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* * See cxx source for full Copyright notice */
/* $Id$ */
////////////////////////////////////////////////////////////////////////////
// //
// The SAX XML file handler used by the TOF DA for PHYSICS runs //
// to get the necessary flags to run (e.g. debug flag) //
// //
// Chiara.Zampolli (Chiara.Zampolli@cern.ch) //
// //
////////////////////////////////////////////////////////////////////////////
#include <TObject.h>
class TString;
class AliTOFDaConfigHandler : public TObject {
public:
AliTOFDaConfigHandler();
AliTOFDaConfigHandler(const AliTOFDaConfigHandler &sh);
virtual ~AliTOFDaConfigHandler();
AliTOFDaConfigHandler &operator=(const AliTOFDaConfigHandler &sh);
// functions to interface to TSAXHandler
void OnStartDocument();
void OnEndDocument();
void OnStartElement(const char *name, const TList *attributes);
void OnEndElement(const char *name);
void OnCharacters(const char *name);
void OnComment(const char *name);
void OnWarning(const char *name);
void OnError(const char *name);
void OnFatalError(const char *name);
void OnCdataBlock(const char *name, Int_t len);
Int_t GetDebugFlag() const {return fDebugFlag;}
Int_t GetT0Flag() const {return fT0Flag;}
private:
Int_t fDebugFlag; // debug flag: 0-->off, 1-->first level of debug, 2-->second level of debug, 3-->third level of debug
Int_t fT0Flag; // flag for using T0: 0-->off, 1-->on
ClassDef(AliTOFDaConfigHandler,0);
};
#endif