La catena di simulazione con ORCA 7 (Adattamento della presentazione di Stephan Wynhoff al Tracker Tutorial, 03/03/03)

Slides:



Advertisements
Similar presentations
TWO STEP EQUATIONS 1. SOLVE FOR X 2. DO THE ADDITION STEP FIRST
Advertisements

Bellwork If you roll a die, what is the probability that you roll a 2 or an odd number? P(2 or odd) 2. Is this an example of mutually exclusive, overlapping,
7/24/2008Alex Howard, Profiling PreCompound/De-excitation mini workshop, CERN 1 Profiling Initial timing studies – Test30, p(22MeV)+Al Ref-06: 1960s for.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
By D. Fisher Geometric Transformations. Reflection, Rotation, or Translation 1.
Chapter 1 Image Slides Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Business Transaction Management Software for Application Coordination 1 Business Processes and Coordination.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
Multiplying binomials You will have 20 seconds to answer each of the following multiplication problems. If you get hung up, go to the next problem when.
0 - 0.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
MULTIPLICATION EQUATIONS 1. SOLVE FOR X 3. WHAT EVER YOU DO TO ONE SIDE YOU HAVE TO DO TO THE OTHER 2. DIVIDE BY THE NUMBER IN FRONT OF THE VARIABLE.
SUBTRACTING INTEGERS 1. CHANGE THE SUBTRACTION SIGN TO ADDITION
MULT. INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Addition Facts
Year 6 mental test 5 second questions
Around the World AdditionSubtraction MultiplicationDivision AdditionSubtraction MultiplicationDivision.
£1 Million £500,000 £250,000 £125,000 £64,000 £32,000 £16,000 £8,000 £4,000 £2,000 £1,000 £500 £300 £200 £100 Welcome.
ZMQS ZMQS
Photo Slideshow Instructions (delete before presenting or this page will show when slideshow loops) 1.Set PowerPoint to work in Outline. View/Normal click.
Richmond House, Liverpool (1) 26 th January 2004.
BT Wholesale October Creating your own telephone network WHOLESALE CALLS LINE ASSOCIATED.
ABC Technology Project
1 Undirected Breadth First Search F A BCG DE H 2 F A BCG DE H Queue: A get Undiscovered Fringe Finished Active 0 distance from A visit(A)
05/11/2001 CPT week Natalia Ratnikova, FNAL 1 Software Distribution in CMS Distribution unitFormContent Version of SCRAM managed project.
© Charles van Marrewijk, An Introduction to Geographical Economics Brakman, Garretsen, and Van Marrewijk.
© Charles van Marrewijk, An Introduction to Geographical Economics Brakman, Garretsen, and Van Marrewijk.
VOORBLAD.
15. Oktober Oktober Oktober 2012.
1 Breadth First Search s s Undiscovered Discovered Finished Queue: s Top of queue 2 1 Shortest path from s.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Linking Verb? Action Verb or. Question 1 Define the term: action verb.
Squares and Square Root WALK. Solve each problem REVIEW:
Created by Susan Neal $100 Fractions Addition Fractions Subtraction Fractions Multiplication Fractions Division General $200 $300 $400 $500 $100 $200.
We are learning how to read the 24 hour clock
© 2012 National Heart Foundation of Australia. Slide 2.
Chapter 5 Test Review Sections 5-1 through 5-4.
GG Consulting, LLC I-SUITE. Source: TEA SHARS Frequently asked questions 2.
Addition 1’s to 20.
25 seconds left…...
Equal or Not. Equal or Not
Slippery Slope
Test B, 100 Subtraction Facts
Januar MDMDFSSMDMDFSSS
Week 1.
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Partial Products. Category 1 1 x 3-digit problems.
1 Unit 1 Kinematics Chapter 1 Day
PSSA Preparation.
How Cells Obtain Energy from Food
Chapter 30 Induction and Inductance In this chapter we will study the following topics: -Faraday’s law of induction -Lenz’s rule -Electric field induced.
Tutorial 1: Sensitivity analysis of an analytical function
Types of Data SimTracks: generated particles SimHits: energy depositions in a detector volume Digis: Single-channel pieces of the detector’s raw binary.
OSCAR 2 (for the Tracker) (Adattamento della presentazione di T. Boccali al Tracker Tutorial 3/3/2003)
FULL CHAIN SIMULATION of CMS DETECTOR Ijaz Ahmed National centre for Physics, Islamabad.
Introduzione al Software di CMS N. Amapane. Nicola AmapaneTorino, Aprile Outline CMS Software projects The framework: overview Finding more.
Analysis with DSTs N. Amapane – INFN Torino CMS Software Tutorial November 4, 2004.
Presentation transcript:

La catena di simulazione con ORCA 7 (Adattamento della presentazione di Stephan Wynhoff al Tracker Tutorial, 03/03/03)

-2- Torino, Aprile 2003 Outline From Ntuple event file to fully digitised events Generation: cmkin (PYTHIA) Simulation: cmsim Hitformatting: writeHits Digitisation: writeAllDigis Winter Mode

