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
TkAlMuonSelectors_cfi.cut
cut
Definition: TkAlMuonSelectors_cfi.py:5
writedatasetfile.parser
parser
Definition: writedatasetfile.py:7
TypeWithDict.h
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
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
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::TypeWithDict
Definition: TypeWithDict.h:38
T
long double T
Definition: Basic3DVectorLD.h:48
reco::parser::SelectorPtr
std::shared_ptr< SelectorBase > SelectorPtr
Definition: SelectorPtr.h:18
EgammaValidation_Wenu_cff.sel
sel
Definition: EgammaValidation_Wenu_cff.py:33
submitPVValidationJobs.t
string t
Definition: submitPVValidationJobs.py:644