CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Typedefs | Functions
ObjectViewCleaner.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/Candidate/interface/Candidate.h"
#include "DataFormats/Candidate/interface/CandidateFwd.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 "FWCore/MessageLogger/interface/MessageLogger.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  ObjectViewCleaner< T >
 

Typedefs

typedef ObjectViewCleaner
< reco::Candidate
CandViewCleaner
 
typedef ObjectViewCleaner
< reco::Electron
ElectronViewCleaner
 
typedef ObjectViewCleaner
< reco::GsfElectron
GsfElectronViewCleaner
 
typedef ObjectViewCleaner
< reco::Jet
JetViewCleaner
 
typedef ObjectViewCleaner
< reco::Muon
MuonViewCleaner
 
typedef ObjectViewCleaner
< reco::Photon
PhotonViewCleaner
 

Functions

 deltaRMin_ (iConfig.getParameter< double >("deltaRMin"))
 
 moduleLabel_ (iConfig.getParameter< string >("@module_label"))
 
 nObjectsClean_ (0)
 
 nObjectsTot_ (0)
 
 objKeepCut_ (iConfig.existsAs< std::string >("srcObjectSelection")?iConfig.getParameter< std::string >("srcObjectSelection"):"", true)
 
 objRemoveCut_ (iConfig.existsAs< std::string >("srcObjectsToRemoveSelection")?iConfig.getParameter< std::string >("srcObjectsToRemoveSelection"):"", true)
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< CandViewCleaner > > 
s_filler__LINE__ ("CandViewCleaner")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker
< CandViewCleaner > > 
s_maker__LINE__ ("CandViewCleaner")
 

Typedef Documentation

Definition at line 176 of file ObjectViewCleaner.cc.

Definition at line 180 of file ObjectViewCleaner.cc.

Definition at line 179 of file ObjectViewCleaner.cc.

Definition at line 177 of file ObjectViewCleaner.cc.

Definition at line 178 of file ObjectViewCleaner.cc.

Definition at line 181 of file ObjectViewCleaner.cc.

Function Documentation

deltaRMin_ ( iConfig.getParameter< double >  "deltaRMin")
moduleLabel_ ( iConfig.getParameter< string >  "@module_label")
nObjectsClean_ ( )

Definition at line 97 of file ObjectViewCleaner.cc.

Referenced by ObjectViewCleaner< T >::endJob(), and ObjectViewCleaner< T >::produce().

98 {
99  produces<edm::RefToBaseVector<T> >();
100 }
nObjectsTot_ ( )
objKeepCut_ ( iConfig.existsAs< std::string >("srcObjectSelection")?iConfig.getParameter< std::string >("srcObjectSelection"):""  ,
true   
)
objRemoveCut_ ( iConfig.existsAs< std::string >("srcObjectsToRemoveSelection")?iConfig.getParameter< std::string >("srcObjectsToRemoveSelection"):""  ,
true   
)
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< PhotonViewCleaner > > s_filler__LINE__ ( "CandViewCleaner"  )
static
static const edm::MakerPluginFactory::PMaker< edm::WorkerMaker< PhotonViewCleaner > > s_maker__LINE__ ( "CandViewCleaner"  )
static