00001 00002 // $Id: RawHeader.cxx,v 1.16 2003/07/10 19:36:29 rhatcher Exp $ 00003 // 00004 // RawHeader 00005 // 00006 // RawHeader is the header for raw MINOS data from the DAQ 00007 // It serves to tag the specifics of where/when the data was recorded 00008 // 00009 // Author: R. Hatcher 2000.04.19 00010 // 00012 00013 #include "RawData/RawHeader.h" 00014 00015 #include <iostream> 00016 00017 ClassImp(RawHeader) 00018 00019 //_____________________________________________________________________________ 00020 ostream& operator<<(ostream& os, const RawHeader& h) 00021 { return h.FormatToOStream(os); } 00022 00023 //_____________________________________________________________________________ 00024 RawHeader::RawHeader() : RecMinosHdr() 00025 { 00026 // Default constructor 00027 } 00028 00029 //_____________________________________________________________________________ 00030 RawHeader::RawHeader(const VldContext& vldc) : 00031 RecMinosHdr(vldc) 00032 { 00033 00034 } 00035 00036 //_____________________________________________________________________________ 00037 void RawHeader::Print(Option_t *option) const 00038 { 00039 FormatToOStream(std::cout,option); 00040 } 00041 00042 //_____________________________________________________________________________ 00043 std::ostream& RawHeader::FormatToOStream(std::ostream& os, 00044 Option_t * /* option */) const 00045 { 00046 os << GetName() << " " << fVldContext; 00047 return os; 00048 } 00049 //_____________________________________________________________________________ 00050 00051
1.3.9.1