Skip to content

Commit

Permalink
Remove RecoilTrackerDQM (#1589)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvami authored Feb 11, 2025
1 parent d930470 commit fac6e76
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 210 deletions.
59 changes: 0 additions & 59 deletions DQM/include/DQM/RecoilTrackerDQM.h

This file was deleted.

39 changes: 1 addition & 38 deletions DQM/python/dqm.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,39 +563,6 @@ def __init__(self,name='PN', verbose=False, count_light_ions=True) :
"Recoil electron vertex y (mm)",
320, -80, 80)

class RecoilTrackerDQM(ldmxcfg.Analyzer) :
"""Configured RecoilTrackerDQM python object
Contains an instance of RecoilTrackerDQM that
has already been configured.
Builds the necessary histograms as well.
Examples
--------
from LDMX.DQM import dqm
p.sequence.append( dqm.RecoilTrackerDQM() )
"""

def __init__(self,name='RecoilTracker') :
super().__init__(name, "dqm::RecoilTrackerDQM",'DQM')

self.build1DHistogram("track_count", "Track Multiplicity", 10, 0, 10)
self.build1DHistogram("loose_track_count", "Track Multiplicity", 10, 0, 10)
self.build1DHistogram("axial_track_count", "Track Multiplicity", 10, 0, 10)

self.build1DHistogram("recoil_vx", "Recoil e^{-} Vertex x (mm)", 120, -30, 30)
self.build1DHistogram("recoil_vy", "Recoil e^{-} Vertex y (mm)", 200, -100, 100)
self.build1DHistogram("recoil_vz", "Recoil e^{-} Vertex z (mm)", 40, -2, 0)

titles = ['', '_track_veto', '_bdt', '_hcal', '_track_bdt', '_vetoes']
for t in titles:
self.build1DHistogram("tp%s" % t, "Recoil e^{-} Truth p (MeV)", 255, -50, 2500)
self.build1DHistogram("tpt%s" % t, "Recoil e^{-} Truth p_{t} (MeV)", 300, -50, 100)
self.build1DHistogram("tpx%s" % t, "Recoil e^{-} Truth p_{x} (MeV)", 100, -10, 10)
self.build1DHistogram("tpy%s" % t, "Recoil e^{-} Truth p_{y} (MeV)", 100, -10, 10)
self.build1DHistogram("tpz%s" % t, "Recoil e^{-} Truth p_{z} (MeV)", 260, -100, 2500)

class TrkDeDxMassEstFeatures(ldmxcfg.Analyzer) :
"""Configured TrkDeDxMassEstFeatures python object
Expand Down Expand Up @@ -779,10 +746,6 @@ def __init__(self, name='SampleValidation') :
HcalVetoResults(),
]

recoil_dqm = [
RecoilTrackerDQM()
]

dEdx_dqm = [
TrkDeDxMassEstFeatures()
]
Expand All @@ -806,4 +769,4 @@ def __init__(self, name='SampleValidation') :
]


all_dqm = ecal_dqm + hcal_dqm + recoil_dqm + trigScint_dqm + trigger_dqm
all_dqm = ecal_dqm + hcal_dqm + trigScint_dqm + trigger_dqm
113 changes: 0 additions & 113 deletions DQM/src/DQM/RecoilTrackerDQM.cxx

This file was deleted.

0 comments on commit fac6e76

Please sign in to comment.