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

Data Fields

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

Additional Inherited Members

Member Function Documentation

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


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