Removed debug level line.
[u/mrichter/AliRoot.git] / STEER / AliCTPTimeParams.h
CommitLineData
fabd1b29 1#ifndef ALICTPTIMEPARAMS_H
2#define ALICTPTIMEPARAMS_H
3
d4b2dc5f 4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5* See cxx source for full Copyright notice */
6/* $Id$ */
fabd1b29 7
8#include<TNamed.h>
9#include<TObjArray.h>
10
11class TNamed;
12
13class AliCTPTimeParams : public TNamed {
14
15public:
16 AliCTPTimeParams();
17 virtual ~AliCTPTimeParams();
18
19 AliCTPTimeParams(const AliCTPTimeParams &timeparams);
20 AliCTPTimeParams& operator=(const AliCTPTimeParams& timeparams);
21
22
23 static AliCTPTimeParams* LoadCTPTimeParams(TString filename);
24 static AliCTPTimeParams* LoadCTPTimeParamsFromString(const char* timeparams);
25 Bool_t ProcessCTPTimeParamsLine(const char* line);
fabd1b29 26 void AddInput( TString& inputName, UInt_t& inputLevel, UInt_t inputDelay, TString inputEdge );
27 void AddDelayL0L1L2(UInt_t delayL1L0, UInt_t delayL2L0);
28 virtual void Print(const Option_t* opt="") const;
29 //Setters
30
31 //Getters
d4b2dc5f 32 UInt_t GetDelayL1L0() const { return fDelayL1L0; }
33 UInt_t GetDelayL2L0() const { return fDelayL2L0; } const TObjArray* GetInputTimeParams() const { return &fCTPInputTimeParams; }
fabd1b29 34 enum {kNMaxInputs = 60}; //CTP can manage up to 60 trigger detector inputs
35private:
36 UInt_t fDelayL1L0;
37 UInt_t fDelayL2L0;
38 TObjArray fCTPInputTimeParams;
fabd1b29 39
40 ClassDef( AliCTPTimeParams, 1 )
41};
42
43#endif