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());
void print(std::ostream &out) const
std::atomic< uint64_t > try_
virtual void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup)=0
edm::EDGetTokenT< Isolation > inputToken_
std::ostream & operator<<(std::ostream &out, const strbitset::index_type &r)
virtual std::string description() const =0
edm::ValueMap< float > Isolation
bool test(const AnyRef &ref) const
Tests if the value associated to this item is strictly below the cut.
virtual void endEvent()=0
float getValue(const AnyRef &ref) const
Returns the associated isolation value given any sort of ref.
std::atomic< uint64_t > fail_