test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
EGPhotonImporter.cc File Reference
#include "RecoParticleFlow/PFProducer/interface/BlockElementImporterBase.h"
#include "RecoParticleFlow/PFProducer/interface/PhotonSelectorAlgo.h"
#include "DataFormats/ParticleFlowReco/interface/PFClusterFwd.h"
#include "DataFormats/ParticleFlowReco/interface/PFCluster.h"
#include "DataFormats/ParticleFlowReco/interface/PFBlockElementSuperCluster.h"
#include "DataFormats/EgammaCandidates/interface/PhotonFwd.h"
#include "DataFormats/EgammaCandidates/interface/Photon.h"
#include "DataFormats/EgammaReco/interface/SuperCluster.h"
#include "RecoParticleFlow/PFProducer/interface/PFBlockElementSCEqual.h"
#include <unordered_map>

Go to the source code of this file.

Classes

class  EGPhotonImporter
 

Functions

 _superClustersArePF (conf.getParameter< bool >("superClustersArePF"))
 
static const
BlockElementImporterFactory::PMaker
< EGPhotonImporter
s_maker__LINE__ ("EGPhotonImporter")
 

Function Documentation

_superClustersArePF ( conf.getParameter< bool >  "superClustersArePF")

Definition at line 41 of file EGPhotonImporter.cc.

References dbtoconf::conf, edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.

41  {
42  const std::string& selChoice =
43  conf.getParameter<std::string>("SelectionChoice");
44  _selectionChoice = _selectionTypes.at(selChoice);
45  const edm::ParameterSet& selDef =
46  conf.getParameterSet("SelectionDefinition");
47  const float minEt = selDef.getParameter<double>("minEt");
48  const float trackIso_const = selDef.getParameter<double>("trackIsoConstTerm");
49  const float trackIso_slope = selDef.getParameter<double>("trackIsoSlopeTerm");
50  const float ecalIso_const = selDef.getParameter<double>("ecalIsoConstTerm");
51  const float ecalIso_slope = selDef.getParameter<double>("ecalIsoSlopeTerm");
52  const float hcalIso_const = selDef.getParameter<double>("hcalIsoConstTerm");
53  const float hcalIso_slope = selDef.getParameter<double>("hcalIsoSlopeTerm");
54  const float hoe = selDef.getParameter<double>("HoverE");
55  const float loose_hoe = selDef.getParameter<double>("LooseHoverE");
56  const float combIso = selDef.getParameter<double>("combIsoConstTerm");
57  _selector.reset(new PhotonSelectorAlgo((float)_selectionChoice,
58  minEt,
59  trackIso_const, trackIso_slope,
60  ecalIso_const, ecalIso_slope,
61  hcalIso_const, hcalIso_slope,
62  hoe,
63  combIso,
64  loose_hoe));
65 }
T getParameter(std::string const &) const
tuple conf
Definition: dbtoconf.py:185
static const BlockElementImporterFactory ::PMaker< EGPhotonImporter > s_maker__LINE__ ( "EGPhotonImporter"  )
static