Ejemplo n.º 1
0
class Event(TreeModel):
    s = CharCol()
    string = CharArrayCol(5)
    x = FloatCol()
    y = FloatCol()
    z = FloatCol()
    f = FloatArrayCol(5)
    num_vals = IntCol()
    # variable-length array
    vals = FloatArrayCol(5, length_name='num_vals')
Ejemplo n.º 2
0
    class JetImage(TreeModel):

        '''
        Buffer for Jet Image
        '''
        # -- START BUFFER

        # -- raveled image
        image = FloatArrayCol(25 ** 2)

        # -- 1 if signal, 0 otherwise
        signal = FloatCol()

        # -- kinematics
        jet_pt = FloatCol()
        jet_eta = FloatCol()
        jet_phi = FloatCol()
        jet_m = FloatCol()
        jet_delta_R = FloatCol()

        # -- NSJ
        tau_32 = FloatCol()
        tau_21 = FloatCol()
        tau_1 = FloatCol()
        tau_2 = FloatCol()
        tau_3 = FloatCol()
    class JetImage(TreeModel):
        """
        Buffer for Jet Image
        """
        # -- START BUFFER

        # -- raveled image
        image = FloatArrayCol(args.pixelSize**2)

        # -- 1 if signal, 0 otherwise
        signal = FloatCol()

        # -- kinematics
        jet_pt = FloatCol()
        jet_eta = FloatCol()
        jet_phi = FloatCol()
        jet_m = FloatCol()
        jet_delta_R = FloatCol()

        # -- NSJ
        tau_32 = FloatCol()
        tau_21 = FloatCol()
        tau_1 = FloatCol()
        tau_2 = FloatCol()
        tau_3 = FloatCol()
        pull1 = FloatCol()
        pull2 = FloatCol()

        # Energy Corelators
        ec_1 = FloatCol()
        ec_2 = FloatCol()
        ec_3 = FloatCol()
Ejemplo n.º 4
0
 class OpDet(TreeModel):
     eventid = IntCol()
     id = IntCol()
     NTDC = IntCol()
     NS_PER_TDC = FloatCol()
     adc = FloatArrayCol(GPUDaqUBooNE.NTDC)
     q = FloatCol()
     t = FloatCol()
Ejemplo n.º 5
0
class Event(TreeModel):
    s = CharCol()
    string = CharArrayCol(5)
    x = FloatCol()
    y = FloatCol()
    z = FloatCol()
    f = FloatArrayCol(5)
    i = IntCol()
