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 **************************************************************************/
16 /* $Id: AliCTPInputTimeParams.cxx 22322 2007-11-22 11:43:14Z cvetan $ */
18 #include <Riostream.h>
23 #include "AliCTPInputTimeParams.h"
25 ClassImp(AliCTPInputTimeParams)
27 //_____________________________________________________________________________
28 AliCTPInputTimeParams::AliCTPInputTimeParams():
34 // Default constructor
37 //_____________________________________________________________________________
38 AliCTPInputTimeParams::AliCTPInputTimeParams( TString& name, UInt_t& level, UInt_t delay, TString edge ):
45 //_____________________________________________________________________________
46 AliCTPInputTimeParams::AliCTPInputTimeParams(const AliCTPInputTimeParams &ctptime):
49 fLevel(ctptime.fLevel),
50 fDelay(ctptime.fDelay),
55 //_____________________________________________________________________________
56 AliCTPInputTimeParams& AliCTPInputTimeParams::operator=(const AliCTPInputTimeParams &ctptime)
59 if(this==&ctptime) return *this;
60 ((TObject *)this)->operator=(ctptime);
62 fLevel=ctptime.fLevel;
63 fDelay=ctptime.fDelay;
67 //_____________________________________________________________________________
68 void AliCTPInputTimeParams::SetCTPInputTimeParams( TString name, UInt_t level, UInt_t delay, TString edge )
76 //_____________________________________________________________________________
77 void AliCTPInputTimeParams::Print( const Option_t* ) const
80 cout << " CTP Input Time Params " << endl;
81 cout << " Input Name: " << fName << endl;
82 cout << " Level: " << fLevel << endl;
83 cout << " Delay: " << fDelay << endl;
84 cout << " Edge: " << fEdge << endl;