|
ATLAS Offline Software
|
Go to the documentation of this file.
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();
37 if (
evtStore()->contains<PseudoJetMap>(pjmapname) ) {
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";
def retrieve(aClass, aKey=None)
void print() const
Print the state of the tool.
#define ATH_MSG_VERBOSE(x)
JetPseudojetRetriever(const std::string &name)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::map< const xAOD::Jet *, const fastjet::PseudoJet * > PseudoJetMap
std::string label() const
Return the label.
#define ATH_MSG_WARNING(x)
StatusCode initialize()
Dummy implementation of the initialisation function.
const fastjet::PseudoJet * pseudojet(const xAOD::Jet &jet) const
Retrieve the pseudojet associate with a jet.