Public Member Functions | Data Fields

TGet4v1Param Class Reference

#include <TGet4v1Param.h>

Public Member Functions

 TGet4v1Param ()
 TGet4v1Param (const char *name)
virtual ~TGet4v1Param ()
virtual Bool_t UpdateFrom (TGo4Parameter *rhs)
Bool_t SetConfigRocs ()
void SetNbRocsGet4 (UInt_t num)
Int_t FindGet4RocId (UInt_t rocid) const
UInt_t DefineGet4IndexOffset (UInt_t rocid) const
void SetNbGet4 (UInt_t num)
UInt_t RemapGet4Chip (UInt_t chip) const
UInt_t RemapGet4Chip (UInt_t roc, UInt_t chip) const
Bool_t IsValidRoc (UInt_t board) const
Bool_t IsValidGet4Chip (UInt_t chip) const
Bool_t IsActiveRoc (UInt_t board) const
Bool_t IsActiveGet4Chip (UInt_t chip) const
Bool_t PrintGet4Options ()
 TGet4v1Param ()
 TGet4v1Param (const char *name)
virtual ~TGet4v1Param ()
virtual Bool_t UpdateFrom (TGo4Parameter *rhs)
Bool_t SetConfigRocs ()
void SetNbRocsGet4 (UInt_t num)
Int_t FindGet4RocId (UInt_t rocid) const
UInt_t DefineGet4IndexOffset (UInt_t rocid) const
void SetNbGet4 (UInt_t num)
UInt_t RemapGet4Chip (UInt_t chip) const
UInt_t RemapGet4Chip (UInt_t roc, UInt_t chip) const
Bool_t IsValidRoc (UInt_t board) const
Bool_t IsValidGet4Chip (UInt_t chip) const
Bool_t IsActiveRoc (UInt_t board) const
Bool_t IsActiveGet4Chip (UInt_t chip) const
Int_t IsTriggerMainChannel (UInt_t tdc, UInt_t channel)
Int_t IsTriggerSecChannel (UInt_t tdc, UInt_t channel)
Int_t GetSecChannelIndex (UInt_t uTrigger, UInt_t tdc, UInt_t channel)
Bool_t IsMainOfThisTrigger (UInt_t uTrigger, UInt_t tdc, UInt_t channel)
Bool_t IsSecOfThisTrigger (UInt_t uTrigger, UInt_t tdc, UInt_t channel)
Bool_t PrintGet4Options ()

Data Fields

UInt_t numRocs
Bool_t activeRoc [MAX_ROC]
Bool_t noTrigger
Int_t triggerSignal
Bool_t globalTrigger
UInt_t masterRoc
UInt_t maxBufferTriggers
UInt_t maxBufferLoops
Double_t timeScale [MAX_ROC]
Int_t timeShift [MAX_ROC]
Bool_t doSorting
Bool_t bGet4Debug
Bool_t bTriggerAfterData
Int_t iEventNbGap
UInt_t uSyncCycleSize
ULong64_t uRocCycleSize
UInt_t uMainSyncCycleSize
UInt_t uNbRocsGet4
UInt_t uGet4RocsMapping [MAX_ROC]
UInt_t uNbGet4
UInt_t uGet4Mapping [MAX_GET4]
UInt_t uGet4Active [MAX_GET4]
UInt_t uGet4EdgeInversion [MAX_GET4]
UInt_t uSilentMode
UInt_t uDebugHistoOn
UInt_t uDebugPrintOn
UInt_t uGet4Print
UInt_t uNbTriggerChan
UInt_t uCoincidenceWinSize
UInt_t uTriggerChannels [8]
Bool_t b32bReadoutModeGet4v1
Double_t dMaxTot
Bool_t bTotHistoEnable
Bool_t bDebugHistoEnable
UInt_t uNbEventsDnlUpdate
UInt_t uGet4TimeDiffChip1
UInt_t uGet4TimeDiffChip2
Bool_t bFreeStreaming
UInt_t uNbSecondarySelectionCh
UInt_t uMainSelectionTdc
UInt_t uMainSelectionChannel
UInt_t uSecondarySelectionTdc [MAX_SEC_TDC]
UInt_t uSecondarySelectionChannel [MAX_SEC_TDC]
Double_t dCoincidenceWindowStart
Double_t dCoincidenceWindowStop
Bool_t bAllowEventMixing
Int_t uEventNbCycle
Bool_t bSuppressedEpochs
Bool_t bLongTimeHistos
Bool_t bChannelRateHistoEnable
Bool_t bChipRateHistoEnable
Bool_t bRawDataMode
UInt_t uNbTriggers
Double_t dDeadTime
Int_t iMainReferenceTdc
Int_t iReference1Channel
Int_t iReference2Channel

