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

#include <BmnScWallRaw2Digit.h>

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

Public Member Functions

 BmnScWallRaw2Digit (int period, int run, TString mappingFile, TString calibrationFile="")
 
 BmnScWallRaw2Digit ()
 
 ~BmnScWallRaw2Digit ()
 
void ParseConfig (TString mappingFile)
 
void ParseCalibration (TString calibrationFile)
 
void fillEvent (TClonesArray *data, TClonesArray *ScWalldigit)
 
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)
 
 BmnScWallRaw2Digit (int period, int run, TString mappingFile, TString calibrationFile="")
 
 BmnScWallRaw2Digit ()
 
 ~BmnScWallRaw2Digit ()
 
void ParseConfig (TString mappingFile)
 
void ParseCalibration (TString calibrationFile)
 
void fillEvent (TClonesArray *data, TClonesArray *ScWalldigit)
 
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 24 of file BmnScWallRaw2Digit.h.

Constructor & Destructor Documentation

◆ BmnScWallRaw2Digit() [1/4]

BmnScWallRaw2Digit::BmnScWallRaw2Digit ( int  period,
int  run,
TString  mappingFile,
TString  calibrationFile = "" 
)

Definition at line 20 of file BmnScWallRaw2Digit.cxx.

References ParseCalibration(), and ParseConfig().

◆ BmnScWallRaw2Digit() [2/4]

BmnScWallRaw2Digit::BmnScWallRaw2Digit ( )

Definition at line 13 of file BmnScWallRaw2Digit.cxx.

◆ ~BmnScWallRaw2Digit() [1/2]

BmnScWallRaw2Digit::~BmnScWallRaw2Digit ( )

Definition at line 238 of file BmnScWallRaw2Digit.cxx.

◆ BmnScWallRaw2Digit() [3/4]

BmnScWallRaw2Digit::BmnScWallRaw2Digit ( int  period,
int  run,
TString  mappingFile,
TString  calibrationFile = "" 
)

◆ BmnScWallRaw2Digit() [4/4]

BmnScWallRaw2Digit::BmnScWallRaw2Digit ( )

◆ ~BmnScWallRaw2Digit() [2/2]

BmnScWallRaw2Digit::~BmnScWallRaw2Digit ( )

Member Function Documentation

◆ fillEvent() [1/2]

◆ fillEvent() [2/2]

void BmnScWallRaw2Digit::fillEvent ( TClonesArray *  data,
TClonesArray *  ScWalldigit 
)

◆ GetAddressFromBoard() [1/2]

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

Definition at line 177 of file BmnScWallRaw2Digit.cxx.

Referenced by fillEvent().

◆ GetAddressFromBoard() [2/2]

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

◆ GetCalibPairFromAddress() [1/2]

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

Definition at line 188 of file BmnScWallRaw2Digit.cxx.

Referenced by fillEvent().

◆ GetCalibPairFromAddress() [2/2]

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

◆ GetChannelMap() [1/2]

auto BmnScWallRaw2Digit::GetChannelMap ( )
inline

Definition at line 38 of file BmnScWallRaw2Digit.h.

◆ GetChannelMap() [2/2]

auto BmnScWallRaw2Digit::GetChannelMap ( )
inline

Definition at line 38 of file BmnScWallRaw2Digit.h.

◆ GetDigiPars() [1/2]

digiPars BmnScWallRaw2Digit::GetDigiPars ( )
inline

Definition at line 37 of file BmnScWallRaw2Digit.h.

References WfmProcessor::fdigiPars.

Referenced by calibrate_wfm().

◆ GetDigiPars() [2/2]

digiPars BmnScWallRaw2Digit::GetDigiPars ( )
inline

Definition at line 37 of file BmnScWallRaw2Digit.h.

References WfmProcessor::fdigiPars.

◆ ParseCalibration() [1/2]

◆ ParseCalibration() [2/2]

void BmnScWallRaw2Digit::ParseCalibration ( TString  calibrationFile)

◆ ParseConfig() [1/2]

void BmnScWallRaw2Digit::ParseConfig ( TString  mappingFile)

Definition at line 33 of file BmnScWallRaw2Digit.cxx.

References BmnScWallAddress::GetAddress().

Referenced by BmnScWallRaw2Digit(), and scan().

◆ ParseConfig() [2/2]

void BmnScWallRaw2Digit::ParseConfig ( TString  mappingFile)

◆ print() [1/2]

void BmnScWallRaw2Digit::print ( )

Definition at line 8 of file BmnScWallRaw2Digit.cxx.

Referenced by BmnDecoder::InitMappers().

◆ print() [2/2]

void BmnScWallRaw2Digit::print ( )

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