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

#include <MidasConverter.hh>

Inheritance diagram for MiniballMidasConverter:
MiniballConverter

Public Member Functions

 MiniballMidasConverter (std::shared_ptr< MiniballSettings > myset)
 
 ~MiniballMidasConverter ()
 
int ConvertFile (std::string input_file_name, unsigned long start_block=0, long end_block=-1)
 
int ConvertBlock (char *input_block, long nblock)
 
bool ProcessCurrentBlock (long nblock)
 
void SetBlockHeader (char *input_header)
 
void ProcessBlockHeader (long nblock)
 
void SetBlockData (char *input_data)
 
void ProcessBlockData (long nblock)
 
bool GetFebexChanID ()
 
int ProcessTraceData (int pos)
 
void ProcessFebexData (long nblock)
 
void FinishFebexData (long nblock)
 
void ProcessInfoData (long nblock)
 
void MakeHists ()
 
void NewBuffer ()
 
void ResetHists ()
 
void MakeTree ()
 
void StartFile ()
 
void BuildMbsIndex ()
 
void SortDataVector ()
 
void SortDataMap ()
 
unsigned long long int SortTree (bool do_sort=true)
 
void SetOutput (std::string output_file_name)
 
void SetOutputDirectory (std::string output_dir)
 
void CloseOutput ()
 
void PurgeOutput ()
 
TFile * GetFile ()
 
TTree * GetTree ()
 
TTree * GetMbsInfo ()
 
TTree * GetSortedTree ()
 
void AddCalibration (std::shared_ptr< MiniballCalibration > mycal)
 
void SourceOnly ()
 
void EBISOnly ()
 
bool EBISWindow (long long int t)
 
void AddProgressBar (std::shared_ptr< TGProgressBar > myprog)
 

Static Public Member Functions

static bool TimeComparator (const std::shared_ptr< MiniballDataPackets > &lhs, const std::shared_ptr< MiniballDataPackets > &rhs)
 
static bool MapComparator (const std::pair< unsigned long, double > &lhs, const std::pair< unsigned long, double > &rhs)
 

Protected Attributes

bool flag_source
 
bool flag_ebis
 
std::stringstream sslogs
 
bool flag_febex_data0
 
bool flag_febex_data1
 
bool flag_febex_data2
 
bool flag_febex_data3
 
bool flag_febex_trace
 
bool flag_febex_info
 
unsigned long long my_good_tm_stp = 0
 
unsigned long long my_tm_stp = 0
 
unsigned long long sync_tm_stp = 0
 
long long ebis_tm_stp = 0
 
unsigned long long my_event_id
 
unsigned long my_tm_stp_lsb = 0
 
unsigned long my_tm_stp_msb = 0
 
unsigned long my_tm_stp_hsb = 0
 
unsigned long sync_tm_stp_msb = 0
 
unsigned long sync_tm_stp_hsb = 0
 
unsigned int my_info_field
 
unsigned int ebis_period = 0
 
unsigned int ebis_first = 0
 
unsigned char my_info_code
 
unsigned char my_type
 
unsigned short my_tdiff_data
 
unsigned short my_adc_data
 
unsigned short my_adc_data_lsb
 
unsigned short my_adc_data_hsb
 
unsigned int my_adc_data_int
 
unsigned char my_tag_id
 
unsigned char my_sfp_id
 
unsigned char my_board_id
 
unsigned char my_ch_id
 
unsigned char my_data_id
 
unsigned char my_trig_id
 
long my_hit_time
 
bool my_pileup
 
bool my_clip
 
bool my_flagbit
 
float my_energy
 
unsigned int nsamples
 
bool mbs_data
 
bool midas_data
 
bool med_data
 
bool buffer_full = false
 
bool buffer_part = false
 
unsigned long long qmax_default
 
std::shared_ptr< MBSInfoPacketsmbsinfo_packet = nullptr
 
std::shared_ptr< MiniballDataPacketswrite_packet = nullptr
 
std::shared_ptr< DgfDatadgf_data
 
std::shared_ptr< AdcDataadc_data
 
std::shared_ptr< FebexDatafebex_data
 
std::shared_ptr< InfoDatainfo_data
 
std::vector< std::shared_ptr< MiniballDataPackets > > data_vector
 
