1 #ifndef PhysicsTools_PatAlgos_interface_BaseIsolator_h 2 #define PhysicsTools_PatAlgos_interface_BaseIsolator_h 22 template<
typename AnyRef>
bool test(
const AnyRef &ref)
const {
28 template<
typename AnyRef>
float getValue(
const AnyRef &ref)
const {
29 return getValue(ref.id(), ref.key());
33 void print(std::ostream &
out)
const ;
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_