1 #ifndef DQMOffline_Trigger_VarRangeCutColl_h 2 #define DQMOffline_Trigger_VarRangeCutColl_h 24 template<
typename ObjType>
34 if(!
cut(obj))
return false;
47 if(
cut.varName()==varToSkip)
continue;
48 if(!
cut(obj))
return false;
53 bool operator()(
const ObjType&
obj,
const std::vector<std::string>& varsToSkip)
const{
55 if(
std::find(varsToSkip.begin(),varsToSkip.end(),
cut.varName())!=varsToSkip.end())
continue;
56 if(!
cut(obj))
return false;
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_