CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
PFECALSuperClusterProducer Class Reference
Inheritance diagram for PFECALSuperClusterProducer:
edm::stream::EDProducer<>

Public Member Functions

void beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override
 
 PFECALSuperClusterProducer (const edm::ParameterSet &)
 
void produce (edm::Event &, const edm::EventSetup &) override
 
 ~PFECALSuperClusterProducer () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Private Attributes

PFECALSuperClusterAlgo::clustering_type _theclusteringtype
 
PFECALSuperClusterAlgo::energy_weight _theenergyweight
 
bool isOOTCollection_
 
std::string PFBasicClusterCollectionBarrel_
 
std::string PFBasicClusterCollectionEndcap_
 
std::string PFBasicClusterCollectionPreshower_
 
std::string PFClusterAssociationEBEE_
 
std::string PFClusterAssociationES_
 
std::string PFSuperClusterCollectionBarrel_
 
std::string PFSuperClusterCollectionEndcap_
 
std::string PFSuperClusterCollectionEndcapWithPreshower_
 
PFECALSuperClusterAlgo superClusterAlgo_
 clustering algorithm More...
 
std::shared_ptr< PFEnergyCalibrationthePFEnergyCalibration_
 
bool verbose_
 verbose ? More...
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 

Detailed Description

Author
Nicolas Chanon Additional authors for Mustache: Y. Gershtein, R. Patel, L. Gray
Date
July 2012

Definition at line 44 of file PFECALSuperClusterProducer.cc.

Constructor & Destructor Documentation

◆ PFECALSuperClusterProducer()

PFECALSuperClusterProducer::PFECALSuperClusterProducer ( const edm::ParameterSet iConfig)
explicit

Definition at line 95 of file PFECALSuperClusterProducer.cc.

