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

RawDaqSnarlHeader Class Reference

#include <RawDaqSnarlHeader.h>

Inheritance diagram for RawDaqSnarlHeader:

RawDaqHeader RawHeader RecMinosHdr List of all members.

Public Member Functions

 RawDaqSnarlHeader ()
 RawDaqSnarlHeader (const VldContext &vldc, Int_t run, Short_t subrun, Short_t runtype, Int_t timeframe, Int_t snarl, UInt_t trigsrc, UInt_t errcode, Int_t nrawdigits, Int_t spilltype)
virtual ~RawDaqSnarlHeader ()
Int_t GetSnarl () const
UInt_t GetTrigSrc () const
UInt_t GetErrorCode () const
Int_t GetNumRawDigits () const
Int_t GetRemoteSpillType () const
virtual std::ostream & FormatToOStream (std::ostream &os, Option_t *option="") const

Protected Attributes

Int_t fSnarl
UInt_t fTrigSrc
UInt_t fErrorCode
Int_t fNumRawDigits
Int_t fRemoteSpillType

Constructor & Destructor Documentation

RawDaqSnarlHeader::RawDaqSnarlHeader  ) 
 

Definition at line 22 of file RawDaqSnarlHeader.cxx.

00022                                        :
00023     RawDaqHeader(), fSnarl(-1), fTrigSrc(0xFFFF), fErrorCode(0xFFFF),
00024     fNumRawDigits(-1), fRemoteSpillType(-1)
00025 {
00026    // Default constructor
00027 
00028 }

RawDaqSnarlHeader::RawDaqSnarlHeader const VldContext vldc,
Int_t  run,
Short_t  subrun,
Short_t  runtype,
Int_t  timeframe,
Int_t  snarl,
UInt_t  trigsrc,
UInt_t  errcode,
Int_t  nrawdigits,
Int_t  spilltype
 

Definition at line 31 of file RawDaqSnarlHeader.cxx.

References run().

00036                                                       :
00037    RawDaqHeader(vldc,run,subrun,runtype,timeframe), 
00038    fSnarl(snarl), fTrigSrc(trigsrc), fErrorCode(errcode),
00039    fNumRawDigits(nrawdigits), fRemoteSpillType(spilltype)
00040 {
00041    
00042 }

virtual RawDaqSnarlHeader::~RawDaqSnarlHeader  )  [inline, virtual]
 

Definition at line 28 of file RawDaqSnarlHeader.h.

00028 { ; }


Member Function Documentation

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

Reimplemented from RawDaqHeader.

Definition at line 45 of file RawDaqSnarlHeader.cxx.

References RawDaqHeader::FormatToOStream(), GetErrorCode(), GetNumRawDigits(), GetRemoteSpillType(), GetSnarl(), GetTrigSrc(), RawTriggerCodes::MaskToString(), and option.

00047 {
00048    RawDaqHeader::FormatToOStream(os,option);
00049 
00050    Int_t trigSrc = GetTrigSrc();
00051    os << std::endl
00052       << " Snarl " << GetSnarl()
00053       << std::hex << std::setfill('0')
00054       << ", TrigSrc 0x"  << std::setw(8) << trigSrc
00055       << std::setfill(' ') << std::dec
00056       << " \"" << RawTriggerCodes::MaskToString(trigSrc) << "\""
00057       << std::endl
00058       << std::hex << std::setfill('0')
00059       << " ErrorCode 0x" << std::setw(8) << GetErrorCode()
00060       << std::setfill(' ') << std::dec
00061       << ", # RawDigits " << GetNumRawDigits()
00062       << ", SpillType " << GetRemoteSpillType();
00063    return os;
00064 }

UInt_t RawDaqSnarlHeader::GetErrorCode  )  const [inline]
 

Definition at line 32 of file RawDaqSnarlHeader.h.

Referenced by RotoObjectifier::BuildSnarlHeaderBlock(), FormatToOStream(), NtpStModule::Get(), DQHeader::Process(), NtpSRModule::Reco(), NtpMRModule::Reco(), NtpFitSAModule::Reco(), NtpEMModule::Reco(), NtpCluster3DModule::Reco(), DemoRecordModule::Reco(), and DemoCandNtpModule::Reco().

00032 { return fErrorCode; }

Int_t RawDaqSnarlHeader::GetNumRawDigits  )  const [inline]
 

Definition at line 33 of file RawDaqSnarlHeader.h.

Referenced by PreFilter::Ana(), NtpMaker::Ana(), FilterEvent::Ana(), RotoObjectifier::BuildSnarlHeaderBlock(), FormatToOStream(), FillNearRunQuality::ProcessHeader(), and FillFarRunQuality::ProcessHeader().

00033 { return fNumRawDigits; }

Int_t RawDaqSnarlHeader::GetRemoteSpillType  )  const [inline]
 

