CMS 3D CMS Logo

PFClusterFromHGCalMultiCluster.h
Go to the documentation of this file.
1 #ifndef __RecoParticleFlow_PFClusterProducer_PFClusterFromHGCalMultiCluster_H__
2 #define __RecoParticleFlow_PFClusterProducer_PFClusterFromHGCalMultiCluster_H__
3 
8 
10 public:
12  : InitialClusteringStepBase(conf, sumes) {
13  filterByTracksterPID_ = conf.getParameter<bool>("filterByTracksterPID");
14  pid_threshold_ = conf.getParameter<double>("pid_threshold");
15  filter_on_categories_ = conf.getParameter<std::vector<int> >("filter_on_categories");
16 
18  sumes.consumes<std::vector<reco::HGCalMultiCluster> >(conf.getParameter<edm::InputTag>("clusterSrc"));
19  tracksterToken_ = sumes.consumes<std::vector<ticl::Trackster> >(conf.getParameter<edm::InputTag>("tracksterSrc"));
20  }
21 
25 
26  void updateEvent(const edm::Event&) final;
27 
29  const std::vector<bool>&,
30  const std::vector<bool>&,
31  reco::PFClusterCollection&) override;
32 
33 private:
36  std::vector<int> filter_on_categories_;
37 
40 
43 };
44 
46 
47 #endif
PFClusterFromHGCalMultiCluster::updateEvent
void updateEvent(const edm::Event &) final
Definition: PFClusterFromHGCalMultiCluster.cc:8
reco::PFClusterCollection
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects
Definition: PFClusterFwd.h:9
InitialClusteringStepBase.h
Trackster.h
edm::EDGetTokenT
Definition: EDGetToken.h:33
PFClusterFromHGCalMultiCluster::pid_threshold_
float pid_threshold_
Definition: PFClusterFromHGCalMultiCluster.h:35
HGCalMultiCluster.h
edm::Handle< reco::PFRecHitCollection >
PFClusterFromHGCalMultiCluster::operator=
PFClusterFromHGCalMultiCluster & operator=(const PFClusterFromHGCalMultiCluster &)=delete
PFClusterFromHGCalMultiCluster
Definition: PFClusterFromHGCalMultiCluster.h:9
PFClusterFromHGCalMultiCluster::PFClusterFromHGCalMultiCluster
PFClusterFromHGCalMultiCluster(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition: PFClusterFromHGCalMultiCluster.h:11
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition: PluginFactory.h:124
edm::ParameterSet
Definition: ParameterSet.h:47
InitialClusteringStepBase
Definition: InitialClusteringStepBase.h:24
edmplugin::PluginFactory
Definition: PluginFactory.h:34
PFClusterFromHGCalMultiCluster::trackstersH_
edm::Handle< std::vector< ticl::Trackster > > trackstersH_
Definition: PFClusterFromHGCalMultiCluster.h:42
PFClusterFromHGCalMultiCluster::filter_on_categories_
std::vector< int > filter_on_categories_
Definition: PFClusterFromHGCalMultiCluster.h:36
PFClusterFromHGCalMultiCluster::buildClusters
void buildClusters(const edm::Handle< reco::PFRecHitCollection > &, const std::vector< bool > &, const std::vector< bool > &, reco::PFClusterCollection &) override
Definition: PFClusterFromHGCalMultiCluster.cc:13
PFClusterFromHGCalMultiCluster::clusterToken_
edm::EDGetTokenT< std::vector< reco::HGCalMultiCluster > > clusterToken_
Definition: PFClusterFromHGCalMultiCluster.h:38
PFRecHitFraction.h
PFClusterFromHGCalMultiCluster::~PFClusterFromHGCalMultiCluster
~PFClusterFromHGCalMultiCluster() override
Definition: PFClusterFromHGCalMultiCluster.h:22
PFClusterFromHGCalMultiCluster::clusterH_
edm::Handle< std::vector< reco::HGCalMultiCluster > > clusterH_
Definition: PFClusterFromHGCalMultiCluster.h:39
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
PFClusterFromHGCalMultiCluster::tracksterToken_
edm::EDGetTokenT< std::vector< ticl::Trackster > > tracksterToken_
Definition: PFClusterFromHGCalMultiCluster.h:41
edm::Event
Definition: Event.h:73
PFClusterFromHGCalMultiCluster::filterByTracksterPID_
bool filterByTracksterPID_
Definition: PFClusterFromHGCalMultiCluster.h:34
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:45