ATLAS Offline Software
METSigParam.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigConf_METSigParam
6 #define TrigConf_METSigParam
7 
8 #include <string>
9 
10 namespace TrigConf {
11 
12  class METSigParam {
13  public:
14 
15  METSigParam( int XSSigmaScale, int XSSigmaOffset,
16  int XEmin, int XEmax,
17  int TESqrtMin, int TESqrtMax );
18  METSigParam();
19  virtual ~METSigParam() = default;
20 
21  // setters and accessors
22  void setValues( int XSSigmaScale, int XSSigmaOffset,
23  int XEmin, int XEmax,
24  int TESqrtMin, int TESqrtMax);
25 
26  void getValues( int & XSSigmaScale, int & XSSigmaOffset,
27  int & XEmin, int & XEmax,
28  int & TESqrtMin, int & TESqrtMax) const;
29 
30  int xsSigmaScale() const { return m_xsSigmaScale; }
31  int xsSigmaOffset() const { return m_xsSigmaOffset; }
32  int xeMin() const { return m_XEmin; }
33  int xeMax() const { return m_XEmax; }
34  int teSqrtMin() const { return m_TESqrtMin; }
35  int teSqrtMax() const { return m_TESqrtMax; }
36 
37  virtual void print(const std::string& indent="", unsigned int detail=1) const;
38  virtual void writeXML(std::ostream & xmlfile, int indentLevel, int indentWidth) const;
39 
40  private:
41 
42  void checkValueRange(int XEmin, int XEmax, int TESqrtMin, int TESqrtMax) const;
43 
46  int m_XEmin;
47  int m_XEmax;
50  };
51 
52 }
53 
54 #endif
55 
TrigConf::METSigParam
Definition: METSigParam.h:12
TrigConf::METSigParam::m_TESqrtMin
int m_TESqrtMin
Definition: METSigParam.h:48
TrigConf::METSigParam::writeXML
virtual void writeXML(std::ostream &xmlfile, int indentLevel, int indentWidth) const
Definition: METSigParam.cxx:75
TrigConf::METSigParam::m_xsSigmaOffset
int m_xsSigmaOffset
Definition: METSigParam.h:45
TrigConf::METSigParam::setValues
void setValues(int XSSigmaScale, int XSSigmaOffset, int XEmin, int XEmax, int TESqrtMin, int TESqrtMax)
Definition: METSigParam.cxx:35
TrigConf::METSigParam::m_XEmax
int m_XEmax
Definition: METSigParam.h:47
TrigConf::METSigParam::getValues
void getValues(int &XSSigmaScale, int &XSSigmaOffset, int &XEmin, int &XEmax, int &TESqrtMin, int &TESqrtMax) const
Definition: METSigParam.cxx:50
detail
Definition: extract_histogram_tag.cxx:14
TrigConf::METSigParam::teSqrtMax
int teSqrtMax() const
Definition: METSigParam.h:35
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
TrigConf::METSigParam::~METSigParam
virtual ~METSigParam()=default
TrigConf::METSigParam::m_xsSigmaScale
int m_xsSigmaScale
Definition: METSigParam.h:44
TrigConf::METSigParam::m_TESqrtMax
int m_TESqrtMax
Definition: METSigParam.h:49
TrigConf::METSigParam::xeMin
int xeMin() const
Definition: METSigParam.h:32
geometry_dat_to_json.indent
indent
Definition: geometry_dat_to_json.py:36
TrigConf::METSigParam::teSqrtMin
int teSqrtMin() const
Definition: METSigParam.h:34
TrigConf::METSigParam::checkValueRange
void checkValueRange(int XEmin, int XEmax, int TESqrtMin, int TESqrtMax) const
Definition: METSigParam.cxx:91
TrigConf::METSigParam::METSigParam
METSigParam()
Definition: METSigParam.cxx:25
TrigConf::METSigParam::xeMax
int xeMax() const
Definition: METSigParam.h:33
TrigConf::METSigParam::xsSigmaOffset
int xsSigmaOffset() const
Definition: METSigParam.h:31
TrigConf::METSigParam::m_XEmin
int m_XEmin
Definition: METSigParam.h:46
TrigConf::METSigParam::print
virtual void print(const std::string &indent="", unsigned int detail=1) const
Definition: METSigParam.cxx:64
TrigConf::METSigParam::xsSigmaScale
int xsSigmaScale() const
Definition: METSigParam.h:30