BmnRoot
Loading...
Searching...
No Matches
BmnHodoRaw2Digit Class Reference

#include <BmnHodoRaw2Digit.h>

Inheritance diagram for BmnHodoRaw2Digit:
[legend]
Collaboration diagram for BmnHodoRaw2Digit:
[legend]

Public Member Functions

 BmnHodoRaw2Digit (int period, int run, const std::string &mappingFile="", const std::string &calibrationFile="")
 
 BmnHodoRaw2Digit ()
 
 ~BmnHodoRaw2Digit ()
 
TString GetName ()
 
void ParseConfig (const std::string &file)
 
void ParseCalibration (const std::string &file)
 
void ParseINLcorrections ()
 
uint32_t correctINL (uint32_t time, std::pair< size_t, size_t > key)
 
void fillEvent (TClonesArray *tdc_data, TClonesArray *adc_data, TClonesArray *Hododigit)
 
void print ()
 
digiPars GetDigiPars ()
 
auto GetChannelMap ()
 
std::optional< std::pair< float, float > > GetCalibPairFromAddress (uint32_t address)
 
std::optional< uint32_t > GetAddressFromBoard (std::pair< size_t, size_t > key)
 
 BmnHodoRaw2Digit (int period, int run, const std::string &mappingFile="", const std::string &calibrationFile="")
 
 BmnHodoRaw2Digit ()
 
 ~BmnHodoRaw2Digit ()
 
TString GetName ()
 
void ParseConfig (const std::string &file)
 
void ParseCalibration (const std::string &file)
 
void ParseINLcorrections ()
 
uint32_t correctINL (uint32_t time, std::pair< size_t, size_t > key)
 
void fillEvent (TClonesArray *tdc_data, TClonesArray *adc_data, TClonesArray *Hododigit)
 
void print ()
 
digiPars GetDigiPars ()
 
auto GetChannelMap ()
 
std::optional< std::pair< float, float > > GetCalibPairFromAddress (uint32_t address)
 
std::optional< uint32_t > GetAddressFromBoard (std::pair< size_t, size_t > key)
 
- Public Member Functions inherited from WfmProcessor
 WfmProcessor ()
 
virtual ~WfmProcessor ()
 
 WfmProcessor ()
 
virtual ~WfmProcessor ()
 

Additional Inherited Members

- Protected Member Functions inherited from WfmProcessor
void ProcessWfm (std::vector< float > &wfm, BmnDigiContainerTemplate *digi)
 
void ProcessWfm (std::vector< float > &wfm, BmnDigiContainerTemplate *digi)
 
- Protected Attributes inherited from WfmProcessor
struct WfmProcessor::digiPars fdigiPars
 
int fSignalLength
 
std::complex< float > ** fAZik
 

Detailed Description

Definition at line 22 of file BmnHodoRaw2Digit.h.

Constructor & Destructor Documentation

◆ BmnHodoRaw2Digit() [1/4]

BmnHodoRaw2Digit::BmnHodoRaw2Digit ( int  period,
int  run,
const std::string &  mappingFile = "",
const std::string &  calibrationFile = "" 
)

Definition at line 36 of file BmnHodoRaw2Digit.cxx.

References GetName(), ParseCalibration(), and ParseConfig().

◆ BmnHodoRaw2Digit() [2/4]

BmnHodoRaw2Digit::BmnHodoRaw2Digit ( )

Definition at line 24 of file BmnHodoRaw2Digit.cxx.

◆ ~BmnHodoRaw2Digit() [1/2]

BmnHodoRaw2Digit::~BmnHodoRaw2Digit ( )

Definition at line 368 of file BmnHodoRaw2Digit.cxx.

References GetName().

◆ BmnHodoRaw2Digit() [3/4]

BmnHodoRaw2Digit::BmnHodoRaw2Digit ( int  period,
int  run,
const std::string &  mappingFile = "",
const std::string &  calibrationFile = "" 
)

◆ BmnHodoRaw2Digit() [4/4]

BmnHodoRaw2Digit::BmnHodoRaw2Digit ( )

◆ ~BmnHodoRaw2Digit() [2/2]

