CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
PFECALSuperClusterProducer Class Reference

#include <PFECALSuperClusterProducer.h>

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
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 

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<>
typedef CacheContexts< T... > CacheTypes
 
typedef CacheTypes::GlobalCache GlobalCache
 
typedef AbilityChecker< T... > HasAbility
 
typedef CacheTypes::LuminosityBlockCache LuminosityBlockCache
 
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCacheLuminosityBlockContext
 
typedef CacheTypes::LuminosityBlockSummaryCache LuminosityBlockSummaryCache
 
typedef CacheTypes::RunCache RunCache
 
typedef RunContextT< RunCache, GlobalCacheRunContext
 
typedef CacheTypes::RunSummaryCache RunSummaryCache
 

Detailed Description

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

Definition at line 43 of file PFECALSuperClusterProducer.h.

Constructor & Destructor Documentation

◆ PFECALSuperClusterProducer()

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

Definition at line 46 of file PFECALSuperClusterProducer.cc.

46  {
47  verbose_ = iConfig.getUntrackedParameter<bool>("verbose", false);
48 
49  superClusterAlgo_.setUseRegression(iConfig.getParameter<bool>("useRegression"));
50 
51  isOOTCollection_ = iConfig.getParameter<bool>("isOOTCollection");
53 
54  std::string _typename = iConfig.getParameter<std::string>("ClusteringType");
55  if (_typename == ClusterType__BOX) {
57  } else if (_typename == ClusterType__Mustache) {
59  } else {
60  throw cms::Exception("InvalidClusteringType") << "You have not chosen a valid clustering type,"
61  << " please choose from \"Box\" or \"Mustache\"!";
62  }
64  superClusterAlgo_.setUseDynamicDPhi(iConfig.getParameter<bool>("useDynamicDPhiWindow"));
65  // clusteringType and useDynamicDPhi need to be defined before setting the tokens in order to esConsume only the necessary records
66  superClusterAlgo_.setTokens(iConfig, consumesCollector());
67 
68  std::string _weightname = iConfig.getParameter<std::string>("EnergyWeight");
69  if (_weightname == EnergyWeight__Raw) {
71  } else if (_weightname == EnergyWeight__CalibratedNoPS) {
73  } else if (_weightname == EnergyWeight__CalibratedTotal) {
75  } else {
76  throw cms::Exception("InvalidClusteringType") << "You have not chosen a valid energy weighting scheme,"
77  << " please choose from \"Raw\", \"CalibratedNoPS\", or"
78  << " \"CalibratedTotal\"!";
79  }
80 
81  // parameters for clustering
82  bool seedThresholdIsET = iConfig.getParameter<bool>("seedThresholdIsET");
83 
84  double threshPFClusterSeedBarrel = iConfig.getParameter<double>("thresh_PFClusterSeedBarrel");
85  double threshPFClusterBarrel = iConfig.getParameter<double>("thresh_PFClusterBarrel");
86 
87  double threshPFClusterSeedEndcap = iConfig.getParameter<double>("thresh_PFClusterSeedEndcap");
88  double threshPFClusterEndcap = iConfig.getParameter<double>("thresh_PFClusterEndcap");
89 
90  double phiwidthSuperClusterBarrel = iConfig.getParameter<double>("phiwidth_SuperClusterBarrel");
91  double etawidthSuperClusterBarrel = iConfig.getParameter<double>("etawidth_SuperClusterBarrel");
92 
93  double phiwidthSuperClusterEndcap = iConfig.getParameter<double>("phiwidth_SuperClusterEndcap");
94  double etawidthSuperClusterEndcap = iConfig.getParameter<double>("etawidth_SuperClusterEndcap");
95 
96  //double threshPFClusterMustacheOutBarrel = iConfig.getParameter<double>("thresh_PFClusterMustacheOutBarrel");
97  //double threshPFClusterMustacheOutEndcap = iConfig.getParameter<double>("thresh_PFClusterMustacheOutEndcap");
98 
99  double doSatelliteClusterMerge = iConfig.getParameter<bool>("doSatelliteClusterMerge");
100  double satelliteClusterSeedThreshold = iConfig.getParameter<double>("satelliteClusterSeedThreshold");
101  double satelliteMajorityFraction = iConfig.getParameter<double>("satelliteMajorityFraction");
102  bool dropUnseedable = iConfig.getParameter<bool>("dropUnseedable");
103 
107 
108  superClusterAlgo_.setThreshSuperClusterEt(iConfig.getParameter<double>("thresh_SCEt"));
109 
110  superClusterAlgo_.setThreshPFClusterSeedBarrel(threshPFClusterSeedBarrel);
111  superClusterAlgo_.setThreshPFClusterBarrel(threshPFClusterBarrel);
112 
113  superClusterAlgo_.setThreshPFClusterSeedEndcap(threshPFClusterSeedEndcap);
114  superClusterAlgo_.setThreshPFClusterEndcap(threshPFClusterEndcap);
115 
116  superClusterAlgo_.setPhiwidthSuperClusterBarrel(phiwidthSuperClusterBarrel);
117  superClusterAlgo_.setEtawidthSuperClusterBarrel(etawidthSuperClusterBarrel);
118 
119  superClusterAlgo_.setPhiwidthSuperClusterEndcap(phiwidthSuperClusterEndcap);
120  superClusterAlgo_.setEtawidthSuperClusterEndcap(etawidthSuperClusterEndcap);
121 
126  //superClusterAlgo_.setThreshPFClusterMustacheOutBarrel( threshPFClusterMustacheOutBarrel );
127  //superClusterAlgo_.setThreshPFClusterMustacheOutEndcap( threshPFClusterMustacheOutEndcap );
128 
129  //Load the ECAL energy calibration
130  thePFEnergyCalibration_ = std::make_shared<PFEnergyCalibration>();
132 
133  bool applyCrackCorrections_ = iConfig.getParameter<bool>("applyCrackCorrections");
134  superClusterAlgo_.setCrackCorrections(applyCrackCorrections_);
135 
136  PFBasicClusterCollectionBarrel_ = iConfig.getParameter<string>("PFBasicClusterCollectionBarrel");
137  PFSuperClusterCollectionBarrel_ = iConfig.getParameter<string>("PFSuperClusterCollectionBarrel");
138 
139  PFBasicClusterCollectionEndcap_ = iConfig.getParameter<string>("PFBasicClusterCollectionEndcap");
140  PFSuperClusterCollectionEndcap_ = iConfig.getParameter<string>("PFSuperClusterCollectionEndcap");
141 
142  PFBasicClusterCollectionPreshower_ = iConfig.getParameter<string>("PFBasicClusterCollectionPreshower");
144  iConfig.getParameter<string>("PFSuperClusterCollectionEndcapWithPreshower");
145 
146  PFClusterAssociationEBEE_ = "PFClusterAssociationEBEE";
147  PFClusterAssociationES_ = "PFClusterAssociationES";
148 
149  produces<reco::SuperClusterCollection>(PFSuperClusterCollectionBarrel_);
150  produces<reco::SuperClusterCollection>(PFSuperClusterCollectionEndcapWithPreshower_);
151  produces<reco::CaloClusterCollection>(PFBasicClusterCollectionBarrel_);
152  produces<reco::CaloClusterCollection>(PFBasicClusterCollectionEndcap_);
153  produces<reco::CaloClusterCollection>(PFBasicClusterCollectionPreshower_);
154  produces<edm::ValueMap<reco::CaloClusterPtr>>(PFClusterAssociationEBEE_);
155  produces<edm::ValueMap<reco::CaloClusterPtr>>(PFClusterAssociationES_);
156 }

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 158 of file PFECALSuperClusterProducer.cc.

