MiniballSort
Loading...
Searching...
No Matches
MiniballSettings Class Reference

#include <Settings.hh>

Inheritance diagram for MiniballSettings:

Public Member Functions

 MiniballSettings ()
 
 MiniballSettings (std::string filename)
 
 ~MiniballSettings ()
 
void ReadSettings ()
 
void TestSettings ()
 
void PrintSettings ()
 
void SetFile (std::string filename)
 
const std::string InputFile ()
 
unsigned int GetNumberOfFebexSfps ()
 
unsigned int GetNumberOfFebexBoards ()
 
unsigned int GetNumberOfFebexChannels ()
 
unsigned int GetNumberOfDgfModules ()
 
unsigned int GetNumberOfDgfTimestampModules ()
 
unsigned int GetNumberOfDgfChannels ()
 
int GetDgfModuleNumber (unsigned int i)
 
double GetDgfTimestampDelay ()
 
double GetDgfTimestampUnits ()
 
bool IsTimestampModule (unsigned int m)
 
unsigned int GetNumberOfAdcModules ()
 
unsigned int GetMaximumNumberOfAdcChannels ()
 
unsigned int GetNumberOfCaenAdcModules ()
 
unsigned int GetNumberOfCaenAdcChannels ()
 
int GetCaenAdcModuleNumber (unsigned int i)
 
double GetCaenAdcTimestampUnits ()
 
unsigned int GetNumberOfMesytecAdcModules ()
 
unsigned int GetNumberOfMesytecAdcChannels ()
 
int GetMesytecAdcModuleNumber (unsigned int i)
 
double GetMesytecAdcTimestampUnits ()
 
unsigned int GetNumberOfPatternUnits ()
 
int GetPatternUnitNumber (unsigned int i)
 
unsigned int GetNumberOfScalerUnits ()
 
int GetScalerUnitNumber (unsigned int i)
 
bool CheckVmeModuleIsDgf (unsigned int id)
 
bool CheckVmeModuleIsAdc (unsigned int id)
 
bool CheckVmeModuleIsScaler (unsigned int id)
 
bool CheckVmeModuleIsPattern (unsigned int id)
 
bool CheckVmeModuleIsDgfScaler (unsigned int id)
 
unsigned int GetMsbSyncCode ()
 
unsigned int GetHsbSyncCode ()
 
unsigned int GetMsbTimestampCode ()
 
unsigned int GetHsbTimestampCode ()
 
unsigned int GetPauseCode ()
 
unsigned int GetResumeCode ()
 
unsigned int GetPulserCode ()
 
unsigned int GetEBISSfp ()
 
unsigned int GetEBISBoard ()
 
unsigned int GetEBISDgf ()
 
unsigned int GetEBISChannel ()
 
unsigned int GetEBISCode ()
 
unsigned int GetT1Sfp ()
 
unsigned int GetT1Board ()
 
unsigned int GetT1Dgf ()
 
unsigned int GetT1Channel ()
 
unsigned int GetT1Code ()
 
unsigned int GetSCSfp ()
 
unsigned int GetSCBoard ()
 
unsigned int GetSCDgf ()
 
unsigned int GetSCChannel ()
 
unsigned int GetSCCode ()
 
unsigned int GetRILISSfp ()
 
unsigned int GetRILISBoard ()
 
unsigned int GetRILISChannel ()
 
unsigned int GetRILISPattern ()
 
unsigned int GetRILISCode ()
 
double GetEventWindow ()
 
double GetMbsEventMode ()
 
void SetMbsEventMode (bool flag)
 
void SetBlockSize (unsigned int size)
 
unsigned int GetBlockSize ()
 
unsigned int IsFebexOnly ()
 
bool GetPileupRejection ()
 
bool GetClippedRejection ()
 
bool GetBufferFullRejection ()
 
bool GetBufferPartRejection ()
 
unsigned int GetNumberOfMiniballClusters ()
 
unsigned int GetNumberOfMiniballCrystals ()
 
unsigned int GetNumberOfMiniballSegments ()
 
bool IsMiniball (unsigned int dgf, unsigned int ch)
 
