Skip to content

Commit

Permalink
code style and quality issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
dsidirop1 committed Nov 25, 2024
1 parent 948df61 commit fd13e2c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DQM/Physics/src/SingleTopTChannelLeptonDQM.cc
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ namespace SingleTopTChannelLepton {
includeBTag_ = jetExtras.existsAs<edm::ParameterSet>("jetBTaggers");
if (includeBTag_) {
edm::ParameterSet btagCSV =
jetExtras.getParameter<edm::ParameterSet>("jetBTaggers").getParameter<edm::ParameterSet>("cvsVertex");
jetExtras.getParameter<edm::ParameterSet>("jetBTaggers").getParameter<edm::ParameterSet>("cvsVertex");
btagCSV_ = iC.consumes<reco::JetTagCollection>(btagCSV.getParameter<edm::InputTag>("label"));
btagCSVWP_ = btagCSV.getParameter<double>("workingPoint");
}
Expand Down
6 changes: 3 additions & 3 deletions DQM/Physics/src/SingleTopTChannelLeptonDQM_miniAOD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -604,11 +604,11 @@ namespace SingleTopTChannelLepton_miniAOD {
++loosemult; // determine jet multiplicity

//ParticleNet discriminator

double discriminator =
monitorJet.bDiscriminator("pfParticleNetFromMiniAODAK4CHSCentralDiscriminatorsJetTags:BvsAll") > 0
? monitorJet.bDiscriminator("pfParticleNetFromMiniAODAK4CHSCentralDiscriminatorsJetTags:BvsAll")
: -1;
? monitorJet.bDiscriminator("pfParticleNetFromMiniAODAK4CHSCentralDiscriminatorsJetTags:BvsAll")
: -1;

fill("jetBPNet_", discriminator); //hard coded discriminator and value right now.
if (discriminator > 0.1919) {
Expand Down
2 changes: 1 addition & 1 deletion DQM/Physics/src/TopSingleLeptonDQM.cc
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ namespace TopSingleLepton {
// check availability of the btaggers
edm::Handle<reco::JetTagCollection> btagEff, btagPur, btagVtx, btagCSV;
if (includeBTag_) {
if(!event.getByToken(btagCSV_,btagCSV)){
if (!event.getByToken(btagCSV_, btagCSV)) {
return;
}
}
Expand Down
6 changes: 3 additions & 3 deletions DQM/Physics/src/TopSingleLeptonDQM_miniAOD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -580,11 +580,11 @@ namespace TopSingleLepton_miniAOD {
++loosemult; // determine jet multiplicity

//ParticleNet discriminator

double discriminator =
monitorJet.bDiscriminator("pfParticleNetFromMiniAODAK4CHSCentralDiscriminatorsJetTags:BvsAll") > 0
? monitorJet.bDiscriminator("pfParticleNetFromMiniAODAK4CHSCentralDiscriminatorsJetTags:BvsAll")
: -1;
? monitorJet.bDiscriminator("pfParticleNetFromMiniAODAK4CHSCentralDiscriminatorsJetTags:BvsAll")
: -1;

fill("jetBPNet_", discriminator); //hard coded discriminator and value right now.
if (discriminator > 0.1919)
Expand Down

0 comments on commit fd13e2c

Please sign in to comment.