BmnHodoRaw2Digit::~BmnHodoRaw2Digit ( )

Member Function Documentation

◆ correctINL() [1/2]

uint32_t BmnHodoRaw2Digit::correctINL ( uint32_t  time,
std::pair< size_t, size_t >  key 
)

Definition at line 228 of file BmnHodoRaw2Digit.cxx.

References GetName().

Referenced by fillEvent().

◆ correctINL() [2/2]

uint32_t BmnHodoRaw2Digit::correctINL ( uint32_t  time,
std::pair< size_t, size_t >  key 
)

◆ fillEvent() [1/2]

void BmnHodoRaw2Digit::fillEvent ( TClonesArray *  tdc_data,
TClonesArray *  adc_data,
TClonesArray *  Hododigit 
)

◆ fillEvent() [2/2]

void BmnHodoRaw2Digit::fillEvent ( TClonesArray *  tdc_data,
TClonesArray *  adc_data,
TClonesArray *  Hododigit 
)

◆ GetAddressFromBoard() [1/2]

std::optional< uint32_t > BmnHodoRaw2Digit::GetAddressFromBoard ( std::pair< size_t, size_t >  key)

Definition at line 217 of file BmnHodoRaw2Digit.cxx.

References GetName().

Referenced by fillEvent().

◆ GetAddressFromBoard() [2/2]

std::optional< uint32_t > BmnHodoRaw2Digit::GetAddressFromBoard ( std::pair< size_t, size_t >  key)

◆ GetCalibPairFromAddress() [1/2]

std::optional< std::pair< float, float > > BmnHodoRaw2Digit::GetCalibPairFromAddress ( uint32_t  address)

Definition at line 239 of file BmnHodoRaw2Digit.cxx.

References GetName().

Referenced by fillEvent(), and simple_analysis().

◆ GetCalibPairFromAddress() [2/2]

std::optional< std::pair< float, float > > BmnHodoRaw2Digit::GetCalibPairFromAddress ( uint32_t  address)

◆ GetChannelMap() [1/2]

auto BmnHodoRaw2Digit::GetChannelMap ( )
inline

Definition at line 40 of file BmnHodoRaw2Digit.h.

◆ GetChannelMap() [2/2]

auto BmnHodoRaw2Digit::GetChannelMap ( )
inline

Definition at line 40 of file BmnHodoRaw2Digit.h.

◆ GetDigiPars() [1/2]

digiPars BmnHodoRaw2Digit::GetDigiPars ( )
inline

Definition at line 39 of file BmnHodoRaw2Digit.h.

References WfmProcessor::fdigiPars.

Referenced by calibrate_wfm().

◆ GetDigiPars() [2/2]

digiPars BmnHodoRaw2Digit::GetDigiPars ( )
inline

Definition at line 39 of file BmnHodoRaw2Digit.h.

References WfmProcessor::fdigiPars.

◆ GetName() [1/2]

◆ GetName() [2/2]

TString BmnHodoRaw2Digit::GetName ( )
inline

Definition at line 31 of file BmnHodoRaw2Digit.h.

◆ ParseCalibration() [1/2]

◆ ParseCalibration() [2/2]

void BmnHodoRaw2Digit::ParseCalibration ( const std::string &  file)

◆ ParseConfig() [1/2]

◆ ParseConfig() [2/2]

void BmnHodoRaw2Digit::ParseConfig ( const std::string &  file)

◆ ParseINLcorrections() [1/2]

void BmnHodoRaw2Digit::ParseINLcorrections ( )

Definition at line 184 of file BmnHodoRaw2Digit.cxx.

References GetName(), and TQDC16_CHANNEL_COUNT.

Referenced by ParseCalibration().

◆ ParseINLcorrections() [2/2]

void BmnHodoRaw2Digit::ParseINLcorrections ( )

◆ print() [1/2]

void BmnHodoRaw2Digit::print ( )

Definition at line 19 of file BmnHodoRaw2Digit.cxx.

References GetName().

Referenced by BmnDecoder::InitMappers().

◆ print() [2/2]

void BmnHodoRaw2Digit::print ( )

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