Skip to content
Snippets Groups Projects
Commit 5be51746 authored by Peter Sherwood's avatar Peter Sherwood
Browse files

cout and print statement removal

parent 0cfce409
No related branches found
No related tags found
8 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!38903Partial fulfilment of ATR-20700,!38811Partial fulfilment of ATR-20700 - reporting events passing jet hypo by leg,!38707Partial fulfilment of reporting jet hypo passing jets "by leg"
......@@ -167,7 +167,6 @@ class ConditionsToolSetterFastReduction(object):
def _fill_conditions_map(self, node, cmap):
if is_leaf(node):
print(self.__class__.__name__, node)
assert (len(node.compound_condition_tools) == 1)
cmap[node.node_id] = node.compound_condition_tools[0]
......@@ -226,7 +225,6 @@ class ConditionsToolSetterFastReduction(object):
conditionsMap = {}
self._fill_conditions_map(tree, conditionsMap)
conditionsVec = self._map_2_vec(conditionsMap)
print (self.__class__.__name__, 'conditoinsVec', conditionsVec)
# make a config tool and provide it with condition makers
config_tool = self._get_tool_instance('fastreduction')
......
......@@ -30,8 +30,6 @@ class NodeSplitterVisitor(object):
new_children = []
for c in node.children:
if c.scenario == 'simple':
print ('nodesplitter::mod node', c)
print ('not chainpartinds', not c.chainpartinds, c.chainpartinds)
assert ((len(c.chainpartinds) ==
len(c.conf_attrs))) or not c.chainpartinds
for cpi, c_a in zip(c.chainpartinds, c.conf_attrs):
......
......@@ -44,10 +44,6 @@ FastReducer::FastReducer(const HypoJetGroupCIter& groups_b,
const Collector& collector):
m_conditions(conditions), m_tree(tree) {
// write pout the leaf nodes, after checking they have a suitable
// leg label. This label i sused to report passing jets to the Trigger
// framework.
// create an empty vector of indices of satisfying jet groups
// for each Condition.
for(std::size_t i = 0; i < m_tree.size(); ++i){
......
......@@ -10,20 +10,11 @@
#include <algorithm>
#include <sstream>
#include <iostream>
FastReductionMatcher::FastReductionMatcher(ConditionPtrs conditions,
const Tree& tree):
m_conditions(std::move(conditions)),
m_tree(tree){
std::cout << "FastReductionMatcher::FastReductionMatcher:\n"
<< " tree size " << m_tree.size() << '\n'
<< " leaves size " << (tree.leaves()).size() << '\n'
<< " conditions size " << m_conditions.size() << '\n';
for (const auto& c : m_conditions){std::cout << c->toString() << '\n';}
for (const auto& il : m_tree.leaves()){
auto label = m_conditions[il]->label();
if (label.rfind("leg", 0) != 0) { // startswith "leg"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment