 |
ATLAS Offline Software
|
Go to the documentation of this file.
21 ATH_MSG_ERROR(
"NSubjettinessTool needs to have its input jet container name configured!");
22 return StatusCode::FAILURE;
28 for(
unsigned int i=0;
i<5;
i++)
41 return StatusCode::SUCCESS;
48 std::vector<SG::WriteDecorHandle<xAOD::JetContainer, float>> wdhs_FoxWolfram;
50 wdhs_FoxWolfram.emplace_back(
key);
57 fastjet::PseudoJet
jet;
60 std::map<std::string, double> res_t, res_fox, res_s;
62 res_t[
"ThrustMin"] = -999;
63 res_t[
"ThrustMaj"] = -999;
64 res_fox[
"FoxWolfram0"] = -999;
65 res_fox[
"FoxWolfram1"] = -999;
66 res_fox[
"FoxWolfram2"] = -999;
67 res_fox[
"FoxWolfram3"] = -999;
68 res_fox[
"FoxWolfram4"] = -999;
69 res_s[
"Sphericity"] = -999;
70 res_s[
"Aplanarity"] = -999;
76 res_t =
t.result(
jet);
81 wdh_ThrustMin(*injet) = res_t[
"ThrustMin"];
82 wdh_ThrustMaj(*injet) = res_t[
"ThrustMaj"];
84 for(
unsigned int i=0;
i<5;
i++)
87 wdh_Sphericity(*injet) = res_s[
"Sphericity"];
88 wdh_Aplanarity(*injet) = res_s[
"Aplanarity"];
91 return StatusCode::SUCCESS;
const std::string & key() const
Return the StoreGate ID for the referenced object.
def decorate(hto4l_controller, decorator, **kwargs)
virtual std::map< std::string, double > result(const fastjet::PseudoJet &jet) const
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
std::string to_string(const DetectorType &type)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual std::map< std::string, double > result(const fastjet::PseudoJet &jet) const