00001 00002 // $Id: RawBeamMonHeader.cxx,v 1.2 2003/07/10 19:36:28 rhatcher Exp $ 00003 // 00004 // RawBeamMonHeader 00005 // 00006 // RawBeamMonHeader is the header for raw MINOS data from the BeamMon. 00007 // It serves to tag the specifics of where/when the data was recorded 00008 // 00009 // Author: R. Hatcher 2003.01.22 00010 // 00012 00013 #include "RawData/RawBeamMonHeader.h" 00014 00015 #include <iostream> 00016 #include "MessageService/MsgStream.h" 00017 00018 ClassImp(RawBeamMonHeader) 00019 00020 //_____________________________________________________________________________ 00021 RawBeamMonHeader::RawBeamMonHeader() : 00022 RawHeader(), fSpillCount(0) 00023 { 00024 // Default constructor 00025 } 00026 00027 //_____________________________________________________________________________ 00028 RawBeamMonHeader::RawBeamMonHeader(const VldContext& vldc, UInt_t spillcnt) : 00029 RawHeader(vldc), fSpillCount(spillcnt) 00030 { 00031 00032 } 00033 00034 //_____________________________________________________________________________ 00035 std::ostream& RawBeamMonHeader::FormatToOStream(std::ostream& os, 00036 Option_t *option) const 00037 { 00038 RawHeader::FormatToOStream(os,option); 00039 os << endl 00040 << " SpillCount " << GetSpillCountNum(); 00041 return os; 00042 } 00043 00044 //_____________________________________________________________________________
1.3.9.1