Public Member Functions | Protected Attributes | List of all members
dune::ProtoDUNETimeStamp Class Reference

#include <ProtoDUNETimeStamp.h>

Public Member Functions

 ProtoDUNETimeStamp ()
 
UInt_t getCookie () const
 
ProtoDUNETimingCommand getTriggerType () const
 
UInt_t getReservedBits () const
 
ULong64_t getTimeStamp () const
 
UInt_t getEventCounter () const
 
bool isChecksumGood () const
 
ULong64_t getLastRunStart () const
 
ULong64_t getLastSpillStart () const
 
ULong64_t getLastSpillEnd () const
 
UInt_t getVersion () const
 
void setCookie (UInt_t arg)
 
void setTriggerType (dune::ProtoDUNETimingCommand arg)
 
void setReservedBits (UInt_t arg)
 
void setTimeStamp (ULong64_t arg)
 
void setEventCounter (UInt_t arg)
 
void setChecksumGood (bool arg)
 
void setLastRunStart (ULong64_t arg)
 
void setLastSpillStart (ULong64_t arg)
 
void setLastSpillEnd (ULong64_t arg)
 
void setVersion (UInt_t arg)
 

Protected Attributes

UInt_t m_cookie
 The cookie which identifies the event as coming from the timing board. More...
 
ProtoDUNETimingCommand m_triggerType
 The type of trigger command. More...
 
UInt_t m_reservedBits
 Reserved bits from the trigger command word (ought to be zero) More...
 
ULong64_t m_timeStamp
 The 50 MHz timestamp of the trigger. More...
 
UInt_t m_eventCounter
 The event counter from the timing board reader. More...
 
bool m_checksumGood
 Whether the checksum is good (always true) More...
 
ULong64_t m_lastRunStart
 The timestamp of the last run start seen by the timing board reader. More...
 
ULong64_t m_lastSpillStart
 The timestamp of the last spill start seen by the timing board reader. More...
 
ULong64_t m_lastSpillEnd
 The timestamp of the last spill end seen by the timing board reader. More...
 
UInt_t m_version
 The version of the artdaq timing fragment that this object is made from. More...
 

Detailed Description

Definition at line 39 of file ProtoDUNETimeStamp.h.

Constructor & Destructor Documentation

dune::ProtoDUNETimeStamp::ProtoDUNETimeStamp ( )

Definition at line 3 of file ProtoDUNETimeStamp.cxx.

4  : m_cookie(0),
7  m_timeStamp(0),
10  m_lastRunStart(0),
13 {}
bool m_checksumGood
Whether the checksum is good (always true)
UInt_t m_reservedBits
Reserved bits from the trigger command word (ought to be zero)
ULong64_t m_lastSpillStart
The timestamp of the last spill start seen by the timing board reader.
ProtoDUNETimingCommand m_triggerType
The type of trigger command.
ULong64_t m_lastRunStart
The timestamp of the last run start seen by the timing board reader.
ULong64_t m_lastSpillEnd
The timestamp of the last spill end seen by the timing board reader.
ULong64_t m_timeStamp
The 50 MHz timestamp of the trigger.
UInt_t m_eventCounter
The event counter from the timing board reader.
ProtoDUNETimingCommand
UInt_t m_cookie
The cookie which identifies the event as coming from the timing board.

Member Function Documentation

UInt_t dune::ProtoDUNETimeStamp::getCookie ( ) const
inline

Definition at line 44 of file ProtoDUNETimeStamp.h.

44 { return m_cookie; }
UInt_t m_cookie
The cookie which identifies the event as coming from the timing board.
UInt_t dune::ProtoDUNETimeStamp::getEventCounter ( ) const
inline

Definition at line 48 of file ProtoDUNETimeStamp.h.

48 { return m_eventCounter; }
UInt_t m_eventCounter
The event counter from the timing board reader.
ULong64_t dune::ProtoDUNETimeStamp::getLastRunStart ( ) const
inline

Definition at line 50 of file ProtoDUNETimeStamp.h.

50 { return m_lastRunStart; }
ULong64_t m_lastRunStart
The timestamp of the last run start seen by the timing board reader.
ULong64_t dune::ProtoDUNETimeStamp::getLastSpillEnd ( ) const
inline

Definition at line 52 of file ProtoDUNETimeStamp.h.

52 { return m_lastSpillEnd; }
ULong64_t m_lastSpillEnd
The timestamp of the last spill end seen by the timing board reader.
ULong64_t dune::ProtoDUNETimeStamp::getLastSpillStart ( ) const
inline

Definition at line 51 of file ProtoDUNETimeStamp.h.

51 { return m_lastSpillStart; }
ULong64_t m_lastSpillStart
The timestamp of the last spill start seen by the timing board reader.
UInt_t dune::ProtoDUNETimeStamp::getReservedBits ( ) const
inline

Definition at line 46 of file ProtoDUNETimeStamp.h.

46 { return m_reservedBits; }
UInt_t m_reservedBits
Reserved bits from the trigger command word (ought to be zero)
ULong64_t dune::ProtoDUNETimeStamp::getTimeStamp ( ) const
inline

Definition at line 47 of file ProtoDUNETimeStamp.h.

47 { return m_timeStamp; }
ULong64_t m_timeStamp
The 50 MHz timestamp of the trigger.
ProtoDUNETimingCommand dune::ProtoDUNETimeStamp::getTriggerType ( ) const
inline

Definition at line 45 of file ProtoDUNETimeStamp.h.

45 { return m_triggerType; }
ProtoDUNETimingCommand m_triggerType
The type of trigger command.
UInt_t dune::ProtoDUNETimeStamp::getVersion ( ) const
inline

Definition at line 53 of file ProtoDUNETimeStamp.h.

53 { return m_version; }
UInt_t m_version
The version of the artdaq timing fragment that this object is made from.
bool dune::ProtoDUNETimeStamp::isChecksumGood ( ) const
inline

Definition at line 49 of file ProtoDUNETimeStamp.h.

49 { return m_checksumGood; }
bool m_checksumGood
Whether the checksum is good (always true)
void dune::ProtoDUNETimeStamp::setChecksumGood ( bool  arg)
inline

Definition at line 60 of file ProtoDUNETimeStamp.h.

60 {m_checksumGood = arg;}
bool m_checksumGood
Whether the checksum is good (always true)
void dune::ProtoDUNETimeStamp::setCookie ( UInt_t  arg)
inline

Definition at line 55 of file ProtoDUNETimeStamp.h.

55 { m_cookie = arg; }
UInt_t m_cookie
The cookie which identifies the event as coming from the timing board.
void dune::ProtoDUNETimeStamp::setEventCounter ( UInt_t  arg)
inline

Definition at line 59 of file ProtoDUNETimeStamp.h.

59 { m_eventCounter = arg; }
UInt_t m_eventCounter
The event counter from the timing board reader.
void dune::ProtoDUNETimeStamp::setLastRunStart ( ULong64_t  arg)
inline

Definition at line 61 of file ProtoDUNETimeStamp.h.

61 { m_lastRunStart = arg; }
ULong64_t m_lastRunStart
The timestamp of the last run start seen by the timing board reader.
void dune::ProtoDUNETimeStamp::setLastSpillEnd ( ULong64_t  arg)
inline

Definition at line 63 of file ProtoDUNETimeStamp.h.

63 { m_lastSpillEnd = arg; }
ULong64_t m_lastSpillEnd
The timestamp of the last spill end seen by the timing board reader.
void dune::ProtoDUNETimeStamp::setLastSpillStart ( ULong64_t  arg)
inline

Definition at line 62 of file ProtoDUNETimeStamp.h.

62 { m_lastSpillStart = arg; }
ULong64_t m_lastSpillStart
The timestamp of the last spill start seen by the timing board reader.
void dune::ProtoDUNETimeStamp::setReservedBits ( UInt_t  arg)
inline

Definition at line 57 of file ProtoDUNETimeStamp.h.

57 { m_reservedBits = arg; }
UInt_t m_reservedBits
Reserved bits from the trigger command word (ought to be zero)
void dune::ProtoDUNETimeStamp::setTimeStamp ( ULong64_t  arg)
inline

Definition at line 58 of file ProtoDUNETimeStamp.h.

58 { m_timeStamp = arg; }
ULong64_t m_timeStamp
The 50 MHz timestamp of the trigger.
void dune::ProtoDUNETimeStamp::setTriggerType ( dune::ProtoDUNETimingCommand  arg)
inline

Definition at line 56 of file ProtoDUNETimeStamp.h.

56 { m_triggerType = arg; }
ProtoDUNETimingCommand m_triggerType
The type of trigger command.
void dune::ProtoDUNETimeStamp::setVersion ( UInt_t  arg)
inline

Definition at line 64 of file ProtoDUNETimeStamp.h.

64 { m_version = arg; }
UInt_t m_version
The version of the artdaq timing fragment that this object is made from.

Member Data Documentation

bool dune::ProtoDUNETimeStamp::m_checksumGood
protected

Whether the checksum is good (always true)

Definition at line 78 of file ProtoDUNETimeStamp.h.

UInt_t dune::ProtoDUNETimeStamp::m_cookie
protected

The cookie which identifies the event as coming from the timing board.

Definition at line 68 of file ProtoDUNETimeStamp.h.

UInt_t dune::ProtoDUNETimeStamp::m_eventCounter
protected

The event counter from the timing board reader.

Definition at line 76 of file ProtoDUNETimeStamp.h.

ULong64_t dune::ProtoDUNETimeStamp::m_lastRunStart
protected

The timestamp of the last run start seen by the timing board reader.

Definition at line 80 of file ProtoDUNETimeStamp.h.

ULong64_t dune::ProtoDUNETimeStamp::m_lastSpillEnd
protected

The timestamp of the last spill end seen by the timing board reader.

Definition at line 84 of file ProtoDUNETimeStamp.h.

ULong64_t dune::ProtoDUNETimeStamp::m_lastSpillStart
protected

The timestamp of the last spill start seen by the timing board reader.

Definition at line 82 of file ProtoDUNETimeStamp.h.

UInt_t dune::ProtoDUNETimeStamp::m_reservedBits
protected

Reserved bits from the trigger command word (ought to be zero)

Definition at line 72 of file ProtoDUNETimeStamp.h.

ULong64_t dune::ProtoDUNETimeStamp::m_timeStamp
protected

The 50 MHz timestamp of the trigger.

Definition at line 74 of file ProtoDUNETimeStamp.h.

ProtoDUNETimingCommand dune::ProtoDUNETimeStamp::m_triggerType
protected

The type of trigger command.

Definition at line 70 of file ProtoDUNETimeStamp.h.

UInt_t dune::ProtoDUNETimeStamp::m_version
protected

The version of the artdaq timing fragment that this object is made from.

Definition at line 86 of file ProtoDUNETimeStamp.h.


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