15 std::string taggerName =
"MV2c10";
16 std::string workingPointName =
"Continuous";
19 StatusCode code1 = btag_eff_tool.
setProperty(
"ScaleFactorFileName",
"xAODBTaggingEfficiency/13TeV/2017-21-13TeV-MC16-CDI-2019-07-30_v1.root" );
30 if (code1 != StatusCode::SUCCESS
31 || code2 != StatusCode::SUCCESS
32 || code3 != StatusCode::SUCCESS
33 || code4 != StatusCode::SUCCESS
34 || code5 != StatusCode::SUCCESS
35 || code6 != StatusCode::SUCCESS ){
36 std::cout <<
"Initialization of tool " << btag_eff_tool->name() <<
" failed! " << std::endl;
40 std::cout <<
"Initialization of tool " << btag_eff_tool->name() <<
" finished." << std::endl;
46 if (code7 != StatusCode::SUCCESS
47 ||code8 != StatusCode::SUCCESS ) {
48 std::cout <<
"Initialization of tool" << evr_tool->name() <<
" failed!" << std::endl;
50 std::cout <<
"Initialization of tool " << evr_tool->name() <<
" finished." << std::endl;
53 const std::string
label =
"B";
54 const unsigned int evIdx = 0;
67 std::vector<unsigned int> eigenIdxList = {1,2,3,4,5};
68 std::map<std::string, std::map<std::string, float>> coefficientMap = evr_tool->
getCoefficientMap(
label, eigenIdxList);
102 std::cout<<
"There are "<<nEigen
103 <<
" eigen vectors for flavour B."<<std::endl;