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();
69 std::ostringstream os2; os2 <<
m_clock->m_trigDec->isPassed(*aItemName); entry_type << os2.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();
86 std::ostringstream os2; os2 <<
m_clock->m_trigDec->isPassed(*aChainName) ; entry_type << os2.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();
102 std::ostringstream os2; os2 <<
m_clock->m_trigDec->isPassed(*aChainName); entry_type << os2.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.");
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;
151 os <<
" LV1 " << l1iterm->
name() <<
" isPrescaled: " << l1iterm->
isPrescaled()
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 ) {
166 theclass->message(
"ERROR: get roi failed");
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 ) {
187 theclass->message(
"ERROR: get roi failed");
191 os <<
" "<< roiIt->label() <<
" ROI: "
192 <<
"(" << roi->
eta() <<
", " << roi->
phi() <<
") " << std::endl;
const std::vector< Trig::Feature< T > > get(const std::string &label="", unsigned int condition=TrigDefs::Physics, const std::string &teName="") const
returns flattened vector of Features of given type This method is in fact sullied by 3 arguments.