13 ,m_jetScale(
"JetAssignedScaleMomentum")
23 std::map<std::string, std::string> scale2str( {
24 {
"JetEMScaleMomentum" ,
"EMScale" } ,
25 {
"JetConstitScaleMomentum" ,
"ConstitScale" } } );
28 TString prefixn = scaleTag;
29 if(prefixn !=
"") prefixn +=
"_";
33 TH1::AddDirectory(kFALSE);
44 TH1::AddDirectory(kTRUE);
51 TString
tags[] = { scaleTag};
52 for(
const auto&
t :
tags ) {
if(qualif !=
"(") qualif+=
",";qualif +=
t; }
56 TString
t = hdata.hist->GetTitle();
t+=
" "+qualif;
57 hdata.hist->SetTitle(
t );
80 if( Tau1Acc(j) > 1
e-8 )
m_tau21->Fill( Tau2Acc(j) / Tau1Acc(j),
weight );
81 if( Tau2Acc(j) > 1
e-8 )
m_tau32->Fill( Tau3Acc(j) / Tau2Acc(j),
weight );
83 if( Tau1_wtaAcc.
isAvailable(j) && Tau2_wtaAcc(j) && Tau3_wtaAcc(j)){
84 if( Tau1_wtaAcc(j) > 1
e-8 )
m_tau21_wta->Fill( Tau2_wtaAcc(j) / Tau1_wtaAcc(j),
weight );
85 if( Tau2_wtaAcc(j) > 1
e-8 )
m_tau32_wta->Fill( Tau3_wtaAcc(j) / Tau2_wtaAcc(j),
weight );
88 if( ECF1Acc(j) > 1
e-8 )
m_C1->Fill( ECF2Acc(j) /
pow( ECF1Acc(j), 2.0),
weight );
89 if( ECF2Acc(j) > 1
e-8 ) {
90 m_C2->Fill( ( ECF3Acc(j) * ECF1Acc(j) ) /
pow( ECF2Acc(j), 2.0),
weight );
91 m_D2->Fill( ( ECF3Acc(j) *
pow( ECF1Acc(j), 3.0 ) ) /
pow( ECF2Acc(j), 3.0),
weight );