예제 #1
0
 def Configure(self):
     MCLabelsBase.Configure(self)
     self._muon_key = self.GetParameter("MuonKey")
     self._bin_width = self.GetParameter("BinWidth")
     self._extend_boundary = self.GetParameter("ExtendBoundary")
     self._force_num_bins = self.GetParameter("ForceNumBins")
     self._include_under_over_flow = \
         self.GetParameter("IncludeUnderOverFlow")
예제 #2
0
 def Configure(self):
     # super(MCLabelsDeepLearning, self).Configure(self)
     MCLabelsBase.Configure(self)
     self._min_length = self.GetParameter("MinLength")
     self._min_length_before = self.GetParameter("MinLengthBefore")
     self._min_length_after = self.GetParameter("MinLengthAfter")
     self._min_muon_entry_energy = self.GetParameter("MinMuonEntryEnergy")
     self._min_rel_loss_energy = self.GetParameter("MinRelativeLossEnergy")
예제 #3
0
    def Configure(self):
        # super(EventGeneratorMuonTrackLabels, self).Configure(self)
        MCLabelsBase.Configure(self)
        self._extend_boundary = self.GetParameter("ExtendBoundary")
        self._correct_for_em_loss = self.GetParameter("UseEMEquivalenEnergy")
        self._num_cascades = self.GetParameter("NumCascades")
        self._num_quantiles = self.GetParameter("NumQuantiles")
        self._run_on_daq = self.GetParameter("RunOnDAQFrames")

        if self._num_quantiles > 1000:
            raise ValueError('Only quantiles up to 1000 supported!')

        self._quantiles = np.linspace(
            1./self._num_quantiles, 1, self._num_quantiles)
예제 #4
0
 def Configure(self):
     # super(EventGeneratorMuonTrackLabels, self).Configure(self)
     MCLabelsBase.Configure(self)
     self._extend_boundary = self.GetParameter("ExtendBoundary")
     self._mc_tree_name = self.GetParameter("MCTreeName")
     self._run_on_daq = self.GetParameter("RunOnDAQFrames")
예제 #5
0
 def Configure(self):
     # super(MCLabelsCascades, self).Configure(self)
     MCLabelsBase.Configure(self)
     self._extend_boundary = self.GetParameter("ExtendBoundary")
예제 #6
0
 def Configure(self):
     MCLabelsBase.Configure(self)
     self._bin_width = self.GetParameter("BinWidth")
     self._boundary = self.GetParameter("Boundary")
     self._write_vector = self.GetParameter("WriteParticleVector")
     self._max_num_bins = self.GetParameter("MaxNumBins")
예제 #7
0
 def Configure(self):
     MCLabelsBase.Configure(self)
     self._bin_width = self.GetParameter("BinWidth")
     self._num_bins = self.GetParameter("NumBins")
     self._cylinder_height = self.GetParameter("CylinderHeight")
     self._cylinder_radius = self.GetParameter("CylinderRadius")
예제 #8
0
 def Configure(self):
     # super(MCLabelsDeepLearning, self).Configure(self)
     MCLabelsBase.Configure(self)
     self._is_muongun = self.GetParameter("IsMuonGun")