28   void getInfo(
const std::string& 
key,
const std::string&,std::ostringstream& 
os);
 
   34   : m_trigDec(
"TrigDec::TrigDecisionTool",0), theclass{}
 
   41            "System for browsing the Trigger Decison [unmaintained]",
 
   42            "Weiyi Zhang, wyizhang@cern.ch, Riccardo.Maria.BIANCHI@cern.ch"), 
 
   54     message(
"Error: retrieve TrigDecisionTool failed!");
 
   60   QStringList entry_key;
 
   61   QStringList entry_type;
 
   64   std::vector<std::string> l1triggers = 
m_clock->
m_trigDec->getListOfTriggers(
"L1_.*");
 
   65   if(!l1triggers.empty()) {
 
   66     for (std::vector<std::string>::const_iterator aItemName = l1triggers.begin(); aItemName != l1triggers.end(); ++aItemName) {
 
   67       if((*aItemName!=
"") && (*aItemName!=
" ")) {
 
   68     std::ostringstream os1;     os1 << *aItemName;  entry_key << os1.str().c_str();
 
   75     message(
"WARNING:: The TriggerDecision Tool is not configured well for Level 1.");
 
   76     message(
"WARNING:: You may need a configure file (usually 'LVL1Config.xml').");
 
   77     message(
"WARNING:: Please refer to 'vp1 -h' for further instructions.");
 
   80   std::vector<std::string> l2triggers = 
m_clock->
m_trigDec->getListOfTriggers(
"L2_.*");
 
   81   if(!l2triggers.empty()){
 
   83     for (std::vector<std::string>::const_iterator aChainName = l2triggers.begin(); aChainName != l2triggers.end(); ++aChainName) {
 
   84       if((*aChainName!=
" ") && (*aChainName!=
"")) {
 
   85     std::ostringstream os1;  os1 << *aChainName;    entry_key << os1.str().c_str();
 
   92     message(
"WARNING:: The TriggerDecision Tool is not configured well for Level 2.");
 
   93     message(
"WARNING:: You may need a configure file (usually 'pureSteering_menu.xml').");
 
   94     message(
"WARNING:: Please refer to 'vp1 -h' for further instructions.");
 
   97   std::vector<std::string> eftriggers = 
m_clock->
m_trigDec->getListOfTriggers(
"EF_.*");
 
   98   if(!eftriggers.empty()) {
 
   99     for (std::vector<std::string>::const_iterator aChainName = eftriggers.begin(); aChainName != eftriggers.end(); ++aChainName) {
 
  100       if((*aChainName!=
" ") && (*aChainName!=
"")) {
 
  101     std::ostringstream os1;  os1 << *aChainName;    entry_key << os1.str().c_str();
 
  108     message(
"WARNING:: The TriggerDecision Tool is not configured well for Event Filter.");
 
  109     message(
"WARNING:: You may need a configure file (usually 'pureSteering_menu.xml').");
 
  110     message(
"WARNING:: Please refer to 'vp1 -h' for further instruction.");
 
  125     return QStringList();
 
  127   std::ostringstream 
os;
 
  131   catch (std::runtime_error &
e) {
 
  132     os  << 
"Exception thrown when getting info for key="<<
key.toStdString()<<
" of type="<<
type.toStdString();
 
  133     os  << 
"Exception: " << 
e.what() << std::endl;
 
  136   return QString(
os.str().c_str()).split(
"\n");
 
  143   os << 
" Trigger Information: " << std::endl;
 
  146   if(
key.find(
"L1",0)!= std::string::npos) {
 
  147     os << 
" LV1: " << 
key << std::endl;
 
  150       os << 
"   LV1 " << l1iterm->
name() << 
" isPassed: "   << l1iterm->
isPassed() << std::endl;
 
  153       os << 
"   LV1 " << l1iterm->
name() << 
" isVeto: "         << l1iterm->
isVeto() << std::endl;
 
  157   if(
key.find(
"L2",0)!= std::string::npos) {
 
  161       os << 
"   LV2: " <<   
key     << 
"   VecSize: " << roif.size() << std::endl;
 
  162       std::vector<Trig::Feature<TrigRoiDescriptor> >
::iterator roiIt = roif.begin();
 
  163       for ( ;roiIt != roif.end(); ++roiIt ) {
 
  169     os << 
"  "<<  roiIt->label() << 
" ROI: " 
  170        <<  
"(" << roi->
eta() << 
", " << roi->
phi() << 
") " << std::endl;
 
  177   if(
key.find(
"EF",0)!= std::string::npos) {
 
  181       os << 
"      EF: " <<     
key     << 
"   VecSize: " << roif.size() << std::endl;
 
  183       std::vector<Trig::Feature<TrigRoiDescriptor> >
::iterator roiIt = roif.begin();
 
  184       for ( ;roiIt != roif.end(); ++roiIt ) {
 
  191     os << 
"  "<<  roiIt->label() << 
" ROI: " 
  192        <<  
"(" << roi->
eta() << 
", " << roi->
phi() << 
") " << std::endl;