◆ SCEnergyCorrectorProducer()
SCEnergyCorrectorProducer::SCEnergyCorrectorProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
Definition at line 33 of file SCEnergyCorrectorProducer.cc.
References writeFeatures_.
37 produces<reco::SuperClusterCollection>();
39 produces<edm::ValueMap<std::vector<float>>>(
"features");
T getParameter(std::string const &) const
ParameterSet const & getParameterSet(std::string const &) const
SCEnergyCorrectorSemiParm energyCorrector_
const edm::EDGetTokenT< reco::SuperClusterCollection > inputSCToken_
const bool writeFeatures_
◆ beginLuminosityBlock()
◆ fillDescriptions()
◆ produce()
Definition at line 47 of file SCEnergyCorrectorProducer.cc.
References energyCorrector_, trigObjTnPSource_cfi::filler, SCEnergyCorrectorSemiParm::getRegData(), iEvent, SCEnergyCorrectorDRNProducer_cfi::inputSCs, inputSCToken_, SCEnergyCorrectorSemiParm::modifyObject(), eostools::move(), SCEnergyCorrectorSemiParm::setEvent(), and writeFeatures_.
51 auto corrSCs = std::make_unique<reco::SuperClusterCollection>();
52 std::vector<std::vector<float>> scFeatures;
53 for (
const auto& inputSC :
inputSCs) {
54 corrSCs->push_back(inputSC);
64 auto valMap = std::make_unique<edm::ValueMap<std::vector<float>>>();
66 filler.insert(scHandle, scFeatures.begin(), scFeatures.end());
SCEnergyCorrectorSemiParm energyCorrector_
const edm::EDGetTokenT< reco::SuperClusterCollection > inputSCToken_
void modifyObject(reco::SuperCluster &sc) const
void setEvent(const edm::Event &e)
std::vector< float > getRegData(const reco::SuperCluster &sc) const
const bool writeFeatures_
◆ energyCorrector_
◆ inputSCToken_
◆ writeFeatures_
const bool SCEnergyCorrectorProducer::writeFeatures_ |
|
private |