GET library
GETRCoBoDBData Class Reference

#include <GETRCoBoDBData.hh>

Public Member Functions

Constructors, affectation, destructor
 GETRCoBoDBData ()
 
 GETRCoBoDBData (const GETRCoBoDBData &original)
 
GETRCoBoDBDataoperator= (const GETRCoBoDBData &original)
 
virtual ~GETRCoBoDBData ()
 
Data values
string GetSerieId () const
 
string GetDirectoryId () const
 
string GetFileId () const
 
u_int GetDimension () const
 
double GetSamplingTime () const
 
double GetWriteFrequency () const
 
double GetPeakingTime () const
 
double GetRange () const
 
double GetGainCapacitor () const
 
double GetPulser () const
 
double GetDelay () const
 
string GetRunDirectory () const
 
File names identifiers creation
string DataSamplingId () const
 
string DataPeakingTimeId () const
 
string DataRangeId () const
 
string DataGainId () const
 
string DataPulserId () const
 
Data files functions
const GStringList & GetRunFiles (const string &root_dir)
 
const GStringList & GetRunList () const
 
string GetRunFile (u_int n=0) const
 
ROOT related functions
 ClassDef (GETRCoBoDBData, 0)
 

Protected Attributes

double delay
 Trigger delay (x10 ns)
 
string dir_id
 Directory identifier.
 
string file_id
 File identifier.
 
double peaking_time
 Peaking time.
 
double pulser
 Pulser amplitude.
 
double range
 Dynamic range, from CSA gain capacitor (pC)
 
string run_dir
 Directory containing run files.
 
GStringList runs_list
 List of runs files.
 
u_int sample_dim
 Dimension.
 
double sample_dt
 Time step.
 
string serie_id
 Run serie identifier.
 

Private Member Functions

 GObject (GETRCoBoDBData)
 

Friends

class GETRCoBoDB
 

Detailed Description

This class defines an element for the Reduced-CoBo data base.

Constructor & Destructor Documentation

GETRCoBoDBData::GETRCoBoDBData ( )

Reduced CoBo run data constructor.

References delay, dir_id, file_id, peaking_time, pulser, range, sample_dim, sample_dt, and serie_id.

GETRCoBoDBData::GETRCoBoDBData ( const GETRCoBoDBData original)

Reduced CoBo run data copy constructor.

Parameters
originaldata to copy

References delay, dir_id, file_id, peaking_time, pulser, range, run_dir, runs_list, sample_dim, sample_dt, and serie_id.

GETRCoBoDBData::~GETRCoBoDBData ( )
virtual

Destructor.

Member Function Documentation

GETRCoBoDBData::ClassDef ( GETRCoBoDBData  ,
 
)

for use within ROOT.

string GETRCoBoDBData::DataGainId ( ) const
inline

Return an identifier for gain parameter: it refers to dynamic range

References DataRangeId().

string GETRCoBoDBData::DataPeakingTimeId ( ) const
inline

Return an identifier for peaking time

References peaking_time.

string GETRCoBoDBData::DataPulserId ( ) const
inline

Return an identifier for pulser amplitude

References pulser.

string GETRCoBoDBData::DataRangeId ( ) const
inline

Return an identifier for range parameter

References range.

Referenced by DataGainId().

string GETRCoBoDBData::DataSamplingId ( ) const
inline

Return a data identifier from sampling parameters (for file names).

References sample_dim, and sample_dt.

double GETRCoBoDBData::GetDelay ( ) const
inline

Return the trigger delay (in units of 10ns).

References delay.

u_int GETRCoBoDBData::GetDimension ( ) const
inline

Return the samples dimension.

References sample_dim.

string GETRCoBoDBData::GetDirectoryId ( ) const
inline

Return the directory identifier.

References dir_id.

string GETRCoBoDBData::GetFileId ( ) const
inline

Return the files identifier.

References file_id.

double GETRCoBoDBData::GetGainCapacitor ( ) const
inline

Return the CSA gain capacitor (fF), equivalent to the dynamic range.

References range.

double GETRCoBoDBData::GetPeakingTime ( ) const
inline

Return the peaking time.

References peaking_time.

double GETRCoBoDBData::GetPulser ( ) const
inline

Return the pulser amplitude (mV).

References pulser.

double GETRCoBoDBData::GetRange ( ) const
inline

Return the dynamic range, corresponding to CSA gain capacitor (fC).

References range.

string GETRCoBoDBData::GetRunDirectory ( ) const
inline

Return the run files directory.

References run_dir.

string GETRCoBoDBData::GetRunFile ( u_int  n = 0) const

Return one of the run file names for the measurement data.

Parameters
nfile number

References runs_list.

const GStringList & GETRCoBoDBData::GetRunFiles ( const string &  root_dir)

Build the list of run file names from the directory and the file identifier.

Parameters
root_dirRun files root directory

References dir_id, file_id, and runs_list.

Referenced by GETRCoBoDB::Init().

const GStringList & GETRCoBoDBData::GetRunList ( ) const
inline

Return the list of run file names from the directory and the file identifier.

References runs_list.

Referenced by GETRCoBoDB::GetRunFile(), and GETRCoBoDB::GetRunList().

double GETRCoBoDBData::GetSamplingTime ( ) const
inline

Return the sampling time (us).

References sample_dt.

string GETRCoBoDBData::GetSerieId ( ) const
inline

Return the runs serie identifier.

References serie_id.

double GETRCoBoDBData::GetWriteFrequency ( ) const
inline

Return the write frequency (MHz).

References sample_dt.

GETRCoBoDBData::GObject ( GETRCoBoDBData  )
private

Macro from GCpp library that defines the following functions:

  • ClassName(): return the real class name of the object
  • StaticClassName(): return the used class name of the object (that may be a base class of the real object).
  • IsInstanceOf<T>(): return true if the current object is an instance of the template class name argument
  • Clone(): return an allocated copy of the object.
GETRCoBoDBData & GETRCoBoDBData::operator= ( const GETRCoBoDBData original)

Reduced CoBo run data affectation operator.

Parameters
originaldata to copy

References delay, dir_id, file_id, peaking_time, pulser, range, run_dir, runs_list, sample_dim, sample_dt, and serie_id.


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