Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run2-alca148 Clean up IsolatedBunchSelector AlCa code #25534

Merged
merged 1 commit into from Jan 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -68,9 +68,9 @@ class AlCaIsolatedBunchSelector : public edm::stream::EDFilter<edm::GlobalCache<
AlCaIsolatedBunchSelector::AlCaIsolatedBunchSelector(const edm::ParameterSet& iConfig, const AlCaIsolatedBunch::Counters* count) :
nRun_(0), nAll_(0), nGood_(0) {
//now do what ever initialization is needed
trigName_ = iConfig.getParameter<std::string>("TriggerName");
processName_ = iConfig.getParameter<std::string>("ProcessName");
theTriggerResultsLabel_ = iConfig.getParameter<edm::InputTag>("TriggerResultLabel");
trigName_ = iConfig.getParameter<std::string>("triggerName");
processName_ = iConfig.getParameter<std::string>("processName");
theTriggerResultsLabel_ = iConfig.getParameter<edm::InputTag>("triggerResultLabel");

// define tokens for access
tok_trigRes_ = consumes<edm::TriggerResults>(theTriggerResultsLabel_);
Expand Down Expand Up @@ -154,11 +154,11 @@ void AlCaIsolatedBunchSelector::endRun(edm::Run const& iRun, edm::EventSetup con

// ------------ method fills 'descriptions' with the allowed parameters for the module ------------
void AlCaIsolatedBunchSelector::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
//The following says we do not know what parameters are allowed so do no validation
// Please change this to state exactly what you do use, even if it is no parameters
edm::ParameterSetDescription desc;
desc.setUnknown();
descriptions.addDefault(desc);
desc.add<edm::InputTag>("triggerResultLabel",edm::InputTag("TriggerResults","","HLT"));
desc.add<std::string>("processName", "HLT");
desc.add<std::string>("triggerName", "HLT_HcalIsolatedBunch");
descriptions.add("alcaIsolatedBunchSelector",desc);
}

//define this as a plug-in
Expand Down
Expand Up @@ -12,4 +12,4 @@
from Calibration.HcalAlCaRecoProducers.alcaIsolatedBunchSelector_cfi import *

seqALCARECOHcalCalIsolatedBunchSelector = cms.Sequence(ALCARECOHcalCalIsolatedBunchSelectorHLT *
AlcaIsolatedBunchSelector)
alcaIsolatedBunchSelector)

This file was deleted.