std::vector< std::pair< unsigned long, double > > data_map
 
std::string output_dir_name
 
TFile * output_file
 
TTree * sorted_tree
 
TTree * mbsinfo_tree
 
std::vector< unsigned long int > ctr_dgf_hit
 
std::vector< unsigned long int > ctr_madc_hit
 
std::vector< unsigned long int > ctr_caen_hit
 
std::vector< std::vector< unsigned long int > > ctr_febex_hit
 
std::vector< std::vector< unsigned long int > > ctr_febex_pause
 
std::vector< std::vector< unsigned long int > > ctr_febex_resume
 
std::vector< std::vector< unsigned long int > > ctr_febex_sync
 
unsigned long int jump_ctr
 
unsigned long int warp_ctr
 
unsigned long int mash_ctr
 
unsigned long int data_ctr
 
unsigned long int reject_ctr
 
std::vector< std::vector< TProfile * > > hfebex_hit
 
std::vector< std::vector< TProfile * > > hfebex_pause
 
std::vector< std::vector< TProfile * > > hfebex_resume
 
std::vector< std::vector< TProfile * > > hfebex_sync
 
std::vector< std::vector< TH1F * > > hdgf_qshort
 
std::vector< std::vector< TH1F * > > hdgf_cal
 
std::vector< std::vector< TH1F * > > hadc_qshort
 
std::vector< std::vector< TH1F * > > hadc_cal
 
std::vector< std::vector< std::vector< TH1F * > > > hfebex_qint
 
std::vector< std::vector< std::vector< TH1F * > > > hfebex_qshort
 
std::vector< std::vector< std::vector< TH1F * > > > hfebex_cal
 
std::vector< std::vector< std::vector< TH1F * > > > hfebex_mwd
 
TH1F * hhit_time
 
std::vector< bool > first_data
 
std::vector< long long int > tm_stp_read
 
std::vector< std::vector< long long int > > tm_stp_febex
 
std::vector< std::vector< std::vector< long long int > > > tm_stp_febex_ch
 
std::shared_ptr< MiniballSettingsset
 
std::shared_ptr< MiniballCalibrationcal
 
bool _prog_
 
std::shared_ptr< TGProgressBar > prog
 
TList * histlist
 

Private Types

enum  swap_t { SWAP_KNOWN = 1 , SWAP_WORDS = 2 , SWAP_ENDIAN = 4 }
 

Private Member Functions

UInt_t Swap32 (UInt_t datum)
 
ULong64_t SwapWords (ULong64_t datum)
 
ULong64_t Swap64 (ULong64_t datum)
 
ULong64_t GetWord (UInt_t n=0)
 

Private Attributes

Int_t swap
 
unsigned int BLOCKS_NUM = 0
 
char block_header [HEADER_SIZE]
 
char block_data [MAIN_SIZE]
 
ULong64_t word
 
UInt_t word_0
 
UInt_t word_1
 
ULong64_t * data
 
bool flag_terminator
 
Char_t header_id [8]
 
UInt_t header_sequence
 
UShort_t header_stream
 
UShort_t header_tape
 
UShort_t header_MyEndian
 
UShort_t header_DataEndian
 
UInt_t header_DataLen
 

Static Private Attributes

static const int HEADER_SIZE = 24
 
static const int DATA_BLOCK_SIZE = 0x10000
 
static const int MAIN_SIZE = DATA_BLOCK_SIZE - HEADER_SIZE
 
static const int WORD_SIZE = 5 * ( MAIN_SIZE / ( 5 * sizeof(ULong64_t) ) )
 

Detailed Description

Definition at line 10 of file MidasConverter.hh.

Member Enumeration Documentation

◆ swap_t

Enumerator
SWAP_KNOWN 
SWAP_WORDS 
SWAP_ENDIAN 

Definition at line 46 of file MidasConverter.hh.

Constructor & Destructor Documentation

◆ MiniballMidasConverter()

MiniballMidasConverter::MiniballMidasConverter ( std::shared_ptr< MiniballSettings > myset)
inline

Definition at line 14 of file MidasConverter.hh.

◆ ~MiniballMidasConverter()

MiniballMidasConverter::~MiniballMidasConverter ( )
inline

