Skip to content

Commit

Permalink
Finish implement thread-safe requirements on DPFIsolation
Browse files Browse the repository at this point in the history
  • Loading branch information
MRD2F committed Oct 27, 2018
1 parent 0417afd commit d854212
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RecoTauTag/RecoTau/plugins/DPFIsolation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ class DPFIsolation : public deep_tau::DeepTauBase {

tensorflow::Tensor predictions(tensorflow::DT_FLOAT, { static_cast<int>(taus->size()), 1});

std::vector<tensorflow::Tensor> outputs;

float pfCandPt, pfCandPz, pfCandPtRel, pfCandPzRel, pfCandDr, pfCandDEta, pfCandDPhi, pfCandEta, pfCandDz,
pfCandDzErr, pfCandD0, pfCandD0D0, pfCandD0Dz, pfCandD0Dphi, pfCandPuppiWeight,
pfCandPixHits, pfCandHits, pfCandLostInnerHits, pfCandPdgID, pfCandCharge, pfCandFromPV,
Expand Down Expand Up @@ -384,7 +386,6 @@ class DPFIsolation : public deep_tau::DeepTauBase {
edm::EDGetTokenT<pat::PackedCandidateCollection> pfcand_token;
edm::EDGetTokenT<reco::VertexCollection> vtx_token;
unsigned graphVersion;
std::vector<tensorflow::Tensor> outputs;
};

#include "FWCore/Framework/interface/MakerMacros.h"
Expand Down

0 comments on commit d854212

Please sign in to comment.