Exemplo n.º 1
0
                       [("promptTree","genMatchType == 1",0),
                        ("fakesTree",  "genMatchType != 1",0),
                        ],
                       ## variables to be dumped in trees/datasets. Same variables for all categories
                       ## if different variables wanted for different categories, can add categorie one by one with cfgTools.addCategory
                       variables=variables,
                       ## histograms to be plotted. 
                       ## the variables need to be defined first
                       histograms=histograms,
                       ## compute MVA on the fly. More then one MVA can be tested at once
                       mvas = None
                       )

process.idleWatchdog=cms.EDAnalyzer("IdleWatchdog",
                                    checkEvery = cms.untracked.int32(100),
                                    minIdleFraction = cms.untracked.double(0.5),
                                    tolerance = cms.untracked.int32(5)
                                    )

process.p1 = cms.Path(
## process.idleWatchdog*process.kinPreselDiPhotons*process.flashggSinglePhotonViews*process.photonViewDumper
    process.idleWatchdog*process.photonDumper
    )

## process.e = cms.EndPath(process.out)

from diphotons.MetaData.JobConfig import customize
customize.setDefault("maxEvents",10000)
customize(process)

        "eTop",
        "eBottom",
        "eLeft",
        "eRight",
        "iEta",
        "iPhi",
        "cryEta",
        "cryPhi",
        "hadTowOverEm",
        ## more cluster shapes
        ("e2x5right", "e2x5Right"),
        ("e2x5left", "e2x5Left"),
        ("e2x5top", "e2x5Top"),
        ("e2x5bottom", "e2x5Bottom"),
        ("e2x5max", "e2x5Max"),
        ("e1x3", "e1x3"),
        ("s4", "s4"),
        ("esEffSigmaRR", "sigmaRR"),
        ("sqrt(spp)", "sigmaIphiIphi"),
        ("sep", "covarianceIetaIphi"),
        ("superCluster.etaWidth", "etaWidth"),
        ("superCluster.phiWidth", "phiWidth"),
        ("checkStatusFlag('kSaturated')", "kSaturated"),
        ("checkStatusFlag('kWeird')", "kWeird"),
    ])

# customization for job splitting, lumi weighting, etc.
from diphotons.MetaData.JobConfig import customize
customize.setDefault("maxEvents", 500)
customize(process)