//------------------------------------------------------------- // Go4 Release Package v3.03-05 (build 30305) // 05-June-2008 //--------------------------------------------------------------- // The GSI Online Offline Object Oriented (Go4) Project // Experiment Data Processing at EE department, GSI //--------------------------------------------------------------- // //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI // Planckstr. 1, 64291 Darmstadt, Germany //Contact: http://go4.gsi.de //---------------------------------------------------------------- //This software can be used under the license agreements as stated //in Go4License.txt file which is part of the distribution. //---------------------------------------------------------------- #include "TAwagsSisParam.h" #include "Riostream.h" using namespace std; //*********************************************************** TAwagsSisParam::TAwagsSisParam() : TGo4Parameter("Parameter"), fNumEventsPerSpill(180), fMaxSpillEvent(150), fMapSpills(kTRUE), fSpillTriggerSFP(-1),fSpillTriggerSlave(1), fSpillTriggerChan(7),fMeasureBackground(kFALSE), fCorrectBackground(kFALSE),fMeasurementCount(0) { for(Int_t s=0; s(pp); if (from == 0) { cout << "Wrong parameter object: " << pp->ClassName() << endl; return kFALSE; } // if(!TGo4Parameter::UpdateFrom(pp)) return kFALSE; // will automatically copy 2d arrays // JAM NOTE: we need to implement copy ourselves, since go4 default cannot handle 3d arrays //if(!TGo4Parameter::UpdateFrom(pp)) return kFALSE; cout << "**** TAwagsSisParam::UpdateFrom ... " << endl; fNumEventsPerSpill = from->fNumEventsPerSpill; fMaxSpillEvent = from->fMaxSpillEvent; fMapSpills = from->fMapSpills; fSpillTriggerSFP = from->fSpillTriggerSFP; fSpillTriggerSlave = from->fSpillTriggerSlave; fSpillTriggerChan = from->fSpillTriggerChan; fMeasureBackground = from->fMeasureBackground; fCorrectBackground = from->fCorrectBackground; fMeasurementCount = from->fMeasurementCount; // do not copy this, // for(Int_t s=0; sfQBack[s][f][c]; return kTRUE; } //----------------------------END OF GO4 SOURCE FILE ---------------------