Functions | |
def | ExtVar (tag, valtype, doc=None, precision=-1) |
def | OVar (valtype, doc=None, precision=-1) |
def | Var (expr, valtype, doc=None, precision=-1) |
Variables | |
CandVars | |
charge | |
doc | |
eta | |
float | |
int | |
mass | |
P3Vars | |
P4Vars | |
pdgId | |
phi | |
precision | |
pt | |
PTVars | |
def common_cff.ExtVar | ( | tag, | |
valtype, | |||
doc = None , |
|||
precision = -1 |
|||
) |
Create a PSet for a variable read from the event tag is the InputTag to the variable. see OVar in common_cff for all the other arguments
Definition at line 27 of file common_cff.py.
References clone(), and OVar().
def common_cff.OVar | ( | valtype, | |
doc = None , |
|||
precision = -1 |
|||
) |
Create a PSet for a variable in the tree (without specifying how it is computed) valtype is the type of the value (float, int, bool, or a string that the table producer understands), doc is a docstring, that will be passed to the table producer,
Definition at line 2 of file common_cff.py.
def common_cff.Var | ( | expr, | |
valtype, | |||
doc = None , |
|||
precision = -1 |
|||
) |
Create a PSet for a variable computed with the string parser expr is the expression to evaluate to compute the variable (in case of bools, it's a cut and not a function) see OVar above for all the other arguments
Definition at line 16 of file common_cff.py.
References clone(), and OVar().
Referenced by taus_cff._tauIdWPMask(), custom_jme_cff.AddJetID(), custom_jme_cff.AddVariablesForAK8PuppiJets(), nanogen_cff.customizeNanoGENFromMini(), EcalPhiSymRecoSequence_cff.ecal_phisym_flattables(), JetVertexMain.Main(), custom_jme_cff.ReclusterAK4CHSJets(), and custom_jme_cff.SavePatJets().
common_cff.CandVars |
Definition at line 49 of file common_cff.py.
common_cff.charge |
Definition at line 51 of file common_cff.py.
common_cff.doc |
Definition at line 50 of file common_cff.py.
common_cff.eta |
Definition at line 44 of file common_cff.py.
common_cff.float |
Definition at line 40 of file common_cff.py.
common_cff.int |
Definition at line 50 of file common_cff.py.
common_cff.mass |
Definition at line 47 of file common_cff.py.
common_cff.P3Vars |
Definition at line 43 of file common_cff.py.
common_cff.P4Vars |
Definition at line 46 of file common_cff.py.
common_cff.pdgId |
Definition at line 50 of file common_cff.py.
common_cff.phi |
Definition at line 41 of file common_cff.py.
common_cff.precision |
Definition at line 40 of file common_cff.py.
common_cff.pt |
Definition at line 40 of file common_cff.py.
common_cff.PTVars |
Definition at line 39 of file common_cff.py.