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 hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () 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 47 of file PFECALSuperClusterProducer.cc.

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

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

◆ ~PFECALSuperClusterProducer()

PFECALSuperClusterProducer::~PFECALSuperClusterProducer ( )
override

Definition at line 161 of file PFECALSuperClusterProducer.cc.

161 {}

Member Function Documentation

◆ beginLuminosityBlock()

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

Definition at line 163 of file PFECALSuperClusterProducer.cc.

163  {
165 }

◆ fillDescriptions()

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

Definition at line 290 of file PFECALSuperClusterProducer.cc.

290  {
292  desc.add<std::string>("PFSuperClusterCollectionEndcap", "particleFlowSuperClusterECALEndcap");
293  desc.add<bool>("doSatelliteClusterMerge", false);
294  desc.add<double>("thresh_PFClusterBarrel", 0.0);
295  desc.add<std::string>("PFBasicClusterCollectionBarrel", "particleFlowBasicClusterECALBarrel");
296  desc.add<bool>("useRegression", true);
297  desc.add<double>("satelliteMajorityFraction", 0.5);
298  desc.add<double>("thresh_PFClusterEndcap", 0.0);
299  desc.add<edm::InputTag>("ESAssociation", edm::InputTag("particleFlowClusterECAL"));
300  desc.add<std::string>("PFBasicClusterCollectionPreshower", "particleFlowBasicClusterECALPreshower");
301  desc.add<bool>("use_preshower", true);
302  desc.addUntracked<bool>("verbose", false);
303  desc.add<double>("thresh_SCEt", 4.0);
304  desc.add<double>("etawidth_SuperClusterEndcap", 0.04);
305  desc.add<double>("phiwidth_SuperClusterEndcap", 0.6);
306  desc.add<bool>("useDynamicDPhiWindow", true);
307  desc.add<std::string>("PFSuperClusterCollectionBarrel", "particleFlowSuperClusterECALBarrel");
309  desc.add<bool>("applyCrackCorrections", false);
310  desc.add<double>("satelliteClusterSeedThreshold", 50.0);
311  desc.add<double>("etawidth_SuperClusterBarrel", 0.04);
312  desc.add<std::string>("PFBasicClusterCollectionEndcap", "particleFlowBasicClusterECALEndcap");
313  desc.add<edm::InputTag>("PFClusters", edm::InputTag("particleFlowClusterECAL"));
314  desc.add<double>("thresh_PFClusterSeedBarrel", 1.0);
315  desc.add<std::string>("ClusteringType", "Mustache");
316  desc.add<std::string>("EnergyWeight", "Raw");
317  desc.add<edm::InputTag>("BeamSpot", edm::InputTag("offlineBeamSpot"));
318  desc.add<double>("thresh_PFClusterSeedEndcap", 1.0);
319  desc.add<double>("phiwidth_SuperClusterBarrel", 0.6);
320  desc.add<double>("thresh_PFClusterES", 0.0);
321  desc.add<bool>("seedThresholdIsET", true);
322  desc.add<bool>("isOOTCollection", false);
323  desc.add<edm::InputTag>("barrelRecHits", edm::InputTag("ecalRecHit", "EcalRecHitsEE"));
324  desc.add<edm::InputTag>("endcapRecHits", edm::InputTag("ecalRecHit", "EcalRecHitsEB"));
325  desc.add<std::string>("PFSuperClusterCollectionEndcapWithPreshower",
326  "particleFlowSuperClusterECALEndcapWithPreshower");
327  desc.add<bool>("dropUnseedable", false);
328  descriptions.add("particleFlowSuperClusterECALMustache", desc);
329 }

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), HLT_2018_cff::InputTag, SCEnergyCorrectorSemiParm::makePSetDescription(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ produce()

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

Definition at line 167 of file PFECALSuperClusterProducer.cc.

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

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:84
PFECALSuperClusterAlgo::setThreshPFClusterBarrel
void setThreshPFClusterBarrel(double thresh)
Definition: PFECALSuperClusterAlgo.h:83
PFECALSuperClusterProducer::superClusterAlgo_
PFECALSuperClusterAlgo superClusterAlgo_
clustering algorithm
Definition: PFECALSuperClusterProducer.h:57
PFECALSuperClusterAlgo::getEEOutputSCCollection
std::unique_ptr< reco::SuperClusterCollection > & getEEOutputSCCollection()
Definition: PFECALSuperClusterAlgo.h:107
PFECALSuperClusterAlgo::setSatelliteMerging
void setSatelliteMerging(const bool doit)
Definition: PFECALSuperClusterAlgo.h:94
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
PFECALSuperClusterProducer::PFBasicClusterCollectionBarrel_
std::string PFBasicClusterCollectionBarrel_
Definition: PFECALSuperClusterProducer.h:66
edm::PtrVectorItr
Definition: PtrVector.h:51
PFECALSuperClusterAlgo::setSatelliteThreshold
void setSatelliteThreshold(const double t)
Definition: PFECALSuperClusterAlgo.h:95
PFECALSuperClusterAlgo::setCrackCorrections
void setCrackCorrections(bool applyCrackCorrections)
Definition: PFECALSuperClusterAlgo.h:101
PFECALSuperClusterAlgo::setEtawidthSuperClusterEndcap
void setEtawidthSuperClusterEndcap(double etawidth)
Definition: PFECALSuperClusterAlgo.h:90
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
PFECALSuperClusterAlgo::kMustache
Definition: PFECALSuperClusterAlgo.h:44
PFECALSuperClusterProducer::thePFEnergyCalibration_
std::shared_ptr< PFEnergyCalibration > thePFEnergyCalibration_
Definition: PFECALSuperClusterProducer.h:61
PFECALSuperClusterAlgo::setPFClusterCalibration
void setPFClusterCalibration(const std::shared_ptr< PFEnergyCalibration > &)
Definition: PFECALSuperClusterAlgo.cc:111
HLT_2018_cff.satelliteMajorityFraction
satelliteMajorityFraction
Definition: HLT_2018_cff.py:13514
PFECALSuperClusterProducer::PFClusterAssociationEBEE_
std::string PFClusterAssociationEBEE_
Definition: PFECALSuperClusterProducer.h:72
PFECALSuperClusterAlgo::setThreshPFClusterEndcap
void setThreshPFClusterEndcap(double thresh)
Definition: PFECALSuperClusterAlgo.h:85
PFECALSuperClusterAlgo::loadAndSortPFClusters
void loadAndSortPFClusters(const edm::Event &evt)
Definition: PFECALSuperClusterAlgo.cc:148
PFECALSuperClusterAlgo::setPhiwidthSuperClusterBarrel
void setPhiwidthSuperClusterBarrel(double phiwidth)
Definition: PFECALSuperClusterAlgo.h:87
PFECALSuperClusterAlgo::setIsOOTCollection
void setIsOOTCollection(bool isOOTCollection)
Definition: PFECALSuperClusterAlgo.h:99
PFECALSuperClusterAlgo::run
void run()
Definition: PFECALSuperClusterAlgo.cc:228
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:96
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
HLT_2018_cff.satelliteClusterSeedThreshold
satelliteClusterSeedThreshold
Definition: HLT_2018_cff.py:13537
PFECALSuperClusterAlgo::setTokens
void setTokens(const edm::ParameterSet &, edm::ConsumesCollector &&)
Definition: PFECALSuperClusterAlgo.cc:115
PFECALSuperClusterAlgo::getEBOutputSCCollection
std::unique_ptr< reco::SuperClusterCollection > & getEBOutputSCCollection()
Definition: PFECALSuperClusterAlgo.h:106
HLT_2018_cff.dropUnseedable
dropUnseedable
Definition: HLT_2018_cff.py:13544
PFECALSuperClusterAlgo::setClusteringType
void setClusteringType(clustering_type thetype)
Definition: PFECALSuperClusterAlgo.h:70
PFECALSuperClusterAlgo::setEnergyWeighting
void setEnergyWeighting(energy_weight thetype)
Definition: PFECALSuperClusterAlgo.h:72
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PFECALSuperClusterAlgo::setVerbosityLevel
void setVerbosityLevel(bool verbose)
Definition: PFECALSuperClusterAlgo.h:68
PFECALSuperClusterAlgo::kRaw
Definition: PFECALSuperClusterAlgo.h:45
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
HLT_2018_cff.seedThresholdIsET
seedThresholdIsET
Definition: HLT_2018_cff.py:13550
SCEnergyCorrectorSemiParm::makePSetDescription
static edm::ParameterSetDescription makePSetDescription()
Definition: SCEnergyCorrectorSemiParm.cc:90
HLT_2018_cff.InputTag
InputTag
Definition: HLT_2018_cff.py:79016
PFECALSuperClusterProducer::_theenergyweight
PFECALSuperClusterAlgo::energy_weight _theenergyweight
Definition: PFECALSuperClusterProducer.h:59
PFECALSuperClusterAlgo::setEtawidthSuperClusterBarrel
void setEtawidthSuperClusterBarrel(double etawidth)
Definition: PFECALSuperClusterAlgo.h:88
iEvent
int iEvent
Definition: GenABIO.cc:224
PFECALSuperClusterAlgo::setThreshPFClusterSeedBarrel
void setThreshPFClusterSeedBarrel(double thresh)
Definition: PFECALSuperClusterAlgo.h:82
PFECALSuperClusterAlgo::setUseRegression
void setUseRegression(bool useRegression)
Definition: PFECALSuperClusterAlgo.h:78
HLT_2018_cff.doSatelliteClusterMerge
doSatelliteClusterMerge
Definition: HLT_2018_cff.py:13510
PFECALSuperClusterAlgo::setThreshSuperClusterEt
void setThreshSuperClusterEt(double thresh)
Definition: PFECALSuperClusterAlgo.h:80
edm::Ptr< CaloCluster >
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
PFECALSuperClusterAlgo::setUseDynamicDPhi
void setUseDynamicDPhi(bool useit)
Definition: PFECALSuperClusterAlgo.h:76
eostools.move
def move(src, dest)
Definition: eostools.py:511
PFECALSuperClusterAlgo::kCalibratedTotal
Definition: PFECALSuperClusterAlgo.h:45
PFECALSuperClusterAlgo::setDropUnseedable
void setDropUnseedable(const bool d)
Definition: PFECALSuperClusterAlgo.h:97
edm::OrphanHandle
Definition: EDProductfwd.h:39
PFECALSuperClusterAlgo::update
void update(const edm::EventSetup &)
Definition: PFECALSuperClusterAlgo.cc:134
PFECALSuperClusterProducer::PFClusterAssociationES_
std::string PFClusterAssociationES_
Definition: PFECALSuperClusterProducer.h:73
Exception
Definition: hltDiff.cc:246
PFECALSuperClusterAlgo::kBOX
Definition: PFECALSuperClusterAlgo.h:44
PFECALSuperClusterAlgo::setUseETForSeeding
void setUseETForSeeding(bool useET)
Definition: PFECALSuperClusterAlgo.h:74
PFECALSuperClusterProducer::isOOTCollection_
bool isOOTCollection_
Definition: PFECALSuperClusterProducer.h:76
edm::helper::Filler
Definition: ValueMap.h:22
PFECALSuperClusterProducer::PFSuperClusterCollectionEndcapWithPreshower_
std::string PFSuperClusterCollectionEndcapWithPreshower_
Definition: PFECALSuperClusterProducer.h:71
PFECALSuperClusterAlgo::kCalibratedNoPS
Definition: PFECALSuperClusterAlgo.h:45
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:89
edm::InputTag
Definition: InputTag.h:15
PFECALSuperClusterProducer::verbose_
bool verbose_
verbose ?
Definition: PFECALSuperClusterProducer.h:64