Detailed Description

Definition at line 11 of file TGet4v1Param.h.


Constructor & Destructor Documentation

TGet4v1Param::TGet4v1Param (  ) 
TGet4v1Param::TGet4v1Param ( const char *  name  ) 
TGet4v1Param::~TGet4v1Param (  )  [virtual]

Definition at line 115 of file TGet4v1Param.cxx.

References SetNbGet4(), and SetNbRocsGet4().

TGet4v1Param::TGet4v1Param (  ) 
TGet4v1Param::TGet4v1Param ( const char *  name  ) 
virtual TGet4v1Param::~TGet4v1Param (  )  [virtual]

Member Function Documentation

UInt_t TGet4v1Param::DefineGet4IndexOffset ( UInt_t  rocid  )  const
UInt_t TGet4v1Param::DefineGet4IndexOffset ( UInt_t  rocid  )  const

Calculate offset for Get4 chip using rocid

Int_t TGet4v1Param::FindGet4RocId ( UInt_t  rocid  )  const

Find feet rocid, using uFeetRocsMapping. Return -1 if not exists in the map

Definition at line 156 of file TGet4v1Param.cxx.

References uGet4RocsMapping, and uNbRocsGet4.

Referenced by DefineGet4IndexOffset(), and TGet4v1Proc::ProcessSubevent().

Int_t TGet4v1Param::FindGet4RocId ( UInt_t  rocid  )  const

Find feet rocid, using uFeetRocsMapping. Return -1 if not exists in the map

Int_t TGet4v1Param::GetSecChannelIndex ( UInt_t  uTrigger,
UInt_t  tdc,
UInt_t  channel 
)

Return secondary channel index if the group (trigger, tdc, channel) match, -1 otherwise

Definition at line 256 of file TGet4v1Param.cxx.

References uNbSecondarySelectionCh, uSecondarySelectionChannel, and uSecondarySelectionTdc.

Referenced by TGet4v1Proc::ProcessGet4ReprocessSuppData().

Bool_t TGet4v1Param::IsActiveGet4Chip ( UInt_t  chip  )  const [inline]

Returns true if chip id is activated

Definition at line 142 of file TGet4v1Param.h.

References uGet4Active, and uNbGet4.

Bool_t TGet4v1Param::IsActiveGet4Chip ( UInt_t  chip  )  const [inline]
Bool_t TGet4v1Param::IsActiveRoc ( UInt_t  board  )  const [inline]
Bool_t TGet4v1Param::IsActiveRoc ( UInt_t  board  )  const [inline]

Returns true if Roc id is activated

Definition at line 139 of file TGet4v1Param.h.

References activeRoc, and numRocs.

Bool_t TGet4v1Param::IsMainOfThisTrigger ( UInt_t  uTrigger,
UInt_t  tdc,
UInt_t  channel 
)
Bool_t TGet4v1Param::IsSecOfThisTrigger ( UInt_t  uTrigger,
UInt_t  tdc,
UInt_t  channel 
)
Int_t TGet4v1Param::IsTriggerMainChannel ( UInt_t  tdc,
UInt_t  channel 
)

