Exemple #1
0
]
varsVSwidthJpsi = [
    "etaAll", "etaPos", "etaNeg", "phiAll", "phiPos", "phiNeg", "ptAll",
    "ptPos", "ptNeg", "etaDiff", "phiDiff", "crtDiff"
]
varsDistrJpsi = [
    "etaAll", "etaPos", "etaNeg", "phiAll", "phiPos", "phiNeg", "ptAll",
    "ptPos", "ptNeg"
]
JpsiMon = DiMuMon(name="JpsiMon_NoTrig",
                  resonName="Jpsi",
                  minInvmass=2.5,
                  maxInvmass=3.5,
                  nMassBins=50,
                  triggerChainName="NoTrig",
                  regions=["All", "BB", "EAEA", "ECEC"],
                  varsVSmean=varsVSmeanJpsi,
                  varsVSwidth=varsVSwidthJpsi,
                  varsDistr=varsDistrJpsi,
                  doFits=True,
                  doSaveFits=False,
                  OutputLevel=VERBOSE)

#ToolSvc += JpsiMon

from AthenaMonitoring.DQMonFlags import DQMonFlags
from AthenaMonitoring.AthenaMonitoringConf import AthenaMonManager

IDPerfMonManager = AthenaMonManager(
    name="IDPerfMonManager",
    FileKey=DQMonFlags.monManFileKey(),
Exemple #2
0
        "etaAll", "etaPos", "etaNeg", "phiAll", "phiPos", "phiNeg", "ptAll",
        "ptPos", "ptNeg", "etaDiff", "phiDiff", "crtDiff"
    ]
    varsDistrZmumu = [
        "etaAll", "etaPos", "etaNeg", "phiAll", "phiPos", "phiNeg", "ptAll",
        "ptPos", "ptNeg"
    ]

    ZmumuMon = DiMuMon(
        name="ZmumuMon_NoTrig",
        resonName="Zmumu",
        minInvmass=60.,
        maxInvmass=120.,
        nMassBins=60,
        triggerChainName="NoTrig",
        regions=["All", "BB", "EAEA", "ECEC"],
        varsVSmean=varsVSmeanZmumu,
        varsVSwidth=varsVSwidthZmumu,
        varsDistr=varsDistrZmumu,
        doFits=True,
        doSaveFits=False,
        #                               setDebug = True,
        OutputLevel=INFO)
    #ToolSvc += ZmumuMon

    from AthenaMonitoring.DQMonFlags import DQMonFlags
    from AthenaMonitoring.AthenaMonitoringConf import AthenaMonManager
    IDPerfMonManager = AthenaMonManager(
        name="IDPerfMonManager",
        FileKey=DQMonFlags.monManFileKey(),
        ManualDataTypeSetup=DQMonFlags.monManManualDataTypeSetup(),
        FileKey="GLOBAL",
        ManualDataTypeSetup=True,
        DataType="userDefined",  # use this for collision data for now
        Environment="user",
        ManualRunLBSetup=True,
        Run=1,
        LumiBlock=1)

    from InDetDiMuonMonitoring.InDetDiMuonMonitoringConf import DiMuMon
    if doJpsi:
        JpsiMon_NoTrig = DiMuMon(name="JpsiMon_NoTrig",
                                 resonName="Jpsi",
                                 minInvmass=2.5,
                                 maxInvmass=3.5,
                                 nMassBins=50,
                                 triggerChainName="NoTrig",
                                 regions=regionsJpsi,
                                 varsVSmean=varsVSmeanJpsi,
                                 varsVSwidth=varsVSwidthJpsi,
                                 varsDistr=varsDistrJpsi,
                                 doFits=doFits,
                                 doSaveFits=doSaveFits)
        #                              OutputLevel = 1)

        ToolSvc += JpsiMon_NoTrig
        if (InDetFlags.doPrintConfigurables()):
            print JpsiMon_NoTrig
        InDetDiMuMonManager.AthenaMonTools += [JpsiMon_NoTrig]

    if doZmumu:
        ZmumuMon_NoTrig = DiMuMon(name="ZmumuMon_NoTrig",
                                  resonName="Zmumu",