BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnProfRawTools Class Reference

#include <BmnProfRawTools.h>

Static Public Member Functions

static constexpr const size_t ChannelCnt ()
static constexpr const size_t ChannelDigitCnt ()
static void endian_swap (uint32_t &x)
static bool data_or_trig (const uint32_t &word)
static uint32_t holdb_cntr (const uint32_t &word)
static bool trig_psd (const uint32_t &word)
static bool trig_nsd (const uint32_t &word)
static uint32_t trig_cntr (const uint32_t &word)
static bool adc_num (const bitset< 32 > &word)
static bool adc_num (const uint32_t &word)
static bool fco (const bitset< 32 > &word)
static bool fco (const uint32_t &word)
static int adc_ch (vector< bitset< 32 > > &adc_word, char channel_name)
static int adc_ch (vector< bitset< 32 > > &adc_word, size_t start_index, char channel_name)
template<typename UIntType>
static int adc_ch (UIntType *adc_word, size_t start_index, char channel_name)
template<typename UIntType>
static int adc_ch (vector< UIntType > adc_word, size_t start_index, char channel_name)
static vector< int > beam_tracker_map (vector< int > &vec, char adc_channel)
static vector< int > tracker_X1_chE (vector< int > &vec)
static vector< int > tracker_X2_chF (vector< int > &vec)
static vector< int > tracker_Y1_chH (vector< int > &vec)
static vector< int > tracker_Y2_chG (vector< int > &vec)
static vector< int > tracker_tst_sgnl (vector< int > &chE, vector< int > &chF, vector< int > &chH, vector< int > &chG)

Static Private Attributes

static const size_t ASIC_channel = 32

Detailed Description

Definition at line 15 of file BmnProfRawTools.h.

Member Function Documentation

◆ adc_ch() [1/4]

template<typename UIntType>
int BmnProfRawTools::adc_ch ( UIntType * adc_word,
size_t start_index,
char channel_name )
inlinestatic

Definition at line 89 of file BmnProfRawTools.h.

References i, and UIntType.

◆ adc_ch() [2/4]

int BmnProfRawTools::adc_ch ( vector< bitset< 32 > > & adc_word,
char channel_name )
static

Definition at line 61 of file BmnProfRawTools.cxx.

References i.

Referenced by BmnProfRaw2Digit::FillExtractedBits(), and ReorderBits().

Here is the caller graph for this function:

◆ adc_ch() [3/4]

int BmnProfRawTools::adc_ch ( vector< bitset< 32 > > & adc_word,
size_t start_index,
char channel_name )
static

Definition at line 72 of file BmnProfRawTools.cxx.

References i.

◆ adc_ch() [4/4]

template<typename UIntType>
int BmnProfRawTools::adc_ch ( vector< UIntType > adc_word,
size_t start_index,
char channel_name )
inlinestatic

Definition at line 102 of file BmnProfRawTools.h.

References i.

◆ adc_num() [1/2]

bool BmnProfRawTools::adc_num ( const bitset< 32 > & word)
static

Definition at line 41 of file BmnProfRawTools.cxx.

Referenced by BmnProfilometerSource::ProcessBuffer(), and ProcessBuffer().

Here is the caller graph for this function:

◆ adc_num() [2/2]

bool BmnProfRawTools::adc_num ( const uint32_t & word)
static

Definition at line 46 of file BmnProfRawTools.cxx.

◆ beam_tracker_map()

vector< int > BmnProfRawTools::beam_tracker_map ( vector< int > & vec,
char adc_channel )
static

Definition at line 113 of file BmnProfRawTools.cxx.

References tracker_X1_chE(), tracker_X2_chF(), tracker_Y1_chH(), and tracker_Y2_chG().

Here is the call graph for this function:

◆ ChannelCnt()

constexpr const size_t BmnProfRawTools::ChannelCnt ( )
inlinestaticconstexpr

Definition at line 18 of file BmnProfRawTools.h.

References ASIC_channel.

Referenced by BmnProfRaw2Digit::FillExtractedBits().

Here is the caller graph for this function:

◆ ChannelDigitCnt()

constexpr const size_t BmnProfRawTools::ChannelDigitCnt ( )
inlinestaticconstexpr

Definition at line 20 of file BmnProfRawTools.h.

References ASIC_channel.

Referenced by BmnProfilometerSource::ProcessBuffer().

Here is the caller graph for this function:

◆ data_or_trig()

bool BmnProfRawTools::data_or_trig ( const uint32_t & word)
static

Definition at line 16 of file BmnProfRawTools.cxx.

Referenced by BmnProfilometerSource::ProcessBuffer(), and ProcessBuffer().

Here is the caller graph for this function:

◆ endian_swap()

void BmnProfRawTools::endian_swap ( uint32_t & x)
static

Definition at line 11 of file BmnProfRawTools.cxx.

References x.

◆ fco() [1/2]

bool BmnProfRawTools::fco ( const bitset< 32 > & word)
static

Definition at line 51 of file BmnProfRawTools.cxx.

◆ fco() [2/2]

bool BmnProfRawTools::fco ( const uint32_t & word)
static

Definition at line 56 of file BmnProfRawTools.cxx.

◆ holdb_cntr()

uint32_t BmnProfRawTools::holdb_cntr ( const uint32_t & word)
static

Definition at line 21 of file BmnProfRawTools.cxx.

Referenced by BmnProfilometerSource::ProcessBuffer(), and ProcessBuffer().

Here is the caller graph for this function:

◆ tracker_tst_sgnl()

vector< int > BmnProfRawTools::tracker_tst_sgnl ( vector< int > & chE,
vector< int > & chF,
vector< int > & chH,
vector< int > & chG )
static

Definition at line 444 of file BmnProfRawTools.cxx.

◆ tracker_X1_chE()

vector< int > BmnProfRawTools::tracker_X1_chE ( vector< int > & vec)
static

Definition at line 136 of file BmnProfRawTools.cxx.

Referenced by beam_tracker_map().

Here is the caller graph for this function:

◆ tracker_X2_chF()

vector< int > BmnProfRawTools::tracker_X2_chF ( vector< int > & vec)
static

Definition at line 214 of file BmnProfRawTools.cxx.

Referenced by beam_tracker_map().

Here is the caller graph for this function:

◆ tracker_Y1_chH()

vector< int > BmnProfRawTools::tracker_Y1_chH ( vector< int > & vec)
static

Definition at line 291 of file BmnProfRawTools.cxx.

Referenced by beam_tracker_map().

Here is the caller graph for this function:

◆ tracker_Y2_chG()

vector< int > BmnProfRawTools::tracker_Y2_chG ( vector< int > & vec)
static

Definition at line 367 of file BmnProfRawTools.cxx.

Referenced by beam_tracker_map().

Here is the caller graph for this function:

◆ trig_cntr()

uint32_t BmnProfRawTools::trig_cntr ( const uint32_t & word)
static

Definition at line 36 of file BmnProfRawTools.cxx.

◆ trig_nsd()

bool BmnProfRawTools::trig_nsd ( const uint32_t & word)
static

Definition at line 31 of file BmnProfRawTools.cxx.

◆ trig_psd()

bool BmnProfRawTools::trig_psd ( const uint32_t & word)
static

Definition at line 26 of file BmnProfRawTools.cxx.

Member Data Documentation

◆ ASIC_channel

const size_t BmnProfRawTools::ASIC_channel = 32
staticprivate

Definition at line 141 of file BmnProfRawTools.h.

Referenced by ChannelCnt(), and ChannelDigitCnt().


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