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());
float getValue(const AnyRef &ref) const
Returns the associated isolation value given any sort of ref.
std::ostream & operator<<(std::ostream &stream, const pat::helper::BaseIsolator &iso)
std::atomic< uint64_t > try_
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
virtual void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup)=0
edm::EDGetTokenT< Isolation > inputToken_
void print(std::ostream &out) const
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
std::atomic< uint64_t > fail_