Status of MC software S.Dusini – INFN Padova 2/4/2009Stefano Dusini1.

Slides:



Advertisements
Similar presentations
Beam-plug and shielding studies related to HCAL and M2 Robert Paluch, Burkhard Schmidt November 25,
Advertisements

Plastic Scintillator Option for DB a simulation study by Maxim Gonchar, Yury Gornushkin and Dmitry Naumov JINR, Dubna, Russia Collaboration Meeting January.
Simulation Studies of a (DEPFET) Vertex Detector for SuperBelle Ariane Frey, Max-Planck-Institut für Physik München Contents: Software framework Simulation.
Muon Identification Antoine Cazes Laboratoire de l’ Accelerateur Lineaire OPERA Collaboration Meeting in Frascatti Physics coordination meeting. October.
Emulsion scanning: present status and plans for the coming run Giovanni De Lellis.
1 Event selection / characterization software package (OpCarac) Alessandro Bertolin (INFN - Padova) Ngoc-Tiem Tran (IN2P3 - Lyon) Special thanks section:
Brick Finding Ankara CM 2/4/2009 Dario Autiero. A large effort was put in the last months by a team of people in order to recover the events pending due.
1Calice-UK Cambridge 9/9/05D.R. Ward David Ward Compare Feb’05 DESY data with Geant4 and Geant3 Monte Carlos. Work in progress – no definitive conclusions.
Report of the Oscillation Working Group and status of Charm study 1 F. Juget – D. Duchesneau Ankara, April 1rst 2009.
March 31, Status of the TOF, Ckov and Virtual Detector Packages in G4Mice Steve Kahn Brookhaven National Laboratory Mice Collaboration Meeting March.
October 20th, 2006 A. Mazzacane 1 4 th Concept Software First Results.
Physics coordination 21/1/09 D.Autiero, S.Dusini Introduction.
Jean Favier OPERA Meeting Ankara 3/04/09 1 Some ECC features studied with GenIma Efficiency with no fog Efficiencies with fog Micro-track number versus.
MonteCarlo simulation of neutrino interactions in PEANUT Giovanni De Lellis on behalf of Alberto Marotta and Andrea Russo Naples University.
Reconstruction of neutrino interactions in PEANUT G.D.L., Andrea Russo, Luca Scotto Lavina Naples University.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Japan.
Status of the Software and MC production Antoine Cazes Laboratoire de L’accélérateur Linéaire.
GRD - Collimation Simulation with SIXTRACK - MIB WG - October 2005 LHC COLLIMATION SYSTEM STUDIES USING SIXTRACK Ralph Assmann, Stefano Redaelli, Guillaume.
Monte Carlo Comparison of RPCs and Liquid Scintillator R. Ray 5/14/04  RPCs with 1-dimensional readout (generated by RR) and liquid scintillator with.
1 Realistic top Quark Reconstruction for Vertex Detector Optimisation Talini Pinto Jayawardena (RAL) Kristian Harder (RAL) LCFI Collaboration Meeting 23/09/08.
Optimising Cuts for HLT George Talbot Supervisor: Stewart Martin-Haugh.
LAV Software Status Emanuele Leonardi – Tommaso Spadaro Photon Veto WG meeting – 2015/03/24.
Andreas Morsch, CERN EP/AIP CHEP 2003 Simulation in ALICE Andreas Morsch For the ALICE Offline Project 2003 Conference for Computing in High Energy and.
Muon-raying the ATLAS Detector
1 Calorimeter in G4MICE Berkeley 10 Feb 2005 Rikard Sandström Geneva University.
A. Chukanov, S. Dmitrievsky, Yu. Gornushkin, D. Naumov JINR, Dubna Opera collaboration meeting 9 th March 2011, Nagoya.
Beam MC activity A.K.Ichikawa for beam group For more details,
LHCb production experience with Geant4 LCG Applications Area Meeting October F.Ranjard/ CERN.
Simulation of GOSSIP/GridPix Nominal Detector, and GOSSIP in ATLAS.
Detector Monte-Carlo ● Goal: Develop software tools to: – Model detector performance – Study background issues – Calculate event rates – Determine feasibility.
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.
NA62 Gigatracker Working Group 28 July 2009 Massimiliano Fiorini CERN.
TRD straws status report from 14/03/ AMS-02 acceptance for lepton flux N. Nikonov.
CBM ECAL simulation status Prokudin Mikhail ITEP.
SoLID simulation with GEMC Zhiwen Zhao 2015/03/26.
1ECFA/Vienna 16/11/05D.R. Ward David Ward Compare these test beam data with Geant4 and Geant3 Monte Carlos. CALICE has tested an (incomplete) prototype.
05/04/06Predrag Krstonosic - Cambridge True particle flow and performance of recent particle flow algorithms.
Geant4 Tracking Test (D. Lunesu)1 Daniela Lunesu, Stefano Magni Dario Menasce INFN Milano GEANT4 TRACING TESTs.
Measurement of the Charge Ratio of Cosmic Muons using CMS Data M. Aldaya, P. García-Abia (CIEMAT-Madrid) On behalf of the CMS Collaboration Sector 10 Sector.
Emulsion Simulation Y. Caffari (IPN Lyon) F. Juget (IPH Neuchatel) A. Marotta (CNRS-IN2P3 Lyon) CERN 3-5/05/2006.
CMS Torino meeting, 4 th June, 2007 R. Castello on behalf of Torino Tracker’s group Tracker Alignment with MillePede.
1 Software tools in Asia Akiya Miyamoto KEK 18-March-2005 Simulation and Reconstruction Session LCWS2005 Representing acfa-sim-j activity M.C.Chang 1,K.Fujii.
T2K muon measurement 2014 Momentum module A.Ariga, C. Pistillo University of Bern S. Aoki Kobe University 1.
04/04/2008LNGS, OPERA Collaboration Meeting1 Simulation/Reconstruction Software activity of JINR group /Dmitry V.Naumov A.Chukanov, S.Dmitrievsky, Yu.
Development of the parallel TPC tracking Marian Ivanov CERN.
OPERA Experiment, Brick Finding Program A. Chukanov Joint Institute for Nuclear Research Dubna, 25 th January, 2007.
Software and Computing Status of Software development and MC production OpRoot-Fedra MC interface New CVS server Computing resources at CERN: present and.
Electron Reconstruction through OpEmuRec Collaboration meeting 22/09/10 Florian Brunet.
BENE MECC detector Pasquale Migliozzi INFN – Napoli.
NBI2006 Starting OPERA data-taking with the CNGS beam D.Autiero IN2P3/IPN Lyon 5/9/2006.
1 Giuseppe G. Daquino 26 th January 2005 SoFTware Development for Experiments Group Physics Department, CERN Background radiation studies using Geant4.
Giuseppe Ruggiero CERN Straw Chamber WG meeting 07/02/2011 Spectrometer Reconstruction: Pattern recognition and Efficiency 07/02/ G.Ruggiero - Spectrometer.
STAR Simulation. Status and plans V. Perevoztchikov Brookhaven National Laboratory,USA.
From the simulation to the reconstruction: The FEDRA-MC interface Alberto Marotta University FEDERICO II & INFN - Napoli OPERA CERN, April 2004.
M. Brooks, 28-Mar-02 Heavy/Light meeting 1 Muon Analysis Work Getting Code ready for first data pass - DONE Get ready for second pass on DSTs - muon identification.
20 October 2005 LCG Generator Services monthly meeting, CERN Validation of GENSER & News on GENSER Alexander Toropin LCG Generator Services monthly meeting.
Emulsion Test Beam first results Annarita Buonaura, Valeri Tioukov On behalf of Napoli emulsion group This activity was supported by AIDA2020.
Extrapolation Techniques  Four different techniques have been used to extrapolate near detector data to the far detector to predict the neutrino energy.
MONTE CARLO TRANSPORT SIMULATION Panda Computing Week 2012, Torino.
FCAL Krakow meeting, 6. May LumiCal concept including the tracker R. Ingbir, P.Růžička, V. Vrba.
A Short Course on Geant4 Simulation Toolkit Introduction
1 HcalAlCaRecoProducers : Producer for HO calibration Outer hadron calorimeter is expected to improve jet energy resolution Due to different sampling/passive.
M.C. Studies of CDC Axial/Stereo Layer Configuration David Lawrence, JLab Sept. 19, /19/08 1 CDC Tracking MC Studies -- D. Lawrence, JLab.
Mike Hildreth – XC Meeting
Software development status in Rome
Newt Ganugapati and Teresa Montaruli
Detector Configuration for Simulation (i)
(CMS GEANT4 simulation)
OPERETTE TEST BEAM EXPERIMENT :
A Short Course on Geant4 Simulation Toolkit Introduction
Presentation transcript:

