#include <PFClusterTimeSelector.h>
Definition at line 18 of file PFClusterTimeSelector.h.
◆ PFClusterTimeSelector()
◆ ~PFClusterTimeSelector()
PFClusterTimeSelector::~PFClusterTimeSelector |
( |
| ) |
|
|
overridedefault |
◆ beginRun()
◆ produce()
Definition at line 29 of file PFClusterTimeSelector.cc.
32 auto out = std::make_unique<reco::PFClusterCollection>();
33 auto outOOT = std::make_unique<reco::PFClusterCollection>();
35 for (
const auto& cluster : *
clusters) {
36 const double energy = cluster.energy();
37 const double time = cluster.time();
38 const double depth = cluster.depth();
41 if (energy < info.minE || energy >
info.maxE)
43 if (depth < 0.9 * info.depth || depth > 1.1 *
info.depth)
51 out->push_back(cluster);
53 outOOT->push_back(cluster);
References bsc_activity_cfg::clusters, clusters_, cutInfo_, LEDCalibrationChannels::depth, PFLayer::ECAL_BARREL, PFLayer::ECAL_ENDCAP, HCALHighEnergyHPDFilter_cfi::energy, PFLayer::HCAL_BARREL1, PFLayer::HCAL_BARREL2, PFLayer::HCAL_ENDCAP, iEvent, info(), eostools::move(), MillePedeFileConverter_cfg::out, and ntuplemaker::time.
◆ clusters_
◆ cutInfo_
std::vector<CutInfo> PFClusterTimeSelector::cutInfo_ |
|
protected |