1 #ifndef PhysicsTools_PatAlgos_interface_MultiIsolator_h
2 #define PhysicsTools_PatAlgos_interface_MultiIsolator_h
9 #include "boost/ptr_container/ptr_vector.hpp"
13 namespace pat {
namespace helper {
42 template<
typename RefType>
45 void print(std::ostream &
out)
const ;
54 std::vector<pat::IsolationKeys>
keys_;
68 template<
typename RefType>
std::vector< uint32_t > masks_
boost::ptr_vector< BaseIsolator > isolators_
void print(std::ostream &out) const
IsolationKeys
Enum defining isolation keys.
bool enabled() const
True if it has a non null configuration.
void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup)
std::string printSummary() const
static BaseIsolator * make(const edm::ParameterSet &conf, edm::ConsumesCollector &iC, bool withCut)
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
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
uint32_t test(const edm::View< T > &coll, int idx) const
std::vector< pat::IsolationKeys > keys_
tuple idx
DEBUGGING if hasattr(process,"trackMonIterativeTracking2012"): print "trackMonIterativeTracking2012 D...
std::vector< std::pair< pat::IsolationKeys, float > > IsolationValuePairs
void addIsolator(BaseIsolator *iso, uint32_t mask, pat::IsolationKeys key)
void fill(const edm::View< T > &coll, int idx, IsolationValuePairs &isolations) const