CMS 3D CMS Logo

FlavorHistoryProducer.h File Reference

#include "FWCore/Framework/interface/EDProducer.h"
#include <string>
#include <vector>
#include <set>
#include <utility>
#include <algorithm>
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
#include "DataFormats/Common/interface/Ptr.h"
#include "DataFormats/Candidate/interface/CandidateFwd.h"
#include "DataFormats/Candidate/interface/ShallowClonePtrCandidate.h"
#include "DataFormats/HepMCCandidate/interface/FlavorHistory.h"
#include "DataFormats/Common/interface/Handle.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Utilities/interface/EDMException.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <fstream>

Go to the source code of this file.

Classes

class  FlavorHistoryProducer

Functions

std::ostream & operator<< (std::ostream &out, reco::FlavorHistory const &cand)
std::ostream & operator<< (std::ostream &out, reco::Candidate const &cand)
 class


Function Documentation

std::ostream& operator<< ( std::ostream &  out,
reco::FlavorHistory const &  cand 
)

std::ostream& operator<< ( std::ostream &  out,
const reco::Candidate cand 
)

class

Author:
Stephen Mrenna, FNAL
Version:
$Id: FlavorHistoryProducer.cc,v 1.0

Definition at line 189 of file PhysicsHistograms.cc.

00190 {
00191   char buff[1000];
00192   sprintf( buff, "Pt, Eta, Phi, M = (%6.2f, %6.2f, %6.2f, %6.2f)",
00193            cand.pt(), cand.eta(), cand.phi(), cand.mass() );
00194   out << buff;
00195   return out;
00196 }


Generated on Tue Jun 9 17:54:45 2009 for CMSSW by  doxygen 1.5.4