Definition at line 20 of file MidasConverter.hh.

Member Function Documentation

◆ AddCalibration()

void MiniballConverter::AddCalibration ( std::shared_ptr< MiniballCalibration > mycal)
inlineinherited

Definition at line 79 of file Converter.hh.

Referenced by do_convert(), and MiniballGUI::gui_convert().

◆ AddProgressBar()

void MiniballConverter::AddProgressBar ( std::shared_ptr< TGProgressBar > myprog)
inlineinherited

Definition at line 92 of file Converter.hh.

Referenced by MiniballGUI::gui_convert().

◆ BuildMbsIndex()

void MiniballConverter::BuildMbsIndex ( )
inherited

Definition at line 452 of file Converter.cc.

Referenced by do_convert(), and MiniballGUI::gui_convert().

◆ CloseOutput()

void MiniballConverter::CloseOutput ( )
inlineinherited

Definition at line 65 of file Converter.hh.

Referenced by do_convert(), and MiniballGUI::gui_convert().

◆ ConvertBlock()

int MiniballMidasConverter::ConvertBlock ( char * input_block,
long nblock )

Definition at line 892 of file MidasConverter.cc.

◆ ConvertFile()

int MiniballMidasConverter::ConvertFile ( std::string input_file_name,
unsigned long start_block = 0,
long end_block = -1 )

Definition at line 908 of file MidasConverter.cc.

Referenced by do_convert(), and MiniballGUI::gui_convert().

◆ EBISOnly()

void MiniballConverter::EBISOnly ( )
inlineinherited

Definition at line 81 of file Converter.hh.

Referenced by do_convert(), and MiniballGUI::gui_convert().

◆ EBISWindow()

bool MiniballConverter::EBISWindow ( long long int t)
inlineinherited

Definition at line 82 of file Converter.hh.

Referenced by FinishFebexData().

◆ FinishFebexData()

void MiniballMidasConverter::FinishFebexData ( long nblock)

Definition at line 421 of file MidasConverter.cc.

Referenced by ProcessBlockData(), and ProcessFebexData().

◆ GetFebexChanID()

bool MiniballMidasConverter::GetFebexChanID ( )

Definition at line 176 of file MidasConverter.cc.

Referenced by ProcessFebexData(), and ProcessTraceData().

◆ GetFile()

TFile * MiniballConverter::GetFile ( )
inlineinherited

Definition at line 74 of file Converter.hh.

◆ GetMbsInfo()

TTree * MiniballConverter::GetMbsInfo ( )
inlineinherited

Definition at line 76 of file Converter.hh.

◆ GetSortedTree()

TTree * MiniballConverter::GetSortedTree ( )
inlineinherited

Definition at line 77 of file Converter.hh.

Referenced by MiniballConverter::GetTree().

◆ GetTree()

TTree * MiniballConverter::GetTree ( )
inlineinherited

Definition at line 75 of file Converter.hh.

◆ GetWord()

ULong64_t MiniballMidasConverter::GetWord ( UInt_t n = 0)
inlineprivate

Definition at line 82 of file MidasConverter.hh.

Referenced by ProcessBlockData(), and ProcessTraceData().

◆ MakeHists()

void MiniballConverter::MakeHists ( )
inherited

Definition at line 150 of file Converter.cc.

Referenced by do_convert(), and MiniballGUI::gui_convert().

◆ MakeTree()

void MiniballConverter::MakeTree ( )
inherited

Definition at line 121 of file Converter.cc.

Referenced by do_convert(), and MiniballGUI::gui_convert().

◆ MapComparator()

bool MiniballConverter::MapComparator ( const std::pair< unsigned long, double > & lhs,
const std::pair< unsigned long, double > & rhs )
staticinherited

Definition at line 468 of file Converter.cc.

Referenced by MiniballConverter::SortDataMap().

◆ NewBuffer()

void MiniballConverter::NewBuffer ( )
inherited

Definition at line 54 of file Converter.cc.

Referenced by ProcessBlockData().

◆ ProcessBlockData()

void MiniballMidasConverter::ProcessBlockData ( long nblock)

Definition at line 69 of file MidasConverter.cc.

Referenced by ProcessCurrentBlock().

◆ ProcessBlockHeader()

