00001
00002 #ifndef TrigConf_IsolationParam
00003 #define TrigConf_IsolationParam
00004
00005 #include "TrigConfL1Data/L1DataBaseclass.h"
00006 #include <string>
00007
00008
00009 namespace TrigConf {
00010
00011 class IsolationParam : public L1DataBaseclass {
00012 public:
00013 IsolationParam ( const std::string& thrtype,
00014 const int isobit, int offset,
00015 int slope, int mincut,
00016 int upperlimit,
00017 int etamin, int etamax, int priority );
00018
00019 IsolationParam() {};
00020 virtual ~IsolationParam() {};
00021
00022
00023
00024 bool isDefined() const { return m_isDefined; }
00025
00026 const std::string & thrtype() const { return m_thrtype ; }
00027 int isobit() const { return m_isobit ;}
00028 int offset() const { return m_offset ;}
00029 int slope() const { return m_slope ;}
00030 int mincut() const { return m_mincut ;}
00031 int upperlimit() const { return m_upperlimit ;}
00032 int etamin() const { return m_etamin ;}
00033 int etamax() const { return m_etamax ;}
00034 int priority() const { return m_priority ;}
00035
00036
00037 void setThrType(const std::string & p) { m_thrtype = p; }
00038 void setIsDefined(bool def = true) { m_isDefined = def;}
00039 void setIsobit(int p) { m_isobit = p;}
00040 void setOffset(int p) { m_offset = p;}
00041 void setSlope(int p) { m_slope = p;}
00042 void setMincut(int p) { m_mincut = p;}
00043 void setUpperlimit(int p) { m_upperlimit = p;}
00044 void setEtamin(int p) { m_etamin = p;}
00045 void setEtamax(int p) { m_etamax = p;}
00046 void setPriority(int p) { m_priority = p;}
00047
00048
00049 virtual void print(const std::string& indent="", unsigned int detail=1) const;
00050
00051 virtual void writeXML(std::ostream & xmlfile, int indentLevel, int indentWidth) const;
00052
00053 private:
00054
00055 std::string m_thrtype { "" };
00056 bool m_isDefined { false };
00057 int m_isobit { 0 };
00058 int m_offset { 0 };
00059 int m_slope { 0 };
00060 int m_mincut { 0 };
00061 int m_upperlimit { 0 };
00062 int m_etamin { 0 };
00063 int m_etamax { 0 };
00064 int m_priority { 0 };
00065
00066 };
00067
00068 }
00069
00070
00071
00072
00073 #endif
00074