1 #ifndef DQMOffline_Trigger_VarRangeCutColl_h 2 #define DQMOffline_Trigger_VarRangeCutColl_h 24 template <
typename ObjType>
28 for (
const auto& cutConfig : configs)
49 if (
cut.varName() == varToSkip)
57 bool operator()(
const ObjType&
obj,
const std::vector<std::string>& varsToSkip)
const {
59 if (
std::find(varsToSkip.begin(), varsToSkip.end(),
cut.varName()) != varsToSkip.end())
VarRangeCutColl(const std::vector< edm::ParameterSet > &configs)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
bool operator()(const ObjType &obj, const std::string &varToSkip) const
bool operator()(const ObjType &obj, const std::vector< std::string > &varsToSkip) const
bool operator()(const ObjType &obj) const
std::vector< VarRangeCut< ObjType > > rangeCuts_