src
CommonTools
Utils
interface
cutParser.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_cutParset_h
2
#define CommonTools_Utils_cutParset_h
3
#include "
CommonTools/Utils/interface/parser/SelectorPtr.h
"
4
#include "
CommonTools/Utils/interface/parser/Exception.h
"
5
#include "
FWCore/Reflection/interface/TypeWithDict.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
reco::parser::cutParser
bool cutParser(const edm::TypeWithDict &t, const std::string &cut, SelectorPtr &sel, bool lazy)
Definition:
cutParser.cc:7
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:650
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
TypeWithDict.h
SelectorPtr.h
DMR_cfg.cut
cut
Definition:
DMR_cfg.py:131
writedatasetfile.parser
parser
Definition:
writedatasetfile.py:7
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:46
Exception.h
edm::TypeWithDict
Definition:
TypeWithDict.h:38
EgammaValidation_Wenu_cff.sel
sel
Definition:
EgammaValidation_Wenu_cff.py:33
T
long double T
Definition:
Basic3DVectorLD.h:48
reco::parser::SelectorPtr
std::shared_ptr< SelectorBase > SelectorPtr
Definition:
SelectorPtr.h:18
Generated for CMSSW Reference Manual by
1.8.14