test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Typedefs | Functions
ObjectViewMatcher.cc File Reference
#include "FWCore/Framework/interface/EDProducer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "FWCore/Utilities/interface/transform.h"
#include "DataFormats/Common/interface/View.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "DataFormats/MuonReco/interface/Muon.h"
#include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
#include "DataFormats/EgammaCandidates/interface/Electron.h"
#include "DataFormats/JetReco/interface/Jet.h"
#include "DataFormats/EgammaCandidates/interface/Photon.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "CommonTools/Utils/interface/StringCutObjectSelector.h"
#include <memory>
#include <vector>
#include <sstream>
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Classes

class  ObjectViewMatcher< T1, T2 >
 

Typedefs

typedef ObjectViewMatcher
< reco::Jet, reco::Track
TrackMatchedJetProducer
 
typedef ObjectViewMatcher
< reco::Photon, reco::Track
TrackMatchedPhotonProducer
 

Functions

 deltaRMax_ (iConfig.getParameter< double >("deltaRMax"))
 
 moduleLabel_ (iConfig.getParameter< std::string >("@module_label"))
 
 nObjectsMatch_ (0)
 
 nObjectsTot_ (0)
 
 objCut_ (iConfig.existsAs< std::string >("srcObjectSelection")?iConfig.getParameter< std::string >("srcObjectSelection"):"", true)
 
 objMatchCut_ (iConfig.existsAs< std::string >("srcObjectsToMatchSelection")?iConfig.getParameter< std::string >("srcObjectsToMatchSelection"):"", true)
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< TrackMatchedPhotonProducer > > 
s_filler__LINE__ ("TrackMatchedPhotonProducer")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< TrackMatchedPhotonProducer > > 
s_maker__LINE__ ("TrackMatchedPhotonProducer")
 

Typedef Documentation

Definition at line 177 of file ObjectViewMatcher.cc.

Definition at line 176 of file ObjectViewMatcher.cc.

Function Documentation

deltaRMax_ ( iConfig.getParameter< double >  "deltaRMax")
moduleLabel_ ( iConfig.getParameter< std::string >  "@module_label")
nObjectsMatch_ ( )

Definition at line 94 of file ObjectViewMatcher.cc.

Referenced by ObjectViewMatcher< T1, T2 >::endJob(), and ObjectViewMatcher< T1, T2 >::produce().

95 {
96  produces<std::vector<T1> >();
97 }
nObjectsTot_ ( )
objCut_ ( iConfig.existsAs< std::string >("srcObjectSelection")?iConfig.getParameter< std::string >("srcObjectSelection"):""  ,
true   
)
objMatchCut_ ( iConfig.existsAs< std::string >("srcObjectsToMatchSelection")?iConfig.getParameter< std::string >("srcObjectsToMatchSelection"):""  ,
true   
)
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< TrackMatchedJetProducer > > s_filler__LINE__ ( "TrackMatchedPhotonProducer"  )
static
static const edm::MakerPluginFactory::PMaker< edm::WorkerMaker< TrackMatchedJetProducer > > s_maker__LINE__ ( "TrackMatchedPhotonProducer"  )
static