Skip to content

Commit

Permalink
Apply code-checks and code-format.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomreis committed Sep 7, 2021
1 parent c392a9c commit 506797a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ constexpr int dccNum[12][12] = {
using namespace std;

EcalSRCondTools::EcalSRCondTools(const edm::ParameterSet& ps)
: ps_(ps),
mode_(ps.getParameter<string>("mode")),
iomode_write_(true),
done_(false) {
: ps_(ps), mode_(ps.getParameter<string>("mode")), iomode_write_(true), done_(false) {
if (mode_ == "read") {
iomode_write_ = false;
hSrToken_ = esConsumes();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void EcalZeroSuppressionProducer::produce(edm::Event &event, const edm::EventSet

void EcalZeroSuppressionProducer::initCalibrations(const edm::EventSetup &eventSetup) {
// Pedestals from event setup
const auto& thePedestals = eventSetup.getData(pedestalToken_);
const auto &thePedestals = eventSetup.getData(pedestalToken_);

theBarrelZeroSuppressor_.setPedestals(&thePedestals);
theEndcapZeroSuppressor_.setPedestals(&thePedestals);
Expand Down

0 comments on commit 506797a

Please sign in to comment.