void MiniballMidasConverter::ProcessBlockHeader ( long nblock)

Definition at line 16 of file MidasConverter.cc.

Referenced by ProcessCurrentBlock().

◆ ProcessCurrentBlock()

bool MiniballMidasConverter::ProcessCurrentBlock ( long nblock)

Definition at line 865 of file MidasConverter.cc.

Referenced by ConvertBlock(), and ConvertFile().

◆ ProcessFebexData()

void MiniballMidasConverter::ProcessFebexData ( long nblock)

Definition at line 292 of file MidasConverter.cc.

Referenced by ProcessBlockData().

◆ ProcessInfoData()

void MiniballMidasConverter::ProcessInfoData ( long nblock)

Definition at line 715 of file MidasConverter.cc.

Referenced by ProcessBlockData().

◆ ProcessTraceData()

int MiniballMidasConverter::ProcessTraceData ( int pos)

Definition at line 211 of file MidasConverter.cc.

Referenced by ProcessBlockData().

◆ PurgeOutput()

void MiniballConverter::PurgeOutput ( )
inlineinherited

Definition at line 71 of file Converter.hh.

Referenced by MiniballConverter::CloseOutput().

◆ ResetHists()

void MiniballConverter::ResetHists ( )
inherited

Definition at line 437 of file Converter.cc.

◆ SetBlockData()

void MiniballMidasConverter::SetBlockData ( char * input_data)

Definition at line 57 of file MidasConverter.cc.

◆ SetBlockHeader()

void MiniballMidasConverter::SetBlockHeader ( char * input_header)

Definition at line 5 of file MidasConverter.cc.

◆ SetOutput()

void MiniballConverter::SetOutput ( std::string output_file_name)
inherited

Definition at line 111 of file Converter.cc.

Referenced by do_convert(), and MiniballGUI::gui_convert().

◆ SetOutputDirectory()

void MiniballConverter::SetOutputDirectory ( std::string output_dir)
inlineinherited

Definition at line 63 of file Converter.hh.

◆ SortDataMap()

void MiniballConverter::SortDataMap ( )
inherited

Definition at line 482 of file Converter.cc.

Referenced by MiniballConverter::SortTree().

◆ SortDataVector()

void MiniballConverter::SortDataVector ( )
inherited

Definition at line 475 of file Converter.cc.

◆ SortTree()

unsigned long long int MiniballConverter::SortTree ( bool do_sort = true)
inherited

Definition at line 489 of file Converter.cc.

Referenced by do_convert(), and MiniballGUI::gui_convert().

◆ SourceOnly()

void MiniballConverter::SourceOnly ( )
inlineinherited

Definition at line 80 of file Converter.hh.

Referenced by do_convert(), and MiniballGUI::gui_convert().

◆ StartFile()

void MiniballConverter::StartFile ( )
inherited

◆ Swap32()

UInt_t MiniballMidasConverter::Swap32 ( UInt_t datum)
inlineprivate

Definition at line 54 of file MidasConverter.hh.

◆ Swap64()

ULong64_t MiniballMidasConverter::Swap64 ( ULong64_t datum)
inlineprivate

Definition at line 70 of file MidasConverter.hh.

Referenced by GetWord(), and ProcessBlockData().

◆ SwapWords()

ULong64_t MiniballMidasConverter::SwapWords ( ULong64_t datum)
inlineprivate

Definition at line 63 of file MidasConverter.hh.

Referenced by GetWord().

◆ TimeComparator()

bool MiniballConverter::TimeComparator ( const std::shared_ptr< MiniballDataPackets > & lhs,
const std::shared_ptr< MiniballDataPackets > & rhs )
staticinherited

Definition at line 461 of file Converter.cc.

Referenced by MiniballConverter::SortDataVector().

Member Data Documentation

◆ _prog_

◆ adc_data

std::shared_ptr<AdcData> MiniballConverter::adc_data
protectedinherited

◆ block_data

char MiniballMidasConverter::block_data[MAIN_SIZE]
private

Definition at line 105 of file MidasConverter.hh.

Referenced by ConvertBlock(), ConvertFile(), ProcessCurrentBlock(), and SetBlockData().

◆ block_header

char MiniballMidasConverter::block_header[HEADER_SIZE]
private

