SoLID simulation with GEMC Zhiwen Zhao 2015/03/26.

Slides:



Advertisements
Similar presentations
Thomas Jefferson National Accelerator Facility Page 1 CLAS12 Software User Environment Introduction: Software tasks, users, projects. Tools. Simulation.
Advertisements

Software Summary Database Data Flow G4MICE Status & Plans Detector Reconstruction 1M.Ellis - CM24 - 3rd June 2009.
14 User Documents and Examples I SLAC Geant4 Tutorial 3 November 2009 Dennis Wright Geant4 V9.2.p02.
LC detector simulation efforts in America Dhiman Chakraborty N. I. Center for Accelerator & Detector Development for the International.
CFT Offline Monitoring Michael Friedman. Contents Procedure  About the executable  Notes on how to run Results  What output there is and how to access.
Zubanov Alexei, 2006 Aug 07 – Sep 28 QtROOT package extension with Coin3D lib.
CLAS12 CalCom Activity CLAS Collaboration Meeting, March 6 th 2014.
Shuei MEG review meeting, 2 July MEG Software Status MEG Software Group Framework Large Prototype software updates Database ROME Monte Carlo.
Introduction to Hall-D Software February 27, 2009 David Lawrence - JLab.
JAS3 + AIDA LC Simulations Workshop SLAC 19 th May 2003.
CEA-Saclay G. De Lentdecker November 30 st 2011 o G. De Lentdecker Université Libre de Bruxelles Kalman Filter in MarlinTPC.
SoLID Simulation Zhiwen Zhao UVa Hall A Collaboration Meeting 2011/6/10 1 Introduction Simulation framework Simulation study Introduction Simulation framework.
I3PropagatorMMC module Dmitry Chirkin, LBNL IceCube meeting, Uppsala, 2004.
Updating JUPITER framework using XML interface Kobe University Susumu Kishimoto.
Update on the new reconstruction software F. Noferini E. Fermi center INFN CNAF EEE Analysis Meeting - 14/09/20151.
David N. Brown Lawrence Berkeley National Lab Representing the BaBar Collaboration The BaBar Mini  BaBar  BaBar’s Data Formats  Design of the Mini 
DC12 Commissioning Status GOALS: establish operating conditions, determine initial calibration parameters and measure operating characteristics for the.
SoLID simulation Zhiwen Zhao Uva SoLID Collaboration Meeting 2011/6/2 1.
ALICE Simulation Framework Ivana Hrivnacova 1 and Andreas Morsch 2 1 NPI ASCR, Rez, Czech Republic 2 CERN, Geneva, Switzerland For the ALICE Collaboration.
LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.
Overview Maurizio Ungaro 1HPS Collaboration meetingOctober Status, Future of GEMC.
WIRED 4 An extensible generic Event Display Mark Donszelmann SLAC, Stanford, U.S.A. CHEP2004, 27 september – 1 october Interlaken, Switzerland.
AMB HW LOW LEVEL SIMULATION VS HW OUTPUT G. Volpi, INFN Pisa.
Paris package: practical aspects Installation / presentation To run a simulation Analysis To add a new module to Paris Installation / presentation To run.
1 Calorimeter in G4MICE Berkeley 10 Feb 2005 Rikard Sandström Geneva University.
1 Using Jupiter and Satellites Akiya Miyamoto KEK Jan 2006.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
Simulation of GOSSIP/GridPix Nominal Detector, and GOSSIP in ATLAS.
The CMS Simulation Software Julia Yarba, Fermilab on behalf of CMS Collaboration 22 m long, 15 m in diameter Over a million geometrical volumes Many complex.
Paul Scherrer Institut 5232 Villigen PSI CHEP 2006 in Mumbay / / Matthias Schneebeli ROME CHEP 2006 Presented by Matthias Schneebeli a universally.
CBM ECAL simulation status Prokudin Mikhail ITEP.
GLAST LAT Offline SoftwareCore review, Jan. 17, 2001 Review of the “Core” software: Introduction Environment: THB, Thomas, Ian, Heather Geometry: Joanne.
LCIO A persistency framework and data model for the linear collider CHEP 04, Interlaken Core Software, Wednesday Frank Gaede, DESY -IT-
SoLID simulation Zhiwen Zhao UVa 2011/03/25 1. GEMC, written by Maurizio Ungaro, used for CLAS12 2.
12 October 2001, M. LefebvreHEC-Athena Tutorial: HEC beam test primer1 HEC Beam Test Primer Production modules of the HEC have been tested in particle.
LCD simulation software efforts at NIU Dhiman Chakraborty Northern Illinois University (NIU)/ Northern Illinois Center for Accelerator.
The JANA Reconstruction Framework David Lawrence - JLab May 25, /25/101JANA - Lawrence - CLAS12 Software Workshop.
Forward Carriage Commissioning CLAS Collaboration Meeting 6/19/2015CLAS12 CalCom Status Update1 ECAL PCAL FTOF Panel 1A FTOF Panel 1B Detector Status PMT.
Thomas Jefferson National Accelerator Facility Page 1 Hall B: Software Utilization Gerard Gilfoyle University of Richmond 12 GeV Upgrade Software Review.
CS523 Database Design Instructor : Somchai Thangsathityangkul You can download lecture note at Class Presence 10% Quiz 10%
The MEG Offline Project General Architecture Offline Organization Responsibilities Milestones PSI 2/7/2004Corrado Gatto INFN.
GlueX Software Status + Framework Development David Lawrence JLab September 19, /19/081Software Status -- David Lawrence, JLab.
Solid Software now and then Zhiwen Zhao 2015/03/19.
LAV Simulation Emanuele Leonardi INFN Roma Photon Veto meeting 08/02/2011.
1 G4UIRoot Isidro González ALICE ROOT /10/2002.
STAR Simulation. Status and plans V. Perevoztchikov Brookhaven National Laboratory,USA.
SoLID simulation thoughts Zhiwen Zhao 2015/04/02.
June 27-29, DC2 Software Workshop - 1 Tom Stephens GSSC Database Programmer GSSC Data Servers for DC2.
SoLID Simulation Update Zhiwen Zhao University of Virginia SoLID Collaboration Meeting 2011/10/14 Introduction GEMC Update Simulation Study Summary Introduction.
Joe Foster 1 Two questions about datasets: –How do you find datasets with the processes, cuts, conditions you need for your analysis? –How do.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
1 GlueX Software Oct. 21, 2004 D. Lawrence, JLab.
David Lawrence JLab May 11, /11/101Reconstruction Framework -- GlueX Collab. meeting -- D. Lawrence.
Thomas Jefferson National Accelerator Facility Page 1 CLAS12 Workshop Jefferson Lab February 23, 2016 Time-of-Flight Software Status Jerry Gilfoyle, Evgeny.
HYDRA Framework. Setup of software environment Setup of software environment Using the documentation Using the documentation How to compile a program.
DANA David Lawrence Oct. 21, D. Lawrence, JLab GlueX Software Workshop Oct Outline Requirements Philosophy Overview of Features Open Questions.
CMS High Level Trigger Configuration Management
The Use of AMET and Automated Scripts for Model Evaluation
European Organization for Nuclear Research
A C++ generic model for the GLAST Geometric Description
Bonn Test Station data analysis with PandaRoot
User Documents and Examples I
SoLID Simulation Zhiwen Zhao 2016/08/27.
DC monitoring - calibration - simulation - corrections
JLEIC Detector Simulation Forward Ion Detection
SoLID simulation with GEMC
SoLID Simulation Zhiwen Zhao (UVa) SoLID Jlab Physics Division
Jupiter and Satellites
Use of GEANT4 in CMS The OSCAR Project
Analyzing CLAS12 Data David Payette.
Presentation transcript:

SoLID simulation with GEMC Zhiwen Zhao 2015/03/26

Outline GEMC Update SoLID simulation with GEMC 2.x – “solid_gemc” in general – EC simulation as an example Summary

GEMC Update: Outline GEMC 1.x to 2.x, a major code rewrite use factory method as much as possible, easy to add plug-in and expand functionality Field map – Field info embedded in field map file, no separated definition needed – Map Reading 3-4x faster Swimming 30% faster Modular physics list (hadron+EM+optical) Updated GUI geometry and parameters, material, optical properties, hit process and output are all external Built-in hit type “flux” and step-by-step hit info New features like customized event generator input, voltage signal and FADC support Took a lot suggestion from SoLID and MEIC simulation and we contribute to its code and structure also

GEMC Update: installation software installation streamlined by a set of scripts part of the general jlab software framework (including jana, ccdb and more) Everything in release package, no SVN or github download a single version control by env “Jlab_version” Just an “App” to download on Mac, no install needed Jlab_version devel GEMC ? geant / ?

GEMC update: GUI qt5 and openGL

GEMC update: Input All generators are still fully independent, interface by txt file in customized LUND format Fully pass customized header info into output

GEMC Update: Optical All properties defined external in “table” format similar to geometry

GEMC Update: Voltage Signal

GEMC Update: Outlook FADC banks will emulate FADC output, including translation tables Hit process routines will be a plugin - completely independent from GEMC, to be loaded at run time. The routines can be stored together with the geometry / materials scripts. multithreading, following G4 C++ 11

SoLID simulation with GEMC 2.x solid_gemc GEMC compiled as a lib during installation by default Then add customized hit process routing and other things and link to libgemc.so to keep all GEMC features, similar idea to “solgemc” This becomes “solid_gemc” with matching version of GEMC Solid_gemc2/source Solid_gemc.cc Hitprocess Solid_hitprocess.h Solid_ec_hitprocess.cc Solid_ec_hitprocess.h ……