Ejemplo n.º 6
0
class EcalVetoEvent(TreeModel):
    evtNum = IntCol()
    pnWeight = FloatCol()
    trigPass = BoolCol()
    nReadoutHits = IntCol()
    summedDet = FloatCol()
    summedTightIso = FloatCol()
    maxCellDep = FloatCol()
    showerRMS = FloatCol()
    xStd = FloatCol()
    yStd = FloatCol()
    avgLayerHit = FloatCol()
    stdLayerHit = FloatCol()
    deepestLayerHit = IntCol()
    discValue = FloatCol()
    #discValueFernand = FloatCol()
    hcalMaxPE = FloatCol()
    passHcalVeto = BoolCol()
    passTrackerVeto = BoolCol()
    recoilPx = FloatCol()
    recoilPy = FloatCol()
    recoilPz = FloatCol()
    recoilX = FloatCol()
    recoilY = FloatCol()
    fiducial = BoolCol()
    leadhadpid = IntCol()
    leadhadke = FloatCol()
    leadhadthetaz = FloatCol()
    nelectrons = IntCol()
    trigEnergy = FloatCol()
    ecalBackEnergy = FloatCol()
    eleP = FloatArrayCol(3)
    elePTarget = FloatArrayCol(3)
    elePosSP = FloatArrayCol(3)
    photonP = FloatArrayCol(3)
    photonPosSP = FloatArrayCol(3)
    ele68TotalEnergies = FloatArrayCol(34)
    photon68TotalEnergies = FloatArrayCol(34)
    overlap68TotalEnergies = FloatArrayCol(34)
    outside68TotalEnergies = FloatArrayCol(34)
    outside68TotalNHits = FloatArrayCol(34)
    outside68Xmeans = FloatArrayCol(34)
    outside68Ymeans = FloatArrayCol(34)
    outside68Xstds = FloatArrayCol(34)
    outside68Ystds = FloatArrayCol(34)
    ele68ContEnergy = FloatCol()
    ele68x2ContEnergy = FloatCol()
    ele68x3ContEnergy = FloatCol()
    ele68x4ContEnergy = FloatCol()
    ele68x5ContEnergy = FloatCol()
    photon68ContEnergy = FloatCol()
    photon68x2ContEnergy = FloatCol()
    photon68x3ContEnergy = FloatCol()
    photon68x4ContEnergy = FloatCol()
    photon68x5ContEnergy = FloatCol()
    overlap68ContEnergy = FloatCol()
    overlap68x2ContEnergy = FloatCol()
    overlap68x3ContEnergy = FloatCol()
    overlap68x4ContEnergy = FloatCol()
    overlap68x5ContEnergy = FloatCol()
    outside68ContEnergy = FloatCol()
    outside68x2ContEnergy = FloatCol()
    outside68x3ContEnergy = FloatCol()
    outside68x4ContEnergy = FloatCol()
    outside68x5ContEnergy = FloatCol()
    outside68ContNHits = FloatCol()
    outside68x2ContNHits = FloatCol()
    outside68x3ContNHits = FloatCol()
    outside68x4ContNHits = FloatCol()
    outside68x5ContNHits = FloatCol()
    outside68ContXmean = FloatCol()
    outside68x2ContXmean = FloatCol()
    outside68x3ContXmean = FloatCol()
    outside68x4ContXmean = FloatCol()
    outside68x5ContXmean = FloatCol()
    outside68ContYmean = FloatCol()
    outside68x2ContYmean = FloatCol()
    outside68x3ContYmean = FloatCol()
    outside68x4ContYmean = FloatCol()
    outside68x5ContYmean = FloatCol()
    outside68ContXstd = FloatCol()
    outside68x2ContXstd = FloatCol()
    outside68x3ContXstd = FloatCol()
    outside68x4ContXstd = FloatCol()
    outside68x5ContXstd = FloatCol()
    outside68ContYstd = FloatCol()
    outside68x2ContYstd = FloatCol()
    outside68x3ContYstd = FloatCol()
    outside68x4ContYstd = FloatCol()
    outside68x5ContYstd = FloatCol()
    outside68ContShowerRMS = FloatCol()
    outside68x2ContShowerRMS = FloatCol()
    outside68x3ContShowerRMS = FloatCol()
    outside68x4ContShowerRMS = FloatCol()
    outside68x5ContShowerRMS = FloatCol()
Ejemplo n.º 7
0
class Event(TreeModel):
    num_vals = IntCol()
    vals = FloatArrayCol(10, length_name='num_vals')