158 {}

Member Function Documentation

◆ beginLuminosityBlock()

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

Definition at line 160 of file PFECALSuperClusterProducer.cc.

160  {
162 }

◆ fillDescriptions()

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

Definition at line 289 of file PFECALSuperClusterProducer.cc.

289  {
291  desc.add<std::string>("PFSuperClusterCollectionEndcap", "particleFlowSuperClusterECALEndcap");
292  desc.add<bool>("doSatelliteClusterMerge", false);
293  desc.add<double>("thresh_PFClusterBarrel", 0.0);
294  desc.add<std::string>("PFBasicClusterCollectionBarrel", "particleFlowBasicClusterECALBarrel");
295  desc.add<bool>("useRegression", true);
296  desc.add<double>("satelliteMajorityFraction", 0.5);
297  desc.add<double>("thresh_PFClusterEndcap", 0.0);
298  desc.add<edm::InputTag>("ESAssociation", edm::InputTag("particleFlowClusterECAL"));
299  desc.add<std::string>("PFBasicClusterCollectionPreshower", "particleFlowBasicClusterECALPreshower");
300  desc.add<bool>("use_preshower", true);
301  desc.addUntracked<bool>("verbose", false);
302  desc.add<double>("thresh_SCEt", 4.0);
303  desc.add<double>("etawidth_SuperClusterEndcap", 0.04);
304  desc.add<double>("phiwidth_SuperClusterEndcap", 0.6);
305  desc.add<bool>("useDynamicDPhiWindow", true);
306  desc.add<std::string>("PFSuperClusterCollectionBarrel", "particleFlowSuperClusterECALBarrel");
307  {
309  psd0.add<bool>("isHLT", false);
310  psd0.add<bool>("applySigmaIetaIphiBug", false);
311  psd0.add<edm::InputTag>("ecalRecHitsEE", edm::InputTag("ecalRecHit", "EcalRecHitsEE"));
312  psd0.add<edm::InputTag>("ecalRecHitsEB", edm::InputTag("ecalRecHit", "EcalRecHitsEB"));
313  psd0.add<std::string>("regressionKeyEB", "pfscecal_EBCorrection_offline_v2");
314  psd0.add<std::string>("regressionKeyEE", "pfscecal_EECorrection_offline_v2");
315  psd0.add<std::string>("uncertaintyKeyEB", "pfscecal_EBUncertainty_offline_v2");
316  psd0.add<std::string>("uncertaintyKeyEE", "pfscecal_EEUncertainty_offline_v2");
317  psd0.add<edm::InputTag>("vertexCollection", edm::InputTag("offlinePrimaryVertices"));
318  psd0.add<double>("eRecHitThreshold", 1.);
319  desc.add<edm::ParameterSetDescription>("regressionConfig", psd0);
320  }
321  desc.add<bool>("applyCrackCorrections", false);
322  desc.add<double>("satelliteClusterSeedThreshold", 50.0);
323  desc.add<double>("etawidth_SuperClusterBarrel", 0.04);
324  desc.add<std::string>("PFBasicClusterCollectionEndcap", "particleFlowBasicClusterECALEndcap");
325  desc.add<edm::InputTag>("PFClusters", edm::InputTag("particleFlowClusterECAL"));
326  desc.add<double>("thresh_PFClusterSeedBarrel", 1.0);
327  desc.add<std::string>("ClusteringType", "Mustache");
328  desc.add<std::string>("EnergyWeight", "Raw");
329  desc.add<edm::InputTag>("BeamSpot", edm::InputTag("offlineBeamSpot"));
330  desc.add<double>("thresh_PFClusterSeedEndcap", 1.0);
331  desc.add<double>("phiwidth_SuperClusterBarrel", 0.6);
332  desc.add<double>("thresh_PFClusterES", 0.0);
333  desc.add<bool>("seedThresholdIsET", true);
334  desc.add<bool>("isOOTCollection", false);
335  desc.add<edm::InputTag>("barrelRecHits", edm::InputTag("ecalRecHit", "EcalRecHitsEE"));
336  desc.add<edm::InputTag>("endcapRecHits", edm::InputTag("ecalRecHit", "EcalRecHitsEB"));
337  desc.add<std::string>("PFSuperClusterCollectionEndcapWithPreshower",
338  "particleFlowSuperClusterECALEndcapWithPreshower");
339  desc.add<bool>("dropUnseedable", false);
340  descriptions.add("particleFlowSuperClusterECALMustache", desc);
341 }

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

