Skip to content

Commit

Permalink
code-format again
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnikaStein committed Apr 5, 2023
1 parent 92ea010 commit fdca404
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ class ParticleTransformerAK4TagInfoProducer : public edm::stream::EDProducer<> {

bool fallback_puppi_weight_;
bool fallback_vertex_association_;

bool is_weighted_jet_;

const double min_jet_pt_;
const double max_jet_eta_;
};
Expand Down Expand Up @@ -290,7 +290,7 @@ void ParticleTransformerAK4TagInfoProducer::produce(edm::Event& iEvent, const ed
} else if (pat_jet && reco_cand) {
reco_ptr = pat_jet->getPFConstituent(i);
}

reco::CandidatePtr cand_ptr;
if (pat_jet) {
cand_ptr = pat_jet->sourceCandidatePtr(i);
Expand Down
6 changes: 4 additions & 2 deletions RecoBTag/FeatureTools/src/ChargedCandidateConverter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ namespace btagbtvdeep {
ChargedCandidateFeatures& c_pf_features,
const bool flip,
const float distminpfcandsv) {
commonCandidateToFeatures(c_pf, jet, track_info, isWeightedJet, drminpfcandsv, jetR, puppiw, c_pf_features, flip, distminpfcandsv);
commonCandidateToFeatures(
c_pf, jet, track_info, isWeightedJet, drminpfcandsv, jetR, puppiw, c_pf_features, flip, distminpfcandsv);

c_pf_features.vtx_ass = c_pf->pvAssociationQuality();

Expand Down Expand Up @@ -49,7 +50,8 @@ namespace btagbtvdeep {
ChargedCandidateFeatures& c_pf_features,
const bool flip,
const float distminpfcandsv) {
commonCandidateToFeatures(c_pf, jet, track_info, isWeightedJet, drminpfcandsv, jetR, puppiw, c_pf_features, flip, distminpfcandsv);
commonCandidateToFeatures(
c_pf, jet, track_info, isWeightedJet, drminpfcandsv, jetR, puppiw, c_pf_features, flip, distminpfcandsv);

c_pf_features.vtx_ass = vtx_ass_from_pfcand(*c_pf, pv_ass_quality, pv);
c_pf_features.puppiw = puppiw;
Expand Down

0 comments on commit fdca404

Please sign in to comment.