3 Feb. 2006Shuei YAMADA 1
MEG Software
MEG Software Group
3 Feb. 2006Shuei YAMADA 2
Contents
Summary of Software Meeting (3-4 Nov. 2005)Standard Operating SystemTransition to SubversionROME based analysis tools
Status of SoftwareSoftware OrganizationStatus of Monte CarloStatus of Offline Software
Ongoing Studies Using MCResources and Needs
CPUDISKNetwork
Schedule and Manpower
3 Feb. 2006Shuei YAMADA 3
Summary of Software Meeting (3-4 Nov. 2005)
Standard Operating SystemScientific Linux (SL)
Mostly used in the HEP communityDerived from RedHat Enterprise Linux, Freely available
Transition to SubversionA concurrent versioning system, similar to, but better than CVS
Truly atomic commit (CVS: file-by-file)Moving/renaming files and directories (CVS: loses history)
Free/Open source version control systemRuns on all modern flavor of Unix, Mac & Win2k/XP
Binary package available for SL3/4
3 Feb. 2006Shuei YAMADA 4
ROME based analysis tool
MegRoot was rejectedAnalysis tools based on ROME was approved
megbartender : event cocktail & digitizationmeganalyzer : reconstruction & event display
Both for online & offline
New software coordinationRepository : Fabrizio Cei, Shuei YamadaMC : Fabrizio Cei, Shuei YamadaOffline : Matthias Scheebeli, Ryu SawadaOnline : Stefan Ritt
3 Feb. 2006Shuei YAMADA 5
Status of Software
Software OrganizationMonte Carlo StatusOffline Software StatusOngoing Studies Using MC
3 Feb. 2006Shuei YAMADA 6
Software Organization
Simulation
DC H. Nishiguchi
TC P. Cattaneo
XE F. Cei + S. Yamada
Beam/Target W. Ootani + K. Ozone + V.
Tumakov
Calibration F. Cei
DC digitization P. Huwe
TC digitization P. Huwe
XE digitization Y. Uchiyama
Trigger simulation D. Nicolo’ + Y. Hisamatsu
Analysis
Framework M. SchneebeliDatabase R. Sawada
DC H. Nishiguchi + M. SchneebeliTC D. ZanelloXE G. Signorelli + R. Sawada
3 Feb. 2006Shuei YAMADA 7
Procedure of Analysis
GEM
ZEBRA
bartender
analyzer
ROOT
MC simulation event generation detector simulation
Electronics simulation
event cocktail waveform simulation digitization trigger simulation
DAQ
MIDAS
ROOT
simulationexperiment
Reconstruction Event display
3 Feb. 2006Shuei YAMADA 8
Monte Carlo Status
GEANT3 based simulation program : GEMProgram built around the framework REMOrganization in modules, as an OO class; structured like:
xxx (prefix of specific device) = dch, ticp, ticz, xec … yyy (suffix defining the functionality) = ini, set, end, draw, …
Documentation under SVN in meg/rem/docInteractive GEM
Call GEANT3 functions interactively to Draw geometry, track and hitChange the running conditions
To be done:Learn how to use itImplement user interface (kumac and/or GUI)
3 Feb. 2006Shuei YAMADA 9
Drift Chamber
ProgressImproved integration of time to distance profile from GARFIELD GEANT simulation of Vernier electrode patternsImproved hit structure
More adequate description w/ low-E -raysSimple and small hit data structure (220 → 8 words/hit)Efficient (80 →100%) and simple hit cell# calculation
To be doneEffect on signal of Vernier patternsImprove detail of material : electronic cards, cables, …
3 Feb. 2006Shuei YAMADA 10
Timing Counters
Progress:Implementation of many geometries : cables, jacket, bars w/ slanted ends, square fibers, PMTs, APDs, …Preliminary support structureGeneration and propagation of scintillation photons : based on analytical calculation & Poisson fluctuations
To be done:Improve details of materials and support structureImprove photon propagation modelCross check w/ beam test data (for counter)
3 Feb. 2006Shuei YAMADA 11
Liquid Xenon Calorimeter
Progress:Geometry almost finalized
Inner&Outer vessel, PMT holders, PMT position, Honeycomb,…
Faster GEANT based optical photon tracking : (~10s/event on 3GHz Pentium4, ~ 7.5s/event on 2.4GHz Athlon64)
To be done:Implement final geometry : Dense PMT layout for backside, hollow spacer for L&R sideFast optical photon tracking
3 Feb. 2006Shuei YAMADA 12
Beam and Target
Progress:Muon beam simulation based on phase space into event generatorElliptical tube option for targetImplemented end cap and Rohacell insertion tube
To be done:Implement Beam Transport SolenoidComplete the beam transport within the detectorImplement final target with support3D Field map + interpolation
3 Feb. 2006Shuei YAMADA 13
Calibration
Extensive work in the pastPartially implemented in MC
Progress:Geometry and tracking media almost completedEvent generation under testing
To be done:Test and commit event generatorComplete implementation of geometry
Ni plates outside Ni plates outside LXe calorimeter LXe calorimeter (neutron calibration)(neutron calibration)
3 Feb. 2006Shuei YAMADA 14
MC General Conclusion
Simulation status satisfactory :good level of sophistication in geometry and physical process simulation.Further refinements in geometry under way. Simulation of calibration procedures started.Some people (5 - 6) actively working. It’s a good time for testing the mass production(possible problems with disk space, memory management…)
3 Feb. 2006Shuei YAMADA 15
Offline Software Status
Single Event DisplayPreliminary mu -> e+gamma trigger simulationWaveform simulation & digitization
XE & DC : readyTC : preliminary
Analysis Extensive works by individualsPartially implemented in meganalyzer :
XE : Fast reconstruction (Qsum, position,…), Position reconstruction DC : preliminary track fit (for online display)
3 Feb. 2006Shuei YAMADA 16
Single Event Display
ROME and ARGUS are mergedBoth for online & offlineROME runs in 3 modes
ROME stand aloneArgus stand aloneROME with Argus display (new mode)
Configuration in the ROME configuration fileNo special user code needed
3 Feb. 2006Shuei YAMADA 17
QT movie…
3 Feb. 2006Shuei YAMADA 18
Ongoing Studies Using MCBG Source Study
Optimize end cap ,target system and Rohacell tube design
AIF events in LXeSource of AIF gammasAIF gammas’ spectrum & yieldAIF Rejection
LXe WaveformWaveform simulationPile-up rejection
3 Feb. 2006Shuei YAMADA 19
BG Source Study
New featuresOptimize end-caps
Upstream End-cap
Rohacell Insertion Tube
Optimize target system
Purpose
beam
DC cable duct
Michel decay
3 Feb. 2006Shuei YAMADA 20
BG from End Cap
39 photons / 50,000 Michel e+
Designed end-cap
(Aluminum part)
+
SUS Beam Pipe
beamMichel decay
Aluminum
SUS
Bremsstrahlung photon
3 Feb. 2006Shuei YAMADA 21
BG from Rohacell Tube
3 photons / 50,000 Michel e+Bremsstrahlung photon
Rohacell X0 = 820cm density = 0.052 g/cm3
C9H13O2N
3 Feb. 2006Shuei YAMADA 22
BG from DC cable duct
427 photons / 50,000 Michel e+
beam
Michel decay
Carbon fiberAluminumCu cable
Bremsstrahlung photon
3 Feb. 2006Shuei YAMADA 23
BG Source Study(1) Summary
BG SourcesEffect of cable ducts was improved down to 1/2Bremsstrahlung & Annihilation at rest
Effect of end-cap is relatively smallLow E ( ~ 1MeV), but pile-up study is needed
AIF studytarget & Rohacell tubeCable duct
Target studySlant angle of the targetComplete target support structure & calibration system
Energy deposit in LXe [MeV]
3 Feb. 2006Shuei YAMADA 24
AIF study using MC
1. Generate Michel e+ in target, emit them for 4π
2. At the each GEANT tracking step, calculate annihilation probability by material information and Michel e+ momentum information
3. Generate 2 γ at each step weighted by this probability
4. Trace 2γ , if it enters Xe cryostat
3 Feb. 2006Shuei YAMADA 25
AIF probability map
X-Y View Z-Y View Z-X View
No
Cut
Xe e
vents
Xe eventsEgam
> 45MeV
3 Feb. 2006Shuei YAMADA 26
AIF Spectrum & Photon Yield
AIF spectrum and their origin
Egam MeV/52.8MeV Egam MeV/52.8MeV
Photon yield per muon decay
3 Feb. 2006Shuei YAMADA 27
AIF Event Rejection in LXe
Different arrival times of 2 gammasDifferent Impinging points
TODO : Pattern recognition
δT2gamma [sec]
δX2gamma [cm]
3 Feb. 2006Shuei YAMADA 28
LXe Waveform
Waveform SimulationPile-up rejection
Take sum of PMT outputsLarger pulseMicrostructure in pulse shape disappear
Optimization for # of PMTs to be summedSumming up all the PMTs not good from S/N viewpoint
3 Feb. 2006Shuei YAMADA 29
Xe Waveform Simulation
1. Sum up Gaussians over all photo electrons• Mean = arrival time of each photon• Width = TTS (1 p.e. response)
2. Shaping (Low Pass Filter)• Low Pass filter• Time constant RC = 5nsec
Fits very well with real pulse !
3 Feb. 2006Shuei YAMADA 30
Pulse Shape Fluctuation
Pulse shapes are not constant especially for small pulses
0.6V
datasimulation simulation
1.2V
data
deviation
Fluctuation reproduced
3 Feb. 2006Shuei YAMADA 31
Pile-up finding
T=50ns. T=15ns
11MeV + 42MeV
Peak searchCount # of peaks in Moving averageSimple but powerfulfor large T
DifferentialCount # of peaks in DifferentiationPowerful for small T
3 Feb. 2006Shuei YAMADA 32
Rejection Efficiency
(E 1 + E 2
)/52.8MeV
Optimal Value : 60 ~ 70% of QsumFunction of Energy
3 Feb. 2006Shuei YAMADA 33
Rejection Efficiency
T 8ns
T 10ns
T 15ns
T 50ns
T 100ns
As functions of Energy of each and TSummed up to60% QsumMisidentificationprobability: <0.05%
Weak points:T < 10nsecSmall pulse aftera large one
3 Feb. 2006Shuei YAMADA 34
Resources & Needs
Data storageCPU PowerData Access
3 Feb. 2006Shuei YAMADA 35
Data Storage Resource & Needs
PSI Tapes PSI Disks MEG Needs
30-40 TBytes (free) +
40 TBytes occupied by back up (to be freed)
4TBytes (backuped)+
6TBytes(not backuped)
~ 10TBytes/yr (read data)~ 40-50TBytes/yr (MC Production)~ 10TB/yr (overheads, DSTs)
total 70-80 TBytes 10TBytes 60-70TBytes/yr
MEG Needs ~ 5 TBytes/year of Disk Space for DATAAssuming 1/2 of the data collected in one year reside on disk for monitoring, calibrations, faster analysis, etc…
3 Feb. 2006Shuei YAMADA 36
CPU Resource & Needs
PSI Nodes MEG Needs (CPUs/yr)
64 ~ 3 CPUs (real data, w/o Waveform fitting)< 1 CPU (selected data w/ Waveform fitting)~ 20 CPUs (MC production & bartender)~ 10 CPUs (MC reconstruction = 3x data, w/o WF fitting)< 1 CPU (MC selected sample w/ WF fitting)
Total 64 CPUs ~ 33 (+20 per 10 repr.) CPU/yr
128 CPUs
128 CPUs
3 Feb. 2006Shuei YAMADA 37
Data Access Resource & Needs
PSI Link Speed MEG Needs
25MBytes/s to tapes via FTP1Gbits/s to disks from CPUs
~ 1MBytes/s (w/ Waveform compression)~ 10MBytes/s (w/o Waveform compression)
OK !
3 Feb. 2006Shuei YAMADA 38
Schedules and Manpower
MilestonesManpower
3 Feb. 2006Shuei YAMADA 39
Milestones
Within 2-3 weeksNew PSI cluster partly ready : 128 OpteronsMC mass production (at least signal events and Michel positrons)
Start development of reconstruction & Pattern recognition algorithmsStart pre-selection study
By end of SeptemberFinish MC mass production
Signal, Michel positrons, backgrounds…
3 Feb. 2006Shuei YAMADA 40
Schedule for LXe analysisOther sub-detectors can emulate LXe schedule
3 Feb. 2006Shuei YAMADA 41
Man Power
2006Q1Y. Hisamatsu 0.5H. Nishiguchi 0.2W. Ootani 0.1K. Ozone 0.5R. Sawada 0.5Y. Uchiyama 0.7S. Ritt 0.1M. Schneebeli 0.4F. Cei 1.0G. Gallucci 1.0D. Nicolo’0.2A. Papa 0.3R. Pazzi 1.0G. Signorelli 0.5P. W. Cattaneo 0.5D. Zanello 0.5A. Barchiesi 1.0W. Molzon 0.2V. Tumakov 1.0S. Yamada 1.0P. Huwe 1.0F. Xiao 0.7
Total 12.9
2006Q2Y. Hisamatsu 0.5H. Nishiguchi 0.3W. Ootani 0.1K. Ozone 0.5R. Sawada 0.5Y. Uchiyama 0.7M. Schneebeli 0.8F. Cei 1.0G. Gallucci 1.0D. Nicolo’0.2A. Papa 0.3R. Pazzi 1.0G. Signorelli 0.5P. W. Cattaneo 0.5D. Zanello 0.5A. Barchiesi 1.0W. Molzon 0.2V. Tumakov 1.0S. Yamada 1.0P. Huwe 1.0J. Perry 0.7D. Stute 0.4F. Xiao 0.5
Total 14.2
3 Feb. 2006Shuei YAMADA 42
End of Slides