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