Ejemplo n.º 8
0
class Event(TreeModel):
    nevents = IntCol()
    npv = IntCol()
    n_AK8 = IntCol()
    n_Higgs = IntCol()
    n_Top = IntCol()
    n_AK8MatchedToHiggs = IntCol()
    n_AK8MatchedToTop = IntCol()
    m_tH = IntCol()
    m_W = FloatArrayCol(10, length_name="n_Top")
    m_Top = FloatArrayCol(10, length_name="n_Top")
    m_Higgs = FloatArrayCol(10, length_name="n_Higgs")

    pt_AK8 = FloatArrayCol(10, length_name='n_AK8')
    eta_AK8 = FloatArrayCol(10, length_name='n_AK8')
    phi_AK8 = FloatArrayCol(10, length_name='n_AK8')
    e_AK8 = FloatArrayCol(10, length_name='n_AK8')

    pt_Higgs = FloatArrayCol(10, length_name='n_Higgs')
    eta_Higgs = FloatArrayCol(10, length_name='n_Higgs')
    phi_Higgs = FloatArrayCol(10, length_name='n_Higgs')
    e_Higgs = FloatArrayCol(10, length_name='n_Higgs')

    pt_Top = FloatArrayCol(10, length_name='n_Top')
    eta_Top = FloatArrayCol(10, length_name='n_Top')
    phi_Top = FloatArrayCol(10, length_name='n_Top')
    e_Top = FloatArrayCol(10, length_name='n_Top')

    pt_W = FloatArrayCol(10, length_name='n_Top')
    eta_W = FloatArrayCol(10, length_name='n_Top')
    phi_W = FloatArrayCol(10, length_name='n_Top')
    e_W = FloatArrayCol(10, length_name='n_Top')

    pt_MatchedHiggs = FloatArrayCol(10, length_name='n_AK8MatchedToHiggs')
    eta_MatchedHiggs = FloatArrayCol(10, length_name='n_AK8MatchedToHiggs')
    phi_MatchedHiggs = FloatArrayCol(10, length_name='n_AK8MatchedToHiggs')
    e_MatchedHiggs = FloatArrayCol(10, length_name='n_AK8MatchedToHiggs')
    m_MatchedHiggs = FloatArrayCol(10, length_name='n_AK8MatchedToHiggs')

    pt_MatchedTop = FloatArrayCol(10, length_name='n_AK8MatchedToTop')
    eta_MatchedTop = FloatArrayCol(10, length_name='n_AK8MatchedToTop')
    phi_MatchedTop = FloatArrayCol(10, length_name='n_AK8MatchedToTop')
    e_MatchedTop = FloatArrayCol(10, length_name='n_AK8MatchedToTop')
    m_MatchedTop = FloatArrayCol(10, length_name='n_AK8MatchedToTop')

    pt_AK8MatchedToHiggs = FloatArrayCol(10, length_name='n_AK8MatchedToHiggs')
    eta_AK8MatchedToHiggs = FloatArrayCol(10,
                                          length_name='n_AK8MatchedToHiggs')
    phi_AK8MatchedToHiggs = FloatArrayCol(10,
                                          length_name='n_AK8MatchedToHiggs')
    e_AK8MatchedToHiggs = FloatArrayCol(10, length_name='n_AK8MatchedToHiggs')
    m_AK8MatchedToHiggs = FloatArrayCol(10, length_name='n_AK8MatchedToHiggs')

    pt_AK8MatchedToTop = FloatArrayCol(10, length_name='n_AK8MatchedToTop')
    eta_AK8MatchedToTop = FloatArrayCol(10, length_name='n_AK8MatchedToTop')
    phi_AK8MatchedToTop = FloatArrayCol(10, length_name='n_AK8MatchedToTop')
    e_AK8MatchedToTop = FloatArrayCol(10, length_name='n_AK8MatchedToTop')
    m_AK8MatchedToTop = FloatArrayCol(10, length_name='n_AK8MatchedToTop')
class EcalVetoEvent(TreeModel):
    evtNum = IntCol()
    pnWeight = FloatCol()
    trigPass = BoolCol()
    nReadoutHits = IntCol()
    summedDet = FloatCol()
    summedTightIso = FloatCol()
    maxCellDep = FloatCol()
    showerRMS = FloatCol()
    xStd = FloatCol()
    yStd = FloatCol()
    avgLayerHit = FloatCol()
    stdLayerHit = FloatCol()
    deepestLayerHit = IntCol()
    discValue = FloatCol()
    recoilPx = FloatCol()
    recoilPy = FloatCol()
    recoilPz = FloatCol()
    recoilX = FloatCol()
    recoilY = FloatCol()
    fiducial = BoolCol()
    hcalenergy = FloatCol()
    leadhadpid = IntCol()
    leadhadke = FloatCol()
    leadhadthetaz = FloatCol()
    nelectrons = IntCol()
    ele0P = FloatArrayCol(3)
    ele1P = FloatArrayCol(3)
    ele0PosSP = FloatArrayCol(3)
    ele1PosSP = FloatArrayCol(3)
    trigEnergy = FloatCol()
    ele0TotalEnergies = FloatArrayCol(34)
    ele1TotalEnergies = FloatArrayCol(34)
    photonTotalEnergies = FloatArrayCol(34)
    overlapTotalEnergies = FloatArrayCol(34)
    overlapPlusPhotonTotalEnergies = FloatArrayCol(34)
    outsideTotalEnergies = FloatArrayCol(34)
    outsideTotalNHits = FloatArrayCol(34)
    outsideMinusPhotonTotalEnergies = FloatArrayCol(34)
    outsideMinusPhotonTotalNHits = FloatArrayCol(34)
    outsideXmeans = FloatArrayCol(34)
    outsideYmeans = FloatArrayCol(34)
    outsideXstds = FloatArrayCol(34)
    outsideYstds = FloatArrayCol(34)