Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

RawDaqHeader.cxx

Go to the documentation of this file.
00001 
00002 // $Id: RawDaqHeader.cxx,v 1.7 2003/07/10 19:36:29 rhatcher Exp $
00003 //
00004 // RawDaqHeader
00005 //
00006 // RawDaqHeader 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/RawDaqHeader.h"
00014 
00015 #include <iostream>
00016 #include "MessageService/MsgStream.h"
00017 
00018 ClassImp(RawDaqHeader)
00019 
00020 //_____________________________________________________________________________
00021   RawDaqHeader::RawDaqHeader() :
00022     RawHeader(), fRun(-1), fSubRun(-1), fRunType(-1), fTimeFrame(-1)
00023 {
00024    // Default constructor
00025 }
00026 
00027 //_____________________________________________________________________________
00028 RawDaqHeader::RawDaqHeader(const VldContext& vldc, Int_t run,
00029                            Short_t subrun, Short_t runtype, Int_t timeframe) :
00030    RawHeader(vldc), fRun(run), fSubRun(subrun), fRunType(runtype),
00031    fTimeFrame(timeframe)
00032 {
00033    
00034 }
00035 
00036 //_____________________________________________________________________________
00037  std::ostream& RawDaqHeader::FormatToOStream(std::ostream& os,
00038                                              Option_t *option) const
00039 {
00040    RawHeader::FormatToOStream(os,option);
00041    os << endl
00042       << " Run " << GetRun()
00043       << " SubRun " << GetSubRun()
00044       << " RunType " << GetRunType()
00045       << " TimeFrame " << GetTimeFrameNum();
00046    return os;
00047 }
00048 
00049 //_____________________________________________________________________________

Generated on Mon Feb 15 11:07:28 2010 for loon by  doxygen 1.3.9.1