CMS 3D CMS Logo

BasePilupSubtractionJetProducer.cc File Reference

#include <memory>
#include "DataFormats/Common/interface/EDProduct.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/Provenance/interface/ProductID.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/JetReco/interface/CaloJetCollection.h"
#include "RecoJets/JetAlgorithms/interface/JetMaker.h"
#include "RecoJets/JetAlgorithms/interface/JetRecoTypes.h"
#include "RecoJets/JetAlgorithms/interface/JetAlgoHelper.h"
#include "RecoJets/JetAlgorithms/interface/ProtoJet.h"
#include "DataFormats/Candidate/interface/CandidateFwd.h"
#include "DataFormats/RecoCandidate/interface/RecoCandidate.h"
#include "DataFormats/Candidate/interface/LeafCandidate.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
#include "Geometry/Records/interface/CaloGeometryRecord.h"
#include "DataFormats/Provenance/interface/Provenance.h"
#include "DataFormats/Math/interface/LorentzVector.h"
#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/Provenance/interface/ParameterSetID.h"
#include "BasePilupSubtractionJetProducer.h"

Go to the source code of this file.

Namespaces

namespace  cms

Functions

template<class T>
void dumpJets (const T &fJets)
bool makeBasicJet (const string &fTag)
bool makeCaloJet (const string &fTag)
bool makeCaloJetPU (const string &fTag)
bool makeGenericJet (const string &fTag)
bool makeGenJet (const string &fTag)

Variables

const bool debug = false


Function Documentation

template<class T>
void @13111::dumpJets ( const T &  fJets  )  [inline, static]

Definition at line 59 of file BasePilupSubtractionJetProducer.cc.

References GenMuonPlsPt100GeV_cfg::cout, lat::endl(), and i.

00059                                  {
00060     for (unsigned i = 0; i < fJets.size(); ++i) {
00061       std::cout << "Jet # " << i << std::endl << fJets[i].print();
00062     }
00063   }

bool @13111::makeBasicJet ( const string &  fTag  )  [static]

Definition at line 51 of file BasePilupSubtractionJetProducer.cc.

00051                                          {
00052     return fTag == "BasicJet";
00053   }

bool @13111::makeCaloJet ( const string &  fTag  )  [static]

Definition at line 45 of file BasePilupSubtractionJetProducer.cc.

00045                                         {
00046     return fTag == "CaloJet";
00047   }

bool @13111::makeCaloJetPU ( const string &  fTag  )  [static]

Definition at line 41 of file BasePilupSubtractionJetProducer.cc.

Referenced by cms::BasePilupSubtractionJetProducer::BasePilupSubtractionJetProducer(), cms::BasePilupSubtractionJetProducer::ieta(), cms::BasePilupSubtractionJetProducer::iphi(), and cms::BasePilupSubtractionJetProducer::subtract_pedestal().

00041                                           {
00042     return fTag == "CaloJetPileupSubtraction";
00043   }

bool @13111::makeGenericJet ( const string &  fTag  )  [static]

Definition at line 54 of file BasePilupSubtractionJetProducer.cc.

References makeBasicJet(), makeCaloJet(), and makeGenJet().

00054                                            {
00055     return !makeCaloJet (fTag) && !makeGenJet (fTag) && !makeBasicJet (fTag);
00056   }

bool @13111::makeGenJet ( const string &  fTag  )  [static]

Definition at line 48 of file BasePilupSubtractionJetProducer.cc.

00048                                        {
00049     return fTag == "GenJet";
00050   }


Variable Documentation

const bool debug = false [static]

Definition at line 40 of file BasePilupSubtractionJetProducer.cc.


Generated on Tue Jun 9 17:55:18 2009 for CMSSW by  doxygen 1.5.4