Definition at line 5 of file elec_selection.py.
Referenced by deltaR().
8 if os.environ[
'E_SELECTION'] ==
'efromW':
9 result = [
"drop *",
"keep+ pdgId = 24",
"keep+ pdgId = -24",
"drop pdgId !=11 && pdgId !=-11"]
10 elif os.environ[
'E_SELECTION'] ==
'efromZ':
11 result = [
"drop *",
"keep+ pdgId = 23",
"drop pdgId !=11 && pdgId !=-11"]
12 elif os.environ[
'E_SELECTION'] ==
'efromb':
13 result = [
"drop *",
"keep+ abs(pdgId)>=500 & abs(pdgId)<600",
"drop pdgId !=11 && pdgId !=-11"]
14 elif os.environ[
'E_SELECTION'] ==
'pions':
15 result = [
"drop *",
"keep pdgId = 211",
"keep pdgId = -211"]
17 result = [
"drop *",
" keep pdgId = {e-}",
"keep pdgId = {e+}"]