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():
34 // Default constructor
37 //_____________________________________________________________________________
38 AliCTPInputTimeParams::AliCTPInputTimeParams( TString& name, UInt_t& level, UInt_t delay, TString edge, UInt_t deltamin, UInt_t deltamax ):
47 //_____________________________________________________________________________
48 AliCTPInputTimeParams::AliCTPInputTimeParams(const AliCTPInputTimeParams &ctptime):
51 fLevel(ctptime.fLevel),
52 fDelay(ctptime.fDelay),
54 fDeltaMin(ctptime.fDeltaMin),
55 fDeltaMax(ctptime.fDeltaMax)
60 //_____________________________________________________________________________
61 AliCTPInputTimeParams& AliCTPInputTimeParams::operator=(const AliCTPInputTimeParams &ctptime)
64 if(this==&ctptime) return *this;
65 ((TObject *)this)->operator=(ctptime);
67 fLevel=ctptime.fLevel;
68 fDelay=ctptime.fDelay;
70 fDeltaMin=ctptime.fDeltaMin;
71 fDeltaMax=ctptime.fDeltaMax;
74 //_____________________________________________________________________________
75 void AliCTPInputTimeParams::SetCTPInputTimeParams( TString name, UInt_t level, UInt_t delay, TString edge, UInt_t deltamin, UInt_t deltamax )
85 //_____________________________________________________________________________
86 void AliCTPInputTimeParams::Print( const Option_t* ) const
89 cout << " CTP Input Time Params " << endl;
90 cout << " Input Name: " << fName << endl;
91 cout << " Level: " << fLevel << endl;
92 cout << " Delay: " << fDelay << endl;
93 cout << " Edge: " << fEdge << endl;
94 cout << " DeltaMin: " << fDeltaMin << endl;
95 cout << " DeltaMax: " << fDeltaMax << endl;