-3- Torino, Aprile 2003 CMSIM FZ signal HEPEVT Ntuple ORCA 7 FZ signal FZ minbias ROOT/IO SimHits/minbias ROOT/IO SimHits/signal ROOT/IO Digis Ntuple G3Reader SimReader RecReader MC generator CMKIN Production User The Analysis Chain Simulation Generation HitformattingDigitisationAnalysis

-4- Torino, Aprile 2003 from Objectivity to ROOT/IO GONE ROOT/IO Files files in single directory XOR

-5- Torino, Aprile 2003 CMKIN Interface to Pythia/Herwig/Isajet Cfr. /afs/cern.ch/cms/cmsim/cmk002/examples/00README Will become and independent project (= expect changes) > cmkin cmk002 > cp –pr $CMK_EXAMPLES. > cd examples/make_ntpl_job > kine_make_ntpl_pyt.com Executable is created in $SCRATCH/kine_make_ntpl_pyt.exe Sample batch job in kine_make_ntpl_pyt.run

-6- Torino, Aprile 2003 CMKIN: Action Cards for various processes (mostly with PYTHIA) on the production page: Take bt_h300_ZZ2mu2ele_Id_238.txt and edit it (cfr. ~namapane/public/Tutorial/day2/cmkin/) Run! $SCRATCH/kine_make_ntpl_pyt.exe < bt_h300_ZZ2mu2ele_Id_238.txt

-7- Torino, Aprile 2003 CMSIM Initialisation (cms131 – just released!) > cmsim cms131 Cards Take STANDARD_125_Id_42.txt and edit! (cfr. ~namapane/public/Tutorial/day2/cmsim/) Run > $SRC/../bin/i386_linux22/cms131.exe < STANDARD_125_Id_42.txt

-8- Torino, Aprile 2003 Examples/ExProduction FZ signal FZ minbias SimHits minbias SimHits signal RecHits Ntuple writeHits.cpp writeAllDigis.cpp //all we need is to link the correct libraries Populating the DB

-9- Torino, Aprile 2003 Examples/ExProduction BuildFile This is to write SimHits into a DB To produce Muon barrel, endcap and RPC hits To produce all Tracker hits This is to write SimHits into a DB To produce Muon barrel, endcap and RPC hits To produce all Tracker hits writeHits Reading of FZ files Magic in selecting SCRAM Groups

-10- Torino, Aprile 2003 Examples/ExProduction.orcarc (cfr. ~namapane/public/Tutorial/day2/writeHits/) Environment variables setenv DETINPUT $CMS_PATH/oo/reconstruction/datafiles/cms131/cms131.rz MaxEvents = 100 FZInputFiles = /castor/cern.ch/user/s/stw/cmsim/cms130/h300eemm.fz OutputDataSet = /System/SimHits/h300eemm GoPersistent = 1 MaxEvents = 100 FZInputFiles = /castor/cern.ch/user/s/stw/cmsim/cms130/h300eemm.fz OutputDataSet = /System/SimHits/h300eemm GoPersistent = 1 Example FZ files in /castor/cern.ch/user/s/stw/cmsim/cms130 writeHits ORCA 7_2_x works with cmsim v130/v131 eval `scram runtime -csh`

-11- Torino, Aprile 2003 Action (1) Create HIT-files with 100 signal events with these cards Create HIT-files with 500 minbias events (for pileup): /castor/cern.ch/user/s/stw/cmsim/cms130/minbias.fz Write in : OutputDataSet = /System/SimHits/minbias

-12- Torino, Aprile 2003 High luminosity -> 20 minimum bias events in one bunch crossing Overlay crossings -5 to min.bias for 1 signal event "recycle" min.bias events Digitization and Pileup

-13- Torino, Aprile 2003 Examples/ExProduction BuildFile This is to write Digis/RecHits into a DB To produce Calorimetry digis To produce all Muon digis To produce Tracker digis This is to write Digis/RecHits into a DB To produce Calorimetry digis To produce all Muon digis To produce Tracker digis writeAllDigis Reading of SimHits

-14- Torino, Aprile 2003 Examples/ExProduction.orcarc (cfr. ~namapane/public/Tutorial/day2/writeAllDigis/) No Environment variables in addition to eval `scram runtime –csh` InputCollections=/System/SimHits/h300eemm/h300eemm OutputDataSet = /System/Pileup2x1033/h300eemm PUGenerator:Collection = /System/SimHits/minbias/minbias PUGenerator:AverageEvents = 3.46 PUGenerator:MinBunch = -5 PUGenerator:MaxBunch = 3 PUGenerator:FirstEvent = -2 InputCollections=/System/SimHits/h300eemm/h300eemm OutputDataSet = /System/Pileup2x1033/h300eemm PUGenerator:Collection = /System/SimHits/minbias/minbias PUGenerator:AverageEvents = 3.46 PUGenerator:MinBunch = -5 PUGenerator:MaxBunch = 3 PUGenerator:FirstEvent = -2 WriteAllDigis Default is No Pileup

