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 2, 2021
1 parent 1e2fe38 commit 7a77d78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class ElectronCalibrationUniv : public edm::one::EDAnalyzer<edm::one::WatchRuns>
const edm::EDGetTokenT<EERecHitCollection> eeRecHitToken_;
const edm::EDGetTokenT<reco::GsfElectronCollection> gsfElectronToken_;
const edm::ESGetToken<CaloTopology, CaloTopologyRecord> topologyToken_;
const CaloTopology* theCaloTopology_;
const CaloTopology *theCaloTopology_;

std::vector<float> solution;
std::vector<float> solutionNoCuts;
Expand Down
2 changes: 1 addition & 1 deletion Calibration/EcalCalibAlgos/src/ECALpedestalPCLworker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void ECALpedestalPCLworker::bookHistograms(DQMStore::IBooker& ibooker, edm::Run
ibooker.cd();
ibooker.setCurrentFolder(dqmDir_);

const auto peds = es.getData(pedestalToken_);
const auto& peds = es.getData(pedestalToken_);

for (uint32_t i = 0; i < EBDetId::kSizeForDenseIndexing; ++i) {
ibooker.setCurrentFolder(dqmDir_ + "/EB/" + std::to_string(int(i / 100)));
Expand Down

0 comments on commit 7a77d78

Please sign in to comment.