CMS 3D CMS Logo

cutParser.h
Go to the documentation of this file.
1 #ifndef CommonTools_Utils_cutParset_h
2 #define CommonTools_Utils_cutParset_h
6 #include <string>
7 
8 namespace reco {
9  namespace parser {
10  bool cutParser(const edm::TypeWithDict &t, const std::string &cut, SelectorPtr &sel, bool lazy);
11 
12  template <typename T>
13  inline bool cutParser(const std::string &cut, SelectorPtr &sel, bool lazy = false) {
14  return reco::parser::cutParser(edm::TypeWithDict(typeid(T)), cut, sel, lazy);
15  }
16  } // namespace parser
17 } // namespace reco
18 
19 #endif
writedatasetfile.parser
parser
Definition: writedatasetfile.py:7
TypeWithDict.h
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::parser::cutParser
bool cutParser(const edm::TypeWithDict &t, const std::string &cut, SelectorPtr &sel, bool lazy)
Definition: cutParser.cc:7
SelectorPtr.h
Exception.h
edm::TypeWithDict
Definition: TypeWithDict.h:38
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
T
long double T
Definition: Basic3DVectorLD.h:48
reco::parser::SelectorPtr
std::shared_ptr< SelectorBase > SelectorPtr
Definition: SelectorPtr.h:18
PA_MinBiasSkim_cff.cut
cut
Definition: PA_MinBiasSkim_cff.py:13
EgammaValidation_Wenu_cff.sel
sel
Definition: EgammaValidation_Wenu_cff.py:33
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644