CMS 3D CMS Logo

PhysicsHistograms.h File Reference

#include <memory>
#include <fstream>
#include "PhysicsTools/StarterKit/interface/HistoMuon.h"
#include "PhysicsTools/StarterKit/interface/HistoElectron.h"
#include "PhysicsTools/StarterKit/interface/HistoTau.h"
#include "PhysicsTools/StarterKit/interface/HistoJet.h"
#include "PhysicsTools/StarterKit/interface/HistoMET.h"
#include "PhysicsTools/StarterKit/interface/HistoPhoton.h"
#include "PhysicsTools/StarterKit/interface/HistoTrack.h"
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "PhysicsTools/UtilAlgos/interface/TFileService.h"
#include "PhysicsTools/UtilAlgos/interface/TFileDirectory.h"

Go to the source code of this file.

Classes

class  PhysicsHistograms
 Object to manage and fill various physics histograms. More...
struct  PhysicsHistograms::KinAxisLimits

Functions

std::ostream & operator<< (std::ostream &out, const reco::Candidate &cand)
 Method to print out reco::Candidates.


Function Documentation

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

Method to print out reco::Candidates.

class

Definition at line 189 of file PhysicsHistograms.cc.

References reco::Particle::eta(), reco::Particle::mass(), reco::Particle::phi(), and reco::Particle::pt().

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:55:00 2009 for CMSSW by  doxygen 1.5.4