コード例 #1
0
    "zCutLinesErrors": False,
    "zCutLines": [],
    "zCutBoxes": [],
    "gridZ": False,
    "logZ": False,
    "drawOptions": "COLZ",
    "xLegMin": 0.62,
    "xLegMax": 0.85,
    "yLegMin": 0.70,
    "yLegMax": 0.82
}

###############################################################
### Miscellaneous
###############################################################
hHepMCEvt_VtxZ = m_histos.TH1orTH2(hFolder, "HepMCEvt_VtxZ", "Truth", None,
                                   **VertexZ)
hHepMCEvt_VtxX_VtxY = m_histos.TH1orTH2(hFolder, "HepMCEvt_VtxX_VtxY", "Truth",
                                        None, **VertexXY)

###############################################################
### SingleTau
###############################################################
hCalo_Rate = m_histos.TH1orTH2(hFolder, "Calo_Rate", "Calo",
                               "SingleTau_Rate_Calo", **Rate)
hTk_Rate = m_histos.TH1orTH2(hFolder, "Tk_Rate", "+Tk", "SingleTau_Rate_Tk",
                             **Rate)
#hVtxIso_Rate = m_histos.TH1orTH2( hFolder, "VtxIso_Rate", "+VtxIso", "SingleTau_Rate_VtxIso", **Rate )
hVtxIso_Rate = m_histos.TH1orTH2(hFolder, "VtxIso_Rate", "Calo + Tks",
                                 "SingleTau_Rate_VtxIso", **Rate)

hCalo_Eff = m_histos.TH1orTH2(hFolder, "Calo_Eff", "Calo",
コード例 #2
0
    "xLabel": "#chi^{2} / %0.0f", "xUnits": "", "xMin": +1.0, "xMax": +50000.0, "binWidthX": 1.0, "gridX": False, "logX": True,
    "yLabel": "#eta / %0.2f "   , "yUnits": "", "yMin": -3.0, "yMax":     +3.0, "binWidthY": 0.1, "gridY": True , "logY": False, 
    "zLabel": "Entries"         , "zUnits": "", "zMin": +1.0, "zMax":     None, "zCutLines": [], "zCutBoxes": [], "logZ": True, "normaliseTo": None,
    "drawOptions": "COLZ", "xLegMin": 0.62, "xLegMax": 0.85, "yLegMin": 0.72, "yLegMax": 0.82 }

NStubs_Eta = {
    "xLabel": "Stubs / % 0.0f", "XUnits": "", "xMin": +0.0, "xMax": +10.0, "binWidthX": 1.0 , "xCutLines": [], "xCutBoxes": [], "gridX": True, "logX": False,
    "yLabel": "#eta / %0.2f " , "yUnits": "", "yMin": -3.0, "yMax":  +3.0, "binWidthY": 0.1 , "yCutLines": [], "yCutBoxes": [], "gridY": True, "logY": False, 
    "zLabel": "Entries"       , "zUnits": "", "zMin": +1.0, "zMax":  None, "zCutLines": [], "zCutBoxes": [], "logZ": True, "normaliseTo": None,
    "drawOptions": "COLZ", "xLegMin": 0.62, "xLegMax": 0.85, "yLegMin": 0.72, "yLegMax": 0.82 }

