CMS 3D CMS Logo

CharmTagger.h
Go to the documentation of this file.
1 #ifndef RecoBTag_CTagging_CharmTagger_h
2 #define RecoBTag_CTagging_CharmTagger_h
3 
7 #include <mutex>
12 
13 #include <memory>
14 
20 class CharmTagger : public JetTagComputer {
21 public:
24  ~CharmTagger() override;//{}
25  float discriminator(const TagInfoHelper & tagInfo) const override;
26  void initialize(const JetTagComputerRecord & record) override;
27 
28  typedef std::vector<edm::ParameterSet> vpset;
29 
30  struct MVAVar {
33  size_t index;
34  bool has_index;
36  };
37 
38 private:
39  std::unique_ptr<TMVAEvaluator> mvaID_;
41  std::vector<MVAVar> variables_;
42 
50 };
51 
52 #endif
std::string name
Definition: CharmTagger.h:31
void initialize(const JetTagComputerRecord &record) override
Definition: CharmTagger.cc:45
JetCorrectorParameters::Record record
Definition: classes.h:7
edm::FileInPath weight_file_
Definition: CharmTagger.h:46
std::vector< MVAVar > variables_
Definition: CharmTagger.h:41
float discriminator(const TagInfoHelper &tagInfo) const override
b-tag a jet based on track-to-jet parameters in the extened info collection
Definition: CharmTagger.cc:82
~CharmTagger() override
Definition: CharmTagger.cc:77
CombinedSVSoftLeptonComputer sl_computer_
Definition: CharmTagger.h:40
std::string gbrForest_label_
Definition: CharmTagger.h:45
std::string mva_name_
Definition: CharmTagger.h:43
bool defaultValueNoTracks_
Definition: CharmTagger.h:49
bool use_condDB_
Definition: CharmTagger.h:44
reco::btau::TaggingVariableName id
Definition: CharmTagger.h:32
std::vector< edm::ParameterSet > vpset
Definition: CharmTagger.h:28
std::unique_ptr< TMVAEvaluator > mvaID_
Definition: CharmTagger.h:39
bool use_GBRForest_
Definition: CharmTagger.h:47
CharmTagger(const edm::ParameterSet &)
explicit ctor
Definition: CharmTagger.cc:15
bool use_adaBoost_
Definition: CharmTagger.h:48