Skip to content

Commit

Permalink
Apply code-format patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomreis committed Jan 19, 2022
1 parent 640cce3 commit fdd8816
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions RecoLocalCalo/EcalRecProducers/plugins/EcalRecHitProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,18 @@
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"

EcalRecHitProducer::EcalRecHitProducer(const edm::ParameterSet& ps) :
ebRechitCollection_(ps.getParameter<std::string>("EBrechitCollection")),
eeRechitCollection_(ps.getParameter<std::string>("EErechitCollection")),
doEB_(ps.getParameter<edm::InputTag>("EBuncalibRecHitCollection").label() != "none"),
doEE_(ps.getParameter<edm::InputTag>("EEuncalibRecHitCollection").label() != "none"),
recoverEBIsolatedChannels_(ps.getParameter<bool>("recoverEBIsolatedChannels")),
recoverEEIsolatedChannels_(ps.getParameter<bool>("recoverEEIsolatedChannels")),
recoverEBVFE_(ps.getParameter<bool>("recoverEBVFE")),
recoverEEVFE_(ps.getParameter<bool>("recoverEEVFE")),
recoverEBFE_(ps.getParameter<bool>("recoverEBFE")),
recoverEEFE_(ps.getParameter<bool>("recoverEEFE")),
killDeadChannels_(ps.getParameter<bool>("killDeadChannels"))
{
EcalRecHitProducer::EcalRecHitProducer(const edm::ParameterSet& ps)
: ebRechitCollection_(ps.getParameter<std::string>("EBrechitCollection")),
eeRechitCollection_(ps.getParameter<std::string>("EErechitCollection")),
doEB_(ps.getParameter<edm::InputTag>("EBuncalibRecHitCollection").label() != "none"),
doEE_(ps.getParameter<edm::InputTag>("EEuncalibRecHitCollection").label() != "none"),
recoverEBIsolatedChannels_(ps.getParameter<bool>("recoverEBIsolatedChannels")),
recoverEEIsolatedChannels_(ps.getParameter<bool>("recoverEEIsolatedChannels")),
recoverEBVFE_(ps.getParameter<bool>("recoverEBVFE")),
recoverEEVFE_(ps.getParameter<bool>("recoverEEVFE")),
recoverEBFE_(ps.getParameter<bool>("recoverEBFE")),
recoverEEFE_(ps.getParameter<bool>("recoverEEFE")),
killDeadChannels_(ps.getParameter<bool>("killDeadChannels")) {
produces<EBRecHitCollection>(ebRechitCollection_);
produces<EERecHitCollection>(eeRechitCollection_);

Expand All @@ -49,7 +48,8 @@ EcalRecHitProducer::EcalRecHitProducer(const edm::ParameterSet& ps) :
}

if (recoverEBFE_ || killDeadChannels_) {
ebFEToBeRecoveredToken_ = consumes<std::set<EcalTrigTowerDetId>>(ps.getParameter<edm::InputTag>("ebFEToBeRecovered"));
ebFEToBeRecoveredToken_ =
consumes<std::set<EcalTrigTowerDetId>>(ps.getParameter<edm::InputTag>("ebFEToBeRecovered"));
}
}

Expand Down
4 changes: 2 additions & 2 deletions RecoLocalCalo/EcalRecProducers/plugins/EcalRecHitProducer.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ class EcalRecHitProducer : public edm::stream::EDProducer<> {
const std::string ebRechitCollection_; // secondary name to be given to EB collection of hits
const std::string eeRechitCollection_; // secondary name to be given to EE collection of hits

const bool doEB_; // consume and use the EB uncalibrated RecHits. An EB collection is produced even if this is false
const bool doEE_; // consume and use the EE uncalibrated RecHits. An EE collection is produced even if this is false
const bool doEB_; // consume and use the EB uncalibrated RecHits. An EB collection is produced even if this is false
const bool doEE_; // consume and use the EE uncalibrated RecHits. An EE collection is produced even if this is false
const bool recoverEBIsolatedChannels_;
const bool recoverEEIsolatedChannels_;
const bool recoverEBVFE_;
Expand Down

0 comments on commit fdd8816

Please sign in to comment.