CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CandidateBoostedDoubleSecondaryVertexComputer.h
Go to the documentation of this file.
1 #ifndef RecoBTag_SecondaryVertex_CandidateBoostedDoubleSecondaryVertexComputer_h
2 #define RecoBTag_SecondaryVertex_CandidateBoostedDoubleSecondaryVertexComputer_h
3 
12 
13 #include "fastjet/PseudoJet.hh"
14 #include "fastjet/contrib/Njettiness.hh"
15 
16 #include <mutex>
17 
18 
20 
21  public:
23 
24  float discriminator(const TagInfoHelper & tagInfos) const override;
25 
26  private:
27  void calcNsubjettiness(const reco::JetBaseRef & jet, float & tau1, float & tau2, std::vector<fastjet::PseudoJet> & currentAxes) const;
28  void setTracksPVBase(const reco::TrackRef & trackRef, const reco::VertexRef & vertexRef, float & PVweight) const;
29  void setTracksPV(const reco::CandidatePtr & trackRef, const reco::VertexRef & vertexRef, float & PVweight) const;
31 
32  const double beta_ ;
33  const double R0_;
34  // N-subjettiness calculator
36 
37  const double maxSVDeltaRToJet_;
38 
41  [[cms::thread_guard("m_mutex")]] std::unique_ptr<MvaBoostedDoubleSecondaryVertexEstimator> mvaID;
42 };
43 
44 #endif // RecoBTag_SecondaryVertex_CandidateBoostedDoubleSecondaryVertexComputer_h
dictionary parameters
Definition: Parameters.py:2
std::unique_ptr< MvaBoostedDoubleSecondaryVertexEstimator > mvaID
static boost::mutex mutex
Definition: LHEProxy.cc:11
void setTracksPV(const reco::CandidatePtr &trackRef, const reco::VertexRef &vertexRef, float &PVweight) const
void setTracksPVBase(const reco::TrackRef &trackRef, const reco::VertexRef &vertexRef, float &PVweight) const
void vertexKinematics(const reco::VertexCompositePtrCandidate &vertex, reco::TrackKinematics &vertexKinematics) const
void calcNsubjettiness(const reco::JetBaseRef &jet, float &tau1, float &tau2, std::vector< fastjet::PseudoJet > &currentAxes) const
float discriminator(const TagInfoHelper &tagInfos) const override