Definition at line 104 of file MidasConverter.hh.

Referenced by ConvertBlock(), ConvertFile(), ProcessBlockHeader(), and SetBlockHeader().

◆ BLOCKS_NUM

unsigned int MiniballMidasConverter::BLOCKS_NUM = 0
private

Definition at line 101 of file MidasConverter.hh.

Referenced by ConvertFile().

◆ buffer_full

bool MiniballConverter::buffer_full = false
protectedinherited

Definition at line 155 of file Converter.hh.

Referenced by ProcessBlockData(), and MiniballConverter::StartFile().

◆ buffer_part

bool MiniballConverter::buffer_part = false
protectedinherited

Definition at line 156 of file Converter.hh.

Referenced by ProcessBlockData().

◆ cal

◆ ctr_caen_hit

std::vector<unsigned long int> MiniballConverter::ctr_caen_hit
protectedinherited

Definition at line 182 of file Converter.hh.

◆ ctr_dgf_hit

std::vector<unsigned long int> MiniballConverter::ctr_dgf_hit
protectedinherited

Definition at line 180 of file Converter.hh.

◆ ctr_febex_hit

std::vector<std::vector<unsigned long int> > MiniballConverter::ctr_febex_hit
protectedinherited

◆ ctr_febex_pause

std::vector<std::vector<unsigned long int> > MiniballConverter::ctr_febex_pause
protectedinherited

◆ ctr_febex_resume

std::vector<std::vector<unsigned long int> > MiniballConverter::ctr_febex_resume
protectedinherited

◆ ctr_febex_sync

std::vector<std::vector<unsigned long int> > MiniballConverter::ctr_febex_sync
protectedinherited

◆ ctr_madc_hit

std::vector<unsigned long int> MiniballConverter::ctr_madc_hit
protectedinherited

Definition at line 181 of file Converter.hh.

◆ data

ULong64_t* MiniballMidasConverter::data
private

Definition at line 115 of file MidasConverter.hh.

Referenced by GetWord(), ProcessBlockData(), and ProcessCurrentBlock().

◆ DATA_BLOCK_SIZE

const int MiniballMidasConverter::DATA_BLOCK_SIZE = 0x10000
staticprivate

Definition at line 98 of file MidasConverter.hh.

Referenced by ConvertFile().

◆ data_ctr

unsigned long int MiniballConverter::data_ctr
protectedinherited

Definition at line 188 of file Converter.hh.

Referenced by ConvertFile(), FinishFebexData(), and MiniballConverter::StartFile().

◆ data_map

◆ data_vector

◆ dgf_data

std::shared_ptr<DgfData> MiniballConverter::dgf_data
protectedinherited

◆ ebis_first

unsigned int MiniballConverter::ebis_first = 0
protectedinherited

Definition at line 128 of file Converter.hh.

Referenced by FinishFebexData().

◆ ebis_period

unsigned int MiniballConverter::ebis_period = 0
protectedinherited

Definition at line 127 of file Converter.hh.

Referenced by MiniballConverter::EBISWindow(), and FinishFebexData().

◆ ebis_tm_stp

long long MiniballConverter::ebis_tm_stp = 0
protectedinherited

Definition at line 119 of file Converter.hh.

Referenced by MiniballConverter::EBISWindow(), and FinishFebexData().

◆ febex_data

std::shared_ptr<FebexData> MiniballConverter::febex_data
protectedinherited

◆ first_data

std::vector<bool> MiniballConverter::first_data
protectedinherited

◆ flag_ebis

bool MiniballConverter::flag_ebis
protectedinherited

◆ flag_febex_data0

bool MiniballConverter::flag_febex_data0
protectedinherited

◆ flag_febex_data1

bool MiniballConverter::flag_febex_data1
protectedinherited

◆ flag_febex_data2

bool MiniballConverter::flag_febex_data2
protectedinherited

◆ flag_febex_data3

bool MiniballConverter::flag_febex_data3
protectedinherited

◆ flag_febex_info

bool MiniballConverter::flag_febex_info
protectedinherited

Definition at line 113 of file Converter.hh.

Referenced by MiniballMbsConverter::FinishFebexData(), and FinishFebexData().

◆ flag_febex_trace

