Presentation is loading. Please wait.

Presentation is loading. Please wait.

FAIR Simulation&Analysis Framework FairRoot

Similar presentations


Presentation on theme: "FAIR Simulation&Analysis Framework FairRoot"— Presentation transcript:

1 FAIR Simulation&Analysis Framework FairRoot
Mohammad Al-Turany (IT-GSI) Denis Bertini (IT-GSI) Florian Uhlig (IT-GSI) Ilse König (Hades-GSI)

2 Overview Motivations FairRoot Features FAIR experiments design studies
Geometry Interface Runtime Database and Parameter Handling Integrated Track follower (Geane) FAIR experiments design studies CBM PANDA HADES Summary CHEP07 5 september

3 Fair@Gsi CBM Improvements: SIS100/SIS300 GSI Accelerator Facilities
Primary beam intensity 100 – 1000 x Secondary beam intensity for radioactive nucl.: up to x Ion energy: x New features: fast pulsed supraconducting Magnet „cooled“ Antiproton beam up to 15 GeV Specific: intense „cooled“ beam radioactive ‚exotic nucleus SIS100/SIS300 GSI Accelerator Facilities CBM HESR ESR UNILAC Super- FRS Plasma Physics PANDA Atomic Physics FLAIR CR NESR CHEP07 5 september

4 Motivations Which simulation engine to choose?
Need to move to modern and maintained MC: GEANT4 Need for Working fast ! ( LOI, TDR deadlines … ) Making reliable simulation Usually: better knowledge of “old” MC’s: GEANT3, FLUKA … A cross-check of simulation results between different MC is needed Better understanding of GEANT4 ( intrinsic cuts / physics list …) Preparing for full simulation Use of VMC (Virtual Monte Carlo ) : an interface between MCs With the same code, the user can switch between different MCs CHEP07 5 september

5 Features The same framework can be used for Simulation and Analysis
Fully ROOT based: VMC and VGM for simulation IO scheme (TChain, friend TTrees, TFolders ) for persistency TTask to organize the analysis data flow Use of TGeoManager for Simulation and Reconstruction Completely configurable via ROOT macros Easy to maintain (only ROOT standard services are used) Use of a Geometry Interface. G3 Native geometry Geometry Modeller (TGeoManager) Different geometry input format CHEP07 5 september

6 Configuration, Parameters,
CBM Simulation ROOT Geant3 Geometry Manager Virtual MC Geant4 Magnet FLUKA Target IO Manager GeoInterface Run Manager PIPE Oracle Configuration, Parameters, Geometry RunTime DataBase Cave Module Primary Generator Magnetic Field STS Root files Configuration, Parameters, Geometry Detector TRD Tasks EVGEN TOF Particle Generator RICH Pluto Field Map ECAL ASCII Urqmd CHEP07 5 september

7 Configuration, Parameters,
CBM Analysis Root files MCPoints, Hits, Digits, Tracks ROOT Geometry Manager Oracle Configuration, Parameters, Geometry IO Manager GeoInterface Run Manager RunTime DataBase Module Primary Generator Magnetic Field Root files Configuration, Parameters, Geometry Detector Tasks EVGEN Delta digitizers Tracking CHEP07 5 september

8 Panda Simulation CHEP07 5 september

9 Geometry Interface Advantage: Oracle interface
more flexibility : different inputs can be used. closer to technical drawings and analysis coordinate systems Oracle interface Hades geometry table design reusable CHEP07 5 september

10 Material & Geometry Interface
TGeo Geometry/Material TGeoVolume TGeoNode TGeoMaterial Oracle DB CbmGeoInterface ASCII G3 Geometry/Material G3Builder RootBuilder XYZ Geometry/Material Root files XYZ CHEP07 5 september

11 Creation, Initialization, Output
Runtime Database The Runtime Database is the manager class for all Parameter containers: Creation, Initialization, Output Runtime Database Created in the init() function of the tasks via the container factories or in the macro Container Factories 2 Inputs 1 Output List of Parameter Containers List of Runs read() write() Filled during initialization ASCII File ROOT File Oracle IO defined in the macro CHEP07 5 september

12 Version management in Oracle
For time dependent information a version management is needed which fulfills the following requirements: It must be possible to get a consistent set of information for any date (e.g.the start time of a certain run). To preserve the history, no information - even if wrong - should be overwritten without trace, which means that only inserts should be made, no deletes nor updates. It must be possible to get an answer to the question: 'Which parameters were used when analyzing this run X years ago?' (The calibration might have been optimized several times since this date. Maybe some bugs have been detected and corrected in the mean time.) CHEP07 5 september

13 Version management in Oracle
Time dependant entries have a time stamp (date + time with the precision of one second) in form of three columns (Format: DATE): valid_since :First date when the entry is valid. valid_until :Last date when the entry is still valid invalid_since :Date when the entry is replaced by a correct entry or a better version in case of e.g. calibration parameters and therefore gets invalid. CHEP07 5 september

