X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=STEER%2FAliCTPInputTimeParams.cxx;h=2892ddfb5a4539214d7de6e3646a8d21bc324766;hb=fa35b51673adae4c53ff8b2419ffb6cd3a420623;hp=fa0c124e86f19e543ab039a256e883ff61340c86;hpb=fabd1b29b19f5e55c55ae47ba229604864b8b388;p=u%2Fmrichter%2FAliRoot.git diff --git a/STEER/AliCTPInputTimeParams.cxx b/STEER/AliCTPInputTimeParams.cxx index fa0c124e86f..2892ddfb5a4 100644 --- a/STEER/AliCTPInputTimeParams.cxx +++ b/STEER/AliCTPInputTimeParams.cxx @@ -13,11 +13,9 @@ * provided "as is" without express or implied warranty. * **************************************************************************/ -/* $Id: AliCTPInputTimeParams.cxx 22322 2007-11-22 11:43:14Z cvetan $ */ #include - #include "TObject.h" #include "AliLog.h" #include "AliCTPInputTimeParams.h" @@ -29,17 +27,21 @@ AliCTPInputTimeParams::AliCTPInputTimeParams(): fName(0), fLevel(0), fDelay(0), - fEdge(0) + fEdge(0), + fDeltaMin(0), + fDeltaMax(0) { // Default constructor } //_____________________________________________________________________________ -AliCTPInputTimeParams::AliCTPInputTimeParams( TString& name, UInt_t& level, UInt_t delay, TString edge ): +AliCTPInputTimeParams::AliCTPInputTimeParams( TString& name, UInt_t& level, UInt_t delay, TString edge, UInt_t deltamin, UInt_t deltamax ): fName(name), fLevel(level), fDelay( delay), - fEdge(edge) + fEdge(edge), + fDeltaMin(deltamin), + fDeltaMax(deltamax) { } //_____________________________________________________________________________ @@ -48,7 +50,10 @@ AliCTPInputTimeParams::AliCTPInputTimeParams(const AliCTPInputTimeParams &ctptim fName(ctptime.fName), fLevel(ctptime.fLevel), fDelay(ctptime.fDelay), - fEdge(ctptime.fEdge) + fEdge(ctptime.fEdge), + fDeltaMin(ctptime.fDeltaMin), + fDeltaMax(ctptime.fDeltaMax) + { // copy constructor } @@ -62,15 +67,19 @@ AliCTPInputTimeParams& AliCTPInputTimeParams::operator=(const AliCTPInputTimePar fLevel=ctptime.fLevel; fDelay=ctptime.fDelay; fEdge=ctptime.fEdge; + fDeltaMin=ctptime.fDeltaMin; + fDeltaMax=ctptime.fDeltaMax; return *this; } //_____________________________________________________________________________ -void AliCTPInputTimeParams::SetCTPInputTimeParams( TString name, UInt_t level, UInt_t delay, TString edge ) +void AliCTPInputTimeParams::SetCTPInputTimeParams( TString name, UInt_t level, UInt_t delay, TString edge, UInt_t deltamin, UInt_t deltamax ) { fName = name; fLevel = level; fDelay = delay; fEdge = edge; + fDeltaMin = deltamin; + fDeltaMax = deltamax; } //_____________________________________________________________________________ @@ -82,4 +91,6 @@ void AliCTPInputTimeParams::Print( const Option_t* ) const cout << " Level: " << fLevel << endl; cout << " Delay: " << fDelay << endl; cout << " Edge: " << fEdge << endl; + cout << " DeltaMin: " << fDeltaMin << endl; + cout << " DeltaMax: " << fDeltaMax << endl; }