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