test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Variables
trivialCutFlow_cff Namespace Reference

Variables

string string_func
 
string string_value
 
tuple trivialCutFlow
 

Variable Documentation

string trivialCutFlow_cff.string_func
Initial value:
1 = """
2 result_type asCandidate(const argument_type& obj) const override final {
3  std::cout << "lol I was written in python!" << std::endl;
4  return obj->pt() < 5.0;
5 }
6 """

Definition at line 5 of file trivialCutFlow_cff.py.

string trivialCutFlow_cff.string_value
Initial value:
1 = """
2 double value(const reco::CandidatePtr& obj) const override final {
3  return obj->pt();
4 }
5 """

Definition at line 12 of file trivialCutFlow_cff.py.

tuple trivialCutFlow_cff.trivialCutFlow
Initial value:
1 = cms.PSet(
2  idName = cms.string("trivialCutFlow"),
3  cutFlow = cms.VPSet(
4  cms.PSet( cutName = cms.string("MinPtCut"),
5  minPt = cms.double(10.0),
6  needsAdditionalProducts = cms.bool(False),
7  isIgnored = cms.bool(False) ),
8  cms.PSet( cutName = cms.string("MaxAbsEtaCut"),
9  maxEta = cms.double(2.5),
10  needsAdditionalProducts = cms.bool(False),
11  isIgnored = cms.bool(False) ),
12  cms.PSet( cutName = cms.string("ExpressionEvaluatorCut"),
13  realCutName = cms.string("StringMinPtCut"),
14  candidateType = cms.string("NONE"),
15  functionDef = cms.string(string_func),
16  valueDef = cms.string(string_value),
17  needsAdditionalProducts = cms.bool(False),
18  isIgnored = cms.bool(False) )
19  )
20 )

Definition at line 18 of file trivialCutFlow_cff.py.