Classes for CTP time parameters added (Plamen)
[u/mrichter/AliRoot.git] / STEER / AliCTPInputTimeParams.h
1 #ifndef ALITIMESTAMP_H
2 #define ALITIMESTAMP_H
3
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice                               */
6
7 /* $Id: AliCTPInputTimeParams.h 22322 2007-11-22 11:43:14Z cvetan $ */
8
9 ///////////////////////////////////////////////////////////////////////////////
10 //
11
12
13 class TObject;
14
15 class AliCTPInputTimeParams : public TObject {
16
17 public:
18                          AliCTPInputTimeParams();
19                          AliCTPInputTimeParams( TString& name, UInt_t& level, UInt_t delay, TString edge );   
20
21               virtual   ~AliCTPInputTimeParams() {}
22                          AliCTPInputTimeParams( const AliCTPInputTimeParams &ctptime );
23          AliCTPInputTimeParams&   operator=(const AliCTPInputTimeParams& ctptime);
24               
25       // Getters
26               TString    GetInputName()      const { return fName; }
27                UInt_t    GetLevel()     const { return fLevel; }       
28                UInt_t    GetDelay() const { return fDelay; }  
29               TString    GetEdge()    const { return fEdge; }      
30
31      // Setters
32                  void    SetCTPInputTimeParams( TString name, UInt_t level, 
33                                        UInt_t delay, TString edge );
34               
35          virtual void    Print( const Option_t* opt ="" ) const;
36                                
37               
38 protected:
39              TString    fName;          
40               UInt_t    fLevel; 
41               UInt_t    fDelay;
42              TString    fEdge;
43                          
44 private:                         
45
46    ClassDef( AliCTPInputTimeParams, 1 )  
47 };                                                                         
48
49
50 #endif