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. More...
 
void Initialize () override
 Making default settings. More...
 

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

Constructor & Destructor Documentation

◆ TRestDetectorSetup() [1/2]

TRestDetectorSetup::TRestDetectorSetup ( )

Definition at line 26 of file TRestDetectorSetup.cxx.

◆ TRestDetectorSetup() [2/2]

TRestDetectorSetup::TRestDetectorSetup ( const char *  configFilename,
const std::string &  name = "" 
)

Definition at line 28 of file TRestDetectorSetup.cxx.

◆ ~TRestDetectorSetup()

TRestDetectorSetup::~TRestDetectorSetup ( )

Definition at line 37 of file TRestDetectorSetup.cxx.

Member Function Documentation

◆ GetFieldInVPerCm()

Double_t TRestDetectorSetup::GetFieldInVPerCm ( )
inline

Definition at line 58 of file TRestDetectorSetup.h.

◆ GetPressureInBar()

Double_t TRestDetectorSetup::GetPressureInBar ( ) const
inline

Definition at line 60 of file TRestDetectorSetup.h.

◆ GetRunNumber()

Int_t TRestDetectorSetup::GetRunNumber ( ) const
inline

Definition at line 49 of file TRestDetectorSetup.h.

◆ GetRunTag()

TString TRestDetectorSetup::GetRunTag ( ) const
inline

Definition at line 51 of file TRestDetectorSetup.h.

◆ GetSamplingInMicroSeconds()

Double_t TRestDetectorSetup::GetSamplingInMicroSeconds ( ) const
inline

Definition at line 56 of file TRestDetectorSetup.h.

◆ GetSubRunNumber()

Int_t TRestDetectorSetup::GetSubRunNumber ( ) const
inline

Definition at line 50 of file TRestDetectorSetup.h.

◆ InitFromConfigFile()

void TRestDetectorSetup::InitFromConfigFile ( )
overrideprivatevirtual

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

Reimplemented from TRestMetadata.

Definition at line 60 of file TRestDetectorSetup.cxx.

◆ InitFromFileName()

void TRestDetectorSetup::InitFromFileName ( TString  fName)

Definition at line 73 of file TRestDetectorSetup.cxx.

◆ Initialize()

void TRestDetectorSetup::Initialize ( )
overrideprivatevirtual

Making default settings.

Reimplemented from TRestMetadata.

Definition at line 41 of file TRestDetectorSetup.cxx.

◆ 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.

◆ SetRunNumber()

void TRestDetectorSetup::SetRunNumber ( Int_t  runNumber)
inline

Definition at line 53 of file TRestDetectorSetup.h.

◆ SetSubRunNumber()

void TRestDetectorSetup::SetSubRunNumber ( Int_t  subRunNumber)
inline

Definition at line 54 of file TRestDetectorSetup.h.

Field Documentation

◆ fDetectorPressure

Double_t TRestDetectorSetup::fDetectorPressure
private

Definition at line 40 of file TRestDetectorSetup.h.

◆ fDriftField

Double_t TRestDetectorSetup::fDriftField
private

Definition at line 39 of file TRestDetectorSetup.h.

◆ fElectronicsGain

TString TRestDetectorSetup::fElectronicsGain
private

Definition at line 42 of file TRestDetectorSetup.h.

◆ fMeshVoltage

Double_t TRestDetectorSetup::fMeshVoltage
private

Definition at line 38 of file TRestDetectorSetup.h.

◆ fRunNumber

Int_t TRestDetectorSetup::fRunNumber
private

Definition at line 34 of file TRestDetectorSetup.h.

◆ fRunTag

TString TRestDetectorSetup::fRunTag
private

Definition at line 36 of file TRestDetectorSetup.h.

◆ fSamplingInMicroSec

Double_t TRestDetectorSetup::fSamplingInMicroSec
private

Definition at line 46 of file TRestDetectorSetup.h.

◆ fSamplingTime

TString TRestDetectorSetup::fSamplingTime
private

Definition at line 44 of file TRestDetectorSetup.h.

◆ fShapingTime

TString TRestDetectorSetup::fShapingTime
private

Definition at line 43 of file TRestDetectorSetup.h.

◆ fSubRunNumber

Int_t TRestDetectorSetup::fSubRunNumber
private

Definition at line 35 of file TRestDetectorSetup.h.


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