REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Protected Attributes | Private Member Functions
TRestRawDAQMetadata Class Reference

Detailed Description

A metadata class to store DAQ information.

The TRestRawDaqMetadata ...

TODO. This class might be obsolete today. It may need additional revision, validation, and documentation.


Warning
⚠ REST is under continuous development. This documentation is offered to you by the REST community. Your HELP is needed to keep this code up to date. Your feedback will be worth to support this software, please report any problems/suggestions you may find while using it at The REST Framework forum. You are welcome to contribute fixing typos, updating information or adding/proposing new contributions. See also our Contribution Guide.

RESTsoft - Software for Rare Event Searches with TPCs

History of developments:

2015-Nov: First implementation as part of the conceptualization of existing REST software. Juanan Garcia

Author
Juanan Garcia

Definition at line 32 of file TRestRawDAQMetadata.h.

#include <TRestRawDAQMetadata.h>

Inheritance diagram for TRestRawDAQMetadata:
TRestMetadata

Public Member Functions

 ClassDefOverride (TRestRawDAQMetadata, 1)
 
UInt_t GetGain () const
 
UInt_t GetShappingTime () const
 
UInt_t GetValFromString (TString var, TString line)
 
void PrintMetadata () override
 Implemented it in the derived metadata class to print out specific metadata information. More...
 
void PrintPedScript ()
 
void PrintRunScript ()
 
void SetOutBinFileName (TString fName)
 
void SetParFromPedBuffer ()
 
void SetScriptsBuffer ()
 
 TRestRawDAQMetadata (const char *configFilename)
 

Protected Attributes

TString fElectronicsType
 
UInt_t fGain
 
TString fNamePedScript
 
TString fNameRunScript
 
TString fOutBinFileName
 
std::vector< TString > fPedBuffer
 
std::vector< TString > fRunBuffer
 
UInt_t fShappingTime
 

Private Member Functions

void InitFromConfigFile () override
 To make settings from rml file. This method must be implemented in the derived class. More...
 
void Initialize () override
 Making default settings. More...
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ TRestRawDAQMetadata() [1/2]

TRestRawDAQMetadata::TRestRawDAQMetadata ( )

Definition at line 65 of file TRestRawDAQMetadata.cxx.

◆ TRestRawDAQMetadata() [2/2]

TRestRawDAQMetadata::TRestRawDAQMetadata ( const char *  configFilename)

Definition at line 67 of file TRestRawDAQMetadata.cxx.

◆ ~TRestRawDAQMetadata()

TRestRawDAQMetadata::~TRestRawDAQMetadata ( )
virtual

Definition at line 81 of file TRestRawDAQMetadata.cxx.

Member Function Documentation

◆ GetGain()

UInt_t TRestRawDAQMetadata::GetGain ( ) const
inline

Definition at line 65 of file TRestRawDAQMetadata.h.

◆ GetShappingTime()

UInt_t TRestRawDAQMetadata::GetShappingTime ( ) const
inline

Definition at line 66 of file TRestRawDAQMetadata.h.

◆ GetValFromString()

UInt_t TRestRawDAQMetadata::GetValFromString ( TString  var,
TString  line 
)

Definition at line 176 of file TRestRawDAQMetadata.cxx.

◆ InitFromConfigFile()

void TRestRawDAQMetadata::InitFromConfigFile ( )
overrideprivatevirtual

To make settings from rml file. This method must be implemented in the derived class.

Reimplemented from TRestMetadata.

Definition at line 83 of file TRestRawDAQMetadata.cxx.

◆ Initialize()

void TRestRawDAQMetadata::Initialize ( )
overrideprivatevirtual

Making default settings.

Reimplemented from TRestMetadata.

Definition at line 76 of file TRestRawDAQMetadata.cxx.

◆ PrintMetadata()

void TRestRawDAQMetadata::PrintMetadata ( )
overridevirtual

Implemented it in the derived metadata class to print out specific metadata information.

Prints metadata content on screen. Usually overloaded by the derived metadata class.

Reimplemented from TRestMetadata.

Definition at line 102 of file TRestRawDAQMetadata.cxx.

◆ PrintPedScript()

void TRestRawDAQMetadata::PrintPedScript ( )

Definition at line 156 of file TRestRawDAQMetadata.cxx.

◆ PrintRunScript()

void TRestRawDAQMetadata::PrintRunScript ( )

Definition at line 152 of file TRestRawDAQMetadata.cxx.

◆ SetOutBinFileName()

void TRestRawDAQMetadata::SetOutBinFileName ( TString  fName)
inline

Definition at line 63 of file TRestRawDAQMetadata.h.

◆ SetParFromPedBuffer()

void TRestRawDAQMetadata::SetParFromPedBuffer ( )

Definition at line 160 of file TRestRawDAQMetadata.cxx.

◆ SetScriptsBuffer()

void TRestRawDAQMetadata::SetScriptsBuffer ( )

Definition at line 116 of file TRestRawDAQMetadata.cxx.

Field Documentation

◆ fElectronicsType

TString TRestRawDAQMetadata::fElectronicsType
protected

Definition at line 40 of file TRestRawDAQMetadata.h.

◆ fGain

UInt_t TRestRawDAQMetadata::fGain
protected

Definition at line 46 of file TRestRawDAQMetadata.h.

◆ fNamePedScript

TString TRestRawDAQMetadata::fNamePedScript
protected

Definition at line 43 of file TRestRawDAQMetadata.h.

◆ fNameRunScript

TString TRestRawDAQMetadata::fNameRunScript
protected

Definition at line 44 of file TRestRawDAQMetadata.h.

◆ fOutBinFileName

TString TRestRawDAQMetadata::fOutBinFileName
protected

Definition at line 39 of file TRestRawDAQMetadata.h.

◆ fPedBuffer

std::vector<TString> TRestRawDAQMetadata::fPedBuffer
protected

Definition at line 41 of file TRestRawDAQMetadata.h.

◆ fRunBuffer

std::vector<TString> TRestRawDAQMetadata::fRunBuffer
protected

Definition at line 42 of file TRestRawDAQMetadata.h.

◆ fShappingTime

UInt_t TRestRawDAQMetadata::fShappingTime
protected

Definition at line 47 of file TRestRawDAQMetadata.h.


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