All options below use RICH with pmts, when RICH is activated.
Any of the options below can be written into a file with a name such as myGaussDetectorOptions.py.

from Gaudi.Configuration import *
importOptions ("MyUpgradeBeamConfiguration.py")
from Gauss.Configuration import * from Configurables import LHCbApp
from Configurables import DDDBConf
from Configurables import CondDB
CondDB().Upgrade =True
LHCbApp().DDDBtag ="dddb-20120608"
LHCbApp().CondDBtag ="sim-20120608-vc-md100"
LHCbApp().Simulation = True

Use VP+UT+FT+Rest of current LHCb

CondDB. LocalTags = {"DDDB:["VP-UT-Upgrade-20120927" , "UT-Pipe-Upgrade-Local-20120928", "FT-Upgrade-Local-20120910", "UT_Upgrade_20120912" , "VP-Upgrade-20120910", "FT-Upgrade-20120910" ], "SIMCOND":["UT_Upgrade_20120912"] }
Gauss. DetectorGeo = {"Detectors": ['VP', 'UT', 'FT', 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorSim = {"Detectors": ['VP', 'UT', 'FT', 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorMoni = {"Detectors": ['VP', 'UT', 'FT', 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }

Use VL+UT+FT+Rest of current LHCb

CondDB. LocalTags = {"DDDB":["VL-UT-Upgrade-20120927", "UT-Pipe-Upgrade-Local-20120928", "FT-Upgrade-Local-20120910", "UT_Upgrade_20120912", "velo-lite-20120724", "FT-Upgrade-20120910" ], "SIMCOND":[UT_Upgrade_20120912"] }
Gauss. DetectorGeo = {"Detectors": ['VL', 'UT', 'FT', 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorSim = {"Detectors": ['VL', 'UT', 'FT', 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorMoni = {"Detectors": ['VL', 'UT', 'FT', 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }

Use VP+UT+Rest of current LHCb

CondDB. LocalTags = {"DDDB:["VP-UT-Upgrade-20120927" , "UT-Pipe-Upgrade-Local-20120928", "UT_Upgrade_20120912" , "VP-Upgrade-20120910"], "SIMCOND":["UT_Upgrade_20120912"] }

Gauss. DetectorGeo = {"Detectors": ['VP', 'UT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorSim = {"Detectors": ['VP', 'UT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorMoni = {"Detectors": ['VP', 'UT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }

Use VL+UT+Rest of current LHCb

CondDB. LocalTags = {"DDDB":["VL-UT-Upgrade-20120927", "UT-Pipe-Upgrade-Local-20120928", "UT_Upgrade_20120912", "velo-lite-20120724" ], "SIMCOND":[UT_Upgrade_20120912"] }

Gauss. DetectorGeo = {"Detectors": ['VL', 'UT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorSim = {"Detectors": ['VL', 'UT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorMoni = {"Detectors": ['VL', 'UT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }

Use VL + Rest of current LHCb

CondDB. LocalTags = {"DDDB":["use-velo-lite-20120724", "velo-lite-20120724" ], "SIMCOND":[UT_Upgrade_20120912"] }

Gauss. DetectorGeo = {"Detectors": ['VL', 'TT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorSim = {"Detectors": ['VL', 'TT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorMoni = {"Detectors": ['VL', 'TT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }

Use VP+ Rest of current LHCb

CondDB. LocalTags = {"DDDB":["VP-Upgrade-Local-20120910" "VP-Upgrade-20120910" ], "SIMCOND":[UT_Upgrade_20120912"] }

Gauss. DetectorGeo = {"Detectors": ['VP', 'TT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorSim = {"Detectors": ['VP', 'TT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorMoni = {"Detectors": ['VP', 'TT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }

Use UT + Rest of current LHCb

CondDB. LocalTags = {"DDDB":["UT-Upgrade-Local-20120912" "UT_Upgrade_20120912" ], "SIMCOND":[UT_Upgrade_20120912"] }

Gauss. DetectorGeo = {"Detectors": ['PuVeto', 'Velo', 'UT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorSim = {"Detectors": ['PuVeto', 'Velo', 'UT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }
Gauss. DetectorMoni = {"Detectors": ['PuVeto', 'Velo', 'UT', 'IT', 'OT' , 'Rich1Pmt', 'Rich2Pmt', 'Spd', 'Prs', 'Ecal' , 'Hcal', 'Muon', 'Magnet' ] }

Job Options

The rest of the job options are same as that for a typical Gauss job. For example in a file named myGaussJobOptions.py
from Gauss.Configuration import *
GaussGen = GenInit("GaussGen")
FirstEventNumber =1
RunNumber = 1000
numberOfEvents =2
LHCbApp().EvtMax = numberOfEvents
Gauss.Output='SIM'
HistogramPersistencySvc().OutputFile='MyHistoOutputFile.root'
importOptions ("$DECFILESROOT/options/13104011.py")
myOutputSimFile='MySimFile.sim'
myGaussTape= OutputStream("GaussTape")
myGaussTape.Output="DATAFILE='PFN%s.sim' TYP='POOL_ROOTTREE' OPT='RECREATE'"%myOutputSimFile

To run this
gaudirun.py myGaussDetectorOptions.py myGaussJobOptions.py

-- SajanEaso - 29-Sep-2012

Edit | Attach | Watch | Print version | History: r85 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2012-09-30 - SajanEaso
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2022 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