Go to the documentation of this file. 1 #ifndef PhysicsTools_PatAlgos_interface_BaseIsolator_h
2 #define PhysicsTools_PatAlgos_interface_BaseIsolator_h
23 template <
typename AnyRef>
24 bool test(
const AnyRef &ref)
const {
32 template <
typename AnyRef>
34 return getValue(ref.id(), ref.key());
edm::EDGetTokenT< Isolation > inputToken_
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
float getValue(const AnyRef &ref) const
Returns the associated isolation value given any sort of ref.
std::atomic< uint64_t > fail_
virtual void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup)=0
std::ostream & operator<<(std::ostream &stream, const pat::helper::BaseIsolator &iso)
void print(std::ostream &out) const
bool test(const AnyRef &ref) const
Tests if the value associated to this item is strictly below the cut.
std::atomic< uint64_t > try_
virtual void endEvent()=0
edm::ValueMap< float > Isolation
virtual std::string description() const =0