-15- Torino, Aprile 2003.orcarc CaloRecHit:EcalBarrel = 1 CaloRecHit:EcalEndcap = 1 CaloRecHit:HcalBarrel = 1 CaloRecHit:Preshower = 1 Ecal:Barrel:noise = 0.03 Ecal:Barrel:threshold = 0.06 Ecal:Endcap:noise = 0.15 Ecal:Endcap:threshold = 0.30 Hcal:noise = Hcal:threshold = Presh:noise = Presh:threshold = Calo:Preshower:MinBunch=-2 Calo:Preshower:MaxBunch=1 Muon:Barrel:MinBunch = 0 Muon:Barrel:MaxBunch = 0 EcalTrigPrim:Threshold = 0.3 HcalTrigPrim:Threshold = 0.3 GoPersistent = 1 CaloRecHit:EcalBarrel = 1 CaloRecHit:EcalEndcap = 1 CaloRecHit:HcalBarrel = 1 CaloRecHit:Preshower = 1 Ecal:Barrel:noise = 0.03 Ecal:Barrel:threshold = 0.06 Ecal:Endcap:noise = 0.15 Ecal:Endcap:threshold = 0.30 Hcal:noise = Hcal:threshold = Presh:noise = Presh:threshold = Calo:Preshower:MinBunch=-2 Calo:Preshower:MaxBunch=1 Muon:Barrel:MinBunch = 0 Muon:Barrel:MaxBunch = 0 EcalTrigPrim:Threshold = 0.3 HcalTrigPrim:Threshold = 0.3 GoPersistent = 1 (continued)

-16- Torino, Aprile 2003 Action (2) Fully digitize 10 events with these cards!

-17- Torino, Aprile 2003 Reading DIGIs Warning! Groups for all objects written are needed in the BuildFile for a reading application Example – Examples/Statistics/ExDigiStatistics This is to read Digis/RecHits This is to read Digis/RecHits reading of digitized events ORCA 7.1.X

-18- Torino, Aprile 2003 Action! Try Examples/Statistics/ExDigiStatistics! Write your own.orcarc file!!! Try Workspace to see how many pile-up events we have!

-19- Torino, Aprile 2003 Winter Mode Main interest for production Decouples METADATA creation from EVENTDATA creation Three steps per dataset create an empty METADATA structure process event samples in parallel jobs are fully independent (no locks) crashed jobs can be simply re-started construct METADATA with COBRA tools after all jobs finished Examples/ExProduction/writeDigi_WinterMode*

-20- Torino, Aprile 2003 Try out… Check scripts in ~namapane/public/Tutorial/day2/winter writeDigi_WinterMode.init Only once writeDigi_WinterMode.job Several times… writeDigi_WinterMode.finalize Once, in the DB directory

-21- Torino, Aprile 2003 WinterMode - Init Usual digitization cards plus: Blue: shared by all WinterMode steps Red: specific for initialization Winter = 1 EVD:Default = OnDemand Events:EVDCreate = PreAllocate Collections:EVDCreate = PreAllocate InitDataSet = 1 Winter = 1 EVD:Default = OnDemand Events:EVDCreate = PreAllocate Collections:EVDCreate = PreAllocate InitDataSet = 1

-22- Torino, Aprile 2003 WinterMode - Jobs Usual digitization cards plus: Blue: shared by all WinterMode steps Red: specific for jobs – use different run numbers! Winter = 1 EVD:Default = OnDemand Events:EVDCreate = PreAllocate Collections:EVDCreate = PreAllocate OutputRunNumber = 123 Winter = 1 EVD:Default = OnDemand Events:EVDCreate = PreAllocate Collections:EVDCreate = PreAllocate OutputRunNumber = 123

-23- Torino, Aprile 2003 WinterMode – Finalize Runs special COBRA applications Blue: in loop over all jobs Red: Upates METADATA for all attached runs Example: e4726b2a4b2611d783fd0040f45cca94.runid cp XXX.runid.orcarc AttachRun OWNERNAME DATASETNAME FixColl OWNERNAME DATASETNAME cp XXX.runid.orcarc AttachRun OWNERNAME DATASETNAME FixColl OWNERNAME DATASETNAME CARF:ResumeRun=RUNS.META.PileupTk1024; h300eemmRuns; Run1 EVD0_Collections.h300eemm.PileupTk1034; Collections_e4726b2a4b2611d783fd0040f45cca94; LeafMetaCollection CARF:ResumeRun=RUNS.META.PileupTk1024; h300eemmRuns; Run1 EVD0_Collections.h300eemm.PileupTk1034; Collections_e4726b2a4b2611d783fd0040f45cca94; LeafMetaCollection

-24- Torino, Aprile 2003 Caveats! data written with one (pre-)release is probably unreadable with the next (pre-)release data written with one compiler (gcc ) is unreadable with any other (gcc-3.2) Most BuildFiles currently require changes