Presentation is loading. Please wait.

Presentation is loading. Please wait.

Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Stephan Wynhoff – Princeton University FAMOS A dynamically configurable.

Similar presentations


Presentation on theme: "Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Stephan Wynhoff – Princeton University FAMOS A dynamically configurable."— Presentation transcript:

1

2 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Stephan Wynhoff – Princeton University FAMOS A dynamically configurable system for fast Simulation and Reconstruction for CMS CHEP 2003

3 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Simulation/Reconstruction Chain MC 4-vector SimHit RecHit / Digi Analysis object FAMOS/ORCA Reconstruction: ORCA FAMOS/ORCA Simulation: OSCAR FAMOS/OSCAR Start with fastest mode AIM: 1000 times faster MC 4-vector Analysis object 100-200 sec 1-10 sec 10-100 sec

4 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Structure of FAMOS COBRA: (CARF/Utilities/GeneratorInterface) ORCA OSCAR SimHit to Analysis Generator to Analysis Generator to SimHit Shower Parameterization ORCAInterface Standalone Interface OSCARInterface Generator to RecHit DDD

5 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Reading Monte-Carlo Events BaseHepEventReader HepEventCmkinNtupleReader HepEventPythia6Reader (Pythia 6) HepEventG3EventProxyReader (COBRA/ORCA) RawHepEvent HepEventTxtReader Who dispatches the events? New class: HepEventProvider New class: FamosEventMgr HepEventParticleGunReader

6 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Event handling  Use RawHepEvent for communication  FamosEventMgr reads the GeneratorInformation  FamosEventMgr calls the simulation packages in sequence

7 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Reading the “right” Particles  RawHepEvent contains ALL generator particles  Filter to select subset  Generation of new particles  Bremsstrahlung  Pair production  ….  Ensure consistency  Guarantee order (Tracker 1 st, ECAL 2 nd, etc.)  currently user responsibility

8 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 FamosEventMgr o normal COBRA (framework) Observer o Singleton o accepts registrations of FamosSimulators o reads RawHepEvent from DB or Pythia6, etc. o use FakeRecReader to run without DB o gives RawHepEvent to each FamosSimulator o currently: sequence of registrations o keeps history of RawHepEvent (after each FamosSimulator)

9 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 FamosSimulator  Define abstract interface for each simulation module  Implementation registers to FamosEventMgr  Modules for  Material effects  Tracking  Muon trigger BaseFastTracksFromGenerator virtual bool reconstruct(RawHepEvent &) = 0; virtual int nTracks (void) const=0; virtual SimpleTrack* track (const int i)=0; FTSIM FamosSimulator virtual bool reconstruct (RawHepEvent &) virtual const string& giveMyName() const virtual bool modifiesEvent() const FATSIM FML1Reconstructor FamosTrajectoryManager

10 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Producing “standard” Objects  FamosSimulator can use simple classes  integrate to produce default framework Objects (RecObj) TRecUnit RecUnit FastTrackReconstructor RecTrackFromParticle BaseFastTracksFromGenerator LazyObserver FamosSimulator

11 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Identical Interfaces to ORCA  FATSIM Tracks  myTrackFinder = new RecTrackFromRawParticle(new FATSIM( &myPtEG, &myAngleEG, &myEff, myImpactParameterEG));  myTrackReconstructor = new FastTrackReconstructor( myTrackFinder, "FATSIM");  […]  RecCollection MyTracks(ev->recEvent(),"FATSIM");  Standard Tracks  myTrackFinder = new TrackReconstructor(new CombinatorialTrackFinder, "FkFTracks");  RecCollection MyTracks(ev->recEvent(),"FkFTracks");

12 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Choosing the Event Source  DB reading  Code: myEventMgr = FamosEventMgr::instance(); Libraries: InputCollections = /System/SuperPU/GreatEvts/GreatEvts  Pythia reading  Code: HepEventPythia6Reader myReader; myEventMgr = FamosEventMgr::instance(&myReader); Libraries: InputCollections = /Fake/Fake/Fake/Fake

13 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 single muon Pt > 20 GeV 90% H -> 4 mu Lvl-1 turn-on Tracker FAMOS Results

14 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Timing fractiontime/event [msec] Framework3%2 Pythia40%25 FTSim9%6 FastCalorimetry34%22 Muon-Lvl15%3 Muon-Lvl39%6 cmsim + ORCA312500%200000 FAMOS is really fast Material effects2000

15 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Summary  FAMOS: mini-framework for fast simulation & reconstruction  Integrated in AND/OR independency of general CMS framework  Flexibility to mix full and fast simulation/reconstruction  minimal code changes  selection by dynamically loadable shared libraries  First Modules for Monte-Carlo to Reconstruction exist  Tracks, Calorimetry, Muon Trigger, Muon  Material effects, Bremsstrahlung, pair production, etc.  Further extensions:  Geometry reading from standard XML description (to guarantee consistency)  GFLASH, fast SimHits, RecHits, all the other options

16 Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 End of Presentation


Download ppt "Stephan Wynhoff, Princeton: FAMOS – fast simulation and reconstruction for CMS CHEP 2003 Stephan Wynhoff – Princeton University FAMOS A dynamically configurable."

Similar presentations


Ads by Google