28 if( std::abs(
m_Beta-1.0) > 1.0
e-5 ) {
31 ATH_MSG_WARNING(
"The Beta property is deprecated, please use the BetaList property to provide a list of values");
42 float betaFix =
round(
beta * 10.0 ) / 10.0;
43 if( std::abs(
beta-betaFix) > 1.0
e-5 )
ATH_MSG_DEBUG(
"beta = " <<
beta <<
" has been rounded to " << betaFix );
65 return StatusCode::SUCCESS;
71 fastjet::PseudoJet
jet;
72 fastjet::PseudoJet jet_ungroomed;
78 bool calculate_ungroomed =
false;
88 ATH_MSG_ERROR(
"Parent element link is not valid. Aborting" );
92 const xAOD::Jet* parentJet = *(parentLink);
99 float beta = moment.first;
101 float ECF1_value = -999;
102 float ECF2_value = -999;
103 float ECF3_value = -999;
104 float ECF4_value = -999;
105 float ECF5_value = -999;
107 float ECF1_ungroomed_value = -999;
108 float ECF2_ungroomed_value = -999;
109 float ECF3_ungroomed_value = -999;
131 if( calculate_ungroomed ) {
132 ECF1_ungroomed_value = ECF1.
result(jet_ungroomed);
133 ECF2_ungroomed_value = ECF2.
result(jet_ungroomed);
134 ECF3_ungroomed_value = ECF3.
result(jet_ungroomed);
139 (*moment.second.dec_ECF1)(injet) = ECF1_value;
140 (*moment.second.dec_ECF2)(injet) = ECF2_value;
141 (*moment.second.dec_ECF3)(injet) = ECF3_value;
142 (*moment.second.dec_ECF4)(injet) = ECF4_value;
143 (*moment.second.dec_ECF5)(injet) = ECF5_value;
145 (*moment.second.dec_ECF1_ungroomed)(injet) = ECF1_ungroomed_value;
146 (*moment.second.dec_ECF2_ungroomed)(injet) = ECF2_ungroomed_value;
147 (*moment.second.dec_ECF3_ungroomed)(injet) = ECF3_ungroomed_value;