bool MiniballConverter::flag_febex_trace
protectedinherited

◆ flag_source

◆ flag_terminator

bool MiniballMidasConverter::flag_terminator
private

Definition at line 120 of file MidasConverter.hh.

Referenced by ProcessBlockHeader().

◆ hadc_cal

std::vector<std::vector<TH1F*> > MiniballConverter::hadc_cal
protectedinherited

◆ hadc_qshort

std::vector<std::vector<TH1F*> > MiniballConverter::hadc_qshort
protectedinherited

◆ hdgf_cal

std::vector<std::vector<TH1F*> > MiniballConverter::hdgf_cal
protectedinherited

◆ hdgf_qshort

std::vector<std::vector<TH1F*> > MiniballConverter::hdgf_qshort
protectedinherited

◆ header_DataEndian

UShort_t MiniballMidasConverter::header_DataEndian
private

Definition at line 128 of file MidasConverter.hh.

Referenced by ProcessBlockData(), and ProcessBlockHeader().

◆ header_DataLen

UInt_t MiniballMidasConverter::header_DataLen
private

Definition at line 129 of file MidasConverter.hh.

Referenced by ProcessBlockData(), and ProcessBlockHeader().

◆ header_id

Char_t MiniballMidasConverter::header_id[8]
private

Definition at line 123 of file MidasConverter.hh.

Referenced by ProcessBlockHeader().

◆ header_MyEndian

UShort_t MiniballMidasConverter::header_MyEndian
private

Definition at line 127 of file MidasConverter.hh.

Referenced by ProcessBlockHeader().

◆ header_sequence

UInt_t MiniballMidasConverter::header_sequence
private

Definition at line 124 of file MidasConverter.hh.

Referenced by ProcessBlockHeader().

◆ HEADER_SIZE

const int MiniballMidasConverter::HEADER_SIZE = 24
staticprivate

Definition at line 97 of file MidasConverter.hh.

Referenced by ConvertBlock(), ConvertFile(), and SetBlockHeader().

◆ header_stream

UShort_t MiniballMidasConverter::header_stream
private

Definition at line 125 of file MidasConverter.hh.

Referenced by ProcessBlockHeader().

◆ header_tape

UShort_t MiniballMidasConverter::header_tape
private

Definition at line 126 of file MidasConverter.hh.

Referenced by ProcessBlockHeader().

◆ hfebex_cal

std::vector<std::vector<std::vector<TH1F*> > > MiniballConverter::hfebex_cal
protectedinherited

◆ hfebex_hit

std::vector<std::vector<TProfile*> > MiniballConverter::hfebex_hit
protectedinherited

◆ hfebex_mwd

std::vector<std::vector<std::vector<TH1F*> > > MiniballConverter::hfebex_mwd
protectedinherited

◆ hfebex_pause

std::vector<std::vector<TProfile*> > MiniballConverter::hfebex_pause
protectedinherited

Definition at line 194 of file Converter.hh.

Referenced by MiniballConverter::MakeHists(), and ProcessInfoData().

◆ hfebex_qint

std::vector<std::vector<std::vector<TH1F*> > > MiniballConverter::hfebex_qint
protectedinherited

◆ hfebex_qshort

std::vector<std::vector<std::vector<TH1F*> > > MiniballConverter::hfebex_qshort
protectedinherited

Definition at line 203 of file Converter.hh.

Referenced by FinishFebexData(), and MiniballConverter::MakeHists().

◆ hfebex_resume

std::vector<std::vector<TProfile*> > MiniballConverter::hfebex_resume
protectedinherited

Definition at line 195 of file Converter.hh.

Referenced by MiniballConverter::MakeHists(), and ProcessInfoData().

◆ hfebex_sync

std::vector<std::vector<TProfile*> > MiniballConverter::hfebex_sync
protectedinherited

Definition at line 196 of file Converter.hh.

Referenced by MiniballConverter::MakeHists(), and ProcessInfoData().

◆ hhit_time

TH1F* MiniballConverter::hhit_time
protectedinherited

◆ histlist

TList* MiniballConverter::histlist
protectedinherited

◆ info_data

std::shared_ptr<InfoData> MiniballConverter::info_data
protectedinherited

◆ jump_ctr

