]>
Commit | Line | Data |
---|---|---|
59f6cc12 | 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) // | |
104ba366 | 13 | // Roberto Preghenella (R+) (preghenella@bo.infn.it) // |
14 | // // | |
59f6cc12 | 15 | // // |
16 | //////////////////////////////////////////////////////////////////////////// | |
17 | ||
18 | #include <TObject.h> | |
19 | class TString; | |
20 | ||
21 | class AliTOFDaConfigHandler : public TObject { | |
22 | ||
23 | public: | |
24 | ||
25 | AliTOFDaConfigHandler(); | |
26 | AliTOFDaConfigHandler(const AliTOFDaConfigHandler &sh); | |
27 | virtual ~AliTOFDaConfigHandler(); | |
28 | AliTOFDaConfigHandler &operator=(const AliTOFDaConfigHandler &sh); | |
29 | ||
30 | // functions to interface to TSAXHandler | |
31 | void OnStartDocument(); | |
32 | void OnEndDocument(); | |
33 | void OnStartElement(const char *name, const TList *attributes); | |
34 | void OnEndElement(const char *name); | |
35 | void OnCharacters(const char *name); | |
36 | void OnComment(const char *name); | |
37 | void OnWarning(const char *name); | |
38 | void OnError(const char *name); | |
39 | void OnFatalError(const char *name); | |
40 | void OnCdataBlock(const char *name, Int_t len); | |
41 | ||
104ba366 | 42 | Int_t GetMeanMultiplicity() const {return fMeanMultiplicity;}; |
43 | Int_t GetMaxHits() const {return fMaxHits;}; | |
59f6cc12 | 44 | |
45 | private: | |
59f6cc12 | 46 | |
104ba366 | 47 | Int_t fMeanMultiplicity; // mean multiplicity |
48 | Int_t fMaxHits; // max hits | |
49 | ||
50 | ClassDef(AliTOFDaConfigHandler,1); | |
59f6cc12 | 51 | }; |
52 | #endif | |
53 |