Go to the documentation of this file. 1 #ifndef DataFormats_FWLite_Handle_h
2 #define DataFormats_FWLite_Handle_h
101 const char* iModuleLabel,
102 const char* iProductInstanceLabel =
nullptr,
103 const char* iProcessLabel =
nullptr) {
106 iP.getByLabel(
TempWrapT::typeInfo(), iModuleLabel, iProductInstanceLabel, iProcessLabel, pTemp);
109 if (
nullptr ==
temp) {
115 if (
data_ ==
nullptr) {
210 const char* iModuleLabel,
211 const char* iProductInstanceLabel =
nullptr,
212 const char* iProcessLabel =
nullptr) {
void swap(Handle< T > &iOther)
static ErrorThrower * errorThrowerProductNotFoundException(const std::type_info &, const char *, const char *, const char *)
Handle(const Handle< T > &iOther)
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
virtual void throwIt() const =0
edm::Wrapper< T > TempWrapT
const std::string getBranchNameFor(const fwlite::EventBase &iEvent, const char *iModuleLabel, const char *iProductInstanceLabel=nullptr, const char *iProcessLabel=nullptr)
static std::type_info const & typeInfo()
static ErrorThrower * errorThrowerBranchNotFoundException(const std::type_info &, const char *, const char *, const char *)
void getByLabel(const P &iP, const char *iModuleLabel, const char *iProductInstanceLabel=nullptr, const char *iProcessLabel=nullptr)
const Handle< T > & operator=(const Handle< T > &iOther)
ErrorThrower const * errorThrower_
bool failedToGet() const
Returns true only if Handle was used in a 'get' call and the data could not be found.
const T & operator*() const
const T * operator->() const
std::pair< OmniClusterRef, TrackingParticleRef > P
T const * product() const