1 #ifndef PhysicsTools_PatAlgos_interface_MultiIsolator_h 2 #define PhysicsTools_PatAlgos_interface_MultiIsolator_h 9 #include "boost/ptr_container/ptr_vector.hpp" 39 void fill(
const edm::View<T> &coll,
int idx, IsolationValuePairs& isolations)
const ;
42 template<
typename RefType>
43 void fill(
const RefType &ref, IsolationValuePairs& isolations)
const ;
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)
uint32_t test(const edm::View< T > &coll, int idx) const
std::vector< pat::IsolationKeys > keys_
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