95  {
96  verbose_ = iConfig.getUntrackedParameter<bool>("verbose", false);
97 
98  superClusterAlgo_.setUseRegression(iConfig.getParameter<bool>("useRegression"));
99 
100  isOOTCollection_ = iConfig.getParameter<bool>("isOOTCollection");
102 
103  std::string _typename = iConfig.getParameter<std::string>("ClusteringType");
104  if (_typename == ClusterType__BOX) {
106  } else if (_typename == ClusterType__Mustache) {
108  } else {
109  throw cms::Exception("InvalidClusteringType") << "You have not chosen a valid clustering type,"
110  << " please choose from \"Box\" or \"Mustache\"!";
111  }
113  superClusterAlgo_.setUseDynamicDPhi(iConfig.getParameter<bool>("useDynamicDPhiWindow"));
114  // clusteringType and useDynamicDPhi need to be defined before setting the tokens in order to esConsume only the necessary records
115  superClusterAlgo_.setTokens(iConfig, consumesCollector());
116 
117  std::string _weightname = iConfig.getParameter<std::string>("EnergyWeight");
118  if (_weightname == EnergyWeight__Raw) {
120  } else if (_weightname == EnergyWeight__CalibratedNoPS) {
122  } else if (_weightname == EnergyWeight__CalibratedTotal) {
124  } else {
125  throw cms::Exception("InvalidClusteringType") << "You have not chosen a valid energy weighting scheme,"
126  << " please choose from \"Raw\", \"CalibratedNoPS\", or"
127  << " \"CalibratedTotal\"!";
128  }
129 
130  // parameters for clustering
131  bool seedThresholdIsET = iConfig.getParameter<bool>("seedThresholdIsET");
132 
133  double threshPFClusterSeedBarrel = iConfig.getParameter<double>("thresh_PFClusterSeedBarrel");
134  double threshPFClusterBarrel = iConfig.getParameter<double>("thresh_PFClusterBarrel");
135 
136  double threshPFClusterSeedEndcap = iConfig.getParameter<double>("thresh_PFClusterSeedEndcap");
137  double threshPFClusterEndcap = iConfig.getParameter<double>("thresh_PFClusterEndcap");
138 
139  double phiwidthSuperClusterBarrel = iConfig.getParameter<double>("phiwidth_SuperClusterBarrel");
140  double etawidthSuperClusterBarrel = iConfig.getParameter<double>("etawidth_SuperClusterBarrel");
141 
142  double phiwidthSuperClusterEndcap = iConfig.getParameter<double>("phiwidth_SuperClusterEndcap");
143  double etawidthSuperClusterEndcap = iConfig.getParameter<double>("etawidth_SuperClusterEndcap");
144 
145  double doSatelliteClusterMerge = iConfig.getParameter<bool>("doSatelliteClusterMerge");
146  double satelliteClusterSeedThreshold = iConfig.getParameter<double>("satelliteClusterSeedThreshold");
147  double satelliteMajorityFraction = iConfig.getParameter<double>("satelliteMajorityFraction");
148  bool dropUnseedable = iConfig.getParameter<bool>("dropUnseedable");
149 
153 
154  superClusterAlgo_.setThreshSuperClusterEt(iConfig.getParameter<double>("thresh_SCEt"));
155 
156  superClusterAlgo_.setThreshPFClusterSeedBarrel(threshPFClusterSeedBarrel);
157  superClusterAlgo_.setThreshPFClusterBarrel(threshPFClusterBarrel);
158 
159  superClusterAlgo_.setThreshPFClusterSeedEndcap(threshPFClusterSeedEndcap);
160  superClusterAlgo_.setThreshPFClusterEndcap(threshPFClusterEndcap);
161 
162  superClusterAlgo_.setPhiwidthSuperClusterBarrel(phiwidthSuperClusterBarrel);
163  superClusterAlgo_.setEtawidthSuperClusterBarrel(etawidthSuperClusterBarrel);
164 
165  superClusterAlgo_.setPhiwidthSuperClusterEndcap(phiwidthSuperClusterEndcap);
166  superClusterAlgo_.setEtawidthSuperClusterEndcap(etawidthSuperClusterEndcap);
167 
172 
173  //Load the ECAL energy calibration
174  thePFEnergyCalibration_ = std::make_shared<PFEnergyCalibration>();
176 
177  bool applyCrackCorrections_ = iConfig.getParameter<bool>("applyCrackCorrections");
178  superClusterAlgo_.setCrackCorrections(applyCrackCorrections_);
179 
180  PFBasicClusterCollectionBarrel_ = iConfig.getParameter<string>("PFBasicClusterCollectionBarrel");
181  PFSuperClusterCollectionBarrel_ = iConfig.getParameter<string>("PFSuperClusterCollectionBarrel");
182 
183  PFBasicClusterCollectionEndcap_ = iConfig.getParameter<string>("PFBasicClusterCollectionEndcap");
184  PFSuperClusterCollectionEndcap_ = iConfig.getParameter<string>("PFSuperClusterCollectionEndcap");
185 
186  PFBasicClusterCollectionPreshower_ = iConfig.getParameter<string>("PFBasicClusterCollectionPreshower");
188  iConfig.getParameter<string>("PFSuperClusterCollectionEndcapWithPreshower");
189 
190  PFClusterAssociationEBEE_ = "PFClusterAssociationEBEE";
191  PFClusterAssociationES_ = "PFClusterAssociationES";
192 
193  produces<reco::SuperClusterCollection>(PFSuperClusterCollectionBarrel_);
194  produces<reco::SuperClusterCollection>(PFSuperClusterCollectionEndcapWithPreshower_);
195  produces<reco::CaloClusterCollection>(PFBasicClusterCollectionBarrel_);
196  produces<reco::CaloClusterCollection>(PFBasicClusterCollectionEndcap_);
197  produces<reco::CaloClusterCollection>(PFBasicClusterCollectionPreshower_);
198  produces<edm::ValueMap<reco::CaloClusterPtr>>(PFClusterAssociationEBEE_);
199  produces<edm::ValueMap<reco::CaloClusterPtr>>(PFClusterAssociationES_);
200 }