Status of MC software S.Dusini – INFN Padova 2/4/2009Stefano Dusini1

Simulation software structure OpGeom Geometrical description of OPERA using ROOT geometrical package. OpGeom Geometrical description of OPERA using ROOT geometrical package. Beam File OpSim Detector simulation OpSim Detector simulation Geant 3 Fluka Geant 4 VMC Particle Transportation Software OpDigit Simulation of detector response OpDigit Simulation of detector response OpTrigger After this step MC should be undistinguishable from the Data Almost ready OpRec All the package share the same geometry 2/4/2009Stefano Dusini2

Modification in the last (v3.1) software release OpGeom – Updated the lead and emulsion geometry: Lead: 125 x x 0.98 mm 3, Emulsion: x 99 x ( ) mm 3 – Inversion of the B field: (B x, B y, B z )  (B x, -B y, -B z ) OpSim – Interface to run with inverted magnetic field. – Updated the configuration file (ConfigMC.C) to use FLUKA to simulate hadronic interactions and to set properly all the Geant 3 parameters. OpDigit – Corrected the RPC/XPC efficiency – Corrected TT fiber length (C.Cjollet) 2/4/2009Stefano Dusini3

Measurements To check the geometry of the bricks I asked to Chiara to measure the size and the weight of lead plates. She measure 50 lead plates using a caliper with a resolution of ± 5 μm, the thickness of the plates in 4 different points. The lead plates where weighed individually. Other 50 lead plates has been weighed in groups of 10. x y z Nominal125,55±0,05100,05±0,051,00±0,01 Measured125,0±0,199,35±0,041,02±0,02 Diff0,59 0,5%0,70 0,7%-0,02-2% Average 1st batch2nd batch Nominal142,6±1,6 Measured137,9 137,2±0,8138,5±0,5 Diff4,7 3,3% Length in mm Weight in g. The difference in the x,y dimensions can be explain with deformation of the edge during the manipulation (cutting, bam operation….). But apparently there is a discrepancy between the weight loss and volume loss.  Nominal size * g/cm 3 2/4/2009Stefano Dusini4

