CMS 3D CMS Logo

Macros | Functions
PFBlockAlgo.cc File Reference
#include "RecoParticleFlow/PFProducer/interface/PFBlockAlgo.h"
#include "FWCore/Framework/interface/ProductRegistryHelper.h"
#include "FWCore/Framework/src/WorkerMaker.h"
#include "FWCore/MessageLogger/interface/ErrorObj.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescriptionFiller.h"
#include "FWCore/PluginManager/interface/PluginFactory.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

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

Definition at line 19 of file PFBlockAlgo.cc.

Referenced by PFBlockAlgo::PFBlockAlgo().

Function Documentation

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

Definition at line 342 of file PFBlockAlgo.cc.

References PFBlockAlgo::elements_, and MillePedeFileConverter_cfg::out.

342  {
343  if(! out) return out;
344 
345  out<<"====== Particle Flow Block Algorithm ======= ";
346  out<<endl;
347  out<<"number of unassociated elements : "<<a.elements_.size()<<endl;
348  out<<endl;
349 
350  for(auto const& element : a.elements_) {
351  out<<"\t"<< *element <<endl;
352  }
353 
354  return out;
355 }
ElementList elements_
Definition: PFBlockAlgo.h:78