◆ produce()

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

Definition at line 164 of file PFECALSuperClusterProducer.cc.

164  {
165  // update SC parameters
167  // do clustering
170 
171  //build collections of output CaloClusters from the used PFClusters
172  auto caloClustersEB = std::make_unique<reco::CaloClusterCollection>();
173  auto caloClustersEE = std::make_unique<reco::CaloClusterCollection>();
174  auto caloClustersES = std::make_unique<reco::CaloClusterCollection>();
175 
176  std::map<reco::CaloClusterPtr, unsigned int> pfClusterMapEB; //maps of pfclusters to caloclusters
177  std::map<reco::CaloClusterPtr, unsigned int> pfClusterMapEE;
178  std::map<reco::CaloClusterPtr, unsigned int> pfClusterMapES;
179 
180  //fill calocluster collections and maps
181  for (const auto& ebsc : *(superClusterAlgo_.getEBOutputSCCollection())) {
182  for (reco::CaloCluster_iterator pfclus = ebsc.clustersBegin(); pfclus != ebsc.clustersEnd(); ++pfclus) {
183  if (!pfClusterMapEB.count(*pfclus)) {
184  reco::CaloCluster caloclus(**pfclus);
185  caloClustersEB->push_back(caloclus);
186  pfClusterMapEB[*pfclus] = caloClustersEB->size() - 1;
187  } else {
188  throw cms::Exception("PFECALSuperClusterProducer::produce")
189  << "Found an EB pfcluster matched to more than one EB supercluster!" << std::dec << std::endl;
190  }
191  }
192  }
193  for (const auto& eesc : *(superClusterAlgo_.getEEOutputSCCollection())) {
194  for (reco::CaloCluster_iterator pfclus = eesc.clustersBegin(); pfclus != eesc.clustersEnd(); ++pfclus) {
195  if (!pfClusterMapEE.count(*pfclus)) {
196  reco::CaloCluster caloclus(**pfclus);
197  caloClustersEE->push_back(caloclus);
198  pfClusterMapEE[*pfclus] = caloClustersEE->size() - 1;
199  } else {
200  throw cms::Exception("PFECALSuperClusterProducer::produce")
201  << "Found an EE pfcluster matched to more than one EE supercluster!" << std::dec << std::endl;
202  }
203  }
204  for (reco::CaloCluster_iterator pfclus = eesc.preshowerClustersBegin(); pfclus != eesc.preshowerClustersEnd();
205  ++pfclus) {
206  if (!pfClusterMapES.count(*pfclus)) {
207  reco::CaloCluster caloclus(**pfclus);
208  caloClustersES->push_back(caloclus);
209  pfClusterMapES[*pfclus] = caloClustersES->size() - 1;
210  } else {
211  throw cms::Exception("PFECALSuperClusterProducer::produce")
212  << "Found an ES pfcluster matched to more than one EE supercluster!" << std::dec << std::endl;
213  }
214  }
215  }
216 
217  //create ValueMaps from output CaloClusters back to original PFClusters
218  auto pfClusterAssociationEBEE = std::make_unique<edm::ValueMap<reco::CaloClusterPtr>>();
219  auto pfClusterAssociationES = std::make_unique<edm::ValueMap<reco::CaloClusterPtr>>();
220 
221  //vectors to fill ValueMaps
222  std::vector<reco::CaloClusterPtr> clusptrsEB(caloClustersEB->size());
223  std::vector<reco::CaloClusterPtr> clusptrsEE(caloClustersEE->size());
224  std::vector<reco::CaloClusterPtr> clusptrsES(caloClustersES->size());
225 
226  //put calocluster output collections in event and get orphan handles to create ptrs
227  const edm::OrphanHandle<reco::CaloClusterCollection>& caloClusHandleEB =
228  iEvent.put(std::move(caloClustersEB), PFBasicClusterCollectionBarrel_);
229  const edm::OrphanHandle<reco::CaloClusterCollection>& caloClusHandleEE =
230  iEvent.put(std::move(caloClustersEE), PFBasicClusterCollectionEndcap_);
231  const edm::OrphanHandle<reco::CaloClusterCollection>& caloClusHandleES =
233 
234  //relink superclusters to output caloclusters and fill vectors for ValueMaps
235  for (auto& ebsc : *(superClusterAlgo_.getEBOutputSCCollection())) {
236  reco::CaloClusterPtr seedptr(caloClusHandleEB, pfClusterMapEB[ebsc.seed()]);
237  ebsc.setSeed(seedptr);
238 
240  for (reco::CaloCluster_iterator pfclus = ebsc.clustersBegin(); pfclus != ebsc.clustersEnd(); ++pfclus) {
241  int caloclusidx = pfClusterMapEB[*pfclus];
242  reco::CaloClusterPtr clusptr(caloClusHandleEB, caloclusidx);
243  clusters.push_back(clusptr);
244  clusptrsEB[caloclusidx] = *pfclus;
245  }
246  ebsc.setClusters(clusters);
247  }
248  for (auto& eesc : *(superClusterAlgo_.getEEOutputSCCollection())) {
249  reco::CaloClusterPtr seedptr(caloClusHandleEE, pfClusterMapEE[eesc.seed()]);
250  eesc.setSeed(seedptr);
251 
253  for (reco::CaloCluster_iterator pfclus = eesc.clustersBegin(); pfclus != eesc.clustersEnd(); ++pfclus) {
254  int caloclusidx = pfClusterMapEE[*pfclus];
255  reco::CaloClusterPtr clusptr(caloClusHandleEE, caloclusidx);
256  clusters.push_back(clusptr);
257  clusptrsEE[caloclusidx] = *pfclus;
258  }
259  eesc.setClusters(clusters);
260 
261  reco::CaloClusterPtrVector psclusters;
262  for (reco::CaloCluster_iterator pfclus = eesc.preshowerClustersBegin(); pfclus != eesc.preshowerClustersEnd();
263  ++pfclus) {
264  int caloclusidx = pfClusterMapES[*pfclus];
265  reco::CaloClusterPtr clusptr(caloClusHandleES, caloclusidx);
266  psclusters.push_back(clusptr);
267  clusptrsES[caloclusidx] = *pfclus;
268  }
269  eesc.setPreshowerClusters(psclusters);
270  }
271 
272  //fill association maps from output CaloClusters back to original PFClusters
273  edm::ValueMap<reco::CaloClusterPtr>::Filler fillerEBEE(*pfClusterAssociationEBEE);
274  fillerEBEE.insert(caloClusHandleEB, clusptrsEB.begin(), clusptrsEB.end());
275  fillerEBEE.insert(caloClusHandleEE, clusptrsEE.begin(), clusptrsEE.end());
276  fillerEBEE.fill();
277 
278  edm::ValueMap<reco::CaloClusterPtr>::Filler fillerES(*pfClusterAssociationES);
279  fillerES.insert(caloClusHandleES, clusptrsES.begin(), clusptrsES.end());
280  fillerES.fill();
281 
282  //store in the event
283  iEvent.put(std::move(pfClusterAssociationEBEE), PFClusterAssociationEBEE_);
284  iEvent.put(std::move(pfClusterAssociationES), PFClusterAssociationES_);
287 }

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 58 of file PFECALSuperClusterProducer.h.

