]>
Commit | Line | Data |
---|---|---|
d4b2dc5f | 1 | #ifndef ALICTPINPUTTIMEPARAMS_H |
2 | #define ALICTPINPUTTIMEPARAMS_H | |
fabd1b29 | 3 | |
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
d4b2dc5f | 5 | * See cxx source for full Copyright notice */ |
6 | /* $Id$ */ | |
fabd1b29 | 7 | |
8 | class TObject; | |
9 | ||
10 | class AliCTPInputTimeParams : public TObject { | |
11 | ||
12 | public: | |
13 | AliCTPInputTimeParams(); | |
125fd567 | 14 | AliCTPInputTimeParams( TString& name, UInt_t& level, UInt_t delay, TString edge, UInt_t deltamin, UInt_t deltamax ); |
fabd1b29 | 15 | |
16 | virtual ~AliCTPInputTimeParams() {} | |
17 | AliCTPInputTimeParams( const AliCTPInputTimeParams &ctptime ); | |
18 | AliCTPInputTimeParams& operator=(const AliCTPInputTimeParams& ctptime); | |
19 | ||
20 | // Getters | |
21 | TString GetInputName() const { return fName; } | |
22 | UInt_t GetLevel() const { return fLevel; } | |
23 | UInt_t GetDelay() const { return fDelay; } | |
24 | TString GetEdge() const { return fEdge; } | |
926cebe1 | 25 | Int_t GetDeltaMin() const { return fDeltaMin; } |
26 | Int_t GetDeltaMax() const { return fDeltaMax; } | |
fabd1b29 | 27 | // Setters |
28 | void SetCTPInputTimeParams( TString name, UInt_t level, | |
125fd567 | 29 | UInt_t delay, TString edge, UInt_t deltamin, UInt_t deltamax ); |
fabd1b29 | 30 | |
31 | virtual void Print( const Option_t* opt ="" ) const; | |
32 | ||
33 | ||
34 | protected: | |
35 | TString fName; | |
36 | UInt_t fLevel; | |
37 | UInt_t fDelay; | |
38 | TString fEdge; | |
926cebe1 | 39 | Int_t fDeltaMin; |
40 | Int_t fDeltaMax; | |
fabd1b29 | 41 | |
42 | private: | |
43 | ||
926cebe1 | 44 | ClassDef( AliCTPInputTimeParams, 3 ) |
fabd1b29 | 45 | }; |
46 | ||
47 | ||
48 | #endif |