EC simulation with solid_gemc solid - Revision 746: /subsystem/ec/ec_solid_gemc.. config_solid_PVDIS_ec_forwardangle.dat configuration file for generating readme solid_PVDIS_ec_forwardangle.gcard input file to run simulation solid_PVDIS_ec_forwardangle.pl file to generate geomtry,bank,hit solid_PVDIS_ec_forwardangle__bank.txt generated bank solid_PVDIS_ec_forwardangle__geometry_Original.txt generated geometry solid_PVDIS_ec_forwardangle__hit_Original.txt generated hit solid_PVDIS_ec_forwardangle__materials_Original.txt generated material solid_PVDIS_ec_forwardangle__parameters_Original.txt parameters defines geometry solid_PVDIS_ec_forwardangle_real.pl file to generate geometry solid_ec_bank.pl file to generate bank solid_ec_hit.pl file to generate hit solid_ec_materials.pl file to generate material solid_slice.vis Purple and orange files needed to generate files for simulation Red files needed to run simulation Red and orange files are in “table” format, they can be in txt file Database (mysql now, CCDB soon) expanded to more sources An example line of a txt file solid_PVDIS_ec_forwardangle_real_shower | root |solid_PVDIS_ec_forwardangle_real_shower | 0*cm 0*cm 350*cm | 0*deg 0*deg 0*deg | ff0000 | Tube | 110*cm 365*cm *cm 0*deg 360*deg | G4_AIR | no | 1 | 1 | 1 | 1 | 1 | no | no | no An example line of a txt file solid_PVDIS_ec_forwardangle_real_shower | root |solid_PVDIS_ec_forwardangle_real_shower | 0*cm 0*cm 350*cm | 0*deg 0*deg 0*deg | ff0000 | Tube | 110*cm 365*cm *cm 0*deg 360*deg | G4_AIR | no | 1 | 1 | 1 | 1 | 1 | no | no | no

Customized hit process routine “solid_ec” insert_bank_variable(\%configuration, $bankname, "bankid", $bankId, "Di", "$bankname bank ID"); insert_bank_variable(\%configuration, $bankname, "pid", 1, "Di", "ID of the first particle entering the sensitive volume"); insert_bank_variable(\%configuration, $bankname, "mpid", 2, "Di", "ID of the mother of the first particle entering the sensitive volume"); insert_bank_variable(\%configuration, $bankname, "tid", 3, "Di", "Track ID of the first particle entering the sensitive volume"); ………………… insert_bank_variable(\%configuration, $bankname, "id", 24, "Di", "id number"); insert_bank_variable(\%configuration, $bankname, "hitn", 99, "Di", "Hit Number"); dgtz["pid"] = (double) aHit->GetPID(); dgtz["mpid"] = (double) aHit->GetmPID(); dgtz["tid"] = (double) aHit->GetTId(); ………… dgtz["id"] = id; dgtz["hitn"] = hitn; solid_ec_bank.pl solid_ec_hitprocess.cc Totally flexible to any raw and digitized hit processing and output, fit any level of simulation and digitization need As far as the two match each other to give consistent result, “solid_gemc” need recompile if any change

Hit process control Fine tuning hit processing without source code change No need to recompile solid_gemc solid_ec_hit.pl $hit{"name"} = "solid_ec"; $hit{"description"} = "solid ec hit definition"; $hit{"identifiers"} = "id"; $hit{"signalThreshold"} = "0*MeV"; $hit{"timeWindow"} = "400*ns"; $hit{"prodThreshold"} = "1*mm"; $hit{"maxStep"} = "1*cm"; $hit{"delay"} = "10*ns"; $hit{"riseTime"} = "1*ns"; $hit{"fallTime"} = "1*ns"; $hit{"mvToMeV"} = 100; $hit{"pedestal"} = -20;

External parameters It can take source from survey data And can be part of calibration database solid_PVDIS_ec_forwardangle__parameters_ Original.txt Nlayer | 194 | | Nlayer | - | - | - | - | - | - Thickness_lead | 0.05 | cm | Thickness_lead | - | - | - | - | - | - Thickness_scint | 0.15 | cm | Thickness_scint | - | - | - | - | - | - Thickness_gap | | cm | Thickness_gap | - | - | - | - | - | - Thickness_shield | | cm | Thickness_shield | - | - | - | - | - | - Thickness_prescint | 2 | cm | Thickness_prescint | - | - | - | - | - | - Thickness_support | 2 | cm | Thickness_support | - | - | - | - | - | - z_shower | 350 | cm | z_shower | - | - | - | - | - | - Rmin | 110 | cm | Rmin | - | - | - | - | - | - Rmax | 365 | cm | Rmax | - | - | - | - | - | - Sphi | 0 | deg | Sphi | - | - | - | - | - | - Dphi | 360 | deg | Dphi | - | - | - | - | - | -

solid_gemc summary status – EC, GEM, MRPC, SPD have initial implementation at various stages – Cherenkov implementation is under work advantage – fast MC and full MC within one framework – The exact same files for standalone simulation and combined simulation

Other things Record simulation condition – GEMC record all input options into EVIO file – We can think of ways to record detector related input (as SVN or github version or database entry with index like run number? It will depends on where we store them) Output file format – “evio2root”, convert evio to root tree, included with framework – “clas-root”, read evio like a root tree, will include duction.html Documentation – Nice GEMC tutorials available – Doxygen for source code – Wiki