Ejemplo n.º 1
0
    def __init__(self, geom, file=None):
        super(larlite_manager_base, self).__init__(geom, file)
        manager.__init__(self, geom, file)
        QtCore.QObject.__init__(self)
        # For the larlite manager, need both the ana_processor and
        # the storage manager
        self._process = fmwk.ana_processor()
        self._mgr = fmwk.storage_manager()

        self._keyTable = dict()
        self._drawnClasses = dict()

        if file != None:
            self.setInputFiles(file)

        self._n_entries = 0

        # Toggle whether or not to draw wires:
        self._drawWires = False
        self._drawParams = False
        self._drawTruth = False

        self._wireDrawer = None
        self._truthDrawer = None

        # Lariat has special meanings to event/spill/run
        self._spill = 0
Ejemplo n.º 2
0
    def __init__(self, geom, file=None):
        super(evd_manager_base, self).__init__(geom, file)
        manager.__init__(self, geom, file)
        QtCore.QObject.__init__(self)
        # For the larlite manager, need both the ana_processor and
        # the storage manager
        self._processer = processer()
        # self._mgr = fmwk.storage_manager()
        self._data_manager = None

        self._keyTable = dict()
        self._drawnClasses = dict()

        if file != None:
            self.setInputFiles(file)

        self._n_entries = 0

        # Toggle whether or not to draw wires:
        self._drawWires = False
        self._drawOpDetWvf = False
        # self._drawParams = False
        # self._drawTruth = False

        self._wireDrawer = None
        self._opDetWvfDrawer = None
        # self._truthDrawer = None

        # A list that will contain a dictionary with run, subrun, event keys
        self._run_list = []
Ejemplo n.º 3
0
    def __init__(self, geom, file=None):
        super(larlite_manager_base, self).__init__(geom, file)
        manager.__init__(self, geom, file)
        QtCore.QObject.__init__(self)
        # For the larlite manager, need both the ana_processor and
        # the storage manager
        self._process = fmwk.ana_processor()
        self._mgr = fmwk.storage_manager()

        self._keyTable = dict()
        self._drawnClasses = dict()

        if file != None:
            self.setInputFiles(file)

        self._n_entries = 0

        # Toggle whether or not to draw wires:
        self._drawWires = False
        self._drawParams = False
        self._drawTruth = False

        self._wireDrawer = None
        self._truthDrawer = None

        # Lariat has special meanings to event/spill/run
        self._spill = 0
Ejemplo n.º 4
0
    def __init__(self, geom, file=None):
        # super(larsoft_manager, self).__init__(geom,file)
        QtCore.QObject.__init__(self)
        manager.__init__(self, geom, file)
        wire.__init__(self)

        # override the wire drawing process
        self._type = None
        self._process = evd.DrawUbSwiz()

        # Set up the noise filter and initialize
        self._process.SetCorrectData(False)
        self._process.SetSaveData(False)
        self._process.SetStepSizeByPlane(48, 0)
        self._process.SetStepSizeByPlane(48, 1)
        self._process.SetStepSizeByPlane(96, 2)
        for plane in xrange(geom.nViews()):
            self._process.setYDimension(geom.readoutWindowSize(), plane)
        self._process.initialize()
        self.setInputFile(file)

        # The lariat manager handles watching files and sending signals
        self._watcher = None
        self._stopFlag = None
        self._running = False

        self._event_no = 0
Ejemplo n.º 5
0
    def __init__(self, geom, file=None):
        # super(ubdaq_manager, self).__init__(geom,file)
        QtCore.QObject.__init__(self)
        manager.__init__(self, geom, file)
        wire.__init__(self)

        # override the wire drawing process
        self._type = None
        self._process = None
        self._filterData = True

        self.setInputFile(file)

        self._event_no = 0


        if not has_daq_types:
            print bcolors.WARNING + "NOTIFICATION: uboonedaq types are not configured to run.  \
Unless you are attempting to draw *.ubdaq, disregard this notification." + bcolors.ENDC
Ejemplo n.º 6
0
    def __init__(self, geom, file=None):
        super(evd_manager_base, self).__init__(geom, file)
        manager.__init__(self, geom, file)
        QtCore.QObject.__init__(self)
        # For the larlite manager, need both the ana_processor and
        # the storage manager
        self._processer = processer()
        # self._mgr = fmwk.storage_manager()
        self._data_manager = None

        self._keyTable = dict()
        self._drawnClasses = dict()

        if file != None:
            self.setInputFiles(file)

        self._n_entries = 0

        # Toggle whether or not to draw wires:
        self._drawWires = False
        # self._drawParams = False
        # self._drawTruth = False

        self._wireDrawer = None