R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3B::Neuland::TrigMappingIO Class Reference

#include <R3BTrigIDMappingFinder.h>

Public Member Functions

 TrigMappingIO ()=default
 
void SetFormat (TrigIDMappingPrintFormat format)
 
void SetFileName (std::string_view filename)
 
void SetDir (std::string_view dirname)
 
void SetNumOfModule (unsigned int num)
 
void Print (const TrigIDMappingFinder::TrigIDMap &trigMap) const
 
auto Read_json () const -> TrigIDMappingFinder::TrigIDMap
 
void Save_json (const TrigIDMappingFinder::TrigIDMap &trigMap) const
 

Private Member Functions

void Print_screen (const TrigIDMappingFinder::TrigIDMap &trigMap) const
 

Private Attributes

unsigned int numOfModule_ = 0
 
TrigIDMappingPrintFormat format_ = TrigIDMappingPrintFormat::none
 
std::string filename_ = "trigIDMap.json"
 
std::string fileDir_ = "."
 

Detailed Description

Definition at line 48 of file R3BTrigIDMappingFinder.h.

Constructor & Destructor Documentation

◆ TrigMappingIO()

R3B::Neuland::TrigMappingIO::TrigMappingIO ( )
default

Member Function Documentation

◆ Print()

void R3B::Neuland::TrigMappingIO::Print ( const TrigIDMappingFinder::TrigIDMap & trigMap) const

Definition at line 113 of file R3BTrigIDMappingFinder.cxx.

◆ Print_screen()

void R3B::Neuland::TrigMappingIO::Print_screen ( const TrigIDMappingFinder::TrigIDMap & trigMap) const
private

Definition at line 128 of file R3BTrigIDMappingFinder.cxx.

◆ Read_json()

auto R3B::Neuland::TrigMappingIO::Read_json ( ) const -> TrigIDMappingFinder::TrigIDMap
nodiscard

Definition at line 167 of file R3BTrigIDMappingFinder.cxx.

◆ Save_json()

void R3B::Neuland::TrigMappingIO::Save_json ( const TrigIDMappingFinder::TrigIDMap & trigMap) const

Definition at line 146 of file R3BTrigIDMappingFinder.cxx.

◆ SetDir()

void R3B::Neuland::TrigMappingIO::SetDir ( std::string_view dirname)
inline

Definition at line 55 of file R3BTrigIDMappingFinder.h.

◆ SetFileName()

void R3B::Neuland::TrigMappingIO::SetFileName ( std::string_view filename)
inline

Definition at line 54 of file R3BTrigIDMappingFinder.h.

◆ SetFormat()

void R3B::Neuland::TrigMappingIO::SetFormat ( TrigIDMappingPrintFormat format)
inline

Definition at line 53 of file R3BTrigIDMappingFinder.h.

◆ SetNumOfModule()

void R3B::Neuland::TrigMappingIO::SetNumOfModule ( unsigned int num)
inline

Definition at line 56 of file R3BTrigIDMappingFinder.h.

Member Data Documentation

◆ fileDir_

std::string R3B::Neuland::TrigMappingIO::fileDir_ = "."
private

Definition at line 65 of file R3BTrigIDMappingFinder.h.

◆ filename_

std::string R3B::Neuland::TrigMappingIO::filename_ = "trigIDMap.json"
private

Definition at line 64 of file R3BTrigIDMappingFinder.h.

◆ format_

TrigIDMappingPrintFormat R3B::Neuland::TrigMappingIO::format_ = TrigIDMappingPrintFormat::none
private

Definition at line 63 of file R3BTrigIDMappingFinder.h.

◆ numOfModule_

unsigned int R3B::Neuland::TrigMappingIO::numOfModule_ = 0
private

Definition at line 62 of file R3BTrigIDMappingFinder.h.


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