Possible interpretation We can trust x,y measurements and absorb the additional 2% of weight loss in the Z dimension reducing the lead thickness by 20μm. This means that 1.65 g are loss on the edge of the lead plate and 2.95 g from the surface. The size of the lead plates are 125 x x 0.98 mm 3 This new geometry has been implemented in OpGeom The change in the lateral size has an impact on the acceptance which has to convolute with the emulsion acceptance (emulsion dim x 99.0 mm 2 ) taking into account area that can be scanned with the microscope.  To be study with MC The change in the thickness change the fraction of long tau decay and therefore has an impact of the sensitivity of OPERA. 2/4/2009Stefano Dusini5

The “saga” of the new MC production A the begin of March we start the a new MC production at the Computing Centre in Lyon (see Elisabetta presentation at last Phys.Coord.) with OpRelease v3.1 and with new beamfile produced by Dario (/sps/opera/operap/beamfiles/march2009) Simulation and digitalization run smoothly. OpRec was crashing on a method of OpGeom to calculate the amount of material between two point of a track. This problem was not new and it was fixed with a trick which was working up to now. Compiling OpGeom with a newer ROOT version (v5.23) I discovered ~160 illegal overlaps present in the geometry. Some where know and never corrected, but some where new and never detected by the production version of ROOT (v5.12). Most of the illegal overlaps were involving dead material but the ones regarding the DriftTube need some mention due to the implication in the reconstruction. 2/4/2009Stefano Dusini6

Correction to the Drift Tube geometry The volume which contain the last DT station of each SM was ovelapting with the volume which contain the magnet and the other DT stations. To the re-sizeing of the magnet volume I put back to the position prior OpRelease 3.0 All the Drift Tubes were shifted by half tube radius to lower x values making half of the first tube of each layer was extruded from the mother volume. These two changes have an impact on the reconstruction because the alignment files are correction to the MC geometry (and not true position). The first and the second layer and the third and forth layer have are staggered by half tube and the distance in z less the radius of the tube. This was not properly implemented causing an illegal overlap between the DT layers. 2/4/2009Stefano Dusini7

The saga goes on… After the correction of the geometry we found that OpSim was crashing simulating neutrino interactions in the bricks. Also this was a problem already found by myself one year ago and Lionel identify a possible source of the problem but didn’t how to correct. We fix it again with a trick. In OpSim Lionel wrote a method in which he manipulate the “cache”, which is the in-memory run-time geometry to get a reference of the brick where the neutrino interaction took place in order to store only the emulsion hit of that and the neighboring bricks. To me is not completely clear in what consist this “manipulation” but I rewrote the method to get the reference without the manipulation and now OpSim works. I checked with 5000 numucc-DIS comparing the hit distributions with a old file and the distribution are reasonable. Full validation should be done by some one of the EmuRec WG. 2/4/2009Stefano Dusini8

The saga goes on… Then I tested OpDigit on a small sample everything seems OK. But OpRec was keeping crashing on the same method, the one to get the one to get the amount of material between two points. After a short discussion with one of the author of the geometry package of ROOT he strongly suggest us to move to the latest ROOT release (v5.23). Following the instructions of Dimitry Naumov, which did the same exercise with OpRelease3.0, I recompiled OpRelease3.1 (the latest) with ROOT v5.23. The migration is not trivial and for the IO part because we use TRefArray to store the hit which have generated the digits and the use of these object has changed from ROOT v5.20. Andrey Sheshuk kindly provide me with two solutions we fix also this problem. I chose the easiest one although disfavored by Andrey. With all these modification I succeeded to reconstruct two sample of 5000 numucc and taumu events without errors. I didn’t check yet the output. 2/4/2009Stefano Dusini9

Conclusions In the last month we encounter several problems with the MC software. In my view all these problems were pointing to a memory problem inside our software or the library which we use. We first decide to look inside our code and fix what we think was necessary to fix. Then we decided to change the ROOT version and now all the problem seems to be fixed. Unfortunately we do not have the “smoking gun” to understand who was the bad guy casing the problem. We have only indications that could be the ROOT library. Some test are needed to settle this. The jump from v5.12 to v5.23 is quite long but at the moment I do not see any other solution. 2/4/2009Stefano Dusini10

backup cm 2/4/2009Stefano Dusini11

backup 2/4/2009Stefano Dusini12