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

Detailed Description

A metadata class to serve as example on the implementation of future metadata classes.

TRestAxionTemplate just a class to serve as example of a specific implementation of a metadata class.

Just copy .cxx and .h files to a new class name, cp TRestAxionTemplate.cxx TRestAxionSpecificMetadata.cxx cp TRestAxionTemplate.h TRestAxionSpecificMetadata.h

Then, inside each file replace TRestAxionTemplate by TRestAxionSpecificMetadata.

Re-run "cmake ../" at the build directory to include the new class to the compilation.


RESTsoft - Software for Rare Event Searches with TPCs

History of developments:

2019-March: First concept and implementation of TRestAxionTemplate class. Javier Galan

Author
Javier Galan

Definition at line 29 of file TRestAxionTemplate.h.

#include <TRestAxionTemplate.h>

Inheritance diagram for TRestAxionTemplate:
TRestMetadata

Public Member Functions

void PrintMetadata ()
 Implemented it in the derived metadata class to print out specific metadata information. More...
 
 TRestAxionTemplate (const char *cfgFileName, std::string name="")
 

Private Member Functions

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

Private Attributes

Double_t fDummyValue
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ TRestAxionTemplate() [1/2]

TRestAxionTemplate::TRestAxionTemplate ( )

Definition at line 57 of file TRestAxionTemplate.cxx.

◆ TRestAxionTemplate() [2/2]

TRestAxionTemplate::TRestAxionTemplate ( const char *  cfgFileName,
std::string  name = "" 
)

Definition at line 63 of file TRestAxionTemplate.cxx.

◆ ~TRestAxionTemplate()

TRestAxionTemplate::~TRestAxionTemplate ( )

Definition at line 74 of file TRestAxionTemplate.cxx.

Member Function Documentation

◆ InitFromConfigFile()

void TRestAxionTemplate::InitFromConfigFile ( )
privatevirtual

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

Reimplemented from TRestMetadata.

Definition at line 84 of file TRestAxionTemplate.cxx.

◆ Initialize()

void TRestAxionTemplate::Initialize ( )
privatevirtual

Making default settings.

Reimplemented from TRestMetadata.

Definition at line 78 of file TRestAxionTemplate.cxx.

◆ PrintMetadata()

void TRestAxionTemplate::PrintMetadata ( )
virtual

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 93 of file TRestAxionTemplate.cxx.

Field Documentation

◆ fDummyValue

Double_t TRestAxionTemplate::fDummyValue
private

Definition at line 35 of file TRestAxionTemplate.h.


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