13 useCondDB_(parameters.getParameter<
bool>(
"useCondDB")),
14 gbrForestLabel_(parameters.existsAs<
std::
string>(
"gbrForestLabel") ? parameters.getParameter<
std::
string>(
"gbrForestLabel") :
""),
15 weightFile_(parameters.existsAs<
edm::FileInPath>(
"weightFile") ? parameters.getParameter<
edm::FileInPath>(
"weightFile") :
edm::FileInPath()),
16 useGBRForest_(parameters.existsAs<
bool>(
"useGBRForest") ? parameters.getParameter<
bool>(
"useGBRForest") :
false),
17 useAdaBoost_(parameters.existsAs<
bool>(
"useAdaBoost") ? parameters.getParameter<
bool>(
"useAdaBoost") :
false)
19 uses(0,
"svTagInfos");
27 std::vector<std::string>
variables({
"z_ratio",
28 "trackSipdSig_3",
"trackSipdSig_2",
"trackSipdSig_1",
"trackSipdSig_0",
29 "trackSipdSig_1_0",
"trackSipdSig_0_0",
"trackSipdSig_1_1",
"trackSipdSig_0_1",
30 "trackSip2dSigAboveCharm_0",
"trackSip2dSigAboveBottom_0",
"trackSip2dSigAboveBottom_1",
31 "tau0_trackEtaRel_0",
"tau0_trackEtaRel_1",
"tau0_trackEtaRel_2",
32 "tau1_trackEtaRel_0",
"tau1_trackEtaRel_1",
"tau1_trackEtaRel_2",
33 "tau_vertexMass_0",
"tau_vertexEnergyRatio_0",
"tau_vertexDeltaR_0",
"tau_flightDistance2dSig_0",
34 "tau_vertexMass_1",
"tau_vertexEnergyRatio_1",
"tau_flightDistance2dSig_1",
37 std::vector<std::string>
spectators({
"massPruned",
"flavour",
"nbHadrons",
"ptPruned",
"etaPruned"});
63 std::map<std::string,float>
inputs;
93 value =
mvaID->evaluate(inputs);
float discriminator(const TagInfoHelper &tagInfos) const override
const T & get(unsigned int index=0) const
const std::string gbrForestLabel_
TaggingVariableList taggingVariables(void) const override
returns a description of the extended informations in a TaggingVariableList
std::unique_ptr< TMVAEvaluator > mvaID
const edm::FileInPath weightFile_
const DepRecordT & getRecord() const
void get(HolderT &iHolder) const
void uses(unsigned int id, const std::string &label)
void initialize(const JetTagComputerRecord &) override
std::string fullPath() const
CandidateBoostedDoubleSecondaryVertexComputer(const edm::ParameterSet ¶meters)