BeamDataLiteHeader Class Reference
[BeamDataNtuple]

Header class for the beam monitoring data lite ntuples. More...

#include <BeamDataLiteHeader.h>

Inheritance diagram for BeamDataLiteHeader:
RecHeader

List of all members.

Public Member Functions

 BeamDataLiteHeader ()
 BeamDataLiteHeader (const VldContext &vld)
virtual ~BeamDataLiteHeader ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const
VldTimeStamp GetEarliestTimeStamp () const
 Get the earliest timestamp.
Double_t GetTimeDiffStreamSpill () const
 Get the time difference between primary stream and spill.
Bool_t GetFoundBD () const
 See if a DB entry was found.
UInt_t GetStatus () const
 Get the status bits field.
void SetEarliestTimeStamp (VldTimeStamp ets)
 Set the earliesst timestamp.
void SetTimeDiffStreamSpill (Double_t td)
 Set the time difference between primary stream and spill.
void SetFoundBD (Bool_t fbd)
 Set whether a db entry was found.
void SetStatus (UInt_t fst)
 Set the status bit field.

Private Attributes

VldTimeStamp fEarliestTimeStamp
 The earliest timestamp of VME devices, or DAE if no VME readout.
Double_t fTimeDiffStreamSpill
 time difference between primary stream and found spill
Bool_t fFoundBD
 Found matching spill?
UInt_t fStatus
 bits field for status of beam mon devices, see BeamDataUtil/BeamMonSpill.h

Detailed Description

Header class for the beam monitoring data lite ntuples.

Author:
(last to touch it)
Author
rhatcher
Version:
Revision
1.3
Date:
Date
2010/07/28 22:04:55

Contact: mdier@bnl.gov

Created on: Thu Apr 21 18:38:59 2005

Id
BeamDataLiteHeader.h,v 1.3 2010/07/28 22:04:55 rhatcher Exp

Definition at line 32 of file BeamDataLiteHeader.h.


Constructor & Destructor Documentation

BeamDataLiteHeader::BeamDataLiteHeader (  ) 

Definition at line 14 of file BeamDataLiteHeader.cxx.

00014                                       :
00015     RecHeader(),
00016     fEarliestTimeStamp(0),
00017     fTimeDiffStreamSpill(0),
00018     fFoundBD(0),
00019     fStatus(0)
00020 {}

BeamDataLiteHeader::BeamDataLiteHeader ( const VldContext vld  ) 

Definition at line 24 of file BeamDataLiteHeader.cxx.

00024                                                            :
00025     RecHeader(vld),
00026     fEarliestTimeStamp(0),
00027     fTimeDiffStreamSpill(0),
00028     fFoundBD(0),
00029     fStatus(0)
00030 {}

BeamDataLiteHeader::~BeamDataLiteHeader (  )  [virtual]

Definition at line 34 of file BeamDataLiteHeader.cxx.

00035 {}


Member Function Documentation

VldTimeStamp BeamDataLiteHeader::GetEarliestTimeStamp (  )  const [inline]

Get the earliest timestamp.

Definition at line 78 of file BeamDataLiteHeader.h.

References fEarliestTimeStamp.

Referenced by BMSpillAna::SetSpill().

00078 {return fEarliestTimeStamp;}

Bool_t BeamDataLiteHeader::GetFoundBD (  )  const [inline]

See if a DB entry was found.

Definition at line 80 of file BeamDataLiteHeader.h.

References fFoundBD.

00080 {return fFoundBD;}

UInt_t BeamDataLiteHeader::GetStatus (  )  const [inline]

Get the status bits field.

Definition at line 81 of file BeamDataLiteHeader.h.

References fStatus.

Referenced by BMSpillAna::SetSpill().

00081 {return fStatus;}

Double_t BeamDataLiteHeader::GetTimeDiffStreamSpill (  )  const [inline]
void BeamDataLiteHeader::Print ( Option_t *  option = ""  )  const [virtual]

Reimplemented from RecHeader.

Definition at line 47 of file BeamDataLiteHeader.cxx.

References Print().

00048 {
00049    Print(std::cout);
00050    return;
00051 }

std::ostream & BeamDataLiteHeader::Print ( std::ostream &  os  )  const [virtual]

Reimplemented from RecHeader.

Definition at line 39 of file BeamDataLiteHeader.cxx.

Referenced by Print().

00040 {
00041     //os<<"Run: "<<fFileStartDate<<" SubRun "<<fFileStartTime<<" Spill "<<fSpill<<std::endl;
00042    return os;
00043 }

void BeamDataLiteHeader::SetEarliestTimeStamp ( VldTimeStamp  ets  )  [inline]

Set the earliesst timestamp.

Definition at line 83 of file BeamDataLiteHeader.h.

References fEarliestTimeStamp.

Referenced by NtpBDLiteModule::FillNtpBDLite().

00083 {fEarliestTimeStamp=ets;}

void BeamDataLiteHeader::SetFoundBD ( Bool_t  fbd  )  [inline]

Set whether a db entry was found.

Definition at line 85 of file BeamDataLiteHeader.h.

References fFoundBD.

Referenced by NtpBDLiteModule::FillNtpBDLite().

00085 {fFoundBD=fbd;}

void BeamDataLiteHeader::SetStatus ( UInt_t  fst  )  [inline]

Set the status bit field.

Definition at line 86 of file BeamDataLiteHeader.h.

References fStatus.

Referenced by NtpBDLiteModule::FillNtpBDLite().

00086 {fStatus=fst;}

void BeamDataLiteHeader::SetTimeDiffStreamSpill ( Double_t  td  )  [inline]

Set the time difference between primary stream and spill.

Definition at line 84 of file BeamDataLiteHeader.h.

References fTimeDiffStreamSpill.

Referenced by NtpBDLiteModule::FillNtpBDLite().


Member Data Documentation

The earliest timestamp of VME devices, or DAE if no VME readout.

Definition at line 67 of file BeamDataLiteHeader.h.

Referenced by GetEarliestTimeStamp(), and SetEarliestTimeStamp().

Bool_t BeamDataLiteHeader::fFoundBD [private]

Found matching spill?

Definition at line 71 of file BeamDataLiteHeader.h.

Referenced by GetFoundBD(), and SetFoundBD().

UInt_t BeamDataLiteHeader::fStatus [private]

bits field for status of beam mon devices, see BeamDataUtil/BeamMonSpill.h

Definition at line 73 of file BeamDataLiteHeader.h.

Referenced by GetStatus(), and SetStatus().

time difference between primary stream and found spill

Definition at line 69 of file BeamDataLiteHeader.h.

Referenced by GetTimeDiffStreamSpill(), and SetTimeDiffStreamSpill().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1