14 Example: CbmGenericParSet
Base class for most parameter containers Advantage: only a few lines of code to be implemented all I/O interfaces exist already Allows to store various types of parameters (handled by CbmParamList): int, float, double, strings,… arrays TObjects (classes, histograms, …) class CbmParGenericSet : public CbmParSet { public: CbmParGenericSet(const char* name,const char* title,const char* context) : CbmParSet(name,title,context) {} virtual ~CbmParGenericSet() {} virtual Bool_t init(CbmParIo*); virtual Int_t write(CbmParIo*); virtual void putParams(CbmParamList*)=0; virtual Bool_t getParams(CbmParamList*)=0; virtual void printParams(); in derived class implemented CHEP07 5 september

15 Initialisation scheme (Analysis)
CbmTask Parameters Data File=1 CbmParIo RunId1 RunId1 CbmTask::SetContainers() CbmTask::init() Par. Cont. Sim. Data CbmTask::Exec() CbmParIo CbmTask::Reinit() File=2 RunId2 RunId2 Par. Cont Sim. Data CbmTask::Exec() CHEP07 5 september

16 Combined Chain& Friend
Make use of our CbmRootManager (IO): When the TChain switch to new file: Clear the global list of friends Add the correct next friend to the list Update the corresponding pointers (TTree, Friend Tree ..) Combining Chain with Friend: { //… CbmRun *fRun = new CbmRun(); fRun->SetInputFile(“rich_hit1.root”); fRun->AddFriend(“Rguidance1.root”); fRun->AddFile(“rich_hit2.root”); fRun->AddFriend(“Rguidance2.root”); //… fRun->Init(); fRun->Run(); … } CHEP07 5 september

17 Geane Integration in FairRoot
The integration into the VMC (TGeant3) is done In FairRoot: Geane can be used in the analysis or from macro Propagation to Length Plane Volume (Enter or Exit point) CbmPoints and/or CbmTrackParam can be used as input for propagation See talk of Andrea Fontana CHEP07 5 september

18 Muon Absorber in CBM CHEP07 5 september

19 CBM tracking, vertex reconstruction: radiation hard silicon pixel/strip detectors (STS) in a magnetic dipole field electron ID: RICH1 & TRD (& ECAL)  p suppression  104 hadron ID: TOF (& RICH2) photons, p0, m: ECAL high speed DAQ and trigger ECAL RICHs magnet beam TOF TRDs target STS CHEP07 5 september

20 Analysis: π0e+e- CHEP07 5 september

21 CBM:KO electrons production in the Au target
(setup in the air or in vacuum B=1T) Geant3 Geant4 7.9 B=1T CHEP07 5 september

22 Hades@GSI Tof Coils MDC 1,2 Rich MDC 3 Shower MDC 4
Goal: Study of in-medium modifications (r, w, j) properties Produced in A+A, p+A, p+A collisions Di-electrons are used as probes: Ve+e- Hexagonal symmetry around the beam axis Geometrical acceptance of 40% Invariant mass resolution of 1% Operates at reaction rates up to 106 /s  Tbyte/year ~ readout channels CHEP07 5 september

23 Hades example Interesting case !
Need to simulate heavy system at High energy Need external stack for Geant3: internal stack capacity reached) Check data with geant4 Easy reuse of FairRoot framework services Interesting case ! Gives us the opportunity to tune Geant4 (cuts/physics list …) and compare with real Data ! Realistic test of the framework CHEP07 5 september

24 HADES: MDC Hit distribution
Geant3 Geant4 Cross-check with Hades data to be done ! CHEP07 5 september

25 Multi purpose detector at FAIR
The Panda experiment Multi purpose detector at FAIR Charmonium (cc) spectroscopy Open charm spectroscopy Search for gluonic excitations (hybrids - glueballs) Charmed hadrons in nuclei Single and double Hypernuclei Other options (EFF, GPD, …) Physics program pp, pA collisions 1.515 GeV/c (p momentum) CHEP07 5 september

26 PANDA Detector implementation: proposed geometry
CHEP07 5 september

27 Detector implementation: state of art
COILS (dipole) view from geometry manager Muon Detector DIRC (Cherenkov) TPC/STT Micro Vertex EMC (Fwd EndCup) COILS (solenoid) EMC (barrel/Bkw EndCup) CHEP07 5 september

28 Reconstruction example: c in EMC barrel
crystal crystal c at rest in lab frame c only barrel not yet full coverage c cluster two clusters ° Clusterization Jan Zhong Dima Melnichuk CHEP07 5 september

29 Summary A VMC based framework for FAIR has been implemented
First released in March 2004 Used for FAIR experiments design studies Ongoing work Check of Geant4 VMC interface Check of TFluka VMC interface Use more intensively the TGeoManager services for the reconstruction CHEP07 5 september

30 Availability Tested on Binaries are also available for these platforms
Red Hat 9.0 (gcc and icc 8.1) Suse (gcc 3.3.1) Suse (gcc 4.1.0) Debian (gcc 3.2.3) Fedora Core 2 (gcc 3.3.3) Fedora Core (gcc 4.0 ) Fedora Core (gcc 4.1.0) Gentoo (gcc 4.1.0) SL 3-4 64 bit architectures Binaries are also available for these platforms CHEP07 5 september


Download ppt "FAIR Simulation&Analysis Framework FairRoot"

Similar presentations


Ads by Google