示例#1
0
    ToolSvc += HIGG2D2TruthThinningTool
    thinningTools.append(HIGG2D2TruthThinningTool)
print "HIGG2D2.py thinningTools", thinningTools

#====================================================================
# SKIMMING TOOLS 
#====================================================================

from DerivationFrameworkHiggs.DerivationFrameworkHiggsConf import DerivationFramework__SkimmingToolHIGG2
SkimmingToolHIGG2D2 = DerivationFramework__SkimmingToolHIGG2(name                     = "SkimmingToolHIGG2D2",
                                                             FilterType               = "4L", 
                                                             NumberOfLeptons          = 4,
                                                             NumberOfElectrons        = 0,
                                                             NumberOfMuons            = 0,
                                                             NumberOfJets             = 0,
                                                             NumberOfPhotons          = 0,
                                                             ElectronQuality          = "any",
                                                             PrimaryElectronQuality4L = "DFCommonElectronsLHVeryLoose", 
                                                             ElectronEtCut            =  5.*Units.GeV,
                                                             MuonPtCut                =  4.*Units.GeV,
                                                             JetPtCut                 = 15.*Units.GeV,
                                                             InvariantMassCut         = 10.*Units.GeV)
ToolSvc += SkimmingToolHIGG2D2
print SkimmingToolHIGG2D2

#====================================================================
# CREATE THE DERIVATION KERNEL ALGORITHM AND PASS THE ABOVE TOOLS  
#====================================================================

# The name of the kernel (LooseSkimKernel in this case) must be unique to this derivation
from DerivationFrameworkCore.DerivationFrameworkCoreConf import DerivationFramework__DerivationKernel
示例#2
0
        # TriggerJPSI               = ["HLT_mu26_imedium", "HLT_mu50", "HLT_2mu14", "HLT_mu24_mu8noL1"]
        TriggerJPSI               = ["HLT_mu24_imedium", "HLT_mu26_imedium", "HLT_mu50", "HLT_2mu10", "HLT_2mu14", "HLT_mu24_mu8noL1"]
print "HIGG2D5.py TriggerJPSI", TriggerJPSI

from DerivationFrameworkHiggs.DerivationFrameworkHiggsConf import DerivationFramework__SkimmingToolHIGG2
SkimmingToolHIGG2D5 = DerivationFramework__SkimmingToolHIGG2(name                       = "SkimmingToolHIGG2D5",
                                                             SkipTriggerRequirement     = SkipTriggerRequirement,
                                                             FilterType                 = "JPSI", 
                                                             NumberOfLeptons            = 0,
                                                             NumberOfElectrons          = 0,
                                                             NumberOfMuons              = 2,
                                                             NumberOfJets               = 0,
                                                             NumberOfPhotons            = 1,
                                                             NumberOfTracks             = 2,
                                                             MuonQuality                = "inMS",
                                                             TriggerJPSI                = TriggerJPSI,
                                                             TriggerPHI                 = TriggerPHI,
                                                             MuonPtCut                  =  2.5*Units.GeV,
                                                             PhotonPtCut                = 15.0*Units.GeV,
                                                             LeadingMuonPtCut           = 15.0*Units.GeV,
                                                             TrackPtCut                 = 20.0*Units.GeV,
                                                             InvariantMassJpsiLowCut    =  2.0*Units.GeV,
                                                             InvariantMassJpsiUpCut     =  4.3*Units.GeV,
                                                             InvariantMassUpsilonLowCut =  8.0*Units.GeV,
                                                             InvariantMassUpsilonUpCut  = 12.0*Units.GeV,
                                                             InvariantMassPhiLowCut     =  2.*0.493677*Units.GeV,
                                                             InvariantMassPhiUpCut      =  1.2*Units.GeV)
ToolSvc += SkimmingToolHIGG2D5
print SkimmingToolHIGG2D5

#====================================================================
# CREATE THE DERIVATION KERNEL ALGORITHM AND PASS THE ABOVE TOOLS  
示例#3
0
print "HIGG2D1.py SkipTriggerRequirement", SkipTriggerRequirement
if SkipTriggerRequirement:
    triggerRequirement = []
print "HIGG2D1.py triggerRequirement", triggerRequirement