bool IsMiniball (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetMiniballID (unsigned int dgf, unsigned int ch, const std::vector< std::vector< std::vector< int > > > &vector)
 
int GetMiniballID (unsigned int sfp, unsigned int board, unsigned int ch, const std::vector< std::vector< std::vector< int > > > &vector)
 
int GetMiniballCluster (unsigned int dgf, unsigned int ch)
 
int GetMiniballCluster (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetMiniballCrystal (unsigned int dgf, unsigned int ch)
 
int GetMiniballCrystal (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetMiniballSegment (unsigned int dgf, unsigned int ch)
 
int GetMiniballSegment (unsigned int sfp, unsigned int board, unsigned int ch)
 
bool IsMiniballSegmentVetoed (unsigned int clu, unsigned int cry, unsigned int seg)
 
double GetMiniballCrystalHitWindow ()
 
double GetMiniballAddbackHitWindow ()
 
unsigned int GetNumberOfCDDetectors ()
 
unsigned int GetNumberOfCDSectors ()
 
unsigned int GetNumberOfCDSides ()
 
unsigned int GetNumberOfCDPStrips ()
 
unsigned int GetNumberOfCDNStrips ()
 
bool IsCD (unsigned int adc, unsigned int ch)
 
bool IsCD (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetCDID (unsigned int adc, unsigned int ch, const std::vector< std::vector< std::vector< int > > > &vector)
 
int GetCDID (unsigned int sfp, unsigned int board, unsigned int ch, const std::vector< std::vector< std::vector< int > > > &vector)
 
int GetCDDetector (unsigned int adc, unsigned int ch)
 
int GetCDDetector (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetCDSector (unsigned int adc, unsigned int ch)
 
int GetCDSector (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetCDSide (unsigned int adc, unsigned int ch)
 
int GetCDSide (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetCDStrip (unsigned int adc, unsigned int ch)
 
int GetCDStrip (unsigned int sfp, unsigned int board, unsigned int ch)
 
double GetCDHitWindow ()
 
bool IsPad (unsigned int adc, unsigned int ch)
 
bool IsPad (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetPadDetector (unsigned int adc, unsigned int ch)
 
int GetPadDetector (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetPadSector (unsigned int adc, unsigned int ch)
 
int GetPadSector (unsigned int sfp, unsigned int board, unsigned int ch)
 
double GetPadHitWindow ()
 
unsigned int GetNumberOfBeamDumpDetectors ()
 
bool IsBeamDump (unsigned int dgf, unsigned int ch)
 
bool IsBeamDump (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetBeamDumpDetector (unsigned int dgf, unsigned int ch)
 
int GetBeamDumpDetector (unsigned int sfp, unsigned int board, unsigned int ch)
 
unsigned int GetNumberOfSpedeSegments ()
 
bool IsSpede (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetSpedeSegment (unsigned int sfp, unsigned int board, unsigned int ch)
 
unsigned int GetNumberOfIonChamberLayers ()
 
bool IsIonChamber (unsigned int adc, unsigned int ch)
 
bool IsIonChamber (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetIonChamberLayer (unsigned int adc, unsigned int ch)
 
int GetIonChamberLayer (unsigned int sfp, unsigned int board, unsigned int ch)
 
double GetIonChamberHitWindow ()
 
unsigned int GetNumberOfPulsers ()
 
bool IsPulser (unsigned int sfp, unsigned int board, unsigned int ch)
 
int GetPulser (unsigned int sfp, unsigned int board, unsigned int ch)
 

Public Attributes

ClassDef(MiniballSettings, 3) private unsigned int n_febex_sfp
 Number of SFPs in acquisition.
 
unsigned int n_febex_board
 Maximum number of boards per SFP.
 
unsigned int n_febex_ch
 Number of channels per board (16 for FEBEX4)
 
unsigned int n_dgf_mod
 Number of DGF modules.
 
unsigned int n_dgf_ts_mod
 Number of DGF timestamp modules (subset of n_dgf_mod)
 
unsigned int n_dgf_ch
 Number of DGF channels.
 
unsigned int dgf_mod_offset
 module number offset for the DGFs
 
unsigned int dgf_ts_mod_offset
 module number offset for the timestamper DGFs
 
unsigned int n_caen_mod
 Number of CAEN ADC modules.
 
unsigned int n_caen_ch
 Number of CAENADC channels.
 
unsigned int caen_mod_offset
 module number offset for the CAEN ADCs
 
unsigned int n_madc_mod
 Number of Mesytec ADC modules.
 
unsigned int n_madc_ch
 Number of Mesytec ADC channels.
 
unsigned int madc_mod_offset
 module number offset for the MADCs
 
unsigned int n_pattern_unit
 Number of pattern unit modules.
 
unsigned int pattern_unit_offset
 module number offset for the pattern units
 
unsigned int n_scaler_unit
 Number of scaler unit modules.
 
unsigned int scaler_unit_offset
 module number offset for the scaler units
 
unsigned int dgf_vme_first
 
unsigned int dgf_vme_last
 Marabou IDs for DGFs.
 
unsigned int adc_vme_first
 
unsigned int adc_vme_last
 Marabou IDs for ADCs.
 
unsigned int scaler_vme_first
 
unsigned int scaler_vme_last
 Marabou IDs for scaler modules.
 
unsigned int pattern_vme_first
 
unsigned int pattern_vme_last
 Marabou IDs for pattern unit modules.
 
unsigned int dgfscaler_vme_first
 
unsigned int dgfscaler_vme_last
 Marabou IDs for DGF scalers.
 
unsigned int n_mb_cluster
 Miniball usuall has 8 triple cluster detectors.
 
unsigned int n_mb_crystal
 Number of crystals in a triple cluster is 3.
 
unsigned int n_mb_segment
 Number of sgements in a crystal is 7, including core = 0.
 
std::vector< std::vector< std::vector< unsigned int > > > mb_sfp
 A list of SFP numbers for each MB cluster, crystal and segment.
 
std::vector< std::vector< std::vector< unsigned int > > > mb_board
 A list of board numbers for each MB cluster, crystal and segment.
 
std::vector< std::vector< std::vector< unsigned int > > > mb_dgf
 A list of DGF module numbers for each MB cluster, crystal and segment.
 
std::vector< std::vector< std::vector< unsigned int > > > mb_ch
 A list of channel numbers for each MB cluster, crystal and segment.
 
std::vector< std::vector< std::vector< bool > > > mb_veto
 A boolean to check if we need to veto any segments.
 
std::vector< std::vector< std::vector< int > > > mb_cluster
 A channel map for the Miniball cluster IDs (-1 if not Miniball)
 
std::vector< std::vector< std::vector< int > > > mb_crystal
 A channel map for the Miniball crystal IDs (-1 if not Miniball)
 
std::vector< std::vector< std::vector< int > > > mb_segment
 A channel map for the Miniball segment IDs (-1 if not Miniball)
 
unsigned int n_cd_det
 Number of CD detectors (just 1 for Coulex)
 
unsigned int n_cd_sector
 number of sectors in the CD (or quadrants, it's 4)
 
unsigned int n_cd_side
 number of sides, it's always 2, i.e. p-side and n-side
 
unsigned int n_cd_pstrip
 number of p-side strips
 
unsigned int n_cd_nstrip
 number of n-side strips
 
std::vector< std::vector< std::vector< std::vector< unsigned int > > > > cd_sfp
 A list of SFP numbers for each CD detector, sector, side and strip.
 
std::vector< std::vector< std::vector< std::vector< unsigned int > > > > cd_board
 A list of board numbers for each CD detector, sector, side and strip.
 
std::vector< std::vector< std::vector< std::vector< unsigned int > > > > cd_adc
 A list of ADC module numbers for each CD detector, sector, side and strip.
 
std::vector< std::vector< std::vector< std::vector< unsigned int > > > > cd_ch
 A list of channel numbers for each CD detector, sector, side and strip.
 
std::vector< std::vector< std::vector< int > > > cd_det
 A channel map for the CD detectors (-1 if not a CD, 0 forward CD, 1 backward CD)
 
std::vector< std::vector< std::vector< int > > > cd_sector
 A channel map for the CD sectors (-1 if not a CD, 0-3 for quadrants)
 
std::vector< std::vector< std::vector< int > > > cd_side
 A channel map for the CD sides (-1 if not a CD, 0 for p-side, 1 for n-side)
 
std::vector< std::vector< std::vector< int > > > cd_strip
 A channel map for the CD strips IDs (-1 if not a CD, strip ID otherwise)
 
std::vector< std::vector< unsigned int > > pad_sfp
 A list of SFP numbers for each PAD detector.
 
std::vector< std::vector< unsigned int > > pad_board
 A list of board numbers for each PAD detector.
 
std::vector< std::vector< unsigned int > > pad_adc
 A list of ADC module numbers for each PAD detector.
 
std::vector< std::vector< unsigned int > > pad_ch
 A list of channel numbers for each PAD detector.
 
std::vector< std::vector< std::vector< int > > > pad_det
 A channel map for the PAD detectors (-1 if not a PAD, 0 forward CD-PAD, 1 backward CD-PAD)
 
std::vector< std::vector< std::vector< int > > > pad_sector
 
unsigned int n_bd_det
 Number of beam dump detectors.
 
std::vector< unsigned int > bd_sfp
 A list of SFP numbers for each beam dump detector.
 
std::vector< unsigned int > bd_board
 A list of board numbers for each beam dump detector.
 
std::vector< unsigned int > bd_dgf
 A list of DGF module numbers for each beam dump detector.
 
std::vector< unsigned int > bd_ch
 A list of channel numbers for each beam dump detector.
 
std::vector< std::vector< std::vector< int > > > bd_det
 A channel map for the beam dump detectors (-1 if not a beam dump, otherwise detector number)
 
unsigned int n_spede_seg
 Number of SPEDE segments, usually 24.
 
std::vector< unsigned int > spede_sfp
 A list of SFP numbers for each SPEDE segment.
 
std::vector< unsigned int > spede_board
 A list of board numbers for each SPEDE segment.
 
std::vector< unsigned int > spede_dgf
 A list of DGF module numbers for each SPEDE segment.
 
std::vector< unsigned int > spede_ch
 A list of channel numbers for each SPEDE segment.
 
std::vector< std::vector< std::vector< int > > > spede_seg
 A channel map for the SPEDE segments (-1 if not a SPEDE, otherwise segment number)
 
unsigned int n_ic_layer
 Number of IonChamber layers, usually 2, dE (gas) and E (Si)
 
std::vector< unsigned int > ic_sfp
 A list of SFP numbers for each IonChamber segment.
 
std::vector< unsigned int > ic_board
 A list of board numbers for each IonChamber segment.
 
std::vector< unsigned int > ic_adc
 A list of ADC module numbers for each IonChamber segment.
 
std::vector< unsigned int > ic_ch
 A list of channel numbers for each IonChamber segment.
 
std::vector< std::vector< std::vector< int > > > ic_layer
 A channel map for the IonChamber segments (-1 if not a IonChamber, otherwise layer number, i.e dE (gas) = 0, E (Si) = 1)
 
unsigned int n_pulsers
 Number of pulser inputs for synchronisation tests.
 
std::vector< unsigned int > pulser_sfp
 A list of SFP numbers for each pulser.
 
std::vector< unsigned int > pulser_board
 A list of board numbers for each pulser.
 
std::vector< unsigned int > pulser_ch
 A list of channel numbers for each pulser.
 
std::vector< std::vector< std::vector< int > > > pulser
 A channel map for the pulser inputs.
 
unsigned int sync_msb_code
 Sync pulse code from Exploder (msb)
 
unsigned int sync_hsb_code
 Sync pulse code from Exploder (hsb)
 
unsigned int tm_msb_code
 Medium significant bits of the timestamp are here.
 
unsigned int tm_hsb_code
 Highest significant bits of the timestamp are here.
 
unsigned int pause_code
 Info code when acquisition has paused due to a full buffer.
 
unsigned int resume_code
 Info code when acquisition has resumed after a pause.
 
unsigned int pulser_code
 Info code when we have a pulser event in InfoData packets.
 
unsigned int ebis_sfp
 Location of the EBIS signal in the FEBEX system (sfp)
 
unsigned int ebis_dgf
 Location of the EBIS signal in the DGF system (module)
 
unsigned int ebis_board
 Location of the EBIS signal in the FEBEX system (board)
 
unsigned int ebis_ch
 Location of the EBIS signal in the FEBEX system (channel)
 
unsigned int ebis_code
 Info code when we have an EBIS event in InfoData packets.
 
unsigned int t1_sfp
 Location of the T1 signal in the FEBEX system (sfp)
 
unsigned int t1_dgf
 Location of the T1 signal in the DGF system (module)
 
unsigned int t1_board
 Location of the T1 signal in the FEBEX system (board)
 
unsigned int t1_ch
 Location of the T1 signal in the FEBEX system (channel)
 
unsigned int t1_code
 Info code when we have a T1 event in InfoData packets.
 
unsigned int sc_sfp
 Location of the SuperCycle signal in the FEBEX system (sfp)
 
unsigned int sc_dgf
 Location of the SuperCycle signal in the DGF system (module)
 
unsigned int sc_board
 Location of the SuperCycle signal in the FEBEX system (board)
 
unsigned int sc_ch
 Location of the SuperCycle signal in the FEBEX system (channel)
 
unsigned int sc_code
 Info code when we have a SuperCycle event in InfoData packets.
 
unsigned int laser_sfp
 Location of the RILIS laser signal in the FEBEX system (sfp)
 
unsigned int laser_board
 Location of the RILIS laser signal in the FEBEX system (board)
 
unsigned int laser_ch
 Location of the RILIS laser signal in the FEBEX system (channel)
 
unsigned int laser_pattern
 Location of the RILIS laser signal in the pattern unit (channel)
 
unsigned int laser_code
 Info code when we have a RILIS Laser ON coincidence with EBIS in InfoData packets.
 
double event_window
 Event builder time window in ns.
 
bool mbs_event_sort
 Flag to define if we sort MBS data by readout event (true), or by global time (false)
 
double mb_hit_window
 Prompt time for correlated Miniball events in crystal, i.e. segmen-core events.
 
double ab_hit_window
 Prompt time for correlated Miniball events in cluster, i.e. addback events.
 
double cd_hit_window
 Prompt time for correlated CD events.
 
double pad_hit_window
 Prompt time for correlated CD-Pad events.
 
double ic_hit_window
 Prompt time for correlated ionchamber events.
 
unsigned int block_size
 not yet implemented, needs C++ style reading of data files
 
bool flag_febex_only
 when there is only FEBEX data in the file
 
bool pileup_reject
 reject events where the pileup flag is set by the MWD firmware
 
bool clipped_reject
 reject events that are clipped by the ADC range
 
bool bufferfull_reject
 
bool bufferpart_reject
 
long dgf_ts_delay
 
double dgf_ts_units
 
double caen_ts_units
 
double madc_ts_units
 

Detailed Description

A class to read in the settings file in ROOT's TConfig format. This has the number of modules, channels and things It also defines which detectors are which

Definition at line 17 of file Settings.hh.

Constructor & Destructor Documentation

◆ MiniballSettings() [1/2]

MiniballSettings::MiniballSettings ( )

◆ MiniballSettings() [2/2]

MiniballSettings::MiniballSettings ( std::string filename)

Definition at line 12 of file Settings.cc.

◆ ~MiniballSettings()

MiniballSettings::~MiniballSettings ( )
inline

Definition at line 23 of file Settings.hh.

Member Function Documentation

◆ CheckVmeModuleIsAdc()

bool MiniballSettings::CheckVmeModuleIsAdc ( unsigned int id)
inline

Definition at line 120 of file Settings.hh.

◆ CheckVmeModuleIsDgf()

bool MiniballSettings::CheckVmeModuleIsDgf ( unsigned int id)
inline

Definition at line 116 of file Settings.hh.

◆ CheckVmeModuleIsDgfScaler()

bool MiniballSettings::CheckVmeModuleIsDgfScaler ( unsigned int id)
inline

Definition at line 132 of file Settings.hh.

◆ CheckVmeModuleIsPattern()

bool MiniballSettings::CheckVmeModuleIsPattern ( unsigned int id)
inline

Definition at line 128 of file Settings.hh.

◆ CheckVmeModuleIsScaler()

bool MiniballSettings::CheckVmeModuleIsScaler ( unsigned int id)
inline

Definition at line 124 of file Settings.hh.

◆ GetBeamDumpDetector() [1/2]

int MiniballSettings::GetBeamDumpDetector ( unsigned int dgf,
unsigned int ch )

Return the beam dump detector ID by the DGF module number and Channel number

Definition at line 1220 of file Settings.cc.

Referenced by IsBeamDump(), IsBeamDump(), and TestSettings().

◆ GetBeamDumpDetector() [2/2]

int MiniballSettings::GetBeamDumpDetector ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return the beam dump detector ID by the FEBEX SFP, Board number and Channel number

Definition at line 1236 of file Settings.cc.

◆ GetBlockSize()

unsigned int MiniballSettings::GetBlockSize ( )
inline

Definition at line 180 of file Settings.hh.

◆ GetBufferFullRejection()

bool MiniballSettings::GetBufferFullRejection ( )
inline

Definition at line 190 of file Settings.hh.

◆ GetBufferPartRejection()

bool MiniballSettings::GetBufferPartRejection ( )
inline

Definition at line 191 of file Settings.hh.

◆ GetCaenAdcModuleNumber()

int MiniballSettings::GetCaenAdcModuleNumber ( unsigned int i)
inline

Definition at line 70 of file Settings.hh.

◆ GetCaenAdcTimestampUnits()

double MiniballSettings::GetCaenAdcTimestampUnits ( )
inline

Definition at line 78 of file Settings.hh.

◆ GetCDDetector() [1/2]

int MiniballSettings::GetCDDetector ( unsigned int adc,
unsigned int ch )
inline

Definition at line 239 of file Settings.hh.

Referenced by TestSettings().

◆ GetCDDetector() [2/2]

int MiniballSettings::GetCDDetector ( unsigned int sfp,
unsigned int board,
unsigned int ch )
inline

Definition at line 242 of file Settings.hh.

◆ GetCDHitWindow()

double MiniballSettings::GetCDHitWindow ( )
inline

Definition at line 263 of file Settings.hh.

◆ GetCDID() [1/2]

int MiniballSettings::GetCDID ( unsigned int adc,
unsigned int ch,
const std::vector< std::vector< std::vector< int > > > & vector )

Return the CD ID by the FEBEX SFP, Board number and Channel number

Definition at line 1062 of file Settings.cc.

Referenced by GetCDDetector(), GetCDDetector(), GetCDSector(), GetCDSector(), GetCDSide(), GetCDSide(), GetCDStrip(), and GetCDStrip().

◆ GetCDID() [2/2]

int MiniballSettings::GetCDID ( unsigned int sfp,
unsigned int board,
unsigned int ch,
const std::vector< std::vector< std::vector< int > > > & vector )

Return the CD ID by the FEBEX SFP, Board number and Channel number

Definition at line 1079 of file Settings.cc.

◆ GetCDSector() [1/2]

int MiniballSettings::GetCDSector ( unsigned int adc,
unsigned int ch )
inline

Definition at line 245 of file Settings.hh.

Referenced by TestSettings().

◆ GetCDSector() [2/2]

int MiniballSettings::GetCDSector ( unsigned int sfp,
unsigned int board,
unsigned int ch )
inline

Definition at line 248 of file Settings.hh.

◆ GetCDSide() [1/2]

int MiniballSettings::GetCDSide ( unsigned int adc,
unsigned int ch )
inline

Definition at line 251 of file Settings.hh.

Referenced by TestSettings().

◆ GetCDSide() [2/2]

int MiniballSettings::GetCDSide ( unsigned int sfp,
unsigned int board,
unsigned int ch )
inline

Definition at line 254 of file Settings.hh.

◆ GetCDStrip() [1/2]

int MiniballSettings::GetCDStrip ( unsigned int adc,
unsigned int ch )
inline

Definition at line 257 of file Settings.hh.

Referenced by TestSettings().

◆ GetCDStrip() [2/2]

int MiniballSettings::GetCDStrip ( unsigned int sfp,
unsigned int board,
unsigned int ch )
inline

Definition at line 260 of file Settings.hh.

◆ GetClippedRejection()

bool MiniballSettings::GetClippedRejection ( )
inline

Definition at line 186 of file Settings.hh.

◆ GetDgfModuleNumber()

int MiniballSettings::GetDgfModuleNumber ( unsigned int i)
inline

Definition at line 44 of file Settings.hh.

◆ GetDgfTimestampDelay()

double MiniballSettings::GetDgfTimestampDelay ( )
inline

Definition at line 52 of file Settings.hh.

◆ GetDgfTimestampUnits()

double MiniballSettings::GetDgfTimestampUnits ( )
inline

Definition at line 53 of file Settings.hh.

◆ GetEBISBoard()

unsigned int MiniballSettings::GetEBISBoard ( )
inline

Definition at line 148 of file Settings.hh.

Referenced by TestSettings().

◆ GetEBISChannel()

unsigned int MiniballSettings::GetEBISChannel ( )
inline

Definition at line 150 of file Settings.hh.

Referenced by TestSettings().

◆ GetEBISCode()

unsigned int MiniballSettings::GetEBISCode ( )
inline

Definition at line 151 of file Settings.hh.

◆ GetEBISDgf()

unsigned int MiniballSettings::GetEBISDgf ( )
inline

Definition at line 149 of file Settings.hh.

◆ GetEBISSfp()

unsigned int MiniballSettings::GetEBISSfp ( )
inline

Definition at line 147 of file Settings.hh.

Referenced by TestSettings().

◆ GetEventWindow()

double MiniballSettings::GetEventWindow ( )
inline

Definition at line 173 of file Settings.hh.

◆ GetHsbSyncCode()

unsigned int MiniballSettings::GetHsbSyncCode ( )
inline

Definition at line 140 of file Settings.hh.

◆ GetHsbTimestampCode()

unsigned int MiniballSettings::GetHsbTimestampCode ( )
inline

Definition at line 142 of file Settings.hh.

◆ GetIonChamberHitWindow()

double MiniballSettings::GetIonChamberHitWindow ( )
inline

Definition at line 296 of file Settings.hh.

◆ GetIonChamberLayer() [1/2]

int MiniballSettings::GetIonChamberLayer ( unsigned int adc,
unsigned int ch )

Return the IonChamber layer ID by the ADC module number and Channel number

Definition at line 1294 of file Settings.cc.

Referenced by IsIonChamber(), IsIonChamber(), and TestSettings().

◆ GetIonChamberLayer() [2/2]

int MiniballSettings::GetIonChamberLayer ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return the IonChamber layer ID by the FEBEX SFP, Board number and Channel number

Definition at line 1310 of file Settings.cc.

◆ GetMaximumNumberOfAdcChannels()

unsigned int MiniballSettings::GetMaximumNumberOfAdcChannels ( )
inline

◆ GetMbsEventMode()

double MiniballSettings::GetMbsEventMode ( )
inline

Definition at line 174 of file Settings.hh.

◆ GetMesytecAdcModuleNumber()

int MiniballSettings::GetMesytecAdcModuleNumber ( unsigned int i)
inline

Definition at line 83 of file Settings.hh.

◆ GetMesytecAdcTimestampUnits()

double MiniballSettings::GetMesytecAdcTimestampUnits ( )
inline

Definition at line 91 of file Settings.hh.

◆ GetMiniballAddbackHitWindow()

double MiniballSettings::GetMiniballAddbackHitWindow ( )
inline

Definition at line 224 of file Settings.hh.

◆ GetMiniballCluster() [1/2]

int MiniballSettings::GetMiniballCluster ( unsigned int dgf,
unsigned int ch )
inline

Definition at line 204 of file Settings.hh.

Referenced by TestSettings().

◆ GetMiniballCluster() [2/2]

int MiniballSettings::GetMiniballCluster ( unsigned int sfp,
unsigned int board,
unsigned int ch )
inline

Definition at line 207 of file Settings.hh.

◆ GetMiniballCrystal() [1/2]

int MiniballSettings::GetMiniballCrystal ( unsigned int dgf,
unsigned int ch )
inline

Definition at line 210 of file Settings.hh.

Referenced by TestSettings().

◆ GetMiniballCrystal() [2/2]

int MiniballSettings::GetMiniballCrystal ( unsigned int sfp,
unsigned int board,
unsigned int ch )
inline

Definition at line 213 of file Settings.hh.

◆ GetMiniballCrystalHitWindow()

double MiniballSettings::GetMiniballCrystalHitWindow ( )
inline

Definition at line 223 of file Settings.hh.

◆ GetMiniballID() [1/2]

int MiniballSettings::GetMiniballID ( unsigned int dgf,
unsigned int ch,
const std::vector< std::vector< std::vector< int > > > & vector )

Return the Miniball ID by the DGF module number and Channel number

Definition at line 985 of file Settings.cc.

Referenced by GetMiniballCluster(), GetMiniballCluster(), GetMiniballCrystal(), GetMiniballCrystal(), GetMiniballSegment(), and GetMiniballSegment().

◆ GetMiniballID() [2/2]

int MiniballSettings::GetMiniballID ( unsigned int sfp,
unsigned int board,
unsigned int ch,
const std::vector< std::vector< std::vector< int > > > & vector )

Return the Miniball ID by the FEBEX SFP, Board number and Channel number

Definition at line 1002 of file Settings.cc.

◆ GetMiniballSegment() [1/2]

int MiniballSettings::GetMiniballSegment ( unsigned int dgf,
unsigned int ch )
inline

Definition at line 216 of file Settings.hh.

Referenced by TestSettings().

◆ GetMiniballSegment() [2/2]

int MiniballSettings::GetMiniballSegment ( unsigned int sfp,
unsigned int board,
unsigned int ch )
inline

Definition at line 219 of file Settings.hh.

◆ GetMsbSyncCode()

unsigned int MiniballSettings::GetMsbSyncCode ( )
inline

Definition at line 139 of file Settings.hh.

◆ GetMsbTimestampCode()

unsigned int MiniballSettings::GetMsbTimestampCode ( )
inline

Definition at line 141 of file Settings.hh.

◆ GetNumberOfAdcModules()

unsigned int MiniballSettings::GetNumberOfAdcModules ( )
inline

◆ GetNumberOfBeamDumpDetectors()

unsigned int MiniballSettings::GetNumberOfBeamDumpDetectors ( )
inline

Definition at line 277 of file Settings.hh.

◆ GetNumberOfCaenAdcChannels()

unsigned int MiniballSettings::GetNumberOfCaenAdcChannels ( )
inline

Definition at line 69 of file Settings.hh.

◆ GetNumberOfCaenAdcModules()

unsigned int MiniballSettings::GetNumberOfCaenAdcModules ( )
inline

Definition at line 68 of file Settings.hh.

◆ GetNumberOfCDDetectors()

unsigned int MiniballSettings::GetNumberOfCDDetectors ( )
inline

Definition at line 228 of file Settings.hh.

◆ GetNumberOfCDNStrips()

unsigned int MiniballSettings::GetNumberOfCDNStrips ( )
inline

Definition at line 232 of file Settings.hh.

◆ GetNumberOfCDPStrips()

unsigned int MiniballSettings::GetNumberOfCDPStrips ( )
inline

Definition at line 231 of file Settings.hh.

◆ GetNumberOfCDSectors()

unsigned int MiniballSettings::GetNumberOfCDSectors ( )
inline

Definition at line 229 of file Settings.hh.

◆ GetNumberOfCDSides()

unsigned int MiniballSettings::GetNumberOfCDSides ( )
inline

Definition at line 230 of file Settings.hh.

◆ GetNumberOfDgfChannels()

unsigned int MiniballSettings::GetNumberOfDgfChannels ( )
inline

Definition at line 43 of file Settings.hh.

Referenced by ReadSettings().

◆ GetNumberOfDgfModules()

unsigned int MiniballSettings::GetNumberOfDgfModules ( )
inline

Definition at line 41 of file Settings.hh.

Referenced by ReadSettings().

◆ GetNumberOfDgfTimestampModules()

unsigned int MiniballSettings::GetNumberOfDgfTimestampModules ( )
inline

Definition at line 42 of file Settings.hh.

◆ GetNumberOfFebexBoards()

unsigned int MiniballSettings::GetNumberOfFebexBoards ( )
inline

Definition at line 37 of file Settings.hh.

◆ GetNumberOfFebexChannels()

unsigned int MiniballSettings::GetNumberOfFebexChannels ( )
inline

Definition at line 38 of file Settings.hh.

◆ GetNumberOfFebexSfps()

unsigned int MiniballSettings::GetNumberOfFebexSfps ( )
inline

Definition at line 36 of file Settings.hh.

◆ GetNumberOfIonChamberLayers()

unsigned int MiniballSettings::GetNumberOfIonChamberLayers ( )
inline

Definition at line 291 of file Settings.hh.

◆ GetNumberOfMesytecAdcChannels()

unsigned int MiniballSettings::GetNumberOfMesytecAdcChannels ( )
inline

Definition at line 82 of file Settings.hh.

◆ GetNumberOfMesytecAdcModules()

unsigned int MiniballSettings::GetNumberOfMesytecAdcModules ( )
inline

Definition at line 81 of file Settings.hh.

◆ GetNumberOfMiniballClusters()

unsigned int MiniballSettings::GetNumberOfMiniballClusters ( )
inline

Definition at line 195 of file Settings.hh.

◆ GetNumberOfMiniballCrystals()

unsigned int MiniballSettings::GetNumberOfMiniballCrystals ( )
inline

Definition at line 196 of file Settings.hh.

◆ GetNumberOfMiniballSegments()

unsigned int MiniballSettings::GetNumberOfMiniballSegments ( )
inline

Definition at line 197 of file Settings.hh.

◆ GetNumberOfPatternUnits()

unsigned int MiniballSettings::GetNumberOfPatternUnits ( )
inline

Definition at line 94 of file Settings.hh.

◆ GetNumberOfPulsers()

unsigned int MiniballSettings::GetNumberOfPulsers ( )
inline

Definition at line 300 of file Settings.hh.

◆ GetNumberOfScalerUnits()

unsigned int MiniballSettings::GetNumberOfScalerUnits ( )
inline

Definition at line 105 of file Settings.hh.

◆ GetNumberOfSpedeSegments()

unsigned int MiniballSettings::GetNumberOfSpedeSegments ( )
inline

Definition at line 285 of file Settings.hh.

◆ GetPadDetector() [1/2]

int MiniballSettings::GetPadDetector ( unsigned int adc,
unsigned int ch )

Return the Pad detector by the ADC module number and Channel number

Definition at line 1138 of file Settings.cc.

Referenced by TestSettings().

◆ GetPadDetector() [2/2]

int MiniballSettings::GetPadDetector ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return the Pad detector by the FEBEX SFP, Board number and Channel number

Definition at line 1154 of file Settings.cc.

◆ GetPadHitWindow()

double MiniballSettings::GetPadHitWindow ( )
inline

Definition at line 273 of file Settings.hh.

◆ GetPadSector() [1/2]

int MiniballSettings::GetPadSector ( unsigned int adc,
unsigned int ch )

Return the Pad sector by the ADC module number and Channel number

Definition at line 1171 of file Settings.cc.

Referenced by TestSettings().

◆ GetPadSector() [2/2]

int MiniballSettings::GetPadSector ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return the Pad sector by the FEBEX SFP, Board number and Channel number

Definition at line 1187 of file Settings.cc.

◆ GetPatternUnitNumber()

int MiniballSettings::GetPatternUnitNumber ( unsigned int i)
inline

Definition at line 95 of file Settings.hh.

◆ GetPauseCode()

unsigned int MiniballSettings::GetPauseCode ( )
inline

Definition at line 143 of file Settings.hh.

◆ GetPileupRejection()

bool MiniballSettings::GetPileupRejection ( )
inline

Definition at line 185 of file Settings.hh.

◆ GetPulser()

int MiniballSettings::GetPulser ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return the pulser ID

Definition at line 1335 of file Settings.cc.

Referenced by IsPulser(), and TestSettings().

◆ GetPulserCode()

unsigned int MiniballSettings::GetPulserCode ( )
inline

Definition at line 145 of file Settings.hh.

◆ GetResumeCode()

unsigned int MiniballSettings::GetResumeCode ( )
inline

Definition at line 144 of file Settings.hh.

◆ GetRILISBoard()

unsigned int MiniballSettings::GetRILISBoard ( )
inline

Definition at line 166 of file Settings.hh.

Referenced by TestSettings().

◆ GetRILISChannel()

unsigned int MiniballSettings::GetRILISChannel ( )
inline

Definition at line 167 of file Settings.hh.

Referenced by TestSettings().

◆ GetRILISCode()

unsigned int MiniballSettings::GetRILISCode ( )
inline

Definition at line 169 of file Settings.hh.

◆ GetRILISPattern()

unsigned int MiniballSettings::GetRILISPattern ( )
inline

Definition at line 168 of file Settings.hh.

◆ GetRILISSfp()

unsigned int MiniballSettings::GetRILISSfp ( )
inline

Definition at line 165 of file Settings.hh.

Referenced by TestSettings().

◆ GetScalerUnitNumber()

int MiniballSettings::GetScalerUnitNumber ( unsigned int i)
inline

Definition at line 106 of file Settings.hh.

◆ GetSCBoard()

unsigned int MiniballSettings::GetSCBoard ( )
inline

Definition at line 160 of file Settings.hh.

Referenced by TestSettings().

◆ GetSCChannel()

unsigned int MiniballSettings::GetSCChannel ( )
inline

Definition at line 162 of file Settings.hh.

Referenced by TestSettings().

◆ GetSCCode()

unsigned int MiniballSettings::GetSCCode ( )
inline

Definition at line 163 of file Settings.hh.

◆ GetSCDgf()

unsigned int MiniballSettings::GetSCDgf ( )
inline

Definition at line 161 of file Settings.hh.

◆ GetSCSfp()

unsigned int MiniballSettings::GetSCSfp ( )
inline

Definition at line 159 of file Settings.hh.

Referenced by TestSettings().

◆ GetSpedeSegment()

int MiniballSettings::GetSpedeSegment ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return the SPEDE segment ID by the FEBEX SFP, Board number and Channel number

Definition at line 1261 of file Settings.cc.

Referenced by IsSpede(), and TestSettings().

◆ GetT1Board()

unsigned int MiniballSettings::GetT1Board ( )
inline

Definition at line 154 of file Settings.hh.

Referenced by TestSettings().

◆ GetT1Channel()

unsigned int MiniballSettings::GetT1Channel ( )
inline

Definition at line 156 of file Settings.hh.

Referenced by TestSettings().

◆ GetT1Code()

unsigned int MiniballSettings::GetT1Code ( )
inline

Definition at line 157 of file Settings.hh.

◆ GetT1Dgf()

unsigned int MiniballSettings::GetT1Dgf ( )
inline

Definition at line 155 of file Settings.hh.

◆ GetT1Sfp()

unsigned int MiniballSettings::GetT1Sfp ( )
inline

Definition at line 153 of file Settings.hh.

Referenced by TestSettings().

◆ InputFile()

const std::string MiniballSettings::InputFile ( )
inline

Definition at line 31 of file Settings.hh.

◆ IsBeamDump() [1/2]

bool MiniballSettings::IsBeamDump ( unsigned int dgf,
unsigned int ch )

Return true if this is a beam dump event

Definition at line 1204 of file Settings.cc.

Referenced by TestSettings().

◆ IsBeamDump() [2/2]

bool MiniballSettings::IsBeamDump ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return true if this is a beam dump event

Definition at line 1212 of file Settings.cc.

◆ IsCD() [1/2]

bool MiniballSettings::IsCD ( unsigned int adc,
unsigned int ch )

Return true if this is a CD event

Definition at line 1021 of file Settings.cc.

Referenced by TestSettings().

◆ IsCD() [2/2]

bool MiniballSettings::IsCD ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return true if this is a CD event

Definition at line 1041 of file Settings.cc.

◆ IsFebexOnly()

unsigned int MiniballSettings::IsFebexOnly ( )
inline

Definition at line 181 of file Settings.hh.

◆ IsIonChamber() [1/2]

bool MiniballSettings::IsIonChamber ( unsigned int adc,
unsigned int ch )

Return true if this is a IonChamber event

Definition at line 1278 of file Settings.cc.

Referenced by TestSettings().

◆ IsIonChamber() [2/2]

bool MiniballSettings::IsIonChamber ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return true if this is a IonChamber event

Definition at line 1286 of file Settings.cc.

◆ IsMiniball() [1/2]

bool MiniballSettings::IsMiniball ( unsigned int dgf,
unsigned int ch )

Return true if this is a Miniball event

Definition at line 928 of file Settings.cc.

Referenced by TestSettings().

◆ IsMiniball() [2/2]

bool MiniballSettings::IsMiniball ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return true if this is a Miniball event

Definition at line 947 of file Settings.cc.

◆ IsMiniballSegmentVetoed()

bool MiniballSettings::IsMiniballSegmentVetoed ( unsigned int clu,
unsigned int cry,
unsigned int seg )

Check we have a good Miniball segment

Definition at line 968 of file Settings.cc.

◆ IsPad() [1/2]

bool MiniballSettings::IsPad ( unsigned int adc,
unsigned int ch )

Return true if this is a Pad event

Definition at line 1097 of file Settings.cc.

Referenced by TestSettings().

◆ IsPad() [2/2]

bool MiniballSettings::IsPad ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return true if this is a Pad event

Definition at line 1117 of file Settings.cc.

◆ IsPulser()

bool MiniballSettings::IsPulser ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return true if this is a pulser event

Definition at line 1327 of file Settings.cc.

Referenced by TestSettings().

◆ IsSpede()

bool MiniballSettings::IsSpede ( unsigned int sfp,
unsigned int board,
unsigned int ch )

Return true if this is a SPEDE event

Definition at line 1253 of file Settings.cc.

Referenced by TestSettings().

◆ IsTimestampModule()

bool MiniballSettings::IsTimestampModule ( unsigned int m)
inline

Definition at line 54 of file Settings.hh.

◆ PrintSettings()

void MiniballSettings::PrintSettings ( )

◆ ReadSettings()

void MiniballSettings::ReadSettings ( )

Definition at line 136 of file Settings.cc.

Referenced by ClassImp(), and MiniballSettings().

◆ SetBlockSize()

void MiniballSettings::SetBlockSize ( unsigned int size)
inline

Definition at line 179 of file Settings.hh.

◆ SetFile()

void MiniballSettings::SetFile ( std::string filename)
inline

Definition at line 28 of file Settings.hh.

Referenced by ClassImp(), and MiniballSettings().

◆ SetMbsEventMode()

void MiniballSettings::SetMbsEventMode ( bool flag)
inline

Definition at line 175 of file Settings.hh.

◆ TestSettings()

void MiniballSettings::TestSettings ( )

Definition at line 20 of file Settings.cc.

Referenced by MiniballSettings().

Member Data Documentation

◆ ab_hit_window

double MiniballSettings::ab_hit_window

Prompt time for correlated Miniball events in cluster, i.e. addback events.

Definition at line 455 of file Settings.hh.

Referenced by GetMiniballAddbackHitWindow(), and ReadSettings().

◆ adc_vme_first

unsigned int MiniballSettings::adc_vme_first

Definition at line 335 of file Settings.hh.

Referenced by CheckVmeModuleIsAdc(), and ReadSettings().

◆ adc_vme_last

unsigned int MiniballSettings::adc_vme_last

Marabou IDs for ADCs.

Definition at line 335 of file Settings.hh.

Referenced by CheckVmeModuleIsAdc(), and ReadSettings().

◆ bd_board

std::vector<unsigned int> MiniballSettings::bd_board

A list of board numbers for each beam dump detector.

Definition at line 386 of file Settings.hh.

Referenced by ReadSettings().

◆ bd_ch

std::vector<unsigned int> MiniballSettings::bd_ch

A list of channel numbers for each beam dump detector.

Definition at line 388 of file Settings.hh.

Referenced by ReadSettings().

◆ bd_det

std::vector<std::vector<std::vector<int> > > MiniballSettings::bd_det

A channel map for the beam dump detectors (-1 if not a beam dump, otherwise detector number)

Definition at line 389 of file Settings.hh.

Referenced by GetBeamDumpDetector(), GetBeamDumpDetector(), and ReadSettings().

◆ bd_dgf

std::vector<unsigned int> MiniballSettings::bd_dgf

A list of DGF module numbers for each beam dump detector.

Definition at line 387 of file Settings.hh.

Referenced by ReadSettings().

◆ bd_sfp

std::vector<unsigned int> MiniballSettings::bd_sfp

A list of SFP numbers for each beam dump detector.

Definition at line 385 of file Settings.hh.

Referenced by ReadSettings().

◆ block_size

unsigned int MiniballSettings::block_size

not yet implemented, needs C++ style reading of data files

Definition at line 461 of file Settings.hh.

Referenced by GetBlockSize(), ReadSettings(), and SetBlockSize().

◆ bufferfull_reject

bool MiniballSettings::bufferfull_reject

Definition at line 469 of file Settings.hh.

Referenced by GetBufferFullRejection(), and ReadSettings().

◆ bufferpart_reject

bool MiniballSettings::bufferpart_reject

Definition at line 470 of file Settings.hh.

Referenced by GetBufferPartRejection(), and ReadSettings().

◆ caen_mod_offset

unsigned int MiniballSettings::caen_mod_offset

module number offset for the CAEN ADCs

Definition at line 324 of file Settings.hh.

Referenced by GetCaenAdcModuleNumber(), and ReadSettings().

◆ caen_ts_units

double MiniballSettings::caen_ts_units

Definition at line 477 of file Settings.hh.

Referenced by GetCaenAdcTimestampUnits(), and ReadSettings().

◆ cd_adc

std::vector<std::vector<std::vector<std::vector<unsigned int> > > > MiniballSettings::cd_adc

A list of ADC module numbers for each CD detector, sector, side and strip.

Definition at line 365 of file Settings.hh.

Referenced by ReadSettings().

◆ cd_board

std::vector<std::vector<std::vector<std::vector<unsigned int> > > > MiniballSettings::cd_board

A list of board numbers for each CD detector, sector, side and strip.

Definition at line 364 of file Settings.hh.

Referenced by ReadSettings().

◆ cd_ch

std::vector<std::vector<std::vector<std::vector<unsigned int> > > > MiniballSettings::cd_ch

A list of channel numbers for each CD detector, sector, side and strip.

Definition at line 366 of file Settings.hh.

Referenced by ReadSettings().

◆ cd_det

std::vector<std::vector<std::vector<int> > > MiniballSettings::cd_det

A channel map for the CD detectors (-1 if not a CD, 0 forward CD, 1 backward CD)

Definition at line 367 of file Settings.hh.

Referenced by GetCDDetector(), GetCDDetector(), IsCD(), IsCD(), and ReadSettings().

◆ cd_hit_window

double MiniballSettings::cd_hit_window

Prompt time for correlated CD events.

Definition at line 456 of file Settings.hh.

Referenced by GetCDHitWindow(), and ReadSettings().

◆ cd_sector

std::vector<std::vector<std::vector<int> > > MiniballSettings::cd_sector

A channel map for the CD sectors (-1 if not a CD, 0-3 for quadrants)

Definition at line 368 of file Settings.hh.

Referenced by GetCDSector(), GetCDSector(), and ReadSettings().

◆ cd_sfp

std::vector<std::vector<std::vector<std::vector<unsigned int> > > > MiniballSettings::cd_sfp

A list of SFP numbers for each CD detector, sector, side and strip.

Definition at line 363 of file Settings.hh.

Referenced by ReadSettings().

◆ cd_side

std::vector<std::vector<std::vector<int> > > MiniballSettings::cd_side

A channel map for the CD sides (-1 if not a CD, 0 for p-side, 1 for n-side)

Definition at line 369 of file Settings.hh.

Referenced by GetCDSide(), GetCDSide(), and ReadSettings().

◆ cd_strip

std::vector<std::vector<std::vector<int> > > MiniballSettings::cd_strip

A channel map for the CD strips IDs (-1 if not a CD, strip ID otherwise)

Definition at line 370 of file Settings.hh.

Referenced by GetCDStrip(), GetCDStrip(), and ReadSettings().

◆ clipped_reject

bool MiniballSettings::clipped_reject

reject events that are clipped by the ADC range

Definition at line 466 of file Settings.hh.

Referenced by GetClippedRejection(), and ReadSettings().

◆ dgf_mod_offset

unsigned int MiniballSettings::dgf_mod_offset

module number offset for the DGFs

Definition at line 320 of file Settings.hh.

Referenced by GetDgfModuleNumber(), and ReadSettings().

◆ dgf_ts_delay

long MiniballSettings::dgf_ts_delay

Definition at line 473 of file Settings.hh.

Referenced by GetDgfTimestampDelay(), and ReadSettings().

◆ dgf_ts_mod_offset

unsigned int MiniballSettings::dgf_ts_mod_offset

module number offset for the timestamper DGFs

Definition at line 321 of file Settings.hh.

Referenced by IsTimestampModule(), and ReadSettings().

◆ dgf_ts_units

double MiniballSettings::dgf_ts_units

Definition at line 476 of file Settings.hh.

Referenced by GetDgfTimestampUnits(), and ReadSettings().

◆ dgf_vme_first

unsigned int MiniballSettings::dgf_vme_first

Definition at line 334 of file Settings.hh.

Referenced by CheckVmeModuleIsDgf(), and ReadSettings().

◆ dgf_vme_last

unsigned int MiniballSettings::dgf_vme_last

Marabou IDs for DGFs.

Definition at line 334 of file Settings.hh.

Referenced by CheckVmeModuleIsDgf(), and ReadSettings().

◆ dgfscaler_vme_first

unsigned int MiniballSettings::dgfscaler_vme_first

Definition at line 338 of file Settings.hh.

Referenced by CheckVmeModuleIsDgfScaler(), and ReadSettings().

◆ dgfscaler_vme_last

unsigned int MiniballSettings::dgfscaler_vme_last

Marabou IDs for DGF scalers.

Definition at line 338 of file Settings.hh.

Referenced by CheckVmeModuleIsDgfScaler(), and ReadSettings().

◆ ebis_board

unsigned int MiniballSettings::ebis_board

Location of the EBIS signal in the FEBEX system (board)

Definition at line 430 of file Settings.hh.

Referenced by GetEBISBoard(), and ReadSettings().

◆ ebis_ch

unsigned int MiniballSettings::ebis_ch

Location of the EBIS signal in the FEBEX system (channel)

Definition at line 431 of file Settings.hh.

Referenced by GetEBISChannel(), and ReadSettings().

◆ ebis_code

unsigned int MiniballSettings::ebis_code

Info code when we have an EBIS event in InfoData packets.

Definition at line 432 of file Settings.hh.

Referenced by GetEBISCode(), and ReadSettings().

◆ ebis_dgf

unsigned int MiniballSettings::ebis_dgf

Location of the EBIS signal in the DGF system (module)

Definition at line 429 of file Settings.hh.

Referenced by GetEBISDgf(), and ReadSettings().

◆ ebis_sfp

unsigned int MiniballSettings::ebis_sfp

Location of the EBIS signal in the FEBEX system (sfp)

Definition at line 428 of file Settings.hh.

Referenced by GetEBISSfp(), and ReadSettings().

◆ event_window

double MiniballSettings::event_window

Event builder time window in ns.

Definition at line 450 of file Settings.hh.

Referenced by GetEventWindow(), and ReadSettings().

◆ flag_febex_only

bool MiniballSettings::flag_febex_only

when there is only FEBEX data in the file

Definition at line 462 of file Settings.hh.

Referenced by IsFebexOnly(), and ReadSettings().

◆ ic_adc

std::vector<unsigned int> MiniballSettings::ic_adc

A list of ADC module numbers for each IonChamber segment.

Definition at line 407 of file Settings.hh.

Referenced by ReadSettings().

◆ ic_board

std::vector<unsigned int> MiniballSettings::ic_board

A list of board numbers for each IonChamber segment.

Definition at line 406 of file Settings.hh.

Referenced by ReadSettings().

◆ ic_ch

std::vector<unsigned int> MiniballSettings::ic_ch

A list of channel numbers for each IonChamber segment.

Definition at line 408 of file Settings.hh.

Referenced by ReadSettings().

◆ ic_hit_window

double MiniballSettings::ic_hit_window

Prompt time for correlated ionchamber events.

Definition at line 458 of file Settings.hh.

Referenced by GetIonChamberHitWindow(), and ReadSettings().

◆ ic_layer

std::vector<std::vector<std::vector<int> > > MiniballSettings::ic_layer

A channel map for the IonChamber segments (-1 if not a IonChamber, otherwise layer number, i.e dE (gas) = 0, E (Si) = 1)

Definition at line 409 of file Settings.hh.

Referenced by GetIonChamberLayer(), GetIonChamberLayer(), and ReadSettings().

◆ ic_sfp

std::vector<unsigned int> MiniballSettings::ic_sfp

A list of SFP numbers for each IonChamber segment.

Definition at line 405 of file Settings.hh.

Referenced by ReadSettings().

◆ laser_board

unsigned int MiniballSettings::laser_board

Location of the RILIS laser signal in the FEBEX system (board)

Definition at line 444 of file Settings.hh.

Referenced by GetRILISBoard(), and ReadSettings().

◆ laser_ch

unsigned int MiniballSettings::laser_ch

Location of the RILIS laser signal in the FEBEX system (channel)

Definition at line 445 of file Settings.hh.

Referenced by GetRILISChannel(), and ReadSettings().

◆ laser_code

unsigned int MiniballSettings::laser_code

Info code when we have a RILIS Laser ON coincidence with EBIS in InfoData packets.

Definition at line 447 of file Settings.hh.

Referenced by GetRILISCode(), and ReadSettings().

◆ laser_pattern

unsigned int MiniballSettings::laser_pattern

Location of the RILIS laser signal in the pattern unit (channel)

Definition at line 446 of file Settings.hh.

Referenced by GetRILISPattern(), and ReadSettings().

◆ laser_sfp

unsigned int MiniballSettings::laser_sfp

Location of the RILIS laser signal in the FEBEX system (sfp)

Definition at line 443 of file Settings.hh.

Referenced by GetRILISSfp(), and ReadSettings().

◆ madc_mod_offset

unsigned int MiniballSettings::madc_mod_offset

module number offset for the MADCs

Definition at line 327 of file Settings.hh.

Referenced by GetMesytecAdcModuleNumber(), and ReadSettings().

◆ madc_ts_units

double MiniballSettings::madc_ts_units

Definition at line 478 of file Settings.hh.

Referenced by GetMesytecAdcTimestampUnits(), and ReadSettings().

◆ mb_board

std::vector<std::vector<std::vector<unsigned int> > > MiniballSettings::mb_board

A list of board numbers for each MB cluster, crystal and segment.

Definition at line 347 of file Settings.hh.

Referenced by ReadSettings().

◆ mb_ch

std::vector<std::vector<std::vector<unsigned int> > > MiniballSettings::mb_ch

A list of channel numbers for each MB cluster, crystal and segment.

Definition at line 349 of file Settings.hh.

Referenced by ReadSettings().

◆ mb_cluster

std::vector<std::vector<std::vector<int> > > MiniballSettings::mb_cluster

A channel map for the Miniball cluster IDs (-1 if not Miniball)

Definition at line 351 of file Settings.hh.

Referenced by GetMiniballCluster(), GetMiniballCluster(), IsMiniball(), IsMiniball(), and ReadSettings().

◆ mb_crystal

std::vector<std::vector<std::vector<int> > > MiniballSettings::mb_crystal

A channel map for the Miniball crystal IDs (-1 if not Miniball)

Definition at line 352 of file Settings.hh.

Referenced by GetMiniballCrystal(), GetMiniballCrystal(), and ReadSettings().

◆ mb_dgf

std::vector<std::vector<std::vector<unsigned int> > > MiniballSettings::mb_dgf

A list of DGF module numbers for each MB cluster, crystal and segment.

Definition at line 348 of file Settings.hh.

Referenced by ReadSettings().

◆ mb_hit_window

double MiniballSettings::mb_hit_window

Prompt time for correlated Miniball events in crystal, i.e. segmen-core events.

Definition at line 454 of file Settings.hh.

Referenced by GetMiniballCrystalHitWindow(), and ReadSettings().

◆ mb_segment

std::vector<std::vector<std::vector<int> > > MiniballSettings::mb_segment

A channel map for the Miniball segment IDs (-1 if not Miniball)

Definition at line 353 of file Settings.hh.

Referenced by GetMiniballSegment(), GetMiniballSegment(), and ReadSettings().

◆ mb_sfp

std::vector<std::vector<std::vector<unsigned int> > > MiniballSettings::mb_sfp

A list of SFP numbers for each MB cluster, crystal and segment.

Definition at line 346 of file Settings.hh.

Referenced by ReadSettings().

◆ mb_veto

std::vector<std::vector<std::vector<bool> > > MiniballSettings::mb_veto

A boolean to check if we need to veto any segments.

Definition at line 350 of file Settings.hh.

Referenced by IsMiniballSegmentVetoed(), and ReadSettings().

◆ mbs_event_sort

bool MiniballSettings::mbs_event_sort

Flag to define if we sort MBS data by readout event (true), or by global time (false)

Definition at line 451 of file Settings.hh.

Referenced by GetMbsEventMode(), ReadSettings(), and SetMbsEventMode().

◆ n_bd_det

unsigned int MiniballSettings::n_bd_det

Number of beam dump detectors.

Definition at line 382 of file Settings.hh.

Referenced by GetNumberOfBeamDumpDetectors(), and ReadSettings().

◆ n_caen_ch

unsigned int MiniballSettings::n_caen_ch

Number of CAENADC channels.

Definition at line 323 of file Settings.hh.

Referenced by GetMaximumNumberOfAdcChannels(), GetNumberOfCaenAdcChannels(), and ReadSettings().

◆ n_caen_mod

unsigned int MiniballSettings::n_caen_mod

Number of CAEN ADC modules.

Definition at line 322 of file Settings.hh.

Referenced by GetCaenAdcModuleNumber(), GetNumberOfAdcModules(), GetNumberOfCaenAdcModules(), and ReadSettings().

◆ n_cd_det

unsigned int MiniballSettings::n_cd_det

Number of CD detectors (just 1 for Coulex)

Definition at line 356 of file Settings.hh.

Referenced by GetNumberOfCDDetectors(), and ReadSettings().

◆ n_cd_nstrip

unsigned int MiniballSettings::n_cd_nstrip

number of n-side strips

Definition at line 360 of file Settings.hh.

Referenced by GetNumberOfCDNStrips(), and ReadSettings().

◆ n_cd_pstrip

unsigned int MiniballSettings::n_cd_pstrip

number of p-side strips

Definition at line 359 of file Settings.hh.

Referenced by GetNumberOfCDPStrips(), and ReadSettings().

◆ n_cd_sector

unsigned int MiniballSettings::n_cd_sector

number of sectors in the CD (or quadrants, it's 4)

Definition at line 357 of file Settings.hh.

Referenced by GetNumberOfCDSectors(), and ReadSettings().

◆ n_cd_side

unsigned int MiniballSettings::n_cd_side

number of sides, it's always 2, i.e. p-side and n-side

Definition at line 358 of file Settings.hh.

Referenced by GetNumberOfCDSides(), and ReadSettings().

◆ n_dgf_ch

unsigned int MiniballSettings::n_dgf_ch

Number of DGF channels.

Definition at line 319 of file Settings.hh.

Referenced by GetBeamDumpDetector(), GetMiniballID(), GetNumberOfDgfChannels(), IsMiniball(), and ReadSettings().

◆ n_dgf_mod

unsigned int MiniballSettings::n_dgf_mod

Number of DGF modules.

Definition at line 317 of file Settings.hh.

Referenced by GetBeamDumpDetector(), GetDgfModuleNumber(), GetMiniballID(), GetNumberOfDgfModules(), IsMiniball(), and ReadSettings().

◆ n_dgf_ts_mod

unsigned int MiniballSettings::n_dgf_ts_mod

Number of DGF timestamp modules (subset of n_dgf_mod)

Definition at line 318 of file Settings.hh.

Referenced by GetNumberOfDgfTimestampModules(), IsTimestampModule(), and ReadSettings().

◆ n_febex_board

unsigned int MiniballSettings::n_febex_board

◆ n_febex_ch

unsigned int MiniballSettings::n_febex_ch

◆ n_febex_sfp

ClassDef ( MiniballSettings, 3 ) private unsigned int MiniballSettings::n_febex_sfp

◆ n_ic_layer

unsigned int MiniballSettings::n_ic_layer

Number of IonChamber layers, usually 2, dE (gas) and E (Si)

Definition at line 402 of file Settings.hh.

Referenced by GetNumberOfIonChamberLayers(), and ReadSettings().

◆ n_madc_ch

unsigned int MiniballSettings::n_madc_ch

Number of Mesytec ADC channels.

Definition at line 326 of file Settings.hh.

Referenced by GetMaximumNumberOfAdcChannels(), GetNumberOfMesytecAdcChannels(), and ReadSettings().

◆ n_madc_mod

unsigned int MiniballSettings::n_madc_mod

Number of Mesytec ADC modules.

Definition at line 325 of file Settings.hh.

Referenced by GetMesytecAdcModuleNumber(), GetNumberOfAdcModules(), GetNumberOfMesytecAdcModules(), and ReadSettings().

◆ n_mb_cluster

unsigned int MiniballSettings::n_mb_cluster

Miniball usuall has 8 triple cluster detectors.

Definition at line 341 of file Settings.hh.

Referenced by GetNumberOfMiniballClusters(), IsMiniballSegmentVetoed(), and ReadSettings().

◆ n_mb_crystal

unsigned int MiniballSettings::n_mb_crystal

Number of crystals in a triple cluster is 3.

Definition at line 342 of file Settings.hh.

Referenced by GetNumberOfMiniballCrystals(), IsMiniballSegmentVetoed(), and ReadSettings().

◆ n_mb_segment

unsigned int MiniballSettings::n_mb_segment

Number of sgements in a crystal is 7, including core = 0.

Definition at line 343 of file Settings.hh.

Referenced by GetNumberOfMiniballSegments(), IsMiniballSegmentVetoed(), and ReadSettings().

◆ n_pattern_unit

unsigned int MiniballSettings::n_pattern_unit

Number of pattern unit modules.

Definition at line 328 of file Settings.hh.

Referenced by GetNumberOfPatternUnits(), GetPatternUnitNumber(), and ReadSettings().

◆ n_pulsers

unsigned int MiniballSettings::n_pulsers

Number of pulser inputs for synchronisation tests.

Definition at line 413 of file Settings.hh.

Referenced by GetNumberOfPulsers(), and ReadSettings().

◆ n_scaler_unit

unsigned int MiniballSettings::n_scaler_unit

Number of scaler unit modules.

Definition at line 330 of file Settings.hh.

Referenced by GetNumberOfScalerUnits(), GetScalerUnitNumber(), and ReadSettings().

◆ n_spede_seg

unsigned int MiniballSettings::n_spede_seg

Number of SPEDE segments, usually 24.

Definition at line 392 of file Settings.hh.

Referenced by GetNumberOfSpedeSegments(), and ReadSettings().

◆ pad_adc

std::vector<std::vector<unsigned int> > MiniballSettings::pad_adc

A list of ADC module numbers for each PAD detector.

Definition at line 375 of file Settings.hh.

Referenced by ReadSettings().

◆ pad_board

std::vector<std::vector<unsigned int> > MiniballSettings::pad_board

A list of board numbers for each PAD detector.

Definition at line 374 of file Settings.hh.

Referenced by ReadSettings().

◆ pad_ch

std::vector<std::vector<unsigned int> > MiniballSettings::pad_ch

A list of channel numbers for each PAD detector.

Definition at line 376 of file Settings.hh.

Referenced by ReadSettings().

◆ pad_det

std::vector<std::vector<std::vector<int> > > MiniballSettings::pad_det

A channel map for the PAD detectors (-1 if not a PAD, 0 forward CD-PAD, 1 backward CD-PAD)

Definition at line 377 of file Settings.hh.

Referenced by GetPadDetector(), GetPadDetector(), IsPad(), IsPad(), and ReadSettings().

◆ pad_hit_window

double MiniballSettings::pad_hit_window

Prompt time for correlated CD-Pad events.

Definition at line 457 of file Settings.hh.

Referenced by GetPadHitWindow(), and ReadSettings().

◆ pad_sector

std::vector<std::vector<std::vector<int> > > MiniballSettings::pad_sector

A channel map for the PAD sectors (-1 if not a PAD, 0-3 for quadrants)

Definition at line 378 of file Settings.hh.

Referenced by GetPadSector(), GetPadSector(), and ReadSettings().

◆ pad_sfp

std::vector<std::vector<unsigned int> > MiniballSettings::pad_sfp

A list of SFP numbers for each PAD detector.

Definition at line 373 of file Settings.hh.

Referenced by ReadSettings().

◆ pattern_unit_offset

unsigned int MiniballSettings::pattern_unit_offset

module number offset for the pattern units

Definition at line 329 of file Settings.hh.

Referenced by GetPatternUnitNumber(), and ReadSettings().

◆ pattern_vme_first

unsigned int MiniballSettings::pattern_vme_first

Definition at line 337 of file Settings.hh.

Referenced by CheckVmeModuleIsPattern(), and ReadSettings().

◆ pattern_vme_last

unsigned int MiniballSettings::pattern_vme_last

Marabou IDs for pattern unit modules.

Definition at line 337 of file Settings.hh.

Referenced by CheckVmeModuleIsPattern(), and ReadSettings().

◆ pause_code

unsigned int MiniballSettings::pause_code

Info code when acquisition has paused due to a full buffer.

Definition at line 425 of file Settings.hh.

Referenced by GetPauseCode(), and ReadSettings().

◆ pileup_reject

bool MiniballSettings::pileup_reject

reject events where the pileup flag is set by the MWD firmware

Definition at line 465 of file Settings.hh.

Referenced by GetPileupRejection(), and ReadSettings().

◆ pulser

std::vector<std::vector<std::vector<int> > > MiniballSettings::pulser

A channel map for the pulser inputs.

Definition at line 417 of file Settings.hh.

Referenced by GetPulser(), and ReadSettings().

◆ pulser_board

std::vector<unsigned int> MiniballSettings::pulser_board

A list of board numbers for each pulser.

Definition at line 415 of file Settings.hh.

Referenced by ReadSettings().

◆ pulser_ch

std::vector<unsigned int> MiniballSettings::pulser_ch

A list of channel numbers for each pulser.

Definition at line 416 of file Settings.hh.

Referenced by ReadSettings().

◆ pulser_code

unsigned int MiniballSettings::pulser_code

Info code when we have a pulser event in InfoData packets.

Definition at line 427 of file Settings.hh.

Referenced by GetPulserCode(), and ReadSettings().

◆ pulser_sfp

std::vector<unsigned int> MiniballSettings::pulser_sfp

A list of SFP numbers for each pulser.

Definition at line 414 of file Settings.hh.

Referenced by ReadSettings().

◆ resume_code

unsigned int MiniballSettings::resume_code

Info code when acquisition has resumed after a pause.

Definition at line 426 of file Settings.hh.

Referenced by GetResumeCode(), and ReadSettings().

◆ sc_board

unsigned int MiniballSettings::sc_board

Location of the SuperCycle signal in the FEBEX system (board)

Definition at line 440 of file Settings.hh.

Referenced by GetSCBoard(), and ReadSettings().

◆ sc_ch

unsigned int MiniballSettings::sc_ch

Location of the SuperCycle signal in the FEBEX system (channel)

Definition at line 441 of file Settings.hh.

Referenced by GetSCChannel(), and ReadSettings().

◆ sc_code

unsigned int MiniballSettings::sc_code

Info code when we have a SuperCycle event in InfoData packets.

Definition at line 442 of file Settings.hh.

Referenced by GetSCCode(), and ReadSettings().

◆ sc_dgf

unsigned int MiniballSettings::sc_dgf

Location of the SuperCycle signal in the DGF system (module)

Definition at line 439 of file Settings.hh.

Referenced by GetSCDgf(), and ReadSettings().

◆ sc_sfp

unsigned int MiniballSettings::sc_sfp

Location of the SuperCycle signal in the FEBEX system (sfp)

Definition at line 438 of file Settings.hh.

Referenced by GetSCSfp(), and ReadSettings().

◆ scaler_unit_offset

unsigned int MiniballSettings::scaler_unit_offset

module number offset for the scaler units

Definition at line 331 of file Settings.hh.

Referenced by GetScalerUnitNumber(), and ReadSettings().

◆ scaler_vme_first

unsigned int MiniballSettings::scaler_vme_first

Definition at line 336 of file Settings.hh.

Referenced by CheckVmeModuleIsScaler(), and ReadSettings().

◆ scaler_vme_last

unsigned int MiniballSettings::scaler_vme_last

Marabou IDs for scaler modules.

Definition at line 336 of file Settings.hh.

Referenced by CheckVmeModuleIsScaler(), and ReadSettings().

◆ spede_board

std::vector<unsigned int> MiniballSettings::spede_board

A list of board numbers for each SPEDE segment.

Definition at line 396 of file Settings.hh.

Referenced by ReadSettings().

◆ spede_ch

std::vector<unsigned int> MiniballSettings::spede_ch

A list of channel numbers for each SPEDE segment.

Definition at line 398 of file Settings.hh.

Referenced by ReadSettings().

◆ spede_dgf

std::vector<unsigned int> MiniballSettings::spede_dgf

A list of DGF module numbers for each SPEDE segment.

Definition at line 397 of file Settings.hh.

◆ spede_seg

std::vector<std::vector<std::vector<int> > > MiniballSettings::spede_seg

A channel map for the SPEDE segments (-1 if not a SPEDE, otherwise segment number)

Definition at line 399 of file Settings.hh.

Referenced by GetSpedeSegment(), and ReadSettings().

◆ spede_sfp

std::vector<unsigned int> MiniballSettings::spede_sfp

A list of SFP numbers for each SPEDE segment.

Definition at line 395 of file Settings.hh.

Referenced by ReadSettings().

◆ sync_hsb_code

unsigned int MiniballSettings::sync_hsb_code

Sync pulse code from Exploder (hsb)

Definition at line 422 of file Settings.hh.

Referenced by GetHsbSyncCode(), and ReadSettings().

◆ sync_msb_code

unsigned int MiniballSettings::sync_msb_code

Sync pulse code from Exploder (msb)

Definition at line 421 of file Settings.hh.

Referenced by GetMsbSyncCode(), and ReadSettings().

◆ t1_board

unsigned int MiniballSettings::t1_board

Location of the T1 signal in the FEBEX system (board)

Definition at line 435 of file Settings.hh.

Referenced by GetT1Board(), and ReadSettings().

◆ t1_ch

unsigned int MiniballSettings::t1_ch

Location of the T1 signal in the FEBEX system (channel)

Definition at line 436 of file Settings.hh.

Referenced by GetT1Channel(), and ReadSettings().

◆ t1_code

unsigned int MiniballSettings::t1_code

Info code when we have a T1 event in InfoData packets.

Definition at line 437 of file Settings.hh.

Referenced by GetT1Code(), and ReadSettings().

◆ t1_dgf

unsigned int MiniballSettings::t1_dgf

Location of the T1 signal in the DGF system (module)

Definition at line 434 of file Settings.hh.

Referenced by GetT1Dgf(), and ReadSettings().

◆ t1_sfp

unsigned int MiniballSettings::t1_sfp

Location of the T1 signal in the FEBEX system (sfp)

Definition at line 433 of file Settings.hh.

Referenced by GetT1Sfp(), and ReadSettings().

◆ tm_hsb_code

unsigned int MiniballSettings::tm_hsb_code

Highest significant bits of the timestamp are here.

Definition at line 424 of file Settings.hh.

Referenced by GetHsbTimestampCode(), and ReadSettings().

◆ tm_msb_code

unsigned int MiniballSettings::tm_msb_code

Medium significant bits of the timestamp are here.

Definition at line 423 of file Settings.hh.

Referenced by GetMsbTimestampCode(), and ReadSettings().


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