/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are mentioned in the code where appropriate. * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notifce * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ // $Id: AliJRunHeader.cxx,v 1.1 2008/02/04 13:28:47 rak Exp $ //////////////////////////////////////////////////// // // \file AliJRunHeader.cxx // \brief // \author J. Rak, D.J.Kim, F.Krizek(University of Jyvaskyla) // \email: djkim@cc.jyu.fi // \version $Revision: 1.1 $ // \date $Date: 2008/02/04 13:28:47 $ // // Class encapsulation aliroot run header information //////////////////////////////////////////////////// #include "AliJRunHeader.h" ClassImp(AliJRunHeader) //---------------------------- AliJRunHeader::AliJRunHeader(): TNamed(), fRunNumber(-1), fL3MagnetPolarity(0), fMagneticFieldL3(0), fActiveTriggersAlice(), fSizeOfTableJCorran(0), fActiveTriggersJCorran() { //constructor for(Int_t i=0;iSetString(triggers[t].Data()); } fActiveTriggersAlice.SetOwner(kTRUE); } //________________________________________________________________________ void AliJRunHeader::SetActiveTriggersJCorran(TString *triggers, Int_t range){ //fill jcorran trigger table for(Int_t t=0;tSetString(triggers[t].Data()); } fActiveTriggersJCorran.SetOwner(kTRUE); fSizeOfTableJCorran = range; } //________________________________________________________________________ Int_t AliJRunHeader::GetActiveTriggerBitAlice(TString TriggerName){ //get trigger bit corresponding to trigger name Int_t tbit=-1; for(Int_t t=0;tGetString())){ tbit = t; break; } } return tbit; } //________________________________________________________________________ void AliJRunHeader::PrintOut(){ //print object cout<<"RUN "<