4 #ifndef EcalDigis_CollHandle_h 5 #define EcalDigis_CollHandle_h 34 bool failIfNotFound =
true,
35 bool notFoundWarn =
true):
tag_(tag),
65 event.getByToken(
token_, hColl);
76 "of type '" <<
typeid(
T).
name() <<
"' was not found!";
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const T * operator->() const
edm::InputTag tag() const
bool notFoundAlreadyWarned_
const T & operator*() const
void read(const edm::Event &event)
CollHandle(const edm::InputTag &tag, bool failIfNotFound=true, bool notFoundWarn=true)
edm::EDGetTokenT< T > token_
void setToken(edm::ConsumesCollector &collector)