Return -1 if not a main channel for any trigger, trigger number otherwise

Definition at line 230 of file TGet4v1Param.cxx.

References uMainSelectionChannel, uMainSelectionTdc, and uNbTriggers.

Int_t TGet4v1Param::IsTriggerSecChannel ( UInt_t  tdc,
UInt_t  channel 
)

Return -1 if not a secondary channel for any trigger, trigger number otherwise

Definition at line 241 of file TGet4v1Param.cxx.

References uNbSecondarySelectionCh, uNbTriggers, uSecondarySelectionChannel, and uSecondarySelectionTdc.

Bool_t TGet4v1Param::IsValidGet4Chip ( UInt_t  chip  )  const [inline]
Bool_t TGet4v1Param::IsValidGet4Chip ( UInt_t  chip  )  const [inline]

Returns true if chip id is inside mapping index

Definition at line 136 of file TGet4v1Param.h.

References uNbGet4.

Bool_t TGet4v1Param::IsValidRoc ( UInt_t  board  )  const [inline]

Returns true if Roc id is inside mapping index

Definition at line 114 of file TGet4v1Param.h.

References numRocs.

Bool_t TGet4v1Param::IsValidRoc ( UInt_t  board  )  const [inline]

Returns true if Roc id is inside mapping index

Definition at line 133 of file TGet4v1Param.h.

References numRocs.

Bool_t TGet4v1Param::PrintGet4Options (  ) 
Bool_t TGet4v1Param::PrintGet4Options (  ) 
UInt_t TGet4v1Param::RemapGet4Chip ( UInt_t  roc,
UInt_t  chip 
) const

Definition at line 194 of file TGet4v1Param.cxx.

References DefineGet4IndexOffset(), uGet4Mapping, and uNbGet4.

UInt_t TGet4v1Param::RemapGet4Chip ( UInt_t  chip  )  const

Find Get4 chip in current map, returns uNbGet4 if not found

UInt_t TGet4v1Param::RemapGet4Chip ( UInt_t  chip  )  const
UInt_t TGet4v1Param::RemapGet4Chip ( UInt_t  roc,
UInt_t  chip 
) const
Bool_t TGet4v1Param::SetConfigRocs (  ) 

Definition at line 133 of file TGet4v1Param.cxx.

Referenced by TGet4v1Proc::TGet4v1Proc(), and UpdateFrom().

Bool_t TGet4v1Param::SetConfigRocs (  ) 
void TGet4v1Param::SetNbGet4 ( UInt_t  num  ) 

Change uNbGet4, automatically sets defaults for Get4Mapping, Get4Active and Get4EdgeInversion

Definition at line 170 of file TGet4v1Param.cxx.

References MAX_GET4, uGet4Active, uGet4EdgeInversion, uGet4Mapping, and uNbGet4.

Referenced by ~TGet4v1Param().

void TGet4v1Param::SetNbGet4 ( UInt_t  num  ) 

Change uNbGet4, automatically sets defaults for Get4Mapping, Get4Active and Get4EdgeInversion

void TGet4v1Param::SetNbRocsGet4 ( UInt_t  num  ) 

Set number of ROCs for Get4 readout, automatically sets default uFeetRocsMapping

Definition at line 145 of file TGet4v1Param.cxx.

References MAX_ROC, uGet4RocsMapping, and uNbRocsGet4.

Referenced by ~TGet4v1Param().

void TGet4v1Param::SetNbRocsGet4 ( UInt_t  num  ) 

Set number of ROCs for Get4 readout, automatically sets default uFeetRocsMapping

Bool_t TGet4v1Param::UpdateFrom ( TGo4Parameter *  rhs  )  [virtual]

Definition at line 122 of file TGet4v1Param.cxx.

References activeRoc, numRocs, and SetConfigRocs().

virtual Bool_t TGet4v1Param::UpdateFrom ( TGo4Parameter *  rhs  )  [virtual]

Field Documentation

Definition at line 29 of file TGet4v1Param.h.