from DerivationFrameworkHiggs.DerivationFrameworkHiggsConf import DerivationFramework__SkimmingToolHIGG2
SkimmingToolHIGG2D1 = DerivationFramework__SkimmingToolHIGG2(
    name="SkimmingToolHIGG2D1",
    FilterType="2L",
    NumberOfLeptons=2,
    NumberOfElectrons=0,
    NumberOfMuons=0,
    NumberOfJets=0,
    NumberOfPhotons=0,
    ElectronQuality="any",  #"DFCommonElectronsLHVeryLoose",
    MuonQuality="DFCommonGoodMuon",
    ElectronEtCut=5. * Units.GeV,
    MuonPtCut=5. * Units.GeV,
    RequireTightLeptons=True,
    TightElectronQuality="DFCommonElectronsLHVeryLoose",
    TightMuonQuality="DFCommonMuonsLoose",
    TightElectronEtCut=15. * Units.GeV,
    TightMuonPtCut=15. * Units.GeV,
    InvariantMassCut=5. * Units.GeV,
    Trigger2L=triggerRequirement)
ToolSvc += SkimmingToolHIGG2D1
print SkimmingToolHIGG2D1

#====================================================================
# CREATE THE DERIVATION KERNEL ALGORITHM AND PASS THE ABOVE TOOLS
#====================================================================
示例#4
0
            "HLT_e26_tight_iloose", "HLT_e60_lhmedium",
            "HLT_e60_lhmedium_cutd0dphideta", "HLT_e60_lhmedium_nod0",
            "HLT_e60_medium", "HLT_mu24_imedium", "HLT_mu26_imedium",
            "HLT_mu50"
        ]
print "HIGG2D3.py TriggerTP", TriggerTP

from DerivationFrameworkHiggs.DerivationFrameworkHiggsConf import DerivationFramework__SkimmingToolHIGG2
SkimmingToolHIGG2D3 = DerivationFramework__SkimmingToolHIGG2(
    name="SkimmingToolHIGG2D3",
    SkipTriggerRequirement=SkipTriggerRequirement,
    FilterType="TP",
    NumberOfLeptons=2,
    NumberOfElectrons=0,
    NumberOfMuons=0,
    NumberOfJets=0,
    NumberOfPhotons=0,
    ElectronQuality="any",
    TriggerTP=TriggerTP,
    ElectronEtCut=5. * Units.GeV,
    MuonPtCut=4. * Units.GeV,
    LeadingElectronEtCut=15. * Units.GeV,
    LeadingMuonPtCut=15. * Units.GeV,
    InvariantMassCut=50. * Units.GeV)
ToolSvc += SkimmingToolHIGG2D3
print SkimmingToolHIGG2D3

#====================================================================
# CREATE THE DERIVATION KERNEL ALGORITHM AND PASS THE ABOVE TOOLS
#====================================================================

# The name of the kernel (LooseSkimKernel in this case) must be unique to this derivation
示例#5
0
from DerivationFrameworkHiggs.DerivationFrameworkHiggsConf import DerivationFramework__SkimmingToolHIGG2
SkimmingToolHIGG2D4 = DerivationFramework__SkimmingToolHIGG2(name                    = "SkimmingToolHIGG2D4",
                                                             FilterType              = "2L2Q", 
                                                             NumberOfLeptons         = 2,
                                                             NumberOfElectrons       = 0,
                                                             NumberOfMuons           = 0,
                                                             JetContainerKey         = "AntiKt4EMTopoJets",
                                                             NumberOfJets            = 1,
                                                             JetPtCut                = 15.*Units.GeV,
                                                             JetEtaCut               = 2.6, 
                                                             MergedJetContainerKey0  = "AntiKt4EMTopoJets",
                                                             NumberOfMergedJets0     = 1,
                                                             MergedJetPtCut0         = 100.*Units.GeV,
                                                             MergedJetEtaCut0        = 2.6, 
                                                             MergedJetContainerKey1  = "AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets",#"AntiKt10LCTopoJets",
                                                             NumberOfMergedJets1     = 1,
                                                             MergedJetPtCut1         = 100.*Units.GeV,
                                                             MergedJetEtaCut1        = 2.6, 
                                                             MergedJetContainerKey2  = "CamKt12LCTopoBDRSFilteredMU100Y15Jets",#"CamKt12LCTopoJets",
                                                             NumberOfMergedJets2     = 1,
                                                             MergedJetPtCut2         = 100.*Units.GeV,
                                                             MergedJetEtaCut2        = 2.6, 
                                                             NumberOfPhotons         = 0,
                                                             ElectronQuality         = "DFCommonElectronsLHVeryLoose",
                                                             ElectronEtCut           = 6.*Units.GeV,
                                                             MuonQuality             = "DFCommonMuonsLoose",
                                                             MuonPtCut               = 6.*Units.GeV,
                                                             RequireTightLeptons     = False,
                                                             InvariantMassCut        = 5.*Units.GeV,
                                                             DRElectronJetCut        = -1.,
                                                             Trigger2L2Q             = triggerRequirement)
ToolSvc += SkimmingToolHIGG2D4