References HLT_FULL_cff::doSatelliteClusterMerge, HLT_FULL_cff::dropUnseedable, Exception, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), PFECALSuperClusterAlgo::kBOX, PFECALSuperClusterAlgo::kCalibratedNoPS, PFECALSuperClusterAlgo::kCalibratedTotal, PFECALSuperClusterAlgo::kMustache, PFECALSuperClusterAlgo::kRaw, HLT_FULL_cff::satelliteClusterSeedThreshold, HLT_FULL_cff::satelliteMajorityFraction, HLT_FULL_cff::seedThresholdIsET, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~PFECALSuperClusterProducer()

PFECALSuperClusterProducer::~PFECALSuperClusterProducer ( )
override

Definition at line 202 of file PFECALSuperClusterProducer.cc.

202 {}

Member Function Documentation

◆ beginLuminosityBlock()

void PFECALSuperClusterProducer::beginLuminosityBlock ( const edm::LuminosityBlock iL,
const edm::EventSetup iE 
)
override

Definition at line 204 of file PFECALSuperClusterProducer.cc.

204  {
206 }

◆ fillDescriptions()

void PFECALSuperClusterProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 333 of file PFECALSuperClusterProducer.cc.

333  {
335  desc.add<std::string>("PFSuperClusterCollectionEndcap", "particleFlowSuperClusterECALEndcap");
336  desc.add<bool>("doSatelliteClusterMerge", false);
337  desc.add<double>("thresh_PFClusterBarrel", 0.0);
338  desc.add<std::string>("PFBasicClusterCollectionBarrel", "particleFlowBasicClusterECALBarrel");
339  desc.add<bool>("useRegression", true);
340  desc.add<double>("satelliteMajorityFraction", 0.5);
341  desc.add<double>("thresh_PFClusterEndcap", 0.0);
342  desc.add<edm::InputTag>("ESAssociation", edm::InputTag("particleFlowClusterECAL"));
343  desc.add<std::string>("PFBasicClusterCollectionPreshower", "particleFlowBasicClusterECALPreshower");
344  desc.add<bool>("use_preshower", true);
345  desc.addUntracked<bool>("verbose", false);
346  desc.add<double>("thresh_SCEt", 4.0);
347  desc.add<double>("etawidth_SuperClusterEndcap", 0.04);
348  desc.add<double>("phiwidth_SuperClusterEndcap", 0.6);
349  desc.add<bool>("useDynamicDPhiWindow", true);
350  desc.add<std::string>("PFSuperClusterCollectionBarrel", "particleFlowSuperClusterECALBarrel");
352  desc.add<bool>("applyCrackCorrections", false);
353  desc.add<double>("satelliteClusterSeedThreshold", 50.0);
354  desc.add<double>("etawidth_SuperClusterBarrel", 0.04);
355  desc.add<std::string>("PFBasicClusterCollectionEndcap", "particleFlowBasicClusterECALEndcap");
356  desc.add<edm::InputTag>("PFClusters", edm::InputTag("particleFlowClusterECAL"));
357  desc.add<double>("thresh_PFClusterSeedBarrel", 1.0);
358  desc.add<std::string>("ClusteringType", "Mustache");
359  desc.add<std::string>("EnergyWeight", "Raw");
360  desc.add<edm::InputTag>("BeamSpot", edm::InputTag("offlineBeamSpot"));
361  desc.add<double>("thresh_PFClusterSeedEndcap", 1.0);
362  desc.add<double>("phiwidth_SuperClusterBarrel", 0.6);
363  desc.add<double>("thresh_PFClusterES", 0.0);
364  desc.add<bool>("seedThresholdIsET", true);
365  desc.add<bool>("isOOTCollection", false);
366  desc.add<edm::InputTag>("barrelRecHits", edm::InputTag("ecalRecHit", "EcalRecHitsEE"));
367  desc.add<edm::InputTag>("endcapRecHits", edm::InputTag("ecalRecHit", "EcalRecHitsEB"));
368  desc.add<std::string>("PFSuperClusterCollectionEndcapWithPreshower",
369  "particleFlowSuperClusterECALEndcapWithPreshower");
370  desc.add<bool>("dropUnseedable", false);
371  descriptions.add("particleFlowSuperClusterECALMustache", desc);
372 }

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, SCEnergyCorrectorSemiParm::makePSetDescription(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ produce()

void PFECALSuperClusterProducer::produce ( edm::Event iEvent,
const edm::EventSetup iSetup 
)
override

Definition at line 208 of file PFECALSuperClusterProducer.cc.

208  {
209  // update SC parameters
211  // do clustering
214 
215  //build collections of output CaloClusters from the used PFClusters
216  auto caloClustersEB = std::make_unique<reco::CaloClusterCollection>();
217  auto caloClustersEE = std::make_unique<reco::CaloClusterCollection>();
218  auto caloClustersES = std::make_unique<reco::CaloClusterCollection>();
219 
220  std::map<reco::CaloClusterPtr, unsigned int> pfClusterMapEB; //maps of pfclusters to caloclusters
221  std::map<reco::CaloClusterPtr, unsigned int> pfClusterMapEE;
222  std::map<reco::CaloClusterPtr, unsigned int> pfClusterMapES;
223 
224  //fill calocluster collections and maps
225  for (const auto& ebsc : *(superClusterAlgo_.getEBOutputSCCollection())) {
226  for (reco::CaloCluster_iterator pfclus = ebsc.clustersBegin(); pfclus != ebsc.clustersEnd(); ++pfclus) {
227  if (!pfClusterMapEB.count(*pfclus)) {
228  reco::CaloCluster caloclus(**pfclus);
229  caloClustersEB->push_back(caloclus);
230  pfClusterMapEB[*pfclus] = caloClustersEB->size() - 1;
231  } else {
232  throw cms::Exception("PFECALSuperClusterProducer::produce")
233  << "Found an EB pfcluster matched to more than one EB supercluster!" << std::dec << std::endl;
234  }
235  }
236  }
237  for (const auto& eesc : *(superClusterAlgo_.getEEOutputSCCollection())) {
238  for (reco::CaloCluster_iterator pfclus = eesc.clustersBegin(); pfclus != eesc.clustersEnd(); ++pfclus) {
239  if (!pfClusterMapEE.count(*pfclus)) {
240  reco::CaloCluster caloclus(**pfclus);
241  caloClustersEE->push_back(caloclus);
242  pfClusterMapEE[*pfclus] = caloClustersEE->size() - 1;
243  } else {
244  throw cms::Exception("PFECALSuperClusterProducer::produce")
245  << "Found an EE pfcluster matched to more than one EE supercluster!" << std::dec << std::endl;
246  }
247  }
248  for (reco::CaloCluster_iterator pfclus = eesc.preshowerClustersBegin(); pfclus != eesc.preshowerClustersEnd();
249  ++pfclus) {
250  if (!pfClusterMapES.count(*pfclus)) {
251  reco::CaloCluster caloclus(**pfclus);
252  caloClustersES->push_back(caloclus);
253  pfClusterMapES[*pfclus] = caloClustersES->size() - 1;
254  } else {
255  throw cms::Exception("PFECALSuperClusterProducer::produce")
256  << "Found an ES pfcluster matched to more than one EE supercluster!" << std::dec << std::endl;
257  }
258  }
259  }
260 
261  //create ValueMaps from output CaloClusters back to original PFClusters
262  auto pfClusterAssociationEBEE = std::make_unique<edm::ValueMap<reco::CaloClusterPtr>>();
263  auto pfClusterAssociationES = std::make_unique<edm::ValueMap<reco::CaloClusterPtr>>();
264 
265  //vectors to fill ValueMaps
266  std::vector<reco::CaloClusterPtr> clusptrsEB(caloClustersEB->size());
267  std::vector<reco::CaloClusterPtr> clusptrsEE(caloClustersEE->size());
268  std::vector<reco::CaloClusterPtr> clusptrsES(caloClustersES->size());
269 
270  //put calocluster output collections in event and get orphan handles to create ptrs
271  const edm::OrphanHandle<reco::CaloClusterCollection>& caloClusHandleEB =
272  iEvent.put(std::move(caloClustersEB), PFBasicClusterCollectionBarrel_);
273  const edm::OrphanHandle<reco::CaloClusterCollection>& caloClusHandleEE =
274  iEvent.put(std::move(caloClustersEE), PFBasicClusterCollectionEndcap_);
275  const edm::OrphanHandle<reco::CaloClusterCollection>& caloClusHandleES =
277 
278  //relink superclusters to output caloclusters and fill vectors for ValueMaps
279  for (auto& ebsc : *(superClusterAlgo_.getEBOutputSCCollection())) {
280  reco::CaloClusterPtr seedptr(caloClusHandleEB, pfClusterMapEB[ebsc.seed()]);
281  ebsc.setSeed(seedptr);
282 
284  for (reco::CaloCluster_iterator pfclus = ebsc.clustersBegin(); pfclus != ebsc.clustersEnd(); ++pfclus) {
285  int caloclusidx = pfClusterMapEB[*pfclus];
286  reco::CaloClusterPtr clusptr(caloClusHandleEB, caloclusidx);
287  clusters.push_back(clusptr);
288  clusptrsEB[caloclusidx] = *pfclus;
289  }
290  ebsc.setClusters(clusters);
291  }
292  for (auto& eesc : *(superClusterAlgo_.getEEOutputSCCollection())) {
293  reco::CaloClusterPtr seedptr(caloClusHandleEE, pfClusterMapEE[eesc.seed()]);
294  eesc.setSeed(seedptr);
295 
297  for (reco::CaloCluster_iterator pfclus = eesc.clustersBegin(); pfclus != eesc.clustersEnd(); ++pfclus) {
298  int caloclusidx = pfClusterMapEE[*pfclus];
299  reco::CaloClusterPtr clusptr(caloClusHandleEE, caloclusidx);
300  clusters.push_back(clusptr);
301  clusptrsEE[caloclusidx] = *pfclus;
302  }
303  eesc.setClusters(clusters);
304 
305  reco::CaloClusterPtrVector psclusters;
306  for (reco::CaloCluster_iterator pfclus = eesc.preshowerClustersBegin(); pfclus != eesc.preshowerClustersEnd();
307  ++pfclus) {
308  int caloclusidx = pfClusterMapES[*pfclus];
309  reco::CaloClusterPtr clusptr(caloClusHandleES, caloclusidx);
310  psclusters.push_back(clusptr);
311  clusptrsES[caloclusidx] = *pfclus;
312  }
313  eesc.setPreshowerClusters(psclusters);
314  }
315 
316  //fill association maps from output CaloClusters back to original PFClusters
317  edm::ValueMap<reco::CaloClusterPtr>::Filler fillerEBEE(*pfClusterAssociationEBEE);
318  fillerEBEE.insert(caloClusHandleEB, clusptrsEB.begin(), clusptrsEB.end());
319  fillerEBEE.insert(caloClusHandleEE, clusptrsEE.begin(), clusptrsEE.end());
320  fillerEBEE.fill();
321 
322  edm::ValueMap<reco::CaloClusterPtr>::Filler fillerES(*pfClusterAssociationES);
323  fillerES.insert(caloClusHandleES, clusptrsES.begin(), clusptrsES.end());
324  fillerES.fill();
325 
326  //store in the event
327  iEvent.put(std::move(pfClusterAssociationEBEE), PFClusterAssociationEBEE_);
328  iEvent.put(std::move(pfClusterAssociationES), PFClusterAssociationES_);
331 }

References bsc_activity_cfg::clusters, TauDecayModes::dec, Exception, edm::helper::Filler< Map >::fill(), iEvent, edm::helper::Filler< Map >::insert(), eostools::move(), and edm::PtrVector< T >::push_back().

Member Data Documentation

◆ _theclusteringtype

PFECALSuperClusterAlgo::clustering_type PFECALSuperClusterProducer::_theclusteringtype
private

Definition at line 59 of file PFECALSuperClusterProducer.cc.

◆ _theenergyweight

PFECALSuperClusterAlgo::energy_weight PFECALSuperClusterProducer::_theenergyweight
private

Definition at line 60 of file PFECALSuperClusterProducer.cc.

◆ isOOTCollection_

bool PFECALSuperClusterProducer::isOOTCollection_
private

Definition at line 77 of file PFECALSuperClusterProducer.cc.

◆ PFBasicClusterCollectionBarrel_

std::string PFECALSuperClusterProducer::PFBasicClusterCollectionBarrel_
private

Definition at line 67 of file PFECALSuperClusterProducer.cc.

◆ PFBasicClusterCollectionEndcap_

std::string PFECALSuperClusterProducer::PFBasicClusterCollectionEndcap_
private

Definition at line 69 of file PFECALSuperClusterProducer.cc.

◆ PFBasicClusterCollectionPreshower_

std::string PFECALSuperClusterProducer::PFBasicClusterCollectionPreshower_
private

Definition at line 71 of file PFECALSuperClusterProducer.cc.

◆ PFClusterAssociationEBEE_

std::string PFECALSuperClusterProducer::PFClusterAssociationEBEE_
private

Definition at line 73 of file PFECALSuperClusterProducer.cc.

◆ PFClusterAssociationES_

std::string PFECALSuperClusterProducer::PFClusterAssociationES_
private

Definition at line 74 of file PFECALSuperClusterProducer.cc.

◆ PFSuperClusterCollectionBarrel_

std::string PFECALSuperClusterProducer::PFSuperClusterCollectionBarrel_
private

Definition at line 68 of file PFECALSuperClusterProducer.cc.

◆ PFSuperClusterCollectionEndcap_

std::string PFECALSuperClusterProducer::PFSuperClusterCollectionEndcap_
private

Definition at line 70 of file PFECALSuperClusterProducer.cc.

◆ PFSuperClusterCollectionEndcapWithPreshower_

std::string PFECALSuperClusterProducer::PFSuperClusterCollectionEndcapWithPreshower_
private

Definition at line 72 of file PFECALSuperClusterProducer.cc.

◆ superClusterAlgo_

PFECALSuperClusterAlgo PFECALSuperClusterProducer::superClusterAlgo_
private

clustering algorithm

Definition at line 58 of file PFECALSuperClusterProducer.cc.

◆ thePFEnergyCalibration_

std::shared_ptr<PFEnergyCalibration> PFECALSuperClusterProducer::thePFEnergyCalibration_
private

Definition at line 62 of file PFECALSuperClusterProducer.cc.

◆ verbose_

bool PFECALSuperClusterProducer::verbose_
private

verbose ?

Definition at line 65 of file PFECALSuperClusterProducer.cc.

PFECALSuperClusterProducer::PFSuperClusterCollectionEndcap_
std::string PFSuperClusterCollectionEndcap_
Definition: PFECALSuperClusterProducer.cc:70
PFECALSuperClusterAlgo::setThreshPFClusterSeedEndcap
void setThreshPFClusterSeedEndcap(double thresh)
Definition: PFECALSuperClusterAlgo.h:93
PFECALSuperClusterAlgo::setThreshPFClusterBarrel
void setThreshPFClusterBarrel(double thresh)
Definition: PFECALSuperClusterAlgo.h:92
PFECALSuperClusterProducer::superClusterAlgo_
PFECALSuperClusterAlgo superClusterAlgo_
clustering algorithm
Definition: PFECALSuperClusterProducer.cc:58
PFECALSuperClusterAlgo::getEEOutputSCCollection
std::unique_ptr< reco::SuperClusterCollection > & getEEOutputSCCollection()
Definition: PFECALSuperClusterAlgo.h:117
PFECALSuperClusterAlgo::setSatelliteMerging
void setSatelliteMerging(const bool doit)
Definition: PFECALSuperClusterAlgo.h:103
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
PFECALSuperClusterProducer::PFBasicClusterCollectionBarrel_
std::string PFBasicClusterCollectionBarrel_
Definition: PFECALSuperClusterProducer.cc:67
edm::PtrVectorItr
Definition: PtrVector.h:51
HLT_FULL_cff.satelliteClusterSeedThreshold
satelliteClusterSeedThreshold
Definition: HLT_FULL_cff.py:14933
PFECALSuperClusterAlgo::setSatelliteThreshold
void setSatelliteThreshold(const double t)
Definition: PFECALSuperClusterAlgo.h:104
PFECALSuperClusterAlgo::setCrackCorrections
void setCrackCorrections(bool applyCrackCorrections)
Definition: PFECALSuperClusterAlgo.h:110
PFECALSuperClusterAlgo::setEtawidthSuperClusterEndcap
void setEtawidthSuperClusterEndcap(double etawidth)
Definition: PFECALSuperClusterAlgo.h:99
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
PFECALSuperClusterAlgo::kMustache
Definition: PFECALSuperClusterAlgo.h:53
PFECALSuperClusterProducer::thePFEnergyCalibration_
std::shared_ptr< PFEnergyCalibration > thePFEnergyCalibration_
Definition: PFECALSuperClusterProducer.cc:62
PFECALSuperClusterAlgo::setPFClusterCalibration
void setPFClusterCalibration(const std::shared_ptr< PFEnergyCalibration > &)
Definition: PFECALSuperClusterAlgo.cc:112
PFECALSuperClusterProducer::PFClusterAssociationEBEE_
std::string PFClusterAssociationEBEE_
Definition: PFECALSuperClusterProducer.cc:73
PFECALSuperClusterAlgo::setThreshPFClusterEndcap
void setThreshPFClusterEndcap(double thresh)
Definition: PFECALSuperClusterAlgo.h:94
PFECALSuperClusterAlgo::loadAndSortPFClusters
void loadAndSortPFClusters(const edm::Event &evt)
Definition: PFECALSuperClusterAlgo.cc:167
PFECALSuperClusterAlgo::setPhiwidthSuperClusterBarrel
void setPhiwidthSuperClusterBarrel(double phiwidth)
Definition: PFECALSuperClusterAlgo.h:96
PFECALSuperClusterAlgo::setIsOOTCollection
void setIsOOTCollection(bool isOOTCollection)
Definition: PFECALSuperClusterAlgo.h:108
PFECALSuperClusterAlgo::run
void run()
Definition: PFECALSuperClusterAlgo.cc:247
HLT_FULL_cff.dropUnseedable
dropUnseedable
Definition: HLT_FULL_cff.py:14949
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
edm::PtrVector< CaloCluster >
PFECALSuperClusterAlgo::setMajorityFraction
void setMajorityFraction(const double f)
Definition: PFECALSuperClusterAlgo.h:105
PFECALSuperClusterProducer::_theclusteringtype
PFECALSuperClusterAlgo::clustering_type _theclusteringtype
Definition: PFECALSuperClusterProducer.cc:59
reco::CaloCluster
Definition: CaloCluster.h:31
PFECALSuperClusterProducer::PFBasicClusterCollectionEndcap_
std::string PFBasicClusterCollectionEndcap_
Definition: PFECALSuperClusterProducer.cc:69
PFECALSuperClusterAlgo::setTokens
void setTokens(const edm::ParameterSet &, edm::ConsumesCollector &&)
Definition: PFECALSuperClusterAlgo.cc:116
PFECALSuperClusterAlgo::getEBOutputSCCollection
std::unique_ptr< reco::SuperClusterCollection > & getEBOutputSCCollection()
Definition: PFECALSuperClusterAlgo.h:116
PFECALSuperClusterAlgo::updateSCParams
void updateSCParams(const edm::EventSetup &)
Definition: PFECALSuperClusterAlgo.cc:158
PFECALSuperClusterAlgo::setClusteringType
void setClusteringType(clustering_type thetype)
Definition: PFECALSuperClusterAlgo.h:79
PFECALSuperClusterAlgo::setEnergyWeighting
void setEnergyWeighting(energy_weight thetype)
Definition: PFECALSuperClusterAlgo.h:81
PFECALSuperClusterAlgo::setVerbosityLevel
void setVerbosityLevel(bool verbose)
Definition: PFECALSuperClusterAlgo.h:77
PFECALSuperClusterAlgo::kRaw
Definition: PFECALSuperClusterAlgo.h:54
bsc_activity_cfg.clusters
clusters
Definition: bsc_activity_cfg.py:36
edm::PtrVector::push_back
void push_back(Ptr< T > const &iPtr)
Definition: PtrVector.h:149
PFECALSuperClusterProducer::PFBasicClusterCollectionPreshower_
std::string PFBasicClusterCollectionPreshower_
Definition: PFECALSuperClusterProducer.cc:71
SCEnergyCorrectorSemiParm::makePSetDescription
static edm::ParameterSetDescription makePSetDescription()
Definition: SCEnergyCorrectorSemiParm.cc:90
PFECALSuperClusterProducer::_theenergyweight
PFECALSuperClusterAlgo::energy_weight _theenergyweight
Definition: PFECALSuperClusterProducer.cc:60
PFECALSuperClusterAlgo::setEtawidthSuperClusterBarrel
void setEtawidthSuperClusterBarrel(double etawidth)
Definition: PFECALSuperClusterAlgo.h:97
iEvent
int iEvent
Definition: GenABIO.cc:224
PFECALSuperClusterAlgo::setThreshPFClusterSeedBarrel
void setThreshPFClusterSeedBarrel(double thresh)
Definition: PFECALSuperClusterAlgo.h:91
PFECALSuperClusterAlgo::setUseRegression
void setUseRegression(bool useRegression)
Definition: PFECALSuperClusterAlgo.h:87
PFECALSuperClusterAlgo::setThreshSuperClusterEt
void setThreshSuperClusterEt(double thresh)
Definition: PFECALSuperClusterAlgo.h:89
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::Ptr< CaloCluster >
PFECALSuperClusterAlgo::setUseDynamicDPhi
void setUseDynamicDPhi(bool useit)
Definition: PFECALSuperClusterAlgo.h:85
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
eostools.move
def move(src, dest)
Definition: eostools.py:511
PFECALSuperClusterAlgo::kCalibratedTotal
Definition: PFECALSuperClusterAlgo.h:54
PFECALSuperClusterAlgo::setDropUnseedable
void setDropUnseedable(const bool d)
Definition: PFECALSuperClusterAlgo.h:106
edm::OrphanHandle
Definition: EDProductfwd.h:39
PFECALSuperClusterAlgo::update
void update(const edm::EventSetup &)
Definition: PFECALSuperClusterAlgo.cc:146
PFECALSuperClusterProducer::PFClusterAssociationES_
std::string PFClusterAssociationES_
Definition: PFECALSuperClusterProducer.cc:74
HLT_FULL_cff.seedThresholdIsET
seedThresholdIsET
Definition: HLT_FULL_cff.py:14944
Exception
Definition: hltDiff.cc:245
HLT_FULL_cff.satelliteMajorityFraction
satelliteMajorityFraction
Definition: HLT_FULL_cff.py:14912
PFECALSuperClusterAlgo::kBOX
Definition: PFECALSuperClusterAlgo.h:53
PFECALSuperClusterAlgo::setUseETForSeeding
void setUseETForSeeding(bool useET)
Definition: PFECALSuperClusterAlgo.h:83
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
PFECALSuperClusterProducer::isOOTCollection_
bool isOOTCollection_
Definition: PFECALSuperClusterProducer.cc:77
edm::helper::Filler
Definition: ValueMap.h:22
PFECALSuperClusterProducer::PFSuperClusterCollectionEndcapWithPreshower_
std::string PFSuperClusterCollectionEndcapWithPreshower_
Definition: PFECALSuperClusterProducer.cc:72
HLT_FULL_cff.doSatelliteClusterMerge
doSatelliteClusterMerge
Definition: HLT_FULL_cff.py:14908
PFECALSuperClusterAlgo::kCalibratedNoPS
Definition: PFECALSuperClusterAlgo.h:54
PFECALSuperClusterProducer::PFSuperClusterCollectionBarrel_
std::string PFSuperClusterCollectionBarrel_
Definition: PFECALSuperClusterProducer.cc:68
TauDecayModes.dec
dec
Definition: TauDecayModes.py:142
PFECALSuperClusterAlgo::setPhiwidthSuperClusterEndcap
void setPhiwidthSuperClusterEndcap(double phiwidth)
Definition: PFECALSuperClusterAlgo.h:98
edm::InputTag
Definition: InputTag.h:15
PFECALSuperClusterProducer::verbose_
bool verbose_
verbose ?
Definition: PFECALSuperClusterProducer.cc:65