Referenced by IsActiveRoc(), TGet4v1Param(), and UpdateFrom().

Definition at line 74 of file TGet4v1Param.h.

Referenced by PrintGet4Options().

Definition at line 89 of file TGet4v1Param.h.

Referenced by TGet4v1Proc::ProcessGet4ReprocessSuppData().

Definition at line 90 of file TGet4v1Param.h.

Referenced by TGet4v1Proc::ProcessGet4ReprocessSuppData().

Definition at line 85 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), and TGet4v1Proc::ProcessGet4ReprocessSuppData().

Definition at line 48 of file TGet4v1Param.h.

Referenced by TGet4v1Param().

Definition at line 93 of file TGet4v1Param.h.

Definition at line 59 of file TGet4v1Param.h.

Definition at line 78 of file TGet4v1Param.h.

Referenced by TGet4v1Proc::CheckHit(), TGet4v1Param(), and TGet4v1Proc::TGet4v1Proc().

Definition at line 50 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), TGet4v1Proc::ProcessSubevent(), and TGet4v1Param().

Definition at line 91 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), and TGet4v1Proc::ProcessTriggerMessage().

Definition at line 46 of file TGet4v1Param.h.

Referenced by TGet4v1Param().

Definition at line 35 of file TGet4v1Param.h.

Referenced by TGet4v1Param().

GET4 unpacking & pre-processing

Definition at line 53 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), TGet4v1Proc::ProcessSubevent(), and TGet4v1Param().

Definition at line 111 of file TGet4v1Param.h.

Definition at line 112 of file TGet4v1Param.h.

Definition at line 113 of file TGet4v1Param.h.

Definition at line 37 of file TGet4v1Param.h.

Referenced by TGet4v1Param().

Definition at line 40 of file TGet4v1Param.h.

Referenced by TGet4v1Param().

Definition at line 39 of file TGet4v1Param.h.

Referenced by TGet4v1Param().

Definition at line 31 of file TGet4v1Param.h.

Referenced by TGet4v1Param().

Definition at line 42 of file TGet4v1Param.h.

Referenced by TGet4v1Param().

Definition at line 44 of file TGet4v1Param.h.

Referenced by TGet4v1Param().

Definition at line 69 of file TGet4v1Param.h.

Definition at line 64 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), and TGet4v1Param().

Definition at line 65 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), and TGet4v1Param().

Definition at line 55 of file TGet4v1Param.h.

Definition at line 61 of file TGet4v1Param.h.

Referenced by IsActiveGet4Chip(), PrintGet4Options(), SetNbGet4(), and TGet4v1Param().

Definition at line 62 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), SetNbGet4(), and TGet4v1Param().

Definition at line 60 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), RemapGet4Chip(), SetNbGet4(), and TGet4v1Param().

Definition at line 66 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), and TGet4v1Param().

Definition at line 58 of file TGet4v1Param.h.

Referenced by FindGet4RocId(), PrintGet4Options(), SetNbRocsGet4(), and TGet4v1Param().

Definition at line 88 of file TGet4v1Param.h.

Referenced by IsMainOfThisTrigger(), IsTriggerMainChannel(), and PrintGet4Options().

Definition at line 87 of file TGet4v1Param.h.

Referenced by IsMainOfThisTrigger(), IsTriggerMainChannel(), and PrintGet4Options().

Definition at line 56 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), and TGet4v1Param().

Definition at line 57 of file TGet4v1Param.h.

Referenced by FindGet4RocId(), PrintGet4Options(), SetNbRocsGet4(), and TGet4v1Param().

Definition at line 68 of file TGet4v1Param.h.

Definition at line 55 of file TGet4v1Param.h.

Referenced by TGet4v1Param().

Definition at line 63 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), and TGet4v1Param().

Definition at line 54 of file TGet4v1Param.h.

Referenced by PrintGet4Options(), and TGet4v1Param().

Definition at line 70 of file TGet4v1Param.h.


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