1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
17 #include <Riostream.h>
21 #include "AliCTPInputTimeParams.h"
23 ClassImp(AliCTPInputTimeParams)
25 //_____________________________________________________________________________
26 AliCTPInputTimeParams::AliCTPInputTimeParams():
32 // Default constructor
35 //_____________________________________________________________________________
36 AliCTPInputTimeParams::AliCTPInputTimeParams( TString& name, UInt_t& level, UInt_t delay, TString edge ):
43 //_____________________________________________________________________________
44 AliCTPInputTimeParams::AliCTPInputTimeParams(const AliCTPInputTimeParams &ctptime):
47 fLevel(ctptime.fLevel),
48 fDelay(ctptime.fDelay),
53 //_____________________________________________________________________________
54 AliCTPInputTimeParams& AliCTPInputTimeParams::operator=(const AliCTPInputTimeParams &ctptime)
57 if(this==&ctptime) return *this;
58 ((TObject *)this)->operator=(ctptime);
60 fLevel=ctptime.fLevel;
61 fDelay=ctptime.fDelay;
65 //_____________________________________________________________________________
66 void AliCTPInputTimeParams::SetCTPInputTimeParams( TString name, UInt_t level, UInt_t delay, TString edge )
74 //_____________________________________________________________________________
75 void AliCTPInputTimeParams::Print( const Option_t* ) const
78 cout << " CTP Input Time Params " << endl;
79 cout << " Input Name: " << fName << endl;
80 cout << " Level: " << fLevel << endl;
81 cout << " Delay: " << fDelay << endl;
82 cout << " Edge: " << fEdge << endl;