CMS 3D CMS Logo

Macros | Functions
PFBlockAlgo.cc File Reference
#include "RecoParticleFlow/PFProducer/interface/PFBlockAlgo.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/PluginManager/interface/PluginFactory.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <algorithm>
#include <iostream>
#include <array>
#include <iterator>
#include <sstream>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Macros

#define INIT_ENTRY(name)   { #name, name }
 

Functions

std::ostream & operator<< (std::ostream &out, const PFBlockAlgo &a)
 

Macro Definition Documentation

◆ INIT_ENTRY

#define INIT_ENTRY (   name)    { #name, name }

Definition at line 17 of file PFBlockAlgo.cc.

Referenced by PFBlockAlgo::PFBlockAlgo().

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const PFBlockAlgo a 
)

Definition at line 325 of file PFBlockAlgo.cc.

References a, and MillePedeFileConverter_cfg::out.

325  {
326  if (!out)
327  return out;
328 
329  out << "====== Particle Flow Block Algorithm ======= ";
330  out << endl;
331  out << "number of unassociated elements : " << a.elements_.size() << endl;
332  out << endl;
333 
334  for (auto const& element : a.elements_) {
335  out << "\t" << *element << endl;
336  }
337 
338  return out;
339 }
double a
Definition: hdecay.h:119