1#ifndef _MODULE_MAPPER_H_
2#define _MODULE_MAPPER_H_
81 strings.push_back(it->first);
89 void getHws (std::vector<std::string>& hws) {
91 hws.push_back(it->first);
89 void getHws (std::vector<std::string>& hws) {
…}
99 void getSws (std::vector<std::string>& sws) {
101 sws.push_back(it->first);
99 void getSws (std::vector<std::string>& sws) {
…}
119 int getSvtIDFromHWChannel(
int channel, std::string hwTag, std::map<std::string,std::map<int,int>> svtid_map);
144 std::pair<std::string,int>
findApvChannel(std::string feb, std::string hybrid,
int channel);
171 typedef std::map<std::string,std::string>::iterator
strmap_it;
void getSws(std::vector< std::string > &sws)
Get list of sw names.
std::string getHwFromSw(const std::string &key)
Get the Hw From Sw.
std::map< std::string, std::vector< int > > thresholdsIn_
description
std::pair< std::string, int > findApvChannel(std::string feb, std::string hybrid, int channel)
get APV channel number given feb, hybrid, and channel number
std::string getStringFromSw(const std::string &key)
Get the String From Sw.
std::map< std::string, std::string > sw_to_hw
description
std::string getSwFromHw(const std::string &key)
Get the Sw From Hw.
std::map< std::string, std::string >::iterator strmap_it
description
std::string getStringFromHw(const std::string &key)
Get the String From Hw.
std::map< std::string, std::string > string_to_hw
description
void getStrings(std::vector< std::string > &strings)
Get list of string modules.
std::map< std::string, std::string > hw_to_sw
description
std::map< std::string, std::string > hw_to_string
description
std::string getHwFromString(const std::string &key)
Get the Hw From String.
std::string getSwFromString(const std::string &key)
Get the Sw From String.
void ReadThresholdsFile(std::string filename)
Used to read svt channel DAQ threshold values from daq thresholds file.
int getSvtIDFromHWChannel(int channel, std::string hwTag, std::map< std::string, std::map< int, int > > svtid_map)
Return global svt id for channel by providing local channel number and F<n>H<m> of channel.
void getHws(std::vector< std::string > &hws)
Get list of hw names.
int getThresholdValue(std::string feb, std::string hybrid, int channel)
Get channel DAQ threshold.
std::map< std::string, std::string > string_to_sw
description
std::map< std::string, std::map< int, int > > buildChannelSvtIDMap()
Build global svt id map for all FebHybrid combinations.
std::vector< std::string > getHybridStrings()
Get the Hybrid Strings.
std::map< std::string, std::string > sw_to_string
description
std::map< std::string, std::map< std::string, std::vector< int > > > apvChannelMap_
description
void buildApvChannelMap()
Used to generate apv channel map and read in thresholds from database.