1 #ifndef PhysicsTools_PatAlgos_interface_BaseIsolator_h
2 #define PhysicsTools_PatAlgos_interface_BaseIsolator_h
9 namespace pat {
namespace helper {
20 template<
typename AnyRef>
bool test(
const AnyRef &ref)
const {
26 template<
typename AnyRef>
float getValue(
const AnyRef &ref)
const {
27 return getValue(ref.id(), ref.key());
31 void print(std::ostream &
out)
const ;
void print(std::ostream &out) const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
virtual void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup)=0
edm::EDGetTokenT< Isolation > inputToken_
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual std::string description() const =0
edm::ValueMap< float > Isolation
unsigned long long uint64_t
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.