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

Detailed Description

RESTSoft : Software for Rare Event Searches with TPCs

TRestDetectorSetup.h

Metadata class to be used to store basic detector setup info inherited from TRestMetadata

jun 2016: First concept. Javier Galan

Definition at line 28 of file TRestDetectorSetup.h.

#include <TRestDetectorSetup.h>

Inheritance diagram for TRestDetectorSetup:
TRestMetadata

Public Member Functions

 ClassDefOverride (TRestDetectorSetup, 1)
 
Double_t GetFieldInVPerCm ()
 
Double_t GetPressureInBar () const
 
Int_t GetRunNumber () const
 
TString GetRunTag () const
 
Double_t GetSamplingInMicroSeconds () const
 
Int_t GetSubRunNumber () const
 
void InitFromFileName (TString fName)
 
void PrintMetadata () override
 Implemented it in the derived metadata class to print out specific metadata information. More...
 
void SetRunNumber (Int_t runNumber)
 
void SetSubRunNumber (Int_t subRunNumber)
 
 TRestDetectorSetup (const char *configFilename, const std::string &name="")
 

Private Member Functions

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

Private Attributes

Double_t fDetectorPressure
 
Double_t fDriftField
 
TString fElectronicsGain
 
Double_t fMeshVoltage
 
Int_t fRunNumber
 
TString fRunTag
 
Double_t fSamplingInMicroSec
 
TString fSamplingTime
 
TString fShapingTime
 
Int_t fSubRunNumber
 

Additional Inherited Members

Member Function Documentation

◆ PrintMetadata()

void TRestDetectorSetup::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 119 of file TRestDetectorSetup.cxx.


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