Definition at line 34 of file RawDaqSnarlHeader.h.

Referenced by NtpMaker::Ana(), FardetBeamSelect::Ana(), FormatToOStream(), NtpStModule::Get(), FillFarRunQuality::ProcessHeader(), NtpSRModule::Reco(), NtpMRModule::Reco(), NtpFitSAModule::Reco(), NtpEMModule::Reco(), NtpCluster3DModule::Reco(), DemoRecordModule::Reco(), and DemoCandNtpModule::Reco().

00034 { return fRemoteSpillType; }

Int_t RawDaqSnarlHeader::GetSnarl  )  const [inline]
 

Definition at line 30 of file RawDaqSnarlHeader.h.

Referenced by RecoTreeModule::Ana(), RawRecCounts::Ana(), PrintStat::Ana(), PreFilter::Ana(), NtpMaker::Ana(), MergeEvent::Ana(), FitTrackMSListModule::Ana(), FiltTriggerPrescale::Ana(), FiltSGateModule::Ana(), FiltMBSpillModule::Ana(), FilterLIModule::Ana(), FarPlaneCheckout::Ana(), FarDetStripListModule::Ana(), FarDetSliceListModule::Ana(), FarDetShieldPlankListModule::Ana(), FarDetRawDigitDump::Ana(), DemoSnarlList::Ana(), CDTrackerModule::Ana(), CDAnaModule::Ana(), AtNuTreeModule::Ana(), AtNuDisplayModule::Ana(), AltDeMuxDisplay::Ana(), RotoObjectifier::BuildSnarlHeaderBlock(), FormatToOStream(), RecordSetupModule::Get(), NtpStModule::Get(), DigitListModule::Get(), Blinder::GetInfo(), DQRawDigits::Process(), DQHeader::Process(), FillNearRunQuality::ProcessHeader(), FarDetDataQualityModule::ProcessHeader(), DbuDaqFileModule::ProcessRawRecord(), IoInputModule::ReadHeader(), TrackCamListModule::Reco(), PulserFromRawModule::Reco(), PulserFromRawFilterModule::Reco(), NtpSRModule::Reco(), NtpMRModule::Reco(), NtpFitSAModule::Reco(), NtpEMModule::Reco(), NtpCluster3DModule::Reco(), FitTrackCamListModule::Reco(), DemuxFast::Reco(), DemoRecordModule::Reco(), DemoNtupleModule::Reco(), AtmosShowerListModule::Reco(), and AlgCalDetSI::RunAlg().

00030 { return fSnarl; }

UInt_t RawDaqSnarlHeader::GetTrigSrc  )  const [inline]
 

Definition at line 31 of file RawDaqSnarlHeader.h.

Referenced by SelectSpillTriggers::Ana(), RecoTreeModule::Ana(), NtpMaker::Ana(), NeardetBeamSelect::Ana(), FiltTriggerPrescale::Ana(), FiltSGateModule::Ana(), FiltMBSpillModule::Ana(), FarPlaneCheckout::Ana(), FardetBeamSelect::Ana(), CheckND::Ana(), CDPreFilterModule::Ana(), AtNuTreeModule::Ana(), RotoObjectifier::BuildSnarlHeaderBlock(), FormatToOStream(), NtpStModule::Get(), DQHeader::Process(), FillNearRunQuality::ProcessHeader(), FillFarRunQuality::ProcessHeader(), DbuDaqFileModule::ProcessRawRecord(), PulserFromRawModule::Reco(), PulserFromRawFilterModule::Reco(), NtpSRModule::Reco(), NtpMRModule::Reco(), NtpFitSAModule::Reco(), NtpEMModule::Reco(), NtpCluster3DModule::Reco(), DemoRecordModule::Reco(), DemoCandNtpModule::Reco(), AlgCalDetSI::RunAlg(), sepruns(), and EVD::UpdateSummary().

00031 { return fTrigSrc; }


Member Data Documentation

UInt_t RawDaqSnarlHeader::fErrorCode [protected]
 

Definition at line 43 of file RawDaqSnarlHeader.h.

Int_t RawDaqSnarlHeader::fNumRawDigits [protected]
 

Definition at line 44 of file RawDaqSnarlHeader.h.

Int_t RawDaqSnarlHeader::fRemoteSpillType [protected]
 

Definition at line 45 of file RawDaqSnarlHeader.h.

Int_t RawDaqSnarlHeader::fSnarl [protected]
 

Definition at line 41 of file RawDaqSnarlHeader.h.

UInt_t RawDaqSnarlHeader::fTrigSrc [protected]
 

Definition at line 42 of file RawDaqSnarlHeader.h.


The documentation for this class was generated from the following files:
Generated on Sat Nov 21 22:51:52 2009 for loon by  doxygen 1.3.9.1