NSCL DDAS  12.1-001
Support for XIA DDAS at FRIB
Variables
DDASDataSimulator.cpp File Reference

Implements the class for simulating DDAS-style data recored by NSCLDAQ readout programs. More...

#include "DDASDataSimulator.h"
#include <unistd.h>
#include <fcntl.h>
#include <iostream>
#include <memory>
#include <chrono>
#include <cmath>
#include <sstream>
#include <Exception.h>
#include <CErrnoException.h>
#include <NSCLDAQFormatFactorySelector.h>
#include <RingItemFactoryBase.h>
#include <DataFormat.h>
#include <CRingItem.h>
#include <CDataFormatItem.h>
#include <CRingStateChangeItem.h>
#include <CPhysicsEventItem.h>
#include <DDASBitMasks.h>
#include <DDASHit.h>
Include dependency graph for DDASDataSimulator.cpp:

Variables

const uint64_t LOWER_TS_BIT_MASK = 0x00000000FFFFFFFF
 Mask lower 16 bits. More...
 
const uint64_t UPPER_TS_BIT_MASK = 0x0000FFFF00000000
 Mask upper 16 bits. More...
 
const uint32_t PIXIE_MAX_ENERGY = 65535
 Max allowed energy value. More...
 
const uint16_t CFD_100_MSPS_MASK = 0x7FFF
 CFD mask for 100 MSPS modules. More...
 
const uint16_t CFD_250_MSPS_MASK = 0x3FFF
 CFD mask for 250 MSPS modules. More...
 
const uint16_t CFD_500_MSPS_MASK = 0x1FFF
 CFD mask for 500 MSPS modules. More...
 

Detailed Description

Implements the class for simulating DDAS-style data recored by NSCLDAQ readout programs.

Variable Documentation

◆ CFD_100_MSPS_MASK

const uint16_t CFD_100_MSPS_MASK = 0x7FFF

CFD mask for 100 MSPS modules.

◆ CFD_250_MSPS_MASK

const uint16_t CFD_250_MSPS_MASK = 0x3FFF

CFD mask for 250 MSPS modules.

◆ CFD_500_MSPS_MASK

const uint16_t CFD_500_MSPS_MASK = 0x1FFF

CFD mask for 500 MSPS modules.

◆ LOWER_TS_BIT_MASK

const uint64_t LOWER_TS_BIT_MASK = 0x00000000FFFFFFFF

Mask lower 16 bits.

◆ PIXIE_MAX_ENERGY

const uint32_t PIXIE_MAX_ENERGY = 65535

Max allowed energy value.

◆ UPPER_TS_BIT_MASK

const uint64_t UPPER_TS_BIT_MASK = 0x0000FFFF00000000

Mask upper 16 bits.