# Author: Ketevi A. Assamagan 
# BNL, July 16, 2004 
# Modified by Theodota, 13.12.2004 
# job options for JPsi -> mm 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 
DoMuon1 = True

# Print the flags before running the analysis code 
AnalysisFlags.Print()

# particle pre selection job options 
if DoMuon1:  
   include( "DoMuon_jobOptions1.py" )

# User analysis steering algorithm

AOD_ANA.members += [ "JPsi" ] 
JPsi = Algorithm( "JPsi" ) 
PreSelectedMuons = "MyPreSelectedMuons" 
JPsi.doJPsimm = TRUE 
NtupleLocID = "/FILE1/JPsi/700"
NtuplePrefix = "JPsi" 
OutputLevel = INFO
MuonPtCut = 3.0*GeV 
# LeptonEtaCut = 2.5

# The AOD input file 
InputCollections = [  
"AOD_JPsiset0.pool.root",  "AOD_JPsiset2.pool.root", "AOD_JPsiset4.pool.root",
"AOD_JPsiset5.pool.root",  "AOD_JPsiset7.pool.root",  "AOD_JPsiset8.pool.root", 
"AOD_JPsiset9.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='JPsi.ntuple.root' OPT='NEW'" ] 
HistogramPersistencySvc = Service( "HistogramPersistencySvc" )
OutputFile = "JPsi.hist.root";

-- TheodotaLagouri - 06 Jan 2005

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2005-01-06 - TheodotaLagouri
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback