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"
25 ClassImp(AliCTPInputTimeParams)
27 //_____________________________________________________________________________
28 AliCTPInputTimeParams::AliCTPInputTimeParams():
36 // Default constructor
39 //_____________________________________________________________________________
40 AliCTPInputTimeParams::AliCTPInputTimeParams( TString& name, UInt_t& level, UInt_t delay, TString edge, UInt_t deltamin, UInt_t deltamax ):
49 //_____________________________________________________________________________
50 AliCTPInputTimeParams::AliCTPInputTimeParams(const AliCTPInputTimeParams &ctptime):
53 fLevel(ctptime.fLevel),
54 fDelay(ctptime.fDelay),
56 fDeltaMin(ctptime.fDeltaMin),
57 fDeltaMax(ctptime.fDeltaMax)
62 //_____________________________________________________________________________
63 AliCTPInputTimeParams& AliCTPInputTimeParams::operator=(const AliCTPInputTimeParams &ctptime)
66 if(this==&ctptime) return *this;
67 ((TObject *)this)->operator=(ctptime);
69 fLevel=ctptime.fLevel;
70 fDelay=ctptime.fDelay;
72 fDeltaMin=ctptime.fDeltaMin;
73 fDeltaMax=ctptime.fDeltaMax;
76 //_____________________________________________________________________________
77 void AliCTPInputTimeParams::SetCTPInputTimeParams( TString name, UInt_t level, UInt_t delay, TString edge, UInt_t deltamin, UInt_t deltamax )
87 //_____________________________________________________________________________
88 void AliCTPInputTimeParams::Print( const Option_t* ) const
91 cout << " CTP Input Time Params " << endl;
92 cout << " Input Name: " << fName << endl;
93 cout << " Level: " << fLevel << endl;
94 cout << " Delay: " << fDelay << endl;
95 cout << " Edge: " << fEdge << endl;
96 cout << " DeltaMin: " << fDeltaMin << endl;
97 cout << " DeltaMax: " << fDeltaMax << endl;