![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef JETEVENT_JETSTOREHELPER_H
8 #define JETEVENT_JETSTOREHELPER_H
10 #include "GaudiKernel/Bootstrap.h"
11 #include "GaudiKernel/Service.h"
12 #include "GaudiKernel/MsgStream.h"
24 return (Gaudi::svcLocator()->service(
"StoreGate",pSG)).isSuccess();
38 const std::string&
msg)
41 if ( (Gaudi::svcLocator()->service(
"MessageSvc",
msgSvc)).isFailure() )
53 if ( (Gaudi::svcLocator()->service(
"StoreGate",pSG)).isFailure() )
56 <<
"cannot retrieve StoreGate service"
65 <<
"cannot retrieve store type \042"
66 << tStr <<
"\042 with key <"
77 while ( fStr !=
str.end() )
79 if ( *fStr >=
'0' && *fStr <=
'9' )
81 fStr =
str.erase(fStr);
JetConstituentVector::iterator iterator
StatusCode record(T *p2BRegistered, const TKEY &key)
Record an object with a key.
static bool retrieveStore(STORE *&store, const std::string &key, MsgStream &report)
static bool getStoreGate(StoreGateSvc *&pSG)
StatusCode retrieve(const T *&ptr) const
Retrieve the default object into a const T*.
static bool retrieveStore(STORE *&store, const std::string &key, const std::string &msg)
The Athena Transient Store API.
msgSvc
Provide convenience handles for various services.
static bool recordStore(STORE *store, const std::string &key)
static void stringFilter(std::string &str)