FACT++  1.0
HeadersFAD.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EventHeader
 
struct  ChannelHeader
 
class  Configuration
 Commandline parsing, resource file parsing and database access. More...
 
struct  RunDescription
 

Namespaces

 State
 

Enumerations

enum  Enable {
  kCmdDrsEnable = 0x0600, kCmdDwrite = 0x0800, kCmdSclk = 0x1000, kCmdSrclk = 0x1500,
  kCmdTriggerLine = 0x1800, kCmdContTrigger = 0x1f00, kCmdRun = 0x2200, kCmdBusyOff = 0x2400,
  kCmdBusyOn = 0x3200, kCmdResetEventCounter = 0x2A00, kCmdSocket = 0x3000, kCmdSingleTrigger = 0xA000
}
 
enum  Commands {
  kCmdWriteExecute = 0x0400, kCmdWrite = 0x0500, kCmdWriteRoi = kCmdWrite|0x00, kCmdWriteDac = kCmdWrite|0x24,
  kCmdWriteRate = kCmdWrite|0x2c, kCmdWriteRunNumberMSW = kCmdWrite|0x2d, kCmdWriteRunNumberLSW = kCmdWrite|0x2e, kCmdPhaseIncrease = 0x1200,
  kCmdPhaseDecrease = 0x1300, kCmdPhaseApply = 0x1400, kCmdPhaseReset = 0x1700
}
 
enum  FileFormat_t {
  kNone = 0, kDebug, kFits, kRaw,
  kCalib, kCfitsio, kZFits
}
 
enum  {
  kMaxBins = 1024, kNumTemp = 4, kNumDac = 8, kNumChips = 4,
  kNumChannelsPerChip = 9, kNumChannels = kNumChips*kNumChannelsPerChip
}
 
enum  {
  kMaxRegAddr = 0xff, kMaxRegValue = 0xffff, kMaxDacAddr = kNumDac-1, kMaxDacValue = 0xffff,
  kMaxRoiAddr = kNumChannels-1, kMaxRoiValue = kMaxBins, kMaxRunNumber = 0xffffffff
}
 
enum  { kDelimiterStart = 0xfb01, kDelimiterEnd = 0x04fe }
 

Functions

struct EventHeader __attribute__ ((__packed__))
 

Variables

uint16_t fStartDelimiter
 
uint16_t fPackageLength
 
uint16_t fVersion
 
uint16_t fStatus
 
uint16_t fTriggerCrc
 
uint16_t fTriggerType
 
uint32_t fTriggerCounter
 
uint32_t fEventCounter
 
uint32_t fFreqRefClock
 
uint16_t fBoardId
 
uint16_t fAdcClockPhaseShift
 
uint16_t fNumTriggersToGenerate
 
uint16_t fTriggerGeneratorPrescaler
 
uint64_t fDNA
 Number of boards answered per crate. More...
 
uint32_t fTimeStamp
 
uint32_t fRunNumber
 
int16_t fTempDrs [kNumTemp]
 
uint16_t fDac [kNumDac]
 
uint16_t fId
 
uint16_t fStartCell
 
uint16_t fRegionOfInterest
 
uint16_t fDummy
 
struct Configuration __attribute__