57 m_gtExternalTemplate =
cp.gtExternalTemplate();
58 m_uGtB =
cp.getuGtB();
60 m_condMaxNumberObjects =
cp.condMaxNumberObjects();
61 m_condLastResult =
cp.condLastResult();
62 m_combinationsInCond =
cp.getCombinationsInCond();
64 m_verbosity =
cp.m_verbosity;
82 m_gtExternalTemplate = eSumTempl;
90 LogDebug(
"L1TGlobal") <<
"Evaluating External Condition " << m_gtExternalTemplate->condName() <<
" on Channel "
91 << m_gtExternalTemplate->extChannel() <<
" relative Bx "
92 << m_gtExternalTemplate->condRelativeBx() << std::endl;
99 bool condResult =
false;
106 (combinationsInCond()).
clear();
109 objectsInComb.clear();
114 int useBx = bxEval + m_gtExternalTemplate->condRelativeBx();
115 unsigned int exCondCh = m_gtExternalTemplate->extChannel();
118 if ((useBx < candVec->getFirstBX()) || (useBx > candVec->
getLastBX())) {
122 int numberObjects = candVec->
size(useBx);
123 if (numberObjects < 1) {
132 if (!
ext.getExternalDecision(exCondCh)) {
133 LogDebug(
"L1TGlobal") <<
"\t\t External Condition was not set" << std::endl;
141 objectsInComb.push_back(indexObj);
142 (combinationsInCond()).push_back(objectsInComb);
147 LogDebug(
"L1TGlobal") <<
"\t\t Congrats, External Condition was set!" << std::endl;
153 m_gtExternalTemplate->print(myCout);