00001 #ifndef TrigConf_PIT
00002 #define TrigConf_PIT
00003
00004 #include <string>
00005 #include <stdint.h>
00006 #include "TrigConfL1Data/L1DataBaseclass.h"
00007
00008 namespace TrigConf {
00009 class PIT : public L1DataBaseclass {
00010 public:
00011 PIT();
00012 ~PIT();
00013
00014
00015
00016 const std::string & thresholdName() const {return m_ThresholdName;}
00017 void setThresholdName(const std::string& name) {m_ThresholdName = name;}
00018
00019 uint16_t ctpinSlot() const {return m_CtpinSlot;}
00020 void setCtpinSlot(const uint16_t& id) {m_CtpinSlot = id;}
00021
00022 uint16_t ctpinConnector() const {return m_CtpinConnector;}
00023 void setCtpinConnector(const uint16_t& id) {m_CtpinConnector = id;}
00024
00025 uint16_t pitNumber() const {return m_PitNumber;}
00026 void setPitNumber (const uint16_t& pitnumber) {m_PitNumber = pitnumber;}
00027
00028 uint16_t thresholdBit() const {return m_ThresholdBit;}
00029 void setThresholdBit (const uint16_t& num) {m_ThresholdBit = num;}
00030
00031 uint16_t cableBit() const {return m_CableBit;}
00032 void setCableBit (const uint16_t& num) {m_CableBit = num;}
00033
00034 int tmToTtId() const {return m_TmToTtId;}
00035 void setTmToTtId(const int& tmtottid){m_TmToTtId = tmtottid;}
00036
00037 int triggerThresholdId() const {return m_TriggerThresholdId;}
00038 void setTriggerThresholdId(const int& id){m_TriggerThresholdId = id;}
00039
00040 int16_t thresholdMapping() const {return m_ThresholdMapping;}
00041 void setThresholdMapping(const int16_t& m){m_ThresholdMapping = m;}
00042
00043 bool thresholdActive() const {return m_ThresholdActive;}
00044 void setThresholdActive(const bool& a){m_ThresholdActive = a;}
00045
00046 virtual void print(const std::string& indent="", unsigned int detail=1) const;
00047
00048 protected:
00049 std::string m_ThresholdName;
00050 uint16_t m_CtpinSlot;
00051 uint16_t m_CtpinConnector;
00052 uint16_t m_PitNumber;
00053 uint16_t m_ThresholdBit;
00054 uint16_t m_CableBit;
00055 int m_TmToTtId;
00056 int m_TriggerThresholdId;
00057 bool m_ThresholdActive;
00058 int16_t m_ThresholdMapping;
00059 };
00060 }
00061
00062 #endif