Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed the Calibration Source Classes #86

Merged
merged 3 commits into from
Oct 27, 2017
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions bin/laxer
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ def main():
elif args.SCIENCERUN == 1:
LAX_LICHENS = [sciencerun1.AllEnergy(),
sciencerun1.LowEnergyRn220(),
sciencerun1.LowEnergyAmBe(),
sciencerun1.LowEnergyNG(),
sciencerun1.LowEnergyBackground()]

TREENAME = 'tree'
Expand Down
32 changes: 3 additions & 29 deletions lax/lichens/sciencerun1.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def __init__(self):
DAQVeto(),
S1SingleScatter(),
S2PatternLikelihood(),
S2Tails(),
InteractionPeaksBiggest()
]

Expand Down Expand Up @@ -69,44 +68,19 @@ def __init__(self):
class LowEnergyBackground(LowEnergyRn220):
"""Select background events with cs1<200

This is the list that we'll use for the actual DM search. Additionally to the
LowEnergyRn220 list it contains the PreS2Junk
This is the list that we'll use for the actual DM search. In addition to the
LowEnergyRn220 list, it contains S2Tails and PreS2Junk.
"""

def __init__(self):
LowEnergyRn220.__init__(self)

self.lichen_list += [
S2Tails(),
PreS2Junk(),
]


class LowEnergyAmBe(LowEnergyRn220):
"""Select AmBe events with cs1<200 with appropriate cuts

It is the same as the LowEnergyRn220 cuts, except uses an AmBe fiducial.
"""

def __init__(self):
LowEnergyRn220.__init__(self)

# Replaces Fiducial
self.lichen_list[0] = AmBeFiducial()


class LowEnergyNG(LowEnergyRn220):
"""Select AmBe events with cs1<200 with appropriate cuts

It is the same as the LowEnergyRn220 cuts, except uses an AmBe fiducial.
"""

def __init__(self):
LowEnergyRn220.__init__(self)

# Replaces Fiducial
self.lichen_list[0] = NGFiducial()


DAQVeto = sciencerun0.DAQVeto

class S2Tails(Lichen):
Expand Down