REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Data Fields
TRestDetector Class Reference

Detailed Description

An metadata class to store basic detector information.

This class is intended to serve as storage of basic detector properties. Basic members exist with common information to most of the detector setups. More specialized detector setups might inherit from this class to extend the detector description.


Warning
⚠ REST is under continous 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 will 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:

2021-April. First implementation

Author
Javier Galan
Kaixiang Ni
David Diez

Definition at line 44 of file TRestDetector.h.

#include <TRestDetector.h>

Inheritance diagram for TRestDetector:
TRestMetadata

Public Member Functions

 ClassDefOverride (TRestDetector, 4)
 
void InitFromConfigFile () override
 To make settings from rml file. This method must be implemented in the derived class. More...
 
void PrintMetadata () override
 Implemented it in the derived metadata class to print out specific metadata information. More...
 
void UpdateMetadataMembers () override
 Method to allow implementation of specific metadata members updates at inherited classes. More...
 

Data Fields

Double_t fAmplificationDistance = -1
 The detector amplification distance in mm (also known as amplificationGap) More...
 
Double_t fAmplificationGain = -1
 The detector amplification gain. More...
 
Double_t fAmplificationVoltage = -1
 The detector amplification voltage in V. More...
 
std::string fDetectorName = "REST Detector"
 The detector name. More...
 
Double_t fDriftDistance = -1
 The detector drift distance in mm. More...
 
Double_t fDriftField = -1
 The detector drift voltage in V/mm. More...
 
Double_t fDriftVoltage = -1
 The detector drift voltage in V. More...
 
std::string fElectronicsClock = "-1"
 The electronics clock (sampling) in raw configuration format (hexadecimal) More...
 
Double_t fElectronicsDynamicRange = -1
 The electronics dynamic range in V. More...
 
std::string fElectronicsGain = "-1"
 The electronics gain in raw configuration format (hexadecimal) More...
 
Double_t fElectronicsSamplingTime = -1
 The electronics sampling time in us. More...
 
std::string fElectronicsShaping = "-1"
 The electronics shaping in raw configuration format (hexadecimal) More...
 
Double_t fElectronicsShapingTime = -1
 The electronics shaping time in us. More...
 
Double_t fElectronicsThreshold = -1
 The electronics threshold in ADC units. More...
 
Double_t fHeight = -1
 The detector active volume height in mm. More...
 
Double_t fLength = -1
 The detector active volume length in mm. More...
 
Double_t fMass = -1
 The detector active mass in kg. More...
 
Double_t fPressure = -1
 The detector active volume pressure in atm. More...
 
Double_t fRadius = -1
 The detector active volume radius in mm. More...
 
Double_t fWidth = -1
 The detector active volume width in mm. More...
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ TRestDetector()

TRestDetector::TRestDetector ( )
inline

Definition at line 98 of file TRestDetector.h.

◆ ~TRestDetector()

TRestDetector::~TRestDetector ( )
inline

Definition at line 100 of file TRestDetector.h.

Member Function Documentation

◆ InitFromConfigFile()

void TRestDetector::InitFromConfigFile ( )
inlineoverridevirtual

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

Reimplemented from TRestMetadata.

Definition at line 91 of file TRestDetector.h.

◆ PrintMetadata()

void TRestDetector::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 62 of file TRestDetector.cxx.

◆ UpdateMetadataMembers()

void TRestDetector::UpdateMetadataMembers ( )
overridevirtual

Method to allow implementation of specific metadata members updates at inherited classes.

Reimplemented from TRestMetadata.

Definition at line 73 of file TRestDetector.cxx.

Field Documentation

◆ fAmplificationDistance

Double_t TRestDetector::fAmplificationDistance = -1

The detector amplification distance in mm (also known as amplificationGap)

Definition at line 58 of file TRestDetector.h.

◆ fAmplificationGain

Double_t TRestDetector::fAmplificationGain = -1

The detector amplification gain.

Definition at line 60 of file TRestDetector.h.

◆ fAmplificationVoltage

Double_t TRestDetector::fAmplificationVoltage = -1

The detector amplification voltage in V.

Definition at line 56 of file TRestDetector.h.

◆ fDetectorName

std::string TRestDetector::fDetectorName = "REST Detector"

The detector name.

Definition at line 47 of file TRestDetector.h.

◆ fDriftDistance

Double_t TRestDetector::fDriftDistance = -1

The detector drift distance in mm.

Definition at line 54 of file TRestDetector.h.

◆ fDriftField

Double_t TRestDetector::fDriftField = -1

The detector drift voltage in V/mm.

Definition at line 52 of file TRestDetector.h.

◆ fDriftVoltage

Double_t TRestDetector::fDriftVoltage = -1

The detector drift voltage in V.

Definition at line 50 of file TRestDetector.h.

◆ fElectronicsClock

std::string TRestDetector::fElectronicsClock = "-1"

The electronics clock (sampling) in raw configuration format (hexadecimal)

Definition at line 87 of file TRestDetector.h.

◆ fElectronicsDynamicRange

Double_t TRestDetector::fElectronicsDynamicRange = -1

The electronics dynamic range in V.

Definition at line 80 of file TRestDetector.h.

◆ fElectronicsGain

std::string TRestDetector::fElectronicsGain = "-1"

The electronics gain in raw configuration format (hexadecimal)

Definition at line 85 of file TRestDetector.h.

◆ fElectronicsSamplingTime

Double_t TRestDetector::fElectronicsSamplingTime = -1

The electronics sampling time in us.

Definition at line 78 of file TRestDetector.h.

◆ fElectronicsShaping

std::string TRestDetector::fElectronicsShaping = "-1"

The electronics shaping in raw configuration format (hexadecimal)

Definition at line 89 of file TRestDetector.h.

◆ fElectronicsShapingTime

Double_t TRestDetector::fElectronicsShapingTime = -1

The electronics shaping time in us.

Definition at line 76 of file TRestDetector.h.

◆ fElectronicsThreshold

Double_t TRestDetector::fElectronicsThreshold = -1

The electronics threshold in ADC units.

Definition at line 82 of file TRestDetector.h.

◆ fHeight

Double_t TRestDetector::fHeight = -1

The detector active volume height in mm.

Definition at line 65 of file TRestDetector.h.

◆ fLength

Double_t TRestDetector::fLength = -1

The detector active volume length in mm.

Definition at line 69 of file TRestDetector.h.

◆ fMass

Double_t TRestDetector::fMass = -1

The detector active mass in kg.

Definition at line 63 of file TRestDetector.h.

◆ fPressure

Double_t TRestDetector::fPressure = -1

The detector active volume pressure in atm.

Definition at line 73 of file TRestDetector.h.

◆ fRadius

Double_t TRestDetector::fRadius = -1

The detector active volume radius in mm.

Definition at line 67 of file TRestDetector.h.

◆ fWidth

Double_t TRestDetector::fWidth = -1

The detector active volume width in mm.

Definition at line 71 of file TRestDetector.h.


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