unsigned long int MiniballConverter::jump_ctr
protectedinherited

Definition at line 187 of file Converter.hh.

Referenced by ConvertFile(), FinishFebexData(), and MiniballConverter::StartFile().

◆ MAIN_SIZE

const int MiniballMidasConverter::MAIN_SIZE = DATA_BLOCK_SIZE - HEADER_SIZE
staticprivate

Definition at line 99 of file MidasConverter.hh.

Referenced by ConvertBlock(), ConvertFile(), and SetBlockData().

◆ mash_ctr

unsigned long int MiniballConverter::mash_ctr
protectedinherited

Definition at line 187 of file Converter.hh.

Referenced by ConvertFile(), FinishFebexData(), and MiniballConverter::StartFile().

◆ mbs_data

bool MiniballConverter::mbs_data
protectedinherited

◆ mbsinfo_packet

◆ mbsinfo_tree

◆ med_data

bool MiniballConverter::med_data
protectedinherited

◆ midas_data

bool MiniballConverter::midas_data
protectedinherited

◆ my_adc_data

unsigned short MiniballConverter::my_adc_data
protectedinherited

Definition at line 132 of file Converter.hh.

Referenced by ProcessFebexData().

◆ my_adc_data_hsb

unsigned short MiniballConverter::my_adc_data_hsb
protectedinherited

Definition at line 134 of file Converter.hh.

Referenced by FinishFebexData(), and ProcessFebexData().

◆ my_adc_data_int

unsigned int MiniballConverter::my_adc_data_int
protectedinherited

Definition at line 135 of file Converter.hh.

Referenced by FinishFebexData(), and MiniballMbsConverter::ProcessFebexData().

◆ my_adc_data_lsb

unsigned short MiniballConverter::my_adc_data_lsb
protectedinherited

Definition at line 133 of file Converter.hh.

Referenced by FinishFebexData(), and ProcessFebexData().

◆ my_board_id

unsigned char MiniballConverter::my_board_id
protectedinherited

◆ my_ch_id

unsigned char MiniballConverter::my_ch_id
protectedinherited

◆ my_clip

bool MiniballConverter::my_clip
protectedinherited

Definition at line 144 of file Converter.hh.

Referenced by ProcessFebexData().

◆ my_data_id

unsigned char MiniballConverter::my_data_id
protectedinherited

Definition at line 140 of file Converter.hh.

Referenced by GetFebexChanID(), and ProcessFebexData().

◆ my_energy

float MiniballConverter::my_energy
protectedinherited

Definition at line 146 of file Converter.hh.

Referenced by MiniballMbsConverter::FinishFebexData(), and FinishFebexData().

◆ my_event_id

◆ my_flagbit

bool MiniballConverter::my_flagbit
protectedinherited

Definition at line 145 of file Converter.hh.

Referenced by ProcessFebexData(), ProcessInfoData(), and ProcessTraceData().

◆ my_good_tm_stp

unsigned long long MiniballConverter::my_good_tm_stp = 0
protectedinherited

◆ my_hit_time

long MiniballConverter::my_hit_time
protectedinherited

Definition at line 142 of file Converter.hh.

Referenced by MiniballMbsConverter::ProcessFebexData().

◆ my_info_code

unsigned char MiniballConverter::my_info_code
protectedinherited

◆ my_info_field

unsigned int MiniballConverter::my_info_field
protectedinherited

Definition at line 126 of file Converter.hh.

Referenced by ProcessInfoData().

◆ my_pileup

bool MiniballConverter::my_pileup
protectedinherited

Definition at line 143 of file Converter.hh.

Referenced by ProcessFebexData().

◆ my_sfp_id

unsigned char MiniballConverter::my_sfp_id
protectedinherited

◆ my_tag_id

unsigned char MiniballConverter::my_tag_id
protectedinherited

Definition at line 136 of file Converter.hh.

Referenced by MiniballMbsConverter::GetFebexChanID().

◆ my_tdiff_data

unsigned short MiniballConverter::my_tdiff_data
protectedinherited

Definition at line 131 of file Converter.hh.

Referenced by ProcessFebexData().

◆ my_tm_stp

unsigned long long MiniballConverter::my_tm_stp = 0
protectedinherited

