Skip to content

Commit

Permalink
Take care of code checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed May 21, 2018
1 parent 7b1d753 commit dbc78ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Calibration/HcalCalibAlgos/plugins/RecAnalyzerHF.cc
Expand Up @@ -155,7 +155,7 @@ void RecAnalyzerHF::beginJob() {

for (const auto & id : hcalID_) {
HcalDetId hid = HcalDetId(id);
TH1D *h1(0), *h2(0);
TH1D *h1(nullptr), *h2(nullptr);
for (int i=0; i<2; ++i) {
sprintf (name, "HF%d%d_%d_%d", i, hid.ieta(), hid.iphi(), hid.depth());
sprintf (title, "The metric F%d for HF i#eta %d i#phi %d depth %d",
Expand Down
2 changes: 1 addition & 1 deletion Calibration/HcalCalibAlgos/plugins/RecAnalyzerMinbias.cc
Expand Up @@ -585,7 +585,7 @@ void RecAnalyzerMinbias::analyze(const edm::Event& iEvent, const edm::EventSetup
#endif
if (ignoreL1_ || (!trigbit_.empty() && select)) {
analyzeHcal(HithbheMB, HithfMB, 1, true, eventWeight);
} else if ((!ignoreL1_) && (trigbit_.size() == 0)) {
} else if ((!ignoreL1_) && (trigbit_.empty())) {
edm::Handle<L1GlobalTriggerObjectMapRecord> gtObjectMapRecord;
iEvent.getByToken(tok_hltL1GtMap_, gtObjectMapRecord);
if (gtObjectMapRecord.isValid()) {
Expand Down

0 comments on commit dbc78ee

Please sign in to comment.