############################################################### 
### Group Histogram (of same binning)
############################################################### 
folder    = ""
hL1Tks_Multiplicity      = m_histos.TH1orTH2( folder, "L1Tks_Multiplicity"     , "TTTracks", None, **NTks           )
hL1Tks_Pt                = m_histos.TH1orTH2( folder, "L1Tks_Pt"               , "TTTracks", None, **Pt             )
hL1Tks_Eta               = m_histos.TH1orTH2( folder, "L1Tks_Eta"              , "TTTracks", None, **Eta            )
hL1Tks_Phi               = m_histos.TH1orTH2( folder, "L1Tks_Phi"              , "TTTracks", None, **Phi            )
hL1Tks_Charge            = m_histos.TH1orTH2( folder, "L1Tks_Charge"           , "TTTracks", None, **Charge         )
hL1Tks_POCAz             = m_histos.TH1orTH2( folder, "L1Tks_POCAz"            , "TTTracks", None, **POCAz          )
hL1Tks_d0                = m_histos.TH1orTH2( folder, "L1Tks_d0"               , "TTTracks", None, **d0             )
hL1Tks_d0Abs             = m_histos.TH1orTH2( folder, "L1Tks_d0Abs"            , "TTTracks", None, **d0Abs          )
hL1Tks_ChiSquared        = m_histos.TH1orTH2( folder, "L1Tks_ChiSquared"       , "TTTracks", None, **ChiSq          )
hL1Tks_RedChiSquared     = m_histos.TH1orTH2( folder, "L1Tks_RedChiSquared"    , "TTTracks", None, **RedChiSq       )
hL1Tks_NStubs            = m_histos.TH1orTH2( folder, "L1Tks_NStubs"           , "TTTracks", None, **NStubs         )
hL1Tks_NPsStubs          = m_histos.TH1orTH2( folder, "L1Tks_NPsStubs"         , "TTTracks", None, **NPsStubs       )
hL1Tks_NBarrelStubs      = m_histos.TH1orTH2( folder, "L1Tks_NBarrelStubs"     , "TTTracks", None, **NBStubs        )
hL1Tks_NEndcapStubs      = m_histos.TH1orTH2( folder, "L1Tks_NEndcapStubs"     , "TTTracks", None, **NEStubs        )
hL1Tks_StubPtConsistency = m_histos.TH1orTH2( folder, "L1Tks_StubPtConsistency", "TTTracks", None, **StubPtCons     )
hL1Tks_IsGenuine         = m_histos.TH1orTH2( folder, "L1Tks_IsGenuine"        , "TTTracks", None, **IsGenuine      )
コード例 #3
0
ファイル: draw_TPs.py プロジェクト: whahmad/HLTausAnalysis
    "yMinRatio": 1e-01,
    "yMaxRatio": 2.9,
    "normaliseTo": None,
    "drawOptions": "P",
    "legOptions": "LP",
    "xLegMin": 0.66,
    "xLegMax": 0.85,
    "yLegMin": 0.72,
    "yLegMax": 0.82
}

###############################################################
### Group Histogram (of same binning)
###############################################################
histoFolder = ""
hTPs_Multiplicity = m_histos.TH1orTH2(histoFolder, "TPs_Multiplicity", "TPs",
                                      None, **NTks)
hTPs_Pt = m_histos.TH1orTH2(histoFolder, "TPs_Pt", "TPs", None, **Pt)
hTPs_Eta = m_histos.TH1orTH2(histoFolder, "TPs_Eta", "TPs", None, **Eta)
hTPs_Phi = m_histos.TH1orTH2(histoFolder, "TPs_Phi", "TPs", None, **Phi)
hTPs_Charge = m_histos.TH1orTH2(histoFolder, "TPs_Charge", "TPs", None,
                                **Charge)
hTPs_POCAz = m_histos.TH1orTH2(histoFolder, "TPs_POCAz", "TPs", None, **POCAz)
hTPs_d0 = m_histos.TH1orTH2(histoFolder, "TPs_d0", "TPs", None, **d0)
hTPs_PdgId = m_histos.TH1orTH2(histoFolder, "TPs_PdgId", "TPs", None, **PdgId)
hTPs_NMatch = m_histos.TH1orTH2(histoFolder, "TPs_NMatch", "TPs", None, **NTks)

# std::vector<std::vector<int>> TP_TTTrackIndex;


###############################################################
### Main
コード例 #4
0
    "yMinRatio": yMinRatio,
    "yMaxRatio": yMaxRatio,
    "normaliseTo": normFactor,
    "drawOptions": "P",
    "legOptions": "LP",
    "xLegMin": 0.7,
    "xLegMax": 0.85,
    "yLegMin": 0.68,
    "yLegMax": 0.82,
    "styleType": "random"
}

###############################################################
### Group Histogram (of same binning)
###############################################################
hL1Tks_Pt = m_histos.TH1orTH2(histoFolder, "L1Tks_Pt", "Default", "L1Tks_Pt",
                              **Pt)
hL1Tks_Eta = m_histos.TH1orTH2(histoFolder, "L1Tks_Eta", "Default",
                               "L1Tks_Eta", **Eta)
hL1Tks_POCAz = m_histos.TH1orTH2(histoFolder, "L1Tks_POCAz", "Default",
                                 "L1Tks_POCAz", **POCAz)
hL1Tks_StubPtConsistency = m_histos.TH1orTH2(histoFolder,
                                             "L1Tks_StubPtConsistency",
                                             "Default",
                                             "L1Tks_StubPtConsistency",
                                             **StubPtCons)
hL1Tks_StubMultiplicity = m_histos.TH1orTH2(histoFolder,
                                            "L1Tks_StubMultiplicity",
                                            "Default",
                                            "L1Tks_StubMultiplicity", **NStubs)