◆ _theenergyweight

PFECALSuperClusterAlgo::energy_weight PFECALSuperClusterProducer::_theenergyweight
private

Definition at line 59 of file PFECALSuperClusterProducer.h.

◆ isOOTCollection_

bool PFECALSuperClusterProducer::isOOTCollection_
private

Definition at line 76 of file PFECALSuperClusterProducer.h.

◆ PFBasicClusterCollectionBarrel_

std::string PFECALSuperClusterProducer::PFBasicClusterCollectionBarrel_
private

Definition at line 66 of file PFECALSuperClusterProducer.h.

◆ PFBasicClusterCollectionEndcap_

std::string PFECALSuperClusterProducer::PFBasicClusterCollectionEndcap_
private

Definition at line 68 of file PFECALSuperClusterProducer.h.

◆ PFBasicClusterCollectionPreshower_

std::string PFECALSuperClusterProducer::PFBasicClusterCollectionPreshower_
private

Definition at line 70 of file PFECALSuperClusterProducer.h.

◆ PFClusterAssociationEBEE_

std::string PFECALSuperClusterProducer::PFClusterAssociationEBEE_
private

Definition at line 72 of file PFECALSuperClusterProducer.h.

◆ PFClusterAssociationES_

std::string PFECALSuperClusterProducer::PFClusterAssociationES_
private

