# Author: Ketevi A. Assamagan
# BNL, July 16, 2004
# Modified by Theodota, December 2004
# job options for Z -> ll analysis example
# Read in the AOD from POOL
# this file is produced by running the AOD builders of the RDO raw data
# The user is supposed to modify the input data and the flags as
# appropriate for his/her analysis
# import the analysis flags
from
AnalysisFlags import
AnalysisFlags
# load common options and common DLL
include( "AnalysisExamples/AnalysisCommon_jobOptions.py" )
# switch off
ParticleJet, BJet and Photon
DoPhoton = False
DoParticleJet = False
DoBJet = False
DoMuon1 = True
DoElectron = False
DoTauJet = False
# Print the flags before running the analysis code
AnalysisFlags.Print()
# particle pre selection job options
#if
DoElectron:
# include( "AnalysisExamples/DoElectron_jobOptions.py" )
#if
DoPhoton:
# include( "AnalysisExamples/DoPhoton_jobOptions.py" )
if
DoMuon1:
include( "DoMuon_jobOptions1.py" )
#if
DoTauJet:
# include( "AnalysisExamples/DoTauJet_jobOptions.py" )
#if
DoParticleJet:
# include( "AnalysisExamples/DoParticleJet_jobOptions.py" )
#if
DoBJet:
# include( "AnalysisExamples/DoBJet_jobOptions.py" )
# User analysis steering algorithm
# Missing ET calibration options: "Raw" = uncalibrated, "H1" or "Region"
AOD_ANA.members += [ "Zll" ]
Zll = Algorithm( "Zll" )
PreSelectedElectrons = "MyPreSelectedElectrons"
PreSelectedMuons = "MyPreSelectedMuons"
#Zll.PreSelectedTauJets = "MyPreSelectedTauJets"
#Zll.doZee = FALSE
Zll.doZmm = TRUE
#Zll.doZtt = FALSE
NtupleLocID = "/FILE1/Zll/700"
NtuplePrefix = "Zll"
#Zll.HistDirectoryName = "Zll"
OutputLevel = INFO
ElectronPtCut = 20.0*GeV
MuonPtCut = 3.0*GeV
LeptonEtaCut = 2.5
#Zll.MissingEtObject = "MissingETObj"
#Zll.MissingEtCalibration = "H1"
#Zll.MissingEtCut = 18.0*GeV
# The AOD input file
InputCollections = [
"/afs/cern.ch/user/l/lagouri/scratch0/output/AOD/Zmumu807/root/AOD_Zmumu1.pool.root",
"/afs/cern.ch/user/l/lagouri/scratch0/output/AOD/Zmumu807/root/AOD_Zmumu2.pool.root",
"/afs/cern.ch/user/l/lagouri/scratch0/output/AOD/Zmumu807/root/AOD_Zmumu3.pool.root",
"/afs/cern.ch/user/l/lagouri/scratch0/output/AOD/Zmumu807/root/AOD_Zmumu4.pool.root",
"/afs/cern.ch/user/l/lagouri/scratch0/output/AOD/Zmumu807/root/AOD_Zmumu5.pool.root",
"/afs/cern.ch/user/l/lagouri/scratch0/output/AOD/Zmumu807/root/AOD_Zmumu6.pool.root",
"/afs/cern.ch/user/l/lagouri/scratch0/output/AOD/Zmumu807/root/AOD_Zmumu7.pool.root",
"/afs/cern.ch/user/l/lagouri/scratch0/output/AOD/Zmumu807/root/AOD_Zmumu8.pool.root"
]
# Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL )
MessageSvc = Service( "MessageSvc" )
OutputLevel = INFO
# Number of Events to process
theApp.EvtMax = 10000
# Root Ntuple output
theApp.Dlls += [ "RootHistCnv" ]
theApp.HistogramPersistency = "ROOT"
NTupleSvc = Service( "NTupleSvc" )
NTupleSvc.Output = [ "FILE1 DATAFILE='Zll.ntuple.root' OPT='NEW'" ]
HistogramPersistencySvc = Service( "HistogramPersistencySvc" )
OutputFile = "Zll.hist.root";
--
TheodotaLagouri - 17 Dec 2004