ATLAS Offline Software
Loading...
Searching...
No Matches
T0MTSettings.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// T0MTSettings.h
6// Header file for class T0MTSettings
8// (c) ATLAS Detector software
10//
12
13#ifndef T0MTSETTINGS_H
14#define T0MTSETTINGS_H
15
16#include "T0MTSettingsT0.h"
17#include "T0MTSettingsTMax.h"
18
19namespace MuonCalib {
20
29 public:
30 //===========================constructor=======================================
33 //============================public emmber functions===========================
37
38 inline const int &NBinsADC() const { return m_n_bins_adc; }
39 inline int &NBinsADC() { return m_n_bins_adc; }
40 inline double ADCMin() const { return m_adc_min; }
41 inline double &ADCMin() { return m_adc_min; }
42 inline double ADCMax() const { return m_adc_max; }
43 inline double &ADCMax() { return m_adc_max; }
45 inline const int &NBinsTime() const { return m_n_bins_time; }
46 inline int &NBinsTime() { return m_n_bins_time; }
47 inline double TimeMin() const { return m_time_min; }
48 inline double &TimeMin() { return m_time_min; }
49 inline double TimeMax() const { return m_time_max; }
50 inline double &TimeMax() { return m_time_max; }
52
55
60 inline const bool &DrawDebugGraphs() const { return m_draw_debug_graphs; }
61 inline bool &DrawDebugGraphs() { return m_draw_debug_graphs; }
63 inline const bool &AddFitfun() const { return m_add_fitfun; }
64 inline bool &AddFitfun() { return m_add_fitfun; }
65 inline bool &AddFitfun(bool add_fitfun) {
66 m_add_fitfun = add_fitfun;
67 return m_add_fitfun;
68 }
69
73 inline const int &VerboseLevel() const { return m_verbose_level; }
74 inline int &VerboseLevel() { return m_verbose_level; }
75
77
78 inline const T0MTSettingsT0 *T0Settings() const { return &m_t0_settings; }
81 inline const T0MTSettingsTMax *TMaxSettings() const { return &m_tmax_settings; }
84 inline const bool &FitTime() const { return m_fit_time; }
85 inline bool &FitTime() { return m_fit_time; }
87 inline const bool &FitADC() const { return m_fit_time; }
88 inline bool &FitADC() { return m_fit_time; }
89 /* minimum number of entries per fit */
90 inline const int &MinEntriesTime() const { return m_min_entries_time; }
91 inline int &MinEntriesTime() { return m_min_entries_time; }
92 inline const int &MinEntriesADC() const { return m_min_entries_adc; }
93 inline int &MinEntriesADC() { return m_min_entries_adc; }
94
95 private:
96 //===========================private data members=============================
97 //----------------------------histogram binning--------------------------------
104 //---------------------------debug settings-------------------------------------
111 //---------------------------t0 - tmax - settings-------------------------------
116 };
117
118} // namespace MuonCalib
119
120#endif
const bool & AddFitfun() const
If set to true the fitted functions are added to the histograms.
T0MTSettingsTMax m_tmax_settings
double ADCMax() const
const int & VerboseLevel() const
verbose level 0: no output 1: Fitter output
const int & NBinsADC() const
Number of bins for ADC histogram and range.
const int & MinEntriesADC() const
int m_n_bins_time
drift time binning
bool & AddFitfun(bool add_fitfun)
const T0MTSettingsT0 * T0Settings() const
get settings for the t0-fit
bool m_draw_debug_graphs
if set to true for each debug graphs for the pattern recognition are drawn
const bool & FitTime() const
if true fit drift time spectrum
int m_verbose_level
verbose level
const bool & DrawDebugGraphs() const
If set to true for every tube a TDirectory will be created.
const T0MTSettingsTMax * TMaxSettings() const
get settings for the tmax-fit
const int & NBinsTime() const
Number of bins for time histogram and range.
int m_n_bins_adc
ADC bhistogram binning.
bool m_add_fitfun
if set to true fitted functions are added to hostograms
double TimeMax() const
double TimeMin() const
T0MTSettingsTMax * TMaxSettings()
const bool & FitADC() const
if true fit adc spectrum
const int & MinEntriesTime() const
T0MTSettings()
default constructor
T0MTSettingsT0 * T0Settings()
double ADCMin() const
T0MTSettingsT0 m_t0_settings
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.