Definition at line 73 of file PFECALSuperClusterProducer.h.

◆ PFSuperClusterCollectionBarrel_

std::string PFECALSuperClusterProducer::PFSuperClusterCollectionBarrel_
private

Definition at line 67 of file PFECALSuperClusterProducer.h.

◆ PFSuperClusterCollectionEndcap_

std::string PFECALSuperClusterProducer::PFSuperClusterCollectionEndcap_
private

Definition at line 69 of file PFECALSuperClusterProducer.h.

◆ PFSuperClusterCollectionEndcapWithPreshower_

std::string PFECALSuperClusterProducer::PFSuperClusterCollectionEndcapWithPreshower_
private

Definition at line 71 of file PFECALSuperClusterProducer.h.

◆ superClusterAlgo_

PFECALSuperClusterAlgo PFECALSuperClusterProducer::superClusterAlgo_
private

clustering algorithm

Definition at line 57 of file PFECALSuperClusterProducer.h.

◆ thePFEnergyCalibration_

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

Definition at line 61 of file PFECALSuperClusterProducer.h.

◆ verbose_

bool PFECALSuperClusterProducer::verbose_
private

verbose ?

Definition at line 64 of file PFECALSuperClusterProducer.h.

PFECALSuperClusterProducer::PFSuperClusterCollectionEndcap_
std::string PFSuperClusterCollectionEndcap_
Definition: PFECALSuperClusterProducer.h:69
edm::ParameterSetDescription::add
ParameterDescriptionBase * add(U const &iLabel, T const &value)
Definition: ParameterSetDescription.h:95
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.h:57
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:89287
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
PFECALSuperClusterProducer::PFBasicClusterCollectionBarrel_
std::string PFBasicClusterCollectionBarrel_
Definition: PFECALSuperClusterProducer.h:66
edm::PtrVectorItr
Definition: PtrVector.h:51
HLT_FULL_cff.satelliteClusterSeedThreshold
satelliteClusterSeedThreshold
Definition: HLT_FULL_cff.py:14917
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.h:61
PFECALSuperClusterAlgo::setPFClusterCalibration
void setPFClusterCalibration(const std::shared_ptr< PFEnergyCalibration > &)
Definition: PFECALSuperClusterAlgo.cc:112
PFECALSuperClusterProducer::PFClusterAssociationEBEE_
std::string PFClusterAssociationEBEE_
Definition: PFECALSuperClusterProducer.h:72
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:14924
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.h:58
reco::CaloCluster
Definition: CaloCluster.h:31
PFECALSuperClusterProducer::PFBasicClusterCollectionEndcap_
std::string PFBasicClusterCollectionEndcap_
Definition: PFECALSuperClusterProducer.h:68
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
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
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.h:70
PFECALSuperClusterProducer::_theenergyweight
PFECALSuperClusterAlgo::energy_weight _theenergyweight
Definition: PFECALSuperClusterProducer.h:59
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
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.h:73
HLT_FULL_cff.seedThresholdIsET
seedThresholdIsET
Definition: HLT_FULL_cff.py:14930
Exception
Definition: hltDiff.cc:246
HLT_FULL_cff.satelliteMajorityFraction
satelliteMajorityFraction
Definition: HLT_FULL_cff.py:14894
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.h:76
edm::helper::Filler
Definition: ValueMap.h:22
PFECALSuperClusterProducer::PFSuperClusterCollectionEndcapWithPreshower_
std::string PFSuperClusterCollectionEndcapWithPreshower_
Definition: PFECALSuperClusterProducer.h:71
HLT_FULL_cff.doSatelliteClusterMerge
doSatelliteClusterMerge
Definition: HLT_FULL_cff.py:14890
PFECALSuperClusterAlgo::kCalibratedNoPS
Definition: PFECALSuperClusterAlgo.h:54
PFECALSuperClusterProducer::PFSuperClusterCollectionBarrel_
std::string PFSuperClusterCollectionBarrel_
Definition: PFECALSuperClusterProducer.h:67
TauDecayModes.dec
dec
Definition: TauDecayModes.py:143
PFECALSuperClusterAlgo::setPhiwidthSuperClusterEndcap
void setPhiwidthSuperClusterEndcap(double phiwidth)
Definition: PFECALSuperClusterAlgo.h:98
edm::InputTag
Definition: InputTag.h:15
PFECALSuperClusterProducer::verbose_
bool verbose_
verbose ?
Definition: PFECALSuperClusterProducer.h:64