parameters: (mvaname)
return_statement: return pset
docstring: returns the cms.PSet to be used by CharmTaggerESProducer
docstring_summary: returns the cms.PSet to be used by CharmTaggerESProducer
docstring_tokens: returns the cms . PSet to be used by CharmTaggerESProducer
function: def get_var_pset(mvaname):
     'returns the cms.PSet to be used by CharmTaggerESProducer'
     pset = cms.PSet(      
        name = cms.string(mvaname),
        taggingVarName = cms.string(get_var_name(mvaname)),
        default = cms.double(get_var_default(mvaname))
        )
     idx = get_var_idx(mvaname)
     if idx is not None:
        pset.idx = cms.int32(idx)
     return pset
function_tokens: def get_var_pset ( mvaname ) : pset = cms . PSet ( name = cms . string ( mvaname ) , taggingVarName = cms . string ( get_var_name ( mvaname ) ) , default = cms . double ( get_var_default ( mvaname ) ) ) idx = get_var_idx ( mvaname ) if idx is not None : pset . idx = cms . int32 ( idx ) return pset