Skip to content
Snippets Groups Projects

Input to PrintDecayTree

Merged Patrick Koppenburg requested to merge pkoppenb-Vector into master
@@ -37,8 +37,7 @@ public:
// ==========================================================================
/// the standard execution of the algorithm
void operator()( const LHCb::Particles& parts ) const override {
// get the tool
m_printDecay->printTree( parts.begin(), parts.end(), -1 );
for ( const auto* p : parts ) { m_printDecay->printTree( p, -1 ); }
if ( !parts.empty() ) {
m_eventCount++;
m_candidateCount += parts.size();
@@ -51,8 +50,8 @@ private:
/// the IPrintDecay tool itself
ToolHandle<IPrintDecay> m_printDecay = {this, "PrintDecayTreeTool", "PrintDecayTreeTool"};
// counters
mutable Gaudi::Accumulators::Counter<> m_eventCount{this, "Events"};
mutable Gaudi::Accumulators::Counter<> m_candidateCount{this, "Candidates"};
mutable Gaudi::Accumulators::Counter<> m_eventCount{this, "Events"};
mutable Gaudi::Accumulators::StatCounter<unsigned int> m_candidateCount{this, "Candidates"};
// ==========================================================================
};
Loading