Public Member Functions | Public Attributes | Friends | List of all members
rawdata::RawTrigger Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-24/RawData/RawTrigger.h"

Public Member Functions

 RawTrigger ()
 
 ~RawTrigger ()
 
unsigned long long TDCT0 () const
 Return just the lower 32 bits of the timing marker. This is the reference "t0" for the RawDigit TDC counters. More...
 

Public Attributes

uint8_t fTriggerHeader_Source
 
uint16_t fTriggerHeader_SourceID
 
uint32_t fTriggerHeader_SourceSubID
 
unsigned long long fTriggerHeader_TriggerNumber
 
unsigned long long fTriggerHeader_MasterTriggerNumber
 
unsigned long long fTriggerTime_GenTime
 
uint8_t fTriggerTime_ClockSource
 
unsigned long long fTriggerTimingMarker_TimeStart
 
unsigned long long fTriggerTimingMarker_ExtractionStart
 
uint32_t fTriggerRange_TriggerLength
 
bool fTriggerMask_MCBit
 
uint8_t fTriggerMask_TMod
 
uint8_t fTriggerMask_TriggerType
 
uint32_t fTriggerMask_Prescale
 

Friends

std::ostream & operator<< (std::ostream &o, const RawTrigger &rt)
 

Detailed Description

Definition at line 20 of file RawTrigger.h.

Constructor & Destructor Documentation

rawdata::RawTrigger::RawTrigger ( )

Definition at line 15 of file RawTrigger.cxx.

25  fTriggerMask_MCBit(false),
29  {
30  }
uint32_t fTriggerMask_Prescale
Definition: RawTrigger.h:44
uint32_t fTriggerHeader_SourceSubID
Definition: RawTrigger.h:33
uint8_t fTriggerHeader_Source
Definition: RawTrigger.h:31
uint8_t fTriggerTime_ClockSource
Definition: RawTrigger.h:37
uint8_t fTriggerMask_TriggerType
Definition: RawTrigger.h:43
uint8_t fTriggerMask_TMod
Definition: RawTrigger.h:42
unsigned long long fTriggerHeader_MasterTriggerNumber
Definition: RawTrigger.h:35
unsigned long long fTriggerTimingMarker_ExtractionStart
Definition: RawTrigger.h:39
unsigned long long fTriggerTime_GenTime
Definition: RawTrigger.h:36
uint16_t fTriggerHeader_SourceID
Definition: RawTrigger.h:32
unsigned long long fTriggerHeader_TriggerNumber
Definition: RawTrigger.h:34
unsigned long long fTriggerTimingMarker_TimeStart
Definition: RawTrigger.h:38
uint32_t fTriggerRange_TriggerLength
Definition: RawTrigger.h:40
rawdata::RawTrigger::~RawTrigger ( )

Definition at line 34 of file RawTrigger.cxx.

34 { }

Member Function Documentation

unsigned long long rawdata::RawTrigger::TDCT0 ( ) const

Return just the lower 32 bits of the timing marker. This is the reference "t0" for the RawDigit TDC counters.

Todo:
There may be some issues with roll-overs with this simple treatment.

Definition at line 44 of file RawTrigger.cxx.

References fTriggerTimingMarker_TimeStart, and lem_server::mask.

Referenced by comi::Leana::analyze(), rawdata::operator<<(), and daq2raw::OnlineUnpack::ProcessRawEvent_().

45  {
46  unsigned long long mask = 0xFFFFFFFF;
48  }
unsigned long long fTriggerTimingMarker_TimeStart
Definition: RawTrigger.h:38

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const RawTrigger rt 
)
friend

Definition at line 51 of file RawTrigger.cxx.

52  {
53  o << std::setiosflags(std::ios::fixed) << std::setprecision(2);
54  o << "TDCT0 = " << std::setw(5) << std::right << rt.TDCT0()
55  << " Trigger Header Source = " << std::setw(5) << std::right << rt.fTriggerHeader_Source
56  << " Trigger Mask Type = " << std::setw(5) << std::right << rt.fTriggerMask_TriggerType
57  << " Trigger Length = " << std::setw(5) << std::right << rt.fTriggerRange_TriggerLength
58  << " Trigger Time Start = " << std::setw(5) << std::right << rt.fTriggerTimingMarker_TimeStart;
59 
60  return o;
61  }
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:112

Member Data Documentation

unsigned long long rawdata::RawTrigger::fTriggerHeader_MasterTriggerNumber
uint8_t rawdata::RawTrigger::fTriggerHeader_Source

Definition at line 31 of file RawTrigger.h.

Referenced by rawdata::operator<<(), and daq2raw::OnlineUnpack::ProcessRawEvent_().

uint16_t rawdata::RawTrigger::fTriggerHeader_SourceID

Definition at line 32 of file RawTrigger.h.

Referenced by daq2raw::OnlineUnpack::ProcessRawEvent_().

uint32_t rawdata::RawTrigger::fTriggerHeader_SourceSubID

Definition at line 33 of file RawTrigger.h.

Referenced by daq2raw::OnlineUnpack::ProcessRawEvent_().

unsigned long long rawdata::RawTrigger::fTriggerHeader_TriggerNumber
bool rawdata::RawTrigger::fTriggerMask_MCBit
uint32_t rawdata::RawTrigger::fTriggerMask_Prescale
uint8_t rawdata::RawTrigger::fTriggerMask_TMod

Definition at line 42 of file RawTrigger.h.

Referenced by daq2raw::OnlineUnpack::ProcessRawEvent_().

uint8_t rawdata::RawTrigger::fTriggerMask_TriggerType
uint32_t rawdata::RawTrigger::fTriggerRange_TriggerLength
uint8_t rawdata::RawTrigger::fTriggerTime_ClockSource

Definition at line 37 of file RawTrigger.h.

Referenced by daq2raw::OnlineUnpack::ProcessRawEvent_().

unsigned long long rawdata::RawTrigger::fTriggerTime_GenTime

Definition at line 36 of file RawTrigger.h.

Referenced by daq2raw::OnlineUnpack::ProcessRawEvent_().

unsigned long long rawdata::RawTrigger::fTriggerTimingMarker_ExtractionStart

Definition at line 39 of file RawTrigger.h.

Referenced by daq2raw::OnlineUnpack::ProcessRawEvent_().

unsigned long long rawdata::RawTrigger::fTriggerTimingMarker_TimeStart

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