◆ my_tm_stp_hsb

unsigned long MiniballConverter::my_tm_stp_hsb = 0
protectedinherited

◆ my_tm_stp_lsb

unsigned long MiniballConverter::my_tm_stp_lsb = 0
protectedinherited

Definition at line 121 of file Converter.hh.

Referenced by ProcessFebexData(), ProcessInfoData(), and ProcessTraceData().

◆ my_tm_stp_msb

unsigned long MiniballConverter::my_tm_stp_msb = 0
protectedinherited

◆ my_trig_id

unsigned char MiniballConverter::my_trig_id
protectedinherited

Definition at line 141 of file Converter.hh.

Referenced by MiniballMbsConverter::GetFebexChanID().

◆ my_type

unsigned char MiniballConverter::my_type
protectedinherited

Definition at line 130 of file Converter.hh.

Referenced by ProcessBlockData().

◆ nsamples

unsigned int MiniballConverter::nsamples
protectedinherited

Definition at line 149 of file Converter.hh.

Referenced by MiniballMbsConverter::ProcessFebexData(), and ProcessTraceData().

◆ output_dir_name

std::string MiniballConverter::output_dir_name
protectedinherited

Definition at line 174 of file Converter.hh.

Referenced by MiniballConverter::SetOutputDirectory().

◆ output_file

◆ prog

std::shared_ptr<TGProgressBar> MiniballConverter::prog
protectedinherited

◆ qmax_default

unsigned long long MiniballConverter::qmax_default
protectedinherited

Definition at line 159 of file Converter.hh.

Referenced by MiniballConverter::MakeHists().

◆ reject_ctr

unsigned long int MiniballConverter::reject_ctr
protectedinherited

Definition at line 189 of file Converter.hh.

Referenced by ConvertFile(), ProcessBlockData(), and MiniballConverter::StartFile().

◆ set

◆ sorted_tree

TTree* MiniballConverter::sorted_tree
protectedinherited

◆ sslogs

std::stringstream MiniballConverter::sslogs
protectedinherited

◆ swap

Int_t MiniballMidasConverter::swap
private

Definition at line 51 of file MidasConverter.hh.

Referenced by GetWord(), ProcessBlockData(), and ProcessBlockHeader().

◆ sync_tm_stp

unsigned long long MiniballConverter::sync_tm_stp = 0
protectedinherited

Definition at line 118 of file Converter.hh.

Referenced by ProcessInfoData().

◆ sync_tm_stp_hsb

unsigned long MiniballConverter::sync_tm_stp_hsb = 0
protectedinherited

Definition at line 125 of file Converter.hh.

Referenced by ProcessInfoData().

◆ sync_tm_stp_msb

unsigned long MiniballConverter::sync_tm_stp_msb = 0
protectedinherited

Definition at line 124 of file Converter.hh.

Referenced by ProcessInfoData().

◆ tm_stp_febex

std::vector<std::vector<long long int> > MiniballConverter::tm_stp_febex
protectedinherited

◆ tm_stp_febex_ch

std::vector<std::vector<std::vector<long long int> > > MiniballConverter::tm_stp_febex_ch
protectedinherited

◆ tm_stp_read

std::vector<long long int> MiniballConverter::tm_stp_read
protectedinherited

◆ warp_ctr

unsigned long int MiniballConverter::warp_ctr
protectedinherited

Definition at line 187 of file Converter.hh.

Referenced by ConvertFile(), FinishFebexData(), and MiniballConverter::StartFile().

◆ word

ULong64_t MiniballMidasConverter::word
private

Definition at line 108 of file MidasConverter.hh.

Referenced by ProcessBlockData().

◆ word_0

UInt_t MiniballMidasConverter::word_0
private

◆ word_1

UInt_t MiniballMidasConverter::word_1
private

◆ WORD_SIZE

const int MiniballMidasConverter::WORD_SIZE = 5 * ( MAIN_SIZE / ( 5 * sizeof(ULong64_t) ) )
staticprivate

Definition at line 100 of file MidasConverter.hh.

Referenced by GetWord(), and ProcessBlockData().

◆ write_packet

std::shared_ptr<MiniballDataPackets> MiniballConverter::write_packet = nullptr
protectedinherited

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