24 return StatusCode::SUCCESS;
32 const fastjet::PseudoJet* ppj =
nullptr;
33 ppj =
jet.getPseudoJet();
34 if ( ppj !=
nullptr )
return ppj;
36 std::string pjmapname =
label();
38 if (
evtStore()->retrieve(ppjmap, pjmapname).isSuccess() ) {
39 PseudoJetMap::const_iterator ipj = ppjmap->find(&
jet);
40 if ( ipj != ppjmap->end() ) ppj = ipj->second;
46 <<
" for jet @" <<
long(&
jet)
47 <<
" from " << pjmapname);
54 return "JetPseudojetMap";
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_WARNING(x)
ServiceHandle< StoreGateSvc > & evtStore()
StatusCode initialize()
Dummy implementation of the initialisation function.
std::string label() const
Return the label.
const fastjet::PseudoJet * pseudojet(const xAOD::Jet &jet) const
Retrieve the pseudojet associate with a jet.
JetPseudojetRetriever(const std::string &name)
void print() const
Print the state of the tool.
bool contains(const std::string &s, const std::string ®x)
does a string contain the substring
std::map< const xAOD::Jet *, const fastjet::PseudoJet * > PseudoJetMap
Jet_v1 Jet
Definition of the current "jet version".