コード例 #5
0
ファイル: l1tktauAux.py プロジェクト: whahmad/HLTausAnalysis
    "yMinRatio": yMinRatio,
    "yMaxRatio": yMaxRatio,
    "normaliseTo": normFactor,
    "drawOptions": "P",
    "legOptions": "LP",
    "xLegMin": 0.65,
    "xLegMax": 0.90,
    "yLegMin": 0.68,
    "yLegMax": 0.82
}

###############################################################
### L1TkTaus
###############################################################
folder = ""
hL1TkTau_Multiplicity = m_histos.TH1orTH2(folder, "L1TkTau_Multiplicity",
                                          "L1TkTau", None, **NTkTaus)
hL1TkTau_Rtau = m_histos.TH1orTH2(folder, "L1TkTau_Rtau", "L1TkTau", None,
                                  **Rtau)
hL1TkTau_CHF = m_histos.TH1orTH2(folder, "L1TkTau_CHF", "L1TkTau", None, **CHF)
hL1TkTau_NHF = m_histos.TH1orTH2(folder, "L1TkTau_NHF", "L1TkTau", None, **NHF)
hL1TkTau_NHFAbs = m_histos.TH1orTH2(folder, "L1TkTau_NHFAbs", "L1TkTau", None,
                                    **NHFAbs)
hL1TkTau_NSigTks = m_histos.TH1orTH2(folder, "L1TkTau_NSigTks", "L1TkTau",
                                     None, **NSigTks)
hL1TkTau_NIsoTks = m_histos.TH1orTH2(folder, "L1TkTau_NIsoTks", "L1TkTau",
                                     None, **NIsoTks)
hL1TkTau_InvMass = m_histos.TH1orTH2(folder, "L1TkTau_InvMass", "L1TkTau",
                                     None, **InvMass)
hL1TkTau_InvMassIncl = m_histos.TH1orTH2(folder, "L1TkTau_InvMassIncl",
                                         "L1TkTau", None, **InvMass)
hL1TkTau_SigConeRMin = m_histos.TH1orTH2(folder, "L1TkTau_SigConeRMin",
コード例 #6
0
    "yMinRatio": yMinRatio,
    "yMaxRatio": yMaxRatio,
    "normaliseTo": normFactor,
    "drawOptions": "P",
    "legOptions": "LP",
    "xLegMin": 0.66,
    "xLegMax": 0.85,
    "yLegMin": 0.65,
    "yLegMax": 0.75
}

###############################################################
### Group Histograms: L1Tks
###############################################################
histoFolder = ""
hL1Tks_Pt = m_histos.TH1orTH2(histoFolder, "L1Tks_Pt", "TTTracks (5)", None,
                              **Pt)
hL1Tks_Eta = m_histos.TH1orTH2(histoFolder, "L1Tks_Eta", "TTTracks (5)", None,
                               **Eta)
hL1Tks_EtaAbs = m_histos.TH1orTH2(histoFolder, "L1Tks_EtaAbs", "TTTracks (5)",
                                  None, **EtaAbs)
hL1Tks_POCAz = m_histos.TH1orTH2(histoFolder, "L1Tks_POCAz", "TTTracks (5)",
                                 None, **POCAz)
hL1Tks_POCAzAbs = m_histos.TH1orTH2(histoFolder, "L1Tks_POCAzAbs",
                                    "TTTracks (5)", None, **POCAzAbs)
hL1Tks_ChiSquared = m_histos.TH1orTH2(histoFolder, "L1Tks_ChiSquared",
                                      "TTTracks (5)", None, **ChiSq)
hL1Tks_RedChiSquared = m_histos.TH1orTH2(histoFolder, "L1Tks_RedChiSquared",
                                         "TTTracks (5)", None, **RedChiSq)
hL1Tks_StubPtconsistency = m_histos.TH1orTH2(histoFolder,
                                             "L1Tks_StubPtConsistency",
                                             "TTTracks (5)", None,
コード例 #7
0
#f1Args = {"lineColour": ROOT.kBlack, "lineStyle": ROOT.kSolid, "lineWidth": 3, "fillColour": ROOT.kBlack, "fillStyle": 3001}

### Efficiencies
LdgPtEff    = {"xLabel": "p_{T}^{ldg}", "xUnits": "GeV", "xMin": 0.00, "xMax": +100.0, "binWidthX": None, "xCutLines": [15.0], "xCutBoxes": [], "gridX": True, "logX": False,
               "yLabel": "Efficiency %0.1f" , "yUnits": "", "yMin": 0.00, "yMax": +  1.0, "binWidthY": None, "yCutLines": []    , "yCutBoxes": [], "gridY": True, "logY": False,
               "legOptions": "LP", "drawOptions": "AP", "xLegMin": 0.60, "xLegMax": 0.84, "yLegMin": 0.20, "yLegMax": 0.46}


###############################################################
### Histograms
###############################################################
histoFolder = ""
legTitle    = " " #"#tau_{h}"

### Tau
HadronicTau_N       = m_histos.TH1orTH2( histoFolder, "HadronicTau_N"      , legTitle , None, **N       )
HadronicTau_Pt      = m_histos.TH1orTH2( histoFolder, "HadronicTau_Pt"     , legTitle , None, **Pt      )
HadronicTau_Eta     = m_histos.TH1orTH2( histoFolder, "HadronicTau_Eta"    , legTitle , None, **Eta     )
HadronicTau_Phi     = m_histos.TH1orTH2( histoFolder, "HadronicTau_Phi"    , legTitle , None, **Phi     )
HadronicTau_Mass    = m_histos.TH1orTH2( histoFolder, "HadronicTau_Mass"   , legTitle , None, **Mass    )
HadronicTau_Charge  = m_histos.TH1orTH2( histoFolder, "HadronicTau_Charge" , legTitle , None, **Charge  )
HadronicTau_PdgId   = m_histos.TH1orTH2( histoFolder, "HadronicTau_PdgId"  , legTitle , None, **PdgId   )
HadronicTau_Status  = m_histos.TH1orTH2( histoFolder, "HadronicTau_Status" , legTitle , None, **Status  )
HadronicTau_VertexX = m_histos.TH1orTH2( histoFolder, "HadronicTau_VertexX", legTitle , None, **VertexX )
HadronicTau_VertexY = m_histos.TH1orTH2( histoFolder, "HadronicTau_VertexY", legTitle , None, **VertexY )
HadronicTau_VertexZ = m_histos.TH1orTH2( histoFolder, "HadronicTau_VertexZ", legTitle , None, **VertexZ )

### Visible-Tau
HadronicTau_VisEt        = m_histos.TH1orTH2( histoFolder, "HadronicTau_VisEt"       , legTitle , None, **VisEt    )
HadronicTau_VisEta       = m_histos.TH1orTH2( histoFolder, "HadronicTau_VisEta"      , legTitle , None, **VisEta   )
HadronicTau_VisPhi       = m_histos.TH1orTH2( histoFolder, "HadronicTau_VisPhi"      , legTitle , None, **VisPhi   )
コード例 #8
0
    "yCutBoxes": [],
    "gridY": True,
    "logY": True,
    #"legOptions": "FP", "drawOptions": "APE2", "xLegMin": 0.68, "xLegMax": 0.85, "yLegMin": 0.20, "yLegMax": 0.46}
    "legOptions": "FP",
    "drawOptions": "AP",
    "xLegMin": 0.68,
    "xLegMax": 0.85,
    "yLegMin": 0.20,
    "yLegMax": 0.46
}

###############################################################
### Histograms
###############################################################
hCalo_Rate = m_histos.TH1orTH2(histoFolder, "Calo_Rate", "Calo",
                               "SingleTau_Rate", **Rate)
hTkConfirmed_Rate = m_histos.TH1orTH2(histoFolder, "TkConfirmed_Rate", "+Tk",
                                      "SingleTau_Rate_Tk", **Rate)
hVtxIso1p00_Rate = m_histos.TH1orTH2(histoFolder, "VtxIso1p00_Rate",
                                     "+VtxIso (1.00 cm)",
                                     "SingleTau_Rate_VtxIso1p00", **Rate)
hRelIso0p10_Rate = m_histos.TH1orTH2(histoFolder, "RelIso0p10_Rate",
                                     "+RelIso (0.10)",
                                     "SingleTau_Rate_RelIso0p10", **Rate)

hCalo_EvtEff = m_histos.TH1orTH2(histoFolder, "Calo_EvtEff", "Calo",
                                 "SingleTau_PerEvtEff", **EvtEff)
hTkConfirmed_EvtEff = m_histos.TH1orTH2(histoFolder, "TkConfirmed_EvtEff",
                                        "+Tk", "SingleTau_PerEvtEff_Tk",
                                        **EvtEff)
hVtxIso1p00_EvtEff = m_histos.TH1orTH2(histoFolder, "VtxIso1p00_EvtEff",