RawDaqHeader Class Reference

#include <RawDaqHeader.h>

Inheritance diagram for RawDaqHeader:
RawHeader RecMinosHdr RawDaqSnarlHeader

List of all members.

Public Member Functions

 RawDaqHeader ()
 RawDaqHeader (const VldContext &vldc, Int_t run, Short_t subrun, Short_t runtype, Int_t timeframe)
virtual ~RawDaqHeader ()
Int_t GetRun () const
Short_t GetSubRun () const
Short_t GetRunType () const
Int_t GetTimeFrameNum () const
virtual std::ostream & FormatToOStream (std::ostream &os, Option_t *option="") const

Protected Attributes

Int_t fRun
Short_t fSubRun
Short_t fRunType
Int_t fTimeFrame

Detailed Description

Definition at line 18 of file RawDaqHeader.h.


Constructor & Destructor Documentation

RawDaqHeader::RawDaqHeader (  ) 

Definition at line 21 of file RawDaqHeader.cxx.

00021                              :
00022     RawHeader(), fRun(-1), fSubRun(-1), fRunType(-1), fTimeFrame(-1)
00023 {
00024    // Default constructor
00025 }

RawDaqHeader::RawDaqHeader ( const VldContext vldc,
Int_t  run,
Short_t  subrun,
Short_t  runtype,
Int_t  timeframe 
)

Definition at line 28 of file RawDaqHeader.cxx.

00029                                                                              :
00030    RawHeader(vldc), fRun(run), fSubRun(subrun), fRunType(runtype),
00031    fTimeFrame(timeframe)
00032 {
00033    
00034 }

virtual RawDaqHeader::~RawDaqHeader (  )  [inline, virtual]

Definition at line 25 of file RawDaqHeader.h.

00025 { ; }


Member Function Documentation

std::ostream & RawDaqHeader::FormatToOStream ( std::ostream &  os,
Option_t *  option = "" 
) const [virtual]

Reimplemented from RawHeader.

Reimplemented in RawDaqSnarlHeader.

Definition at line 37 of file RawDaqHeader.cxx.

References GetRun(), GetRunType(), GetSubRun(), and GetTimeFrameNum().

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 }

Int_t RawDaqHeader::GetRun ( void   )  const [inline]

Definition at line 27 of file RawDaqHeader.h.

References fRun.

Referenced by Cutter::Ana(), LIStreamHunter::Ana(), AtNuTreeModule::Ana(), FiltTriggerPrescale::Ana(), MergeEvent::Ana(), FarDetSliceListModule::Ana(), FilterRunType::Ana(), FiltMBSpillModule::Ana(), PrintStat::Ana(), FiltSGateModule::Ana(), RunFileModule::Ana(), RunSummary::Ana(), NDSgateTimeLooter::Ana(), CDAnaModule::Ana(), EvtAddRawDigitBlockModule::Ana(), AtNuDisplayModule::Ana(), DemoSnarlList::Ana(), NtpMaker::Ana(), FitTrackMSListModule::Ana(), FarDetShieldPlankListModule::Ana(), RateSummary::Ana(), RecoTreeModule::Ana(), FarDetStripListModule::Ana(), FarmListModule::Ana(), FarDetRawDigitDump::Ana(), AltDeMuxDisplay::Ana(), CDTrackerModule::Ana(), RotoObjectifier::BuildDaqHeaderBlock(), RotoObjectifier::BuildSnarlHeaderBlock(), cfgtest(), RotoServer::ChooseStreamName(), PEGainModule::DoMeanSigmaFromData(), PEGainModule::DoMeanSigmaFromRawSums(), PEGainModule::DoMeanSigmaFromSums(), DbuDaqFileModule::ExtractRunAndFile(), FormatToOStream(), DigitListModule::Get(), RecordSetupModule::Get(), NtpStModule::Get(), Blinder::GetInfo(), LISummaryModule::GetPulserBlocks(), PEGainModule::MakeDebugTree(), PEGainModule::MakeHistosFromData(), DQHeader::Process(), FillNearRunQuality::ProcessHeader(), FarDetDataQualityModule::ProcessHeader(), FillFarRunQuality::ProcessHeader(), FillBadChannelDB::ProcessHeader(), DbuDaqMonitorModule::ProcessRawRecord(), DbuDaqFileModule::ProcessRawRecord(), RotoClientModule::Put(), IoInputModule::ReadHeader(), LISummaryModule::Reco(), NtpFitSAModule::Reco(), TrackCamListModule::Reco(), DemuxFast::Reco(), NtpEMModule::Reco(), PulserFromRawModule::Reco(), NtpSRModule::Reco(), FitTrackCamListModule::Reco(), PulserDBModule::Reco(), NtpCluster3DModule::Reco(), AutoPIDMaker::Reco(), AtmosShowerListModule::Reco(), NtpMRModule::Reco(), DemoRecordModule::Reco(), and sepruns().

00027 { return fRun; }

Short_t RawDaqHeader::GetRunType (  )  const [inline]
Short_t RawDaqHeader::GetSubRun (  )  const [inline]
Int_t RawDaqHeader::GetTimeFrameNum (  )  const [inline]

Member Data Documentation

Int_t RawDaqHeader::fRun [protected]

Definition at line 37 of file RawDaqHeader.h.

Referenced by GetRun().

Short_t RawDaqHeader::fRunType [protected]

Definition at line 39 of file RawDaqHeader.h.

Referenced by GetRunType().

Short_t RawDaqHeader::fSubRun [protected]

Definition at line 38 of file RawDaqHeader.h.

Referenced by GetSubRun().

Int_t RawDaqHeader::fTimeFrame [protected]

Definition at line 40 of file RawDaqHeader.h.

Referenced by GetTimeFrameNum().


The documentation for this class was generated from the following files:

Generated on 22 May 2017 for loon by  doxygen 1.6.1