Difference: HowToSimulateCosmicIn1250 (1 vs. 80)

Revision 802008-01-17 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 397 to 397
 

First production in release 13

  • Release used is 13.0.10
  • Pixels are on by default
Changed:
<
<
>
>
CosmicSimulationSamples
 

Production with Muon Volume

  • No field, ATLAS-CommNF-01-00-00, 57755 events at: /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/MuonVolume/dig.muonexit{100-120}.root

Revision 792008-01-09 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 414 to 414
 
  • 950 events with 5 MeV cut for secondaries, at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/dig.secondaryEtest100.root

Misaligned with field: ATLAS-Comm-02-00-00:
Changed:
<
<
  • Large sample for ID alignment group: (in progress, >17384 events) /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/TRTBarrel/misaligned/dig.trtbarrel_ma_B*.root
>
>
  • Large sample for ID alignment group: (in progress, ~50k events) /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/TRTBarrel/misaligned/dig.trtbarrel_ma_B*.root
 From dig.trtbarrel_ma_B600.root a new simulation option is tested. Please report any differences you find between <500 and >500 files!
<!--  * Old test sample, Pixel problems: 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.test*.root  -->

Revision 782008-01-09 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 414 to 414
 
  • 950 events with 5 MeV cut for secondaries, at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/dig.secondaryEtest100.root

Misaligned with field: ATLAS-Comm-02-00-00:
Changed:
<
<
  • Large sample for ID alignment group: (in progress, 17384 events) /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/TRTBarrel/misaligned/dig.trtbarrel_ma_B*.root
>
>
  • Large sample for ID alignment group: (in progress, >17384 events) /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/TRTBarrel/misaligned/dig.trtbarrel_ma_B*.root
From dig.trtbarrel_ma_B600.root a new simulation option is tested. Please report any differences you find between <500 and >500 files!
 
<!--  * Old test sample, Pixel problems: 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.test*.root  -->

Misaligned no field: ATLAS-CommNF-02-00-00:

Revision 772007-10-29 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 414 to 414
 
  • 950 events with 5 MeV cut for secondaries, at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/dig.secondaryEtest100.root

Misaligned with field: ATLAS-Comm-02-00-00:
Changed:
<
<
  • Large sample for ID alignment group: (in progress, >=11817 events) /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/TRTBarrel/misaligned/dig.trtbarrel_ma_B*.root
>
>
  • Large sample for ID alignment group: (in progress, 17384 events) /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/TRTBarrel/misaligned/dig.trtbarrel_ma_B*.root
 
<!--  * Old test sample, Pixel problems: 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.test*.root  -->

Misaligned no field: ATLAS-CommNF-02-00-00:

Revision 762007-10-24 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 407 to 407
 
  • No field, ATLAS-CommNF-01-00-00, about 40k events for testing for TRT end cap calibration at: /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/IDET/dig.caloentry*.root

Production with TRTBarrel Volume

Changed:
<
<
  • WARNING: 2 of the misaligned test samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers. (indicated with "Pixel problems")
>
>
<!--   * WARNING: 2 of the misaligned test samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers.  (indicated with "Pixel problems") -->
 
Aligned no field: ATLAS-CommNF-01-00-00:
  • 2469 events at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/dig.trtbarrel100.root
  • 950 events with 5 MeV cut for secondaries, at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/dig.secondaryEtest100.root

Misaligned with field: ATLAS-Comm-02-00-00:
Changed:
<
<
  • Pixel problems
  • 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.test*.root
>
>
  • Large sample for ID alignment group: (in progress, >=11817 events) /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/TRTBarrel/misaligned/dig.trtbarrel_ma_B*.root
    <!--  * Old test sample, Pixel problems: 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.test*.root  -->
 
Misaligned no field: ATLAS-CommNF-02-00-00:
  • Large sample for ID alignment group: 299806 events at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/misaligned/dig.trtbarrel_ma*.root
Changed:
<
<
  • Old test sample, Pixel problems, 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.test*.root
>
>
<!---  * Old test sample, Pixel problems, 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.test*.root -->
 

Production with SCT Barrel Volume

Misaligned no field: ATLAS-CommNF-02-00-00:

Revision 752007-10-22 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 411 to 411
 
Aligned no field: ATLAS-CommNF-01-00-00:
  • 2469 events at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/dig.trtbarrel100.root
Added:
>
>
  • 950 events with 5 MeV cut for secondaries, at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/dig.secondaryEtest100.root
 
Misaligned with field: ATLAS-Comm-02-00-00:
  • Pixel problems
  • 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.test*.root

Misaligned no field: ATLAS-CommNF-02-00-00:
Changed:
<
<
  • Large sample for ID alignment group: (in progress) /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/misaligned/dig.trtbarrel_ma*.root
>
>
  • Large sample for ID alignment group: 299806 events at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/misaligned/dig.trtbarrel_ma*.root
 
  • Old test sample, Pixel problems, 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.test*.root

Production with SCT Barrel Volume

Revision 742007-10-15 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 418 to 418
 
Misaligned no field: ATLAS-CommNF-02-00-00:
  • Large sample for ID alignment group: (in progress) /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/misaligned/dig.trtbarrel_ma*.root
Changed:
<
<
  • Old test sample, Pixel problems, 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.testwfield*.root
>
>
  • Old test sample, Pixel problems, 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.test*.root
 

Production with SCT Barrel Volume

Misaligned no field: ATLAS-CommNF-02-00-00:

Revision 732007-10-01 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 407 to 407
 
  • No field, ATLAS-CommNF-01-00-00, about 40k events for testing for TRT end cap calibration at: /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/IDET/dig.caloentry*.root

Production with TRTBarrel Volume

Changed:
<
<
  • WARNING: The 2 misaligned samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers.
>
>
  • WARNING: 2 of the misaligned test samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers. (indicated with "Pixel problems")
 
Aligned no field: ATLAS-CommNF-01-00-00:
  • 2469 events at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/dig.trtbarrel100.root
Line: 417 to 417
 
  • 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.test*.root

Misaligned no field: ATLAS-CommNF-02-00-00:
Changed:
<
<
  • Pixel problems
  • 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.testwfield*.root
>
>
  • Large sample for ID alignment group: (in progress) /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/misaligned/dig.trtbarrel_ma*.root
  • Old test sample, Pixel problems, 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.testwfield*.root

Production with SCT Barrel Volume

Misaligned no field: ATLAS-CommNF-02-00-00:
  • Large sample for ID alignment group: (in progress) /castor/cern.ch/user/j/jboyd/cosmic_13020/digitization/NoField/SCTBarrel/misaligned/dig.sctbarrel_ma*.root
 

Production with Pixel Barrel Volume

  • Filtering on the overlap between TRTBarrel and full Pixel volume.

Revision 722007-08-17 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 403 to 403
 
  • No field, ATLAS-CommNF-01-00-00, 57755 events at: /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/MuonVolume/dig.muonexit{100-120}.root
  • Simulation output can be found at: /castor/cern.ch/user/l/lytken/cosmic_13010/muonexit-{100-120}/sim.root
Added:
>
>

Production with Inner Detector Volume

  • No field, ATLAS-CommNF-01-00-00, about 40k events for testing for TRT end cap calibration at: /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/IDET/dig.caloentry*.root
 

Production with TRTBarrel Volume

  • WARNING: The 2 misaligned samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers.

Revision 712007-08-15 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 404 to 404
 
  • Simulation output can be found at: /castor/cern.ch/user/l/lytken/cosmic_13010/muonexit-{100-120}/sim.root

Production with TRTBarrel Volume

Changed:
<
<
  • WARNING: The 2 misaligned samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers. New pixel-dedicated test samples are on their way.
>
>
  • WARNING: The 2 misaligned samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers.
 
Aligned no field: ATLAS-CommNF-01-00-00:
  • 2469 events at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/dig.trtbarrel100.root

Misaligned with field: ATLAS-Comm-02-00-00:
Added:
>
>
  • Pixel problems
 
  • 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.test*.root

Misaligned no field: ATLAS-CommNF-02-00-00:
Added:
>
>
  • Pixel problems
 
  • 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.testwfield*.root

Production with Pixel Barrel Volume

  • Filtering on the overlap between TRTBarrel and full Pixel volume.
Changed:
<
<
  • No field, ATLAS-CommNF-01-00-00, 4643 events at: /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.sctandpix100.root, and dig.sctandpix108.root
>
>
  • No field, ATLAS-CommNF-01-00-00, 4643 events at: /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.sctandpix100.root, and dig.sctandpix108.root (sorry about the naming ...)
 
Misaligned with field: ATLAS-Comm-02-00-00:
  • 2234 events at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.trtandpix_wfield100.root

Revision 702007-08-11 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 404 to 404
 
  • Simulation output can be found at: /castor/cern.ch/user/l/lytken/cosmic_13010/muonexit-{100-120}/sim.root

Production with TRTBarrel Volume

Changed:
<
<
  • WARNING: The 2 samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers. New pixel-dedicated test samples are on their way.
>
>
  • WARNING: The 2 misaligned samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers. New pixel-dedicated test samples are on their way.

Aligned no field: ATLAS-CommNF-01-00-00:
  • 2469 events at /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/TRTBarrel/dig.trtbarrel100.root
 
Misaligned with field: ATLAS-Comm-02-00-00:
  • 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.test*.root

Revision 692007-08-09 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 8 to 8
 
  • all of what is done below is done with CMTCONFIG i686-slc4-gcc34-opt (ie. slc4 machine in 32 bit mode)

Whole chain in saved rel_5 + groupArea

Added:
>
>
WARNING! The saved rel_5 has been deleted and you need to use release 13 instead. See HowToSimulateCosmicIn13
 
  • the whole simulation, digitization, reconstruction chain should be able to be run in saved rel_5 with the groupArea without adding any packages
  • this stuff only works for CMTCONFIG i686-slc4-gcc34-opt (32bit)
  • This is all with the new geometry tag produced at the begining of March for the April commissioning

Revision 682007-08-09 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 399 to 399
 

Production with Muon Volume

Changed:
<
<
  • No field, ATLAS-CommNF-01-00-00, 50k events at: /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/MuonVolume/dig.muonexitx.root
>
>
  • No field, ATLAS-CommNF-01-00-00, 57755 events at: /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/MuonVolume/dig.muonexit{100-120}.root
  • Simulation output can be found at: /castor/cern.ch/user/l/lytken/cosmic_13010/muonexit-{100-120}/sim.root
 

Production with TRTBarrel Volume

  • WARNING: The 2 samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers. New pixel-dedicated test samples are on their way.

Revision 672007-08-09 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 398 to 398
 
Added:
>
>

Production with Muon Volume

  • No field, ATLAS-CommNF-01-00-00, 50k events at: /castor/cern.ch/user/l/lytken/cosmic_13010/digitization/NoField/MuonVolume/dig.muonexitx.root
 

Production with TRTBarrel Volume

  • WARNING: The 2 samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers. New pixel-dedicated test samples are on their way.

Revision 662007-08-08 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 318 to 318
 Which is the time schedule for this new production?
  • Making sure the simulation works in a release 13 nightly.
Changed:
<
<
    • Digitization runs, muons go in wrong direction in simulation
>
>
    • Digitization runs, muons go in wrong direction in simulation (SOLVED)
 
  • Simulate events for tracking with high momentum, for instance by tightening the cosmic filter cuts:
    Emin = 99 GeV
    Emax = 100 GeV
Changed:
<
<
(Done)
  • Simulate small sample with magnetic field ON (done)
>
>
(DONE)
  • Simulate small sample with magnetic field ON (DONE)
 

First production

Run-numbering scheme

Line: 343 to 343
 
  • We didnt have pixels turned on by default - please refer to details for each sample
  • Not all files listed here were run with the TileCal fix
  • The sign of the muons is swapped between generation and the truth information in samples made before June 25
Added:
>
>
  • Muon volume -filtered samples: in addition these were required (accidentially) to have a LAr hit, too, in digitization.
 

Production with Muon Volume

  • initially will run 100, 50k events expect 200 events / job => 20000 evts

Revision 652007-08-06 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 395 to 395
 

First production in release 13

  • Release used is 13.0.10
  • Pixels are on by default
Added:
>
>
 

Production with TRTBarrel Volume

  • WARNING: The 2 samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers. New pixel-dedicated test samples are on their way.

Misaligned with field: ATLAS-Comm-02-00-00:
Changed:
<
<
  • 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.*.root
>
>
  • 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.test*.root
 
Misaligned no field: ATLAS-CommNF-02-00-00:
Changed:
<
<
  • 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.*.root
>
>
  • 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.testwfield*.root
 

Production with Pixel Barrel Volume

  • Filtering on the overlap between TRTBarrel and full Pixel volume.
  • No field, ATLAS-CommNF-01-00-00, 4643 events at: /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.sctandpix100.root, and dig.sctandpix108.root
Added:
>
>
Misaligned with field: ATLAS-Comm-02-00-00:
  • 2234 events at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.trtandpix_wfield100.root

Misaligned no field: ATLAS-CommNF-02-00-00:
  • 2396 events at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.trtandpix100.root
 

Planned Samples

Revision 642007-08-03 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 391 to 391
 
  • Filtering on full pixel volume, pixels on. Setup as above, 2691 events. Location of simulation output: /castor/cern.ch/user/l/lytken/cosmic_1250/pixel_102100xx/sim.root, xx:00->14
  • Digitized events: /afs/cern.ch/atlas/maxidisk/d17/data/pixel/dig_pixelvol_all.root
Added:
>
>

First production in release 13

  • Release used is 13.0.10
  • Pixels are on by default

Production with TRTBarrel Volume

  • WARNING: The 2 samples listed here are not good for pixels studies due to incorrect loading of the conditions DB with large run numbers. New pixel-dedicated test samples are on their way.

Misaligned with field: ATLAS-Comm-02-00-00:
  • 2363 events in 5 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testWithField/dig.*.root

Misaligned no field: ATLAS-CommNF-02-00-00:
  • 2355 events, in 3 files at /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.*.root

Production with Pixel Barrel Volume

  • Filtering on the overlap between TRTBarrel and full Pixel volume.
  • No field, ATLAS-CommNF-01-00-00, 4643 events at: /castor/cern.ch/user/l/lytken/cosmic_13010/testNoField/dig.sctandpix100.root, and dig.sctandpix108.root
 

Planned Samples

Revision 632007-08-03 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 385 to 385
 
  • Tiny (~134 events) simulated sample with Emin = 1 GeV, Emax = 10 GeV) can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_lowE_111100xx/sim.root , xx:00->49 (some files have 0 events!)

Production with SCTBarrel Volume

Changed:
<
<
  • New sample (1910 events, ATLAS-CommNF-00-00-00, digitized in rel 13) at: /castor/cern.ch/user/l/lytken/cosmic_1250/sctbarrel_103100xx/dig.root, xx:00->19
>
>
  • New sample (1910 events, ATLAS-CommNF-00-00-00, digitized in rel 13, pixels on) at: /castor/cern.ch/user/l/lytken/cosmic_1250/sctbarrel_103100xx/dig.root, xx:00->19
 

Production with Pixel Volume

Changed:
<
<
  • Filtering on full pixel volume. Setup as above, 2691 events. Location of simulation output: /castor/cern.ch/user/l/lytken/cosmic_1250/pixel_102100xx/sim.root, xx:00->14
>
>
  • Filtering on full pixel volume, pixels on. Setup as above, 2691 events. Location of simulation output: /castor/cern.ch/user/l/lytken/cosmic_1250/pixel_102100xx/sim.root, xx:00->14
 
  • Digitized events: /afs/cern.ch/atlas/maxidisk/d17/data/pixel/dig_pixelvol_all.root

Planned Samples

Revision 622007-07-30 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 394 to 394
 

Planned Samples

Changed:
<
<

Filtering Volume Studies

>
>

Cosmic Rates and Filtering Volume Studies

  • 2 issues were found which influence the expected rates
  • 1) when digitizing the muon volume we were accidentally only keeping events which had at least one LAr digit. this affected the rate calculation as i was working out the rate for events to pass simulation (and its filters) and then multiplying this by the LVL1 trigger efficiency i got from the digitized events. this meant the trigger efficiency was much higher than it should have been (as it was measured on a biased sample) this didnt effect the smaller volumes as they will all have a LAr digit anyway
  • 2) for the TRT volume and smaller we were changing the size on teh surface that the cosmics were generated over (from a 600mx600m square to a 400mx400m one). however there was a bug in the cosmic generator (fortran) which calculated the flux assuming the area was always 600mx600m. this means the initial estimate of the rate in the TRT volume (30Hz) was too high by 400^2/600^2 the corrected rate of ~12Hz is in much better agreement with scaling the rate from the muon volume
  • I did a comparison of the rates i get and those obtained from Elena Solfaroli (from RPC LVL1 group). the obtained rates are similar'ish. She used a flux of 130Hz x Area x F - where F is the ratio of the spectrum from Emin to infinity to the spectrum from 225MeV to infinity (this is obtained from the generator) whereas i use the FLux from the generator. the flux from the generator is ~25% higher.
 

Old stuff (kept as a record)

Revision 612007-07-27 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 396 to 396
 

Filtering Volume Studies

  • Some studies, including rate estimates, on the different filtering volumes can be see at the wiki FilteringVolumeStudies
Changed:
<
<
>
>
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 602007-06-25 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 340 to 340
 

Some issues with this data

Changed:
<
<
  • We didnt have pixels turned on - there is now a fix for pixel digitization for cosmics so we should generate some separate set with small filtering volume (SCT barrel or pixel barrel) and with pixels turned on
  • Not all files listed here were run with the TileCal fix, this is in progress
>
>
  • We didnt have pixels turned on by default - please refer to details for each sample
  • Not all files listed here were run with the TileCal fix
  • The sign of the muons is swapped between generation and the truth information in samples made before June 25
 

Production with Muon Volume

  • initially will run 100, 50k events expect 200 events / job => 20000 evts
Misaligned:
Line: 379 to 381
 
  • 100 GeV: (Emin = 99 GeV, Emax = 100 GeV) 3369 events at /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_highE_1000000x/dig.root, x:0-9
  • 50 GeV: (Emin = 49 GeV, Emax = 50 GeV) 2061 events at /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_highE_500000x/dig.root, x:0-9
  • 25 GeV: (Emin = 24 GeV, Emax = 25 GeV) 756 events at /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_highE_250000x/dig.root, x:0-29
Changed:
<
<
  • 10 GeV: (Emin = 9.9 GeV, Emax = 10.1 GeV) 381 events at /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_highE_10000xx/sim.root, x:0-49
>
>
  • 10 GeV: (Emin = 9.9 GeV, Emax = 10.1 GeV) 381 events at /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_highE_100000x/dig.root, x:0-9 and /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_highE_10000xx/sim.root, x:0-49
 
  • Tiny (~134 events) simulated sample with Emin = 1 GeV, Emax = 10 GeV) can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_lowE_111100xx/sim.root , xx:00->49 (some files have 0 events!)

Production with SCTBarrel Volume

  • New sample (1910 events, ATLAS-CommNF-00-00-00, digitized in rel 13) at: /castor/cern.ch/user/l/lytken/cosmic_1250/sctbarrel_103100xx/dig.root, xx:00->19

Production with Pixel Volume

Changed:
<
<
  • Filtering on full pixel volume. Setup as above, 2691 events. Location: /castor/cern.ch/user/l/lytken/cosmic_1250/pixel_102100xx/sim.root, xx:00->14
>
>
  • Filtering on full pixel volume. Setup as above, 2691 events. Location of simulation output: /castor/cern.ch/user/l/lytken/cosmic_1250/pixel_102100xx/sim.root, xx:00->14
  • Digitized events: /afs/cern.ch/atlas/maxidisk/d17/data/pixel/dig_pixelvol_all.root
 

Planned Samples

Revision 592007-06-25 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 392 to 392
 

Filtering Volume Studies

Changed:
<
<
>
>
  • Some studies, including rate estimates, on the different filtering volumes can be see at the wiki FilteringVolumeStudies
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 582007-06-25 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 234 to 234
 # Disabled cmt co -r TileSimAlgs-00-02-29-01 TileCalorimeter/TileSimAlgs # 27 april cmt co -r TileSimAlgs-00-02-27-01 TileCalorimeter/TileSimAlgs
Added:
>
>
# Else - 25 June: To get correct mu+/mu- ratio in the truth information group area's Generators/CosmicGenerator/src/CosmicGenerator.cxx line 491 is now: // original: m_pdgCode.push_back(charge*13); m_pdgCode.push_back(charge*-13);
 

Simulation

Line: 312 to 318
 Which is the time schedule for this new production?
  • Making sure the simulation works in a release 13 nightly.
Changed:
<
<
    • Digitization runs, still working on simulation and filterin
>
>
    • Digitization runs, muons go in wrong direction in simulation
 
  • Simulate events for tracking with high momentum, for instance by tightening the cosmic filter cuts:
    Emin = 99 GeV
    Emax = 100 GeV
Changed:
<
<
(Dropped)
>
>
(Done)
 
  • Simulate small sample with magnetic field ON (done)

First production

Line: 350 to 356
 
  • with TileCal scaling factor fix: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/withEndCaps/dig.05AprProd-100000XX.root
  • Digitization log file examples for this rerun at: /afs/cern.ch/atlas/maxidisk/d17/data/TileTest/logs/withEndCapsOn
Changed:
<
<

Production with TRT Volume

>
>

Production with TRTBarrel Volume

 
  • Mistake in naming: 2nd digit ought to be "0" as these are all without MF
  • to increase stats for TRT calibration and also SCT studies (have tighter generator cuts here)
  • Available log files can be found under /afs/cern.ch/atlas/maxidisk/d17/data/trtbarrel_logs/
Line: 365 to 371
 

TRT Volume with magnetic field ON:

  • can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/FieldOn/dig.trtbarrel _01110000.root
Added:
>
>
  • Extended (now 8971 events, 7% have >=1 pixel hit) and re-digitized in 13.0.10 with pixels on: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_110[000-174]/dig.root

TRT Volume with fixed generated momentum spectrum:

  • All below have no field, ATLAS-CommNF-00-00-00, and pixels on.
  • Digitization was done in 13.0.10
  • 100 GeV: (Emin = 99 GeV, Emax = 100 GeV) 3369 events at /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_highE_1000000x/dig.root, x:0-9
  • 50 GeV: (Emin = 49 GeV, Emax = 50 GeV) 2061 events at /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_highE_500000x/dig.root, x:0-9
  • 25 GeV: (Emin = 24 GeV, Emax = 25 GeV) 756 events at /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_highE_250000x/dig.root, x:0-29
  • 10 GeV: (Emin = 9.9 GeV, Emax = 10.1 GeV) 381 events at /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_highE_10000xx/sim.root, x:0-49
  • Tiny (~134 events) simulated sample with Emin = 1 GeV, Emax = 10 GeV) can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_lowE_111100xx/sim.root , xx:00->49 (some files have 0 events!)

Production with SCTBarrel Volume

  • New sample (1910 events, ATLAS-CommNF-00-00-00, digitized in rel 13) at: /castor/cern.ch/user/l/lytken/cosmic_1250/sctbarrel_103100xx/dig.root, xx:00->19

Production with Pixel Volume

  • Filtering on full pixel volume. Setup as above, 2691 events. Location: /castor/cern.ch/user/l/lytken/cosmic_1250/pixel_102100xx/sim.root, xx:00->14
 
Added:
>
>

Planned Samples

 

Filtering Volume Studies

Revision 572007-06-17 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 367 to 367
 
  • can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/FieldOn/dig.trtbarrel _01110000.root
Added:
>
>

Filtering Volume Studies

 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 562007-06-09 - JoseManeira

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 627 to 627
 

To do

  • Need to try with new geometry tag - what do i actually need to do to be using this?
  • Need to get LVL1 RPC trigger working (with config: TrigT1ConfigVersion = "CSC-02-900GeV" )
Changed:
<
<
  • Need to integrate in Tile trigger simulation (into digitization) - Need Jose to store the output of this in the RDO file for use in reco
>
>
  • Need to integrate in Tile trigger simulation (into digitization) - Need Jose to store the output of this in the RDO file for use in reco: (08 June 07) Done, see TileCosmicsTrigger wiki
 
  • Need to use Thjis's way of getting truth in Atlantis and CBNT (for truth track parameters)
  • Need to evaluate expected rate for cosmics passing the filter (Else is looking into this)
  • Should turn pixels off in simulation and digitization, recipe from Arshak

Revision 552007-05-30 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 312 to 312
 Which is the time schedule for this new production?
  • Making sure the simulation works in a release 13 nightly.
Changed:
<
<
* Simulation runs, still working on filters and digitization
>
>
    • Digitization runs, still working on simulation and filterin
 
Changed:
<
<
  • Simulate events for tracking with high momentum, for instance by tightening the
cosmic filter cuts:
>
>
  • Simulate events for tracking with high momentum, for instance by tightening the cosmic filter cuts:
 
    Emin = 99 GeV
    Emax = 100 GeV

Revision 542007-05-25 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 343 to 343
 
  • this data is available on castor at: /castor/cern.ch/user/j/jboyd/cosmic_1250/prod/23MarProd-*/sim.root and dig.root
  • a summary of the jobs can be seen at: /afs/cern.ch/atlas/maxidisk/d17/data/23Mar07/summary.log and example log files can be seen at /afs/cern.ch/user/j/jboyd/scratch0/saved_rel5/run/sim.log.example.gz and dig.log.example.gz
  • due to a bug in my (Jamies) submission scripts the run numbers (& random seeds used) are 00->99 instead of following the scheme mentioned above. this will be corrected for next production.
Changed:
<
<
  • This sample has been re-digitized with a fix for the TileCal scaling factor and correct TRT digitization: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/misaligned/dig.23MarProd-XX.root
>
>
  • This sample has been re-digitized with a fix for the TileCal scaling factor and correct TRT digitization: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/misaligned/dig.23MarProd-XX.root
 
  • Same sample with the SCT and TRT end caps ON in digitization: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/misaligned/withEndCaps/dig.23MarProd-XX.root
  • Digitization log file example for this batch at: /afs/cern.ch/atlas/maxidisk/d17/data/TileTest/logs/misaligned/dig.23MarProd-64.log.gz
Aligned:
  • available (w/o TileCal scaling factor fix) on castor at: /castor/cern.ch/user/j/jboyd/cosmic_1250/prod/05AprilProd-*/sim.root and dig.root
Changed:
<
<
>
>
  • with TileCal scaling factor fix: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/withEndCaps/dig.05AprProd-100000XX.root
  • Digitization log file examples for this rerun at: /afs/cern.ch/atlas/maxidisk/d17/data/TileTest/logs/withEndCapsOn
 

Production with TRT Volume

  • Mistake in naming: 2nd digit ought to be "0" as these are all without MF
Line: 362 to 363
 
Aligned:
  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and more statistics added: the 118576 events are collected in 57 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/dig.trtbarrel_1111*.root
Deleted:
<
<
(Warning: the files from before April 28th (first ~10k events) do not have the TileCal scaling factor fix)
 

TRT Volume with magnetic field ON:

  • can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/FieldOn/dig.trtbarrel _01110000.root

Revision 532007-05-24 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 335 to 335
 

Some issues with this data

Changed:
<
<
  • We didnt have pixels turned on - there is now a fix for pixel digitization for cosmics so we should generate some separate set with small filtering volume (SCT barrel or pixel barell) and with pixels turned on
>
>
  • We didnt have pixels turned on - there is now a fix for pixel digitization for cosmics so we should generate some separate set with small filtering volume (SCT barrel or pixel barrel) and with pixels turned on
  • Not all files listed here were run with the TileCal fix, this is in progress
 

Production with Muon Volume

  • initially will run 100, 50k events expect 200 events / job => 20000 evts
Added:
>
>
Misaligned:
 
  • this data is available on castor at: /castor/cern.ch/user/j/jboyd/cosmic_1250/prod/23MarProd-*/sim.root and dig.root
Changed:
<
<
  • a summary of the jobs can be seen at: /afs/cern.ch/atlas/maxidisk/d17/data/23Mar07/summary.log
>
>
  • a summary of the jobs can be seen at: /afs/cern.ch/atlas/maxidisk/d17/data/23Mar07/summary.log and example log files can be seen at /afs/cern.ch/user/j/jboyd/scratch0/saved_rel5/run/sim.log.example.gz and dig.log.example.gz
 
  • due to a bug in my (Jamies) submission scripts the run numbers (& random seeds used) are 00->99 instead of following the scheme mentioned above. this will be corrected for next production.
Changed:
<
<
  • This sample has been re-digitized with a fix for the TileCal scaling factor and correct TRT digitization: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/dig.23MarProd-XX.root
  • Same sample with the SCT and TRT end caps ON in digitization: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/withEndCaps/dig.23MarProd-XX.root
>
>
  • This sample has been re-digitized with a fix for the TileCal scaling factor and correct TRT digitization: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/misaligned/dig.23MarProd-XX.root
  • Same sample with the SCT and TRT end caps ON in digitization: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/misaligned/withEndCaps/dig.23MarProd-XX.root
  • Digitization log file example for this batch at: /afs/cern.ch/atlas/maxidisk/d17/data/TileTest/logs/misaligned/dig.23MarProd-64.log.gz
Aligned:
  • available (w/o TileCal scaling factor fix) on castor at: /castor/cern.ch/user/j/jboyd/cosmic_1250/prod/05AprilProd-*/sim.root and dig.root
 

Production with TRT Volume

  • Mistake in naming: 2nd digit ought to be "0" as these are all without MF
  • to increase stats for TRT calibration and also SCT studies (have tighter generator cuts here)
Added:
>
>
  • Available log files can be found under /afs/cern.ch/atlas/maxidisk/d17/data/trtbarrel_logs/
 
Misaligned:
  • A total of 8628 events, this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root It has perfect timing for the TRT and is misaligned using OFLCOND-CSC-00-01-00
Line: 355 to 362
 
Aligned:
  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and more statistics added: the 118576 events are collected in 57 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/dig.trtbarrel_1111*.root
Changed:
<
<
(Warning: the files from before April 28th do not have the TileCal scaling factor fix)
>
>
(Warning: the files from before April 28th (first ~10k events) do not have the TileCal scaling factor fix)
 

TRT Volume with magnetic field ON:

  • can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/FieldOn/dig.trtbarrel _01110000.root

Revision 522007-05-23 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 342 to 342
 
  • a summary of the jobs can be seen at: /afs/cern.ch/atlas/maxidisk/d17/data/23Mar07/summary.log
  • due to a bug in my (Jamies) submission scripts the run numbers (& random seeds used) are 00->99 instead of following the scheme mentioned above. this will be corrected for next production.
  • This sample has been re-digitized with a fix for the TileCal scaling factor and correct TRT digitization: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/dig.23MarProd-XX.root
Added:
>
>
  • Same sample with the SCT and TRT end caps ON in digitization: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/withEndCaps/dig.23MarProd-XX.root
 

Production with TRT Volume

  • Mistake in naming: 2nd digit ought to be "0" as these are all without MF
Line: 354 to 355
 
Aligned:
  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and more statistics added: the 118576 events are collected in 57 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/dig.trtbarrel_1111*.root
Added:
>
>
(Warning: the files from before April 28th do not have the TileCal scaling factor fix)
 

TRT Volume with magnetic field ON:

  • can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/FieldOn/dig.trtbarrel _01110000.root

Revision 512007-05-22 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 289 to 289
 
  • Are the conditions for Calo that Richard copied into prod DB being used? - YES
  • Thijs new truth stuff into CBNTAA (& Atlantis) - TO BE DONE
  • Problem is that running simulation with this setup works with geometries ATLAS-CSC-00-00-00 and ATLAS-Comm-00-00-00, but crashes on geometry ATLAS-CSC-02-00-00 (in ID material definition) - do we need a new tag of some ID package? - from Andrea Di Simone - this is hopefully fixed by the tag: IdDictParser-00-01-48 which i added to the groupArea 6 March 10am - NOT SURE
Changed:
<
<
  • Random crash problem - very annoying as upto 70% of sim jobs crash - to be looked at - SOLVED (you need to submit each job from its own directory)
>
>
  • Random crash problem - very annoying as upto 70% of sim jobs crash - to be looked at - SOLVED (you need to submit each job from its own directory + later complete fix)
 
  • Questions
    • what version of Geant do we use?
    • Do we want Calo noise (currently noise in TRT and SCT) not in Calo's - not sure about muons??
Line: 349 to 349
 
Misaligned:
  • A total of 8628 events, this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root It has perfect timing for the TRT and is misaligned using OFLCOND-CSC-00-01-00
Changed:
<
<
  • This data has been re-digitized with correct TRT digitization and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/misaligned/dig.trtbarrel_1110*.root
>
>
  • This data has been re-digitized with correct TRT digitization (as described below) and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/misaligned/dig.trtbarrel_1110*.root
 
Aligned:
  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
Changed:
<
<
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and more statistics added: the 34358 events are collected in 28 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/*.root
>
>
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and more statistics added: the 118576 events are collected in 57 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/dig.trtbarrel_1111*.root
 

TRT Volume with magnetic field ON:

  • can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/FieldOn/dig.trtbarrel _01110000.root

Revision 502007-05-18 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 347 to 347
 
  • Mistake in naming: 2nd digit ought to be "0" as these are all without MF
  • to increase stats for TRT calibration and also SCT studies (have tighter generator cuts here)
Misaligned:
Changed:
<
<
  • A total of 8958 events, this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root
>
>
  • A total of 8628 events, this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root
  It has perfect timing for the TRT and is misaligned using OFLCOND-CSC-00-01-00
  • This data has been re-digitized with correct TRT digitization and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/misaligned/dig.trtbarrel_1110*.root

Revision 492007-05-16 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 347 to 347
 
  • Mistake in naming: 2nd digit ought to be "0" as these are all without MF
  • to increase stats for TRT calibration and also SCT studies (have tighter generator cuts here)
Misaligned:
Changed:
<
<
  • this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root
>
>
  • A total of 8958 events, this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root
  It has perfect timing for the TRT and is misaligned using OFLCOND-CSC-00-01-00
Changed:
<
<
  • This data has been re-digitized with improved TRT digitization and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1110*.root
>
>
  • This data has been re-digitized with correct TRT digitization and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/misaligned/dig.trtbarrel_1110*.root
 
Aligned:
  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root

Revision 482007-05-16 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 341 to 341
 
  • this data is available on castor at: /castor/cern.ch/user/j/jboyd/cosmic_1250/prod/23MarProd-*/sim.root and dig.root
  • a summary of the jobs can be seen at: /afs/cern.ch/atlas/maxidisk/d17/data/23Mar07/summary.log
  • due to a bug in my (Jamies) submission scripts the run numbers (& random seeds used) are 00->99 instead of following the scheme mentioned above. this will be corrected for next production.
Changed:
<
<
  • This sample has been re-digitized with a fix for the TileCal scaling factor: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/dig.23MarProd-XX.root
>
>
  • This sample has been re-digitized with a fix for the TileCal scaling factor and correct TRT digitization: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/dig.23MarProd-XX.root
 

Production with TRT Volume

  • Mistake in naming: 2nd digit ought to be "0" as these are all without MF
Changed:
<
<
  • to increase stats for TRT calibration and also SCT studies
  • initially ran 50 x 50k events (have tighter generator cuts here)
>
>
  • to increase stats for TRT calibration and also SCT studies (have tighter generator cuts here)
Misaligned:
 
  • this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root It has perfect timing for the TRT and is misaligned using OFLCOND-CSC-00-01-00
  • This data has been re-digitized with improved TRT digitization and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1110*.root
Added:
>
>
Aligned:
 
  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and more statistics added: the 34358 events are collected in 28 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/*.root
Added:
>
>

TRT Volume with magnetic field ON:

  • can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/FieldOn/dig.trtbarrel _01110000.root

 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 472007-05-15 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 312 to 312
 Which is the time schedule for this new production?
  • Making sure the simulation works in a release 13 nightly.
Added:
>
>
* Simulation runs, still working on filters and digitization
 
  • Simulate events for tracking with high momentum, for instance by tightening the
cosmic filter cuts:
    Emin = 99 GeV
    Emax = 100 GeV
Changed:
<
<
  • Simulate small sample with magnetic field ON
>
>
(Dropped)
  • Simulate small sample with magnetic field ON (done)
 

First production

Run-numbering scheme

Line: 340 to 341
 
  • this data is available on castor at: /castor/cern.ch/user/j/jboyd/cosmic_1250/prod/23MarProd-*/sim.root and dig.root
  • a summary of the jobs can be seen at: /afs/cern.ch/atlas/maxidisk/d17/data/23Mar07/summary.log
  • due to a bug in my (Jamies) submission scripts the run numbers (& random seeds used) are 00->99 instead of following the scheme mentioned above. this will be corrected for next production.
Added:
>
>
  • This sample has been re-digitized with a fix for the TileCal scaling factor: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/MuonVolume/dig.23MarProd-XX.root
 

Production with TRT Volume

  • Mistake in naming: 2nd digit ought to be "0" as these are all without MF

Revision 462007-05-07 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 350 to 350
 
  • This data has been re-digitized with improved TRT digitization and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1110*.root

  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
Changed:
<
<
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and the 16499 events are collected in 9 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/*.root
>
>
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and more statistics added: the 34358 events are collected in 28 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/*.root
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 452007-04-27 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 232 to 232
 # didn't run, problems in TileSimAlgs/TileDigitizationCosmics_jobOptions.py # went back to Sasha's version w the older version of this jobOptions file # Disabled cmt co -r TileSimAlgs-00-02-29-01 TileCalorimeter/TileSimAlgs
Added:
>
>
# 27 april cmt co -r TileSimAlgs-00-02-27-01 TileCalorimeter/TileSimAlgs
 

Simulation

Line: 348 to 350
 
  • This data has been re-digitized with improved TRT digitization and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1110*.root

  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
Changed:
<
<
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and the 11684 events are collected in 9 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/*.root
>
>
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and the 16499 events are collected in 9 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/*.root
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 442007-04-25 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 225 to 225
 # "from DigitizationFlags import jobproperties" is not recognized # but if I check out Digitization the older jO files don't work anymore #Simulation: DetFlags.pixel_setOn()
Changed:
<
<
#Digitization: DetFlags.digitize.pixel_setOn()
>
>
#Disabled: Digitization: DetFlags.digitize.pixel_setOn()
 # # Tilecal digitization: Fixing wrong scaling of N photoelectrons (from Sasha): #cmt co -r TileSimAlgs-00-02-32 TileCalorimeter/TileSimAlgs # didn't run, problems in TileSimAlgs/TileDigitizationCosmics_jobOptions.py # went back to Sasha's version w the older version of this jobOptions file
Changed:
<
<
cmt co -r TileSimAlgs-00-02-29-01 TileCalorimeter/TileSimAlgs
>
>
# Disabled cmt co -r TileSimAlgs-00-02-29-01 TileCalorimeter/TileSimAlgs
 

Simulation

Line: 332 to 332
 

Some issues with this data

Deleted:
<
<
  • Turns out by mistake we ran this with mis-alignement in the ID (which is useful for alignement people - but we will re-run with no misalignement as well)
  • Also we were not using the right digitization JO for TRT (this means TRT had perfect timing) we will re-run with fixed digitization
 
  • We didnt have pixels turned on - there is now a fix for pixel digitization for cosmics so we should generate some separate set with small filtering volume (SCT barrel or pixel barell) and with pixels turned on

Production with Muon Volume

  • initially will run 100, 50k events expect 200 events / job => 20000 evts
Line: 346 to 344
 
  • to increase stats for TRT calibration and also SCT studies
  • initially ran 50 x 50k events (have tighter generator cuts here)
  • this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root
Changed:
<
<
It has perfect timing for the TRT and is misaligned using OFLCOND-CSC-00-01-00
  • This data has been re-digitized with correct TRT digitization and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1110*.root
>
>
It has perfect timing for the TRT and is misaligned using OFLCOND-CSC-00-01-00
  • This data has been re-digitized with improved TRT digitization and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1110*.root
 
Changed:
<
<
  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
>
>
  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
  • Re-digitized with TRTDigitization.Override_jitterTimeOffset = 0. (was 10ns before) and the 11684 events are collected in 9 files of varying size: /castor/cern.ch/user/l/lytken/cosmic_1250/digitization/*.root
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 432007-04-20 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 219 to 219
 cmt co -r PixelConditionsData-00-00-16 InnerDetector/InDetConditions/PixelConditionsData cmt co -r PixelConditionsServices-00-00-11 InnerDetector/InDetConditions/PixelConditionsServices cmt co -r PixelConditionsTools-00-00-20 InnerDetector/InDetConditions/PixelConditionsTools
Changed:
<
<
#didn't compile # ./src/PixelNoisyCellGenerator.cxx # ../src/PixelNoisyCellGenerator.cxx: In member function `virtual void #PixelNoisyCellGenerator::process(SiChargedDiodeCollection&) const': #../src/PixelNoisyCellGenerator.cxx:79: error: 'const class PixelDigitization' has no member named #'getRndmEngine' # and edited the jobOptions files to include the pixels:
>
>
cmt co -r SiDigitization-03-04-08 InnerDetector/InDetDigitization/SiDigitization cmt co -r InDetRawData-01-04-08I nnerDetector/InDetRawEvent/InDetRawData # problems with PixelDigitization_jobOptions.py # "from DigitizationFlags import jobproperties" is not recognized # but if I check out Digitization the older jO files don't work anymore
 #Simulation: DetFlags.pixel_setOn() #Digitization: DetFlags.digitize.pixel_setOn() #

Revision 422007-04-16 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 204 to 204
  #Also edited the standard digitization jobOptions file to use correct TRT digitization: < TRTDigitization.Override_doCosmicTimingPit = 1
Changed:
<
<
< TRTDigitization.Override_jitterTimeOffset = 10.
>
>
#< TRTDigitization.Override_jitterTimeOffset = 10. # 16 April: after discussion agreed to set the Offset to 0 ns since we don't know the # correct resolution yet. < TRTDigitization.Override_jitterTimeOffset = 0.
  #Else - 6 April checked out and compiled the following two packages on Andrea's suggestion to fix the #mem.txt bug. (the random crashes described elsewhere): cmt co -r SimHelpers-00-00-11 Simulation/G4Sim/SimHelpers

Revision 412007-04-13 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 225 to 225
 #Digitization: DetFlags.digitize.pixel_setOn() # # Tilecal digitization: Fixing wrong scaling of N photoelectrons (from Sasha):
Changed:
<
<
cmt co -r TileSimAlgs-00-02-32 TileCalorimeter/TileSimAlgs
>
>
#cmt co -r TileSimAlgs-00-02-32 TileCalorimeter/TileSimAlgs # didn't run, problems in TileSimAlgs/TileDigitizationCosmics_jobOptions.py # went back to Sasha's version w the older version of this jobOptions file cmt co -r TileSimAlgs-00-02-29-01 TileCalorimeter/TileSimAlgs
 

Simulation

Revision 402007-04-13 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 210 to 210
 cmt co -r SimHelpers-00-00-11 Simulation/G4Sim/SimHelpers cmt co -r G4UserActions-00-00-15 Simulation/G4Utilities/G4UserActions
Changed:
<
<
# Else - 10 April: for pixel digitization cmt co -r PixelDigitization-00-05-28 InnerDetector/InDetDigitization/PixelDigitization
>
>
# Else - 13 April: for pixel digitization # April 10: cmt co -r PixelDigitization-00-05-28 InnerDetector/InDetDigitization/PixelDigitization cmt co -r PixelDigitization-00-05-30 InnerDetector/InDetDigitization/PixelDigitization cmt co -r PixelConditionsData-00-00-16 InnerDetector/InDetConditions/PixelConditionsData cmt co -r PixelConditionsServices-00-00-11 InnerDetector/InDetConditions/PixelConditionsServices cmt co -r PixelConditionsTools-00-00-20 InnerDetector/InDetConditions/PixelConditionsTools
 #didn't compile
Added:
>
>
# ./src/PixelNoisyCellGenerator.cxx # ../src/PixelNoisyCellGenerator.cxx: In member function `virtual void #PixelNoisyCellGenerator::process(SiChargedDiodeCollection&) const': #../src/PixelNoisyCellGenerator.cxx:79: error: 'const class PixelDigitization' has no member named #'getRndmEngine'
 # and edited the jobOptions files to include the pixels: #Simulation: DetFlags.pixel_setOn() #Digitization: DetFlags.digitize.pixel_setOn()
Changed:
<
<
>
>
# # Tilecal digitization: Fixing wrong scaling of N photoelectrons (from Sasha): cmt co -r TileSimAlgs-00-02-32 TileCalorimeter/TileSimAlgs
 

Simulation

Revision 392007-04-12 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 327 to 327
 
  • due to a bug in my (Jamies) submission scripts the run numbers (& random seeds used) are 00->99 instead of following the scheme mentioned above. this will be corrected for next production.

Production with TRT Volume

Added:
>
>
  • Mistake in naming: 2nd digit ought to be "0" as these are all without MF
 
  • to increase stats for TRT calibration and also SCT studies
  • initially ran 50 x 50k events (have tighter generator cuts here)
  • this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root

Revision 382007-04-12 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 212 to 212
  # Else - 10 April: for pixel digitization cmt co -r PixelDigitization-00-05-28 InnerDetector/InDetDigitization/PixelDigitization
Changed:
<
<
# and editing the jobOptions files to include the pixels:
>
>
#didn't compile # and edited the jobOptions files to include the pixels:
 #Simulation: DetFlags.pixel_setOn() #Digitization: DetFlags.digitize.pixel_setOn()
Line: 293 to 294
 event_number. Do you have any information on it? Which is the time schedule for this new production?
Added:
>
>
  • Making sure the simulation works in a release 13 nightly.

  • Simulate events for tracking with high momentum, for instance by tightening the
cosmic filter cuts:
    Emin = 99 GeV
    Emax = 100 GeV
  • Simulate small sample with magnetic field ON
 

First production

Run-numbering scheme

Line: 582 to 592
 

To do

Deleted:
<
<
  • Need to find a nightly for which everything works (rel_5 looks good but not with trigger) then we can freeze that nightly for longer term use
 
  • Need to try with new geometry tag - what do i actually need to do to be using this?
  • Need to get LVL1 RPC trigger working (with config: TrigT1ConfigVersion = "CSC-02-900GeV" )
  • Need to integrate in Tile trigger simulation (into digitization) - Need Jose to store the output of this in the RDO file for use in reco
  • Need to use Thjis's way of getting truth in Atlantis and CBNT (for truth track parameters)
Deleted:
<
<
  • Need to implement tighter filter (TRT barrel) in cosmic generation (Else is looking into this)
 
  • Need to evaluate expected rate for cosmics passing the filter (Else is looking into this)
  • Should turn pixels off in simulation and digitization, recipe from Arshak

Revision 372007-04-12 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 321 to 321
 
  • initially ran 50 x 50k events (have tighter generator cuts here)
  • this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root It has perfect timing for the TRT and is misaligned using OFLCOND-CSC-00-01-00
Changed:
<
<
  • This data has been re-digitized and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1110*.root
>
>
  • This data has been re-digitized with correct TRT digitization and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1110*.root
 
Changed:
<
<
  • New production with correct TRT digitization and OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
>
>
  • New production with OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 362007-04-11 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 321 to 321
 
  • initially ran 50 x 50k events (have tighter generator cuts here)
  • this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root It has perfect timing for the TRT and is misaligned using OFLCOND-CSC-00-01-00
Added:
>
>
  • This data has been re-digitized and is available at /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1110*.root
 
  • New production with correct TRT digitization and OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root

Revision 352007-04-10 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 210 to 210
 cmt co -r SimHelpers-00-00-11 Simulation/G4Sim/SimHelpers cmt co -r G4UserActions-00-00-15 Simulation/G4Utilities/G4UserActions
Added:
>
>
# Else - 10 April: for pixel digitization cmt co -r PixelDigitization-00-05-28 InnerDetector/InDetDigitization/PixelDigitization # and editing the jobOptions files to include the pixels: #Simulation: DetFlags.pixel_setOn() #Digitization: DetFlags.digitize.pixel_setOn()
 

Simulation

Line: 312 to 318
 

Production with TRT Volume

  • to increase stats for TRT calibration and also SCT studies
Changed:
<
<
  • initially will run 50 x 50k events (have tighter generator cuts here)
  • this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_111000*/sim.root and dig.root
>
>
  • initially ran 50 x 50k events (have tighter generator cuts here)
  • this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1110*/sim.root and dig.root It has perfect timing for the TRT and is misaligned using OFLCOND-CSC-00-01-00

  • New production with correct TRT digitization and OFLCOND-CSC-00-00-00 can be found at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_1111*/sim.root and /castor/cern.ch/user/l/lytken/cosmic_1250/dig-files/dig.trtbarrel_1111*.root
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 342007-04-06 - ElseLytken

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 56 to 56
 myConfig.py testDigit.py test_rec.py
Added:
>
>
#If you want to run several parallel jobs make sure you have read this page: https://twiki.cern.ch/twiki/bin/view/Atlas/AthenaDBAccess
 
  • The tags that have been added in the groupArea are:
Line: 176 to 180
 # << " muon charge " << std::setw(2) << cosevt_.CHRG << " with momentum : " << p << std::endl; # } # */
Added:
>
>

#Else - 3 april - updated Simulation/G4Atlas/G4AtlasApp/share/G4Atlas_Sim.py to no misallignment, #OFLCOND-CSC-00-01-00 changed to OFLCOND-CSC-00-00-00: #--- Detector stuff ------------------------------------------- # Setup for reading alignments from COOL needs IOVDbSvc if DetFlags.ID_on(): if (IOVDbGlobalTag.statusOn and IOVDbGlobalTag.get_Value() =''): # overwrite default value (your own risk) GlobalTag=SimFlags.IOVDbGlobalTag.get_Value() else: # use default values if (SimLayout.get_Value()=='ATLAS-CSC-00-00-00' or SimLayout.get_Value()=='ATLAS-CSC-01-00-00' or SimLayout.get_Value()=='ATLAS-CSC-02-00-00'): GlobalTag="OFLCOND-CSC-00-01-00" # elif (SimLayout.get_Value()=='ATLAS-CSC-00-01-00' or # SimLayout.get_Value()=='ATLAS-CSC-01-01-00' or # SimLayout.get_Value()=='ATLAS-CSC-01-02-00'): else: GlobalTag="OFLCOND-CSC-00-00-00"

#Also edited the standard digitization jobOptions file to use correct TRT digitization: < TRTDigitization.Override_doCosmicTimingPit = 1 < TRTDigitization.Override_jitterTimeOffset = 10.

#Else - 6 April checked out and compiled the following two packages on Andrea's suggestion to fix the #mem.txt bug. (the random crashes described elsewhere): cmt co -r SimHelpers-00-00-11 Simulation/G4Sim/SimHelpers cmt co -r G4UserActions-00-00-15 Simulation/G4Utilities/G4UserActions

 

Simulation

Revision 332007-04-05 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 266 to 266
 XXXX = 4 digiti run number
Added:
>
>

Some issues with this data

  • Turns out by mistake we ran this with mis-alignement in the ID (which is useful for alignement people - but we will re-run with no misalignement as well)
  • Also we were not using the right digitization JO for TRT (this means TRT had perfect timing) we will re-run with fixed digitization
  • We didnt have pixels turned on - there is now a fix for pixel digitization for cosmics so we should generate some separate set with small filtering volume (SCT barrel or pixel barell) and with pixels turned on
 

Production with Muon Volume

  • initially will run 100, 50k events expect 200 events / job => 20000 evts
  • this data is available on castor at: /castor/cern.ch/user/j/jboyd/cosmic_1250/prod/23MarProd-*/sim.root and dig.root

Revision 322007-03-28 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 231 to 231
 
  • Are the conditions for Calo that Richard copied into prod DB being used? - YES
  • Thijs new truth stuff into CBNTAA (& Atlantis) - TO BE DONE
  • Problem is that running simulation with this setup works with geometries ATLAS-CSC-00-00-00 and ATLAS-Comm-00-00-00, but crashes on geometry ATLAS-CSC-02-00-00 (in ID material definition) - do we need a new tag of some ID package? - from Andrea Di Simone - this is hopefully fixed by the tag: IdDictParser-00-01-48 which i added to the groupArea 6 March 10am - NOT SURE
Changed:
<
<
  • Random crash problem - very annoying as upto 70% of sim jobs crash - to be looked at
>
>
  • Random crash problem - very annoying as upto 70% of sim jobs crash - to be looked at - SOLVED (you need to submit each job from its own directory)
 
  • Questions
    • what version of Geant do we use?
    • Do we want Calo noise (currently noise in TRT and SCT) not in Calo's - not sure about muons??
    • is 8 digit Seed OK for sim??
  • Sven tells me that digitization is not using Seed correctly - this means noise added is the same for every run (ie. first event has same noise as first event in another run)
Added:
>
>
  • try to get pixels working. need to turn them on in simulation, and then need the timing right for digitization. Attilio Andreazza - says this may be possible like:
By the way, to solve the timing problem, maybe there is a temporary
workaround: in the new digitization it is possible to set a time windows
for which one accept hits. This can range from 1 BCO to 16 BCOs (400 ns)
and set an offset.
In our case probably an offset of -250 ns and the maximum window will do
the game, while waiting for the implementation of ComTime.
  • question from Monica Verducci:
if you simulated them using the lumi_block in place of the event_number,
because the new IOV service works on the lumi_block and not more on the
event_number. Do you have any information on it?
Which is the time schedule for this new production?
 

First production

Run-numbering scheme

Revision 312007-03-28 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 252 to 252
 

Production with Muon Volume

  • initially will run 100, 50k events expect 200 events / job => 20000 evts
Added:
>
>
  • this data is available on castor at: /castor/cern.ch/user/j/jboyd/cosmic_1250/prod/23MarProd-*/sim.root and dig.root
  • a summary of the jobs can be seen at: /afs/cern.ch/atlas/maxidisk/d17/data/23Mar07/summary.log
  • due to a bug in my (Jamies) submission scripts the run numbers (& random seeds used) are 00->99 instead of following the scheme mentioned above. this will be corrected for next production.
 

Production with TRT Volume

  • to increase stats for TRT calibration and also SCT studies
  • initially will run 50 x 50k events (have tighter generator cuts here)
Added:
>
>
  • this data is available at: /castor/cern.ch/user/l/lytken/cosmic_1250/trtbarrel_111000*/sim.root and dig.root
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 302007-03-23 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 225 to 225
 

Remaining issues and problems

Changed:
<
<
  • This problem with Muon LVL1 (result seems to be same with cosmic and physics configuration - see below). i have contacted Sandro Di Mattia on 28 Feb but no response yet
  • Tile TRG simulation needs results persistifying so can be obtained in reco. (in fact need to test the Tile TRG in my digitization)
  • New geo volumes for filtering at simulation level (eg. TRT Barrel), also need to understand rate(s) and choose simulation parameters
  • Are the conditions for Calo that Richard copied into prod DB being used?
  • Thijs new truth stuff into CBNTAA (& Atlantis)
  • Problem is that running simulation with this setup works with geometries ATLAS-CSC-00-00-00 and ATLAS-Comm-00-00-00, but crashes on geometry ATLAS-CSC-02-00-00 (in ID material definition) - do we need a new tag of some ID package? - from Andrea Di Simone - this is hopefully fixed by the tag: IdDictParser-00-01-48 which i added to the groupArea 6 March 10am
>
>
  • This problem with Muon LVL1 - SOLVED
  • Tile TRG simulation needs results persistifying so can be obtained in reco. - SOLVED (although reco side readback needs to be tested)
  • New geo volumes for filtering at simulation level (eg. TRT Barrel), also need to understand rate(s) and choose simulation parameters - SOLVED (Else)
  • Are the conditions for Calo that Richard copied into prod DB being used? - YES
  • Thijs new truth stuff into CBNTAA (& Atlantis) - TO BE DONE
  • Problem is that running simulation with this setup works with geometries ATLAS-CSC-00-00-00 and ATLAS-Comm-00-00-00, but crashes on geometry ATLAS-CSC-02-00-00 (in ID material definition) - do we need a new tag of some ID package? - from Andrea Di Simone - this is hopefully fixed by the tag: IdDictParser-00-01-48 which i added to the groupArea 6 March 10am - NOT SURE
  • Random crash problem - very annoying as upto 70% of sim jobs crash - to be looked at
  • Questions
    • what version of Geant do we use?
    • Do we want Calo noise (currently noise in TRT and SCT) not in Calo's - not sure about muons??
    • is 8 digit Seed OK for sim??
  • Sven tells me that digitization is not using Seed correctly - this means noise added is the same for every run (ie. first event has same noise as first event in another run)
 

First production

Run-numbering scheme

Revision 292007-03-22 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 80 to 80
 cmt co -r MuonTruthAlgs-01-01-11 MuonSpectrometer/MuonTruthAlgs ##cmt co -r AthenaCommon-02-04-43-04 Control/AthenaCommon ##7 March updated this to (from Andrea)
Changed:
<
<
cmt co -r AthenaCommon-02-05-09 Control/AthenaCommon
>
>
#cmt co -r AthenaCommon-02-05-09 Control/AthenaCommon #reverted back to AthenaCommon-02-04-43-04 on march22
  cmt co -r RecExCond-00-00-18 Reconstruction/RecExample/RecExCond cmt co -r RecExConfig-00-00-19 Reconstruction/RecExample/RecExConfig
Line: 107 to 108
 #in python/atlas_muon.py, change line #if(SimLayout.get_Value().__contains__('Comm')): #to:
Changed:
<
<
i#f not (SimLayout.get_Value().__contains__('Comm')):
>
>
#if not (SimLayout.get_Value().__contains__('Comm')):

# also made some changes (from Andrea) to this March 22: diff of python/SimAtlasKernal.py diff -r1.66 SimAtlasKernel.py 204a205,206 > SimLayout.get_Value()=='ATLAS-Comm-00-00-00' or> SimLayout.get_Value()=='ATLAS-CommNF-00-00-00' or293,294c295,299 - ACTUALLY THIS ONE DOESNT SEEM TO WORK AT MOMENT AND SO HAS BEEN BACKED OUT (one below...)
< if(SimLayout.get_Value()=='Commissioning-1' or < SimLayout.get_Value()=='ATLAS-Commissioning-00'):


> if(SimLayout.get_Value()=='Commissioning-1' or
> SimLayout.get_Value()=='ATLAS-Commissioning-00' or
> SimLayout.get_Value()=='ATLAS-Comm-00-00-00' or
> SimLayout.get_Value()=='ATLAS-CommNF-00-00-00'
> ):
# also changed diff -r1.31 G4Atlas_Sim.py 110,112c110,113 < elif (SimLayout.get_Value()=='ATLAS-CSC-00-01-00' or < SimLayout.get_Value()=='ATLAS-CSC-01-01-00' or < SimLayout.get_Value()=='ATLAS-CSC-01-02-00'):
> # elif (SimLayout.get_Value()=='ATLAS-CSC-00-01-00' or
> # SimLayout.get_Value()=='ATLAS-CSC-01-01-00' or
> # SimLayout.get_Value()=='ATLAS-CSC-01-02-00'):
> else:
# to get rid of WARNING: WARNING No GlobalTag set on job options or input file, using DEFAULTCOND tag WARNING Take seriously only if event data simulated with 12.0.3 or later
  cmt co -r LArCondUtils-00-01-07 LArCalorimeter/LArCondUtils cmt co -r MuonGeoModel-00-03-03 MuonSpectrometer/MuonGeoModel
Line: 133 to 164
 cmt co -r TileRecAlgs-00-03-10 TileCalorimeter/TileRecAlgs cmt co -r TileEvent-00-06-02 TileCalorimeter/TileEvent cmt co -r TileEventAthenaPool-00-02-00 TileCalorimeter/TileSvc/TileEventAthenaPool
Added:
>
>
# jamie - 22 march - to reduce output in logfile checked out release version of cosmnicgenerator: cmt co -r CosmicGenerator-00-00-20 Generators/CosmicGenerator # and commente dout lines # # /* # if(m_event < m_printevt || m_event%m_printmod == 0) # { # std::cout << "CosmicGun::GenerateEvent: " << std::setw(4) << m_event # << " muon charge " << std::setw(2) << cosevt_.CHRG << " with momentum : " << p << std::endl; # } # */
 

Simulation

Revision 282007-03-22 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 189 to 189
 
  • Thijs new truth stuff into CBNTAA (& Atlantis)
  • Problem is that running simulation with this setup works with geometries ATLAS-CSC-00-00-00 and ATLAS-Comm-00-00-00, but crashes on geometry ATLAS-CSC-02-00-00 (in ID material definition) - do we need a new tag of some ID package? - from Andrea Di Simone - this is hopefully fixed by the tag: IdDictParser-00-01-48 which i added to the groupArea 6 March 10am
Added:
>
>

First production

Run-numbering scheme

* We have decided that therun number (which is also used as the seed for simulation) should be 8 digitis (I will check with Andrea that 8 digits is OK) and of the format:
A B C D XXXX
A = geometry version(0-9) 0 = ATLAS-Comm-00-00-00, 1 = ATLAS-CommNF-00-00-00, other not defined yet
B = Magnetic field (0 = NF, 1 = all field on, 2 could equal Toroid no solenoid, 3 could equal Solenoid no Toroid...)
C = Filtering Volume  (0=Muon, 1 = TRT, ...)
D = Version / mis-alignements (0 for now)
XXXX = 4 digiti run number

Production with Muon Volume

  • initially will run 100, 50k events expect 200 events / job => 20000 evts

Production with TRT Volume

  • to increase stats for TRT calibration and also SCT studies
  • initially will run 50 x 50k events (have tighter generator cuts here)
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 272007-03-20 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 128 to 128
 # added to get the LVL1 RPC trigger to work correctly (from Alessandro Di Mattia) cmt co -r MuonByteStream-01-01-69 MuonSpectrometer/MuonCnv/MuonByteStream cmt co -r MuonByteStreamCnvTest-01-01-27 MuonSpectrometer/MuonCnv/MuonByteStreamCnvTest
Added:
>
>
# added to get the LVL1 Tile trigger working (tags by Jose - 20 March) cmt co -r TileRecAlgs-00-03-10 TileCalorimeter/TileRecAlgs cmt co -r TileEvent-00-06-02 TileCalorimeter/TileEvent cmt co -r TileEventAthenaPool-00-02-00 TileCalorimeter/TileSvc/TileEventAthenaPool
 

Simulation

Revision 262007-03-20 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 101 to 101
 cmt co -r G4CosmicFilter-00-00-07 Simulation/G4Extensions/G4CosmicFilter ##cmt co -r G4AtlasApps-00-01-58 Simulation/G4Atlas/G4AtlasApps ## updated this 7 March to (from Andrea)
Changed:
<
<
cmt co -r G4AtlasApps-00-01-60 Simulation/G4Atlas/G4AtlasApps
>
>
##cmt co -r G4AtlasApps-00-01-60 Simulation/G4Atlas/G4AtlasApps ## actually found problems with G4AtlasApps-00-01-60 so reverted to 58 with a patch (from Andrea - 20 March) cmt co -r G4AtlasApps-00-01-58 Simulation/G4Atlas/G4AtlasApps #in python/atlas_muon.py, change line #if(SimLayout.get_Value().__contains__('Comm')): #to: i#f not (SimLayout.get_Value().__contains__('Comm')):
 cmt co -r LArCondUtils-00-01-07 LArCalorimeter/LArCondUtils cmt co -r MuonGeoModel-00-03-03 MuonSpectrometer/MuonGeoModel ##cp -r ~/scratch0/Cosmic1250/MuonSpectrometer/MuonG4SD MuonSpectrometer/ .

Revision 252007-03-14 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 117 to 117
 cmt co -r BFieldCore-01-03-11MagneticField/BFieldCore cmt co -r BFieldData-01-03-11 MagneticField/BFieldData cmt co -r BFieldStand-01-03-11 MagneticField/BFieldStand
Added:
>
>
# added to get the LVL1 RPC trigger to work correctly (from Alessandro Di Mattia) cmt co -r MuonByteStream-01-01-69 MuonSpectrometer/MuonCnv/MuonByteStream cmt co -r MuonByteStreamCnvTest-01-01-27 MuonSpectrometer/MuonCnv/MuonByteStreamCnvTest
 

Simulation

Revision 242007-03-12 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 110 to 110
 cmt co -r MuonG4SD-00-00-69 MuonSpectrometer/MuonG4/MuonG4SD

cmt co -r IdDictParser-00-01-48 DetectorDescription/IdDictParser

Added:
>
>
# added Mar 12 - to allow digitization / reco with 0 magnetic field (tags from Laurent Chevalier) cmt co -r BFieldAth-01-03-11 MagneticField/BFieldAth cmt co -r BFieldAthTest-01-03-11 MagneticField/BFieldAthTest cmt co -r BFieldCore-01-03-11MagneticField/BFieldCore cmt co -r BFieldData-01-03-11 MagneticField/BFieldData cmt co -r BFieldStand-01-03-11 MagneticField/BFieldStand
 

Simulation

Revision 232007-03-08 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 104 to 104
 cmt co -r G4AtlasApps-00-01-60 Simulation/G4Atlas/G4AtlasApps cmt co -r LArCondUtils-00-01-07 LArCalorimeter/LArCondUtils cmt co -r MuonGeoModel-00-03-03 MuonSpectrometer/MuonGeoModel
Changed:
<
<
cp -r ~/scratch0/Cosmic1250/MuonSpectrometer/MuonG4SD MuonSpectrometer/ . # special untagged version of MuonG4SD from Daniela Rebuzzi
>
>
##cp -r ~/scratch0/Cosmic1250/MuonSpectrometer/MuonG4SD MuonSpectrometer/ . ## special untagged version of MuonG4SD from Daniela Rebuzzi ## This has been replaced (8 March) cmt co -r MuonG4SD-00-00-69 MuonSpectrometer/MuonG4/MuonG4SD
  cmt co -r IdDictParser-00-01-48 DetectorDescription/IdDictParser

Revision 222007-03-07 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 78 to 78
  # tags need for reco in rel_5 (old) from wiki cmt co -r MuonTruthAlgs-01-01-11 MuonSpectrometer/MuonTruthAlgs
Changed:
<
<
cmt co -r AthenaCommon-02-04-43-04 Control/AthenaCommon
>
>
##cmt co -r AthenaCommon-02-04-43-04 Control/AthenaCommon ##7 March updated this to (from Andrea) cmt co -r AthenaCommon-02-05-09 Control/AthenaCommon
 cmt co -r RecExCond-00-00-18 Reconstruction/RecExample/RecExCond cmt co -r RecExConfig-00-00-19 Reconstruction/RecExample/RecExConfig cmt co -r RecExCommon-00-07-52 Reconstruction/RecExample/RecExCommon
Line: 96 to 99
  # for simulation cmt co -r G4CosmicFilter-00-00-07 Simulation/G4Extensions/G4CosmicFilter
Changed:
<
<
cmt co -r G4AtlasApps-00-01-58 Simulation/G4Atlas/G4AtlasApps
>
>
##cmt co -r G4AtlasApps-00-01-58 Simulation/G4Atlas/G4AtlasApps ## updated this 7 March to (from Andrea) cmt co -r G4AtlasApps-00-01-60 Simulation/G4Atlas/G4AtlasApps
 cmt co -r LArCondUtils-00-01-07 LArCalorimeter/LArCondUtils cmt co -r MuonGeoModel-00-03-03 MuonSpectrometer/MuonGeoModel cp -r ~/scratch0/Cosmic1250/MuonSpectrometer/MuonG4SD MuonSpectrometer/ .

Revision 212007-03-06 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 101 to 101
 cmt co -r MuonGeoModel-00-03-03 MuonSpectrometer/MuonGeoModel cp -r ~/scratch0/Cosmic1250/MuonSpectrometer/MuonG4SD MuonSpectrometer/ . # special untagged version of MuonG4SD from Daniela Rebuzzi
Added:
>
>
cmt co -r IdDictParser-00-01-48 DetectorDescription/IdDictParser
 

Simulation

Line: 130 to 132
 
  • Then click File, ReadEvent, then find the Jive file for the event you are interested in.
Added:
>
>

Some data to play with

  • this data is all with the new geo tag
  • the following 4 simulation hits files (each have 50k events before filter ~50 events after filter)
/afs/cern.ch/atlas/maxidisk/d17/data/newGeoTag/5March07_test01234.sim.root
/afs/cern.ch/atlas/maxidisk/d17/data/newGeoTag/5March07_test012349.sim.root
/afs/cern.ch/atlas/maxidisk/d17/data/newGeoTag/5March07_test012347.sim.root
/afs/cern.ch/atlas/maxidisk/d17/data/newGeoTag/5March07_test012348.sim.root
  • the following is the RDO file made by running digitization over the above 4 files (210 events in total)
/afs/cern.ch/atlas/maxidisk/d17/data/newGeoTag/5March07_testAll.rdo.root
  • it would be great if all the systems could look at the data and confirm that the new geometry looks as expected
  • i have copied the gzipped Jive*.xml produced from running rec on the above data (210 events) to
/afs/cern.ch/atlas/maxidisk/d17/data/newGeoTag/jive
 

Remaining issues and problems

  • This problem with Muon LVL1 (result seems to be same with cosmic and physics configuration - see below). i have contacted Sandro Di Mattia on 28 Feb but no response yet
  • Tile TRG simulation needs results persistifying so can be obtained in reco. (in fact need to test the Tile TRG in my digitization)
  • New geo volumes for filtering at simulation level (eg. TRT Barrel), also need to understand rate(s) and choose simulation parameters
  • Are the conditions for Calo that Richard copied into prod DB being used?
  • Thijs new truth stuff into CBNTAA (& Atlantis)
Changed:
<
<
  • Problem is that running simulation with this setup works with geometries ATLAS-CSC-00-00-00 and ATLAS-Comm-00-00-00, but crashes on geometry ATLAS-CSC-02-00-00 (in InDet
material definition) - do we need a new tag of some InDet package? - from Andrea Di Simone
>
>
  • Problem is that running simulation with this setup works with geometries ATLAS-CSC-00-00-00 and ATLAS-Comm-00-00-00, but crashes on geometry ATLAS-CSC-02-00-00 (in ID material definition) - do we need a new tag of some ID package? - from Andrea Di Simone - this is hopefully fixed by the tag: IdDictParser-00-01-48 which i added to the groupArea 6 March 10am
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 202007-03-05 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 130 to 130
 
  • Then click File, ReadEvent, then find the Jive file for the event you are interested in.
Added:
>
>

Remaining issues and problems

  • This problem with Muon LVL1 (result seems to be same with cosmic and physics configuration - see below). i have contacted Sandro Di Mattia on 28 Feb but no response yet
  • Tile TRG simulation needs results persistifying so can be obtained in reco. (in fact need to test the Tile TRG in my digitization)
  • New geo volumes for filtering at simulation level (eg. TRT Barrel), also need to understand rate(s) and choose simulation parameters
  • Are the conditions for Calo that Richard copied into prod DB being used?
  • Thijs new truth stuff into CBNTAA (& Atlantis)
  • Problem is that running simulation with this setup works with geometries ATLAS-CSC-00-00-00 and ATLAS-Comm-00-00-00, but crashes on geometry ATLAS-CSC-02-00-00 (in InDet
material definition) - do we need a new tag of some InDet package? - from Andrea Di Simone
 

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.

Revision 192007-03-05 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 7 to 7
 
  • In the end (April) we will need to use 13 for this but for now we will use 12.5.0 (or occassionally the nightlies if they have fixes that we need in them)
  • all of what is done below is done with CMTCONFIG i686-slc4-gcc34-opt (ie. slc4 machine in 32 bit mode)
Added:
>
>

Whole chain in saved rel_5 + groupArea

  • the whole simulation, digitization, reconstruction chain should be able to be run in saved rel_5 with the groupArea without adding any packages
  • this stuff only works for CMTCONFIG i686-slc4-gcc34-opt (32bit)
  • This is all with the new geometry tag produced at the begining of March for the April commissioning

Setting up

  • make a requirements file that looks like
set   CMTSITE  CERN
set   SITEROOT /afs/cern.ch
macro ATLAS_DIST_AREA ${SITEROOT}/atlas/software/dist
macro ATLAS_TEST_AREA /afs/cern.ch/user/j/jboyd/scratch0/saved_rel5
apply_tag oneGroup
macro ATLAS_GROUP_AREA /afs/cern.ch/atlas/maxidisk/d17/rel_5
use AtlasLogin AtlasLogin-* $(ATLAS_DIST_AREA)
apply_tag oneTest
apply_tag 32
  • setup as follows
> source /afs/cern.ch/sw/contrib/CMT/v1r20/mgr/setup.csh 
> cmt config 
> source setup.csh -tag=rel_5,saved,groupArea 
> source $AtlasArea/AtlasOfflineRunTime/cmt/setup.csh 
> cmt show path
# Add path /afs/cern.ch/user/j/jboyd/scratch0/saved_rel5 from initialization
# Add path /afs/cern.ch/atlas/maxidisk/d17/rel_5_saved_groupArea from initialization
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasOffline/rel_5 from initialization
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasAnalysis/rel_5 from ProjectPath
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasSimulation/rel_5 from ProjectPath
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasTrigger/rel_5 from ProjectPath
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasSimulation/rel_5 from ProjectPath
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasReconstruction/rel_5 from ProjectPath
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/DetCommon/rel_5 from ProjectPath
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasEvent/rel_5 from ProjectPath
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/DetCommon/rel_5 from ProjectPath
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasConditions/rel_5 from ProjectPath
# Add path /afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasCore/rel_5 from ProjectPath
# Add path /afs/cern.ch/atlas/project/tdaq/DataFlow/releases/tdaq-common/pre-common-01-06-01 from ProjectPath
# Add path /afs/cern.ch/atlas/offline/external/Gaudi/0.16.1.20 from ProjectPath
# Add path /afs/cern.ch/atlas/project/tdaq/DataFlow/releases/tdaq-common/pre-common-01-06-01 from ProjectPath
# Add path /afs/cern.ch/atlas/offline/external/LCGCMT/LCGCMT_50 from ProjectPath
> mkdir run
> cd run
> cp /afs/cern.ch/user/j/jboyd/public/CosmicSimSavedRel5GroupArea/*.py .
> ls *.py
jobOptions.G4Cosmic_WriteTTR_custom.py  
myConfig.py
testDigit.py
test_rec.py
  • The tags that have been added in the groupArea are:
# for cosmic digitization
cmt co -r SCT_Digitization-00-09-24 InnerDetector/InDetDigitization/SCT_Digitization
cmt co -r TRT_Digitization-00-08-29 InnerDetector/InDetDigitization/TRT_Digitization 

# for event display
cmt co -r AtlantisJava-09-06-71 graphics/AtlantisJava
cmt co -r JiveXML-00-06-16 graphics/JiveXML 

# for trigger
cmt co -r TrigEventAthenaPool-00-00-20 Trigger/TrigEvent/TrigEventAthenaPool

# for new geometry in digitization
cmt co -r CaloConditions-00-01-09 Calorimeter/CaloConditions
cmt co -r TileGeoModel-00-01-14 TileCalorimeter/TileGeoModel
cmt co -r LArConditionsCommon-00-00-34 LArCalorimeter/LArExample/LArConditionsCommon
#LArRawConditions-01-11-30 LArCalorimeter/LArRawConditions not sure if needed?? Not in groupArea now

# tags need for reco in rel_5 (old) from wiki
cmt co -r MuonTruthAlgs-01-01-11 MuonSpectrometer/MuonTruthAlgs
cmt co -r AthenaCommon-02-04-43-04 Control/AthenaCommon
cmt co -r RecExCond-00-00-18 Reconstruction/RecExample/RecExCond
cmt co -r RecExConfig-00-00-19 Reconstruction/RecExample/RecExConfig
cmt co -r RecExCommon-00-07-52 Reconstruction/RecExample/RecExCommon
cmt co -r TrackToVertex-00-01-00 Reconstruction/RecoTools/TrackToVertex
cmt co -r BTagging-00-03-07 PhysicsAnalysis/JetTagging/JetTagAlgs/BTagging

# needed to fix problem in python module (need to fix by hand before compiling)
# see: https://hypernews.cern.ch/HyperNews/Atlas/get/Prelimbugs/604/1.html
cmt co -r RecExConfig-00-00-19 Reconstruction/RecExample/RecExConfig

# fix here is in: RecExConfig/python/RecFlags.py
#< jobproperties.Rec.RecAlgs.import_JobProperties('RecExConfig.RecAlgs')
#---
#> jobproperties.Rec.RecAlgs.import_JobProperties('RecExConfig.RecAlgsFlags')

# for simulation
cmt co -r G4CosmicFilter-00-00-07 Simulation/G4Extensions/G4CosmicFilter 
cmt co -r G4AtlasApps-00-01-58 Simulation/G4Atlas/G4AtlasApps 
cmt co -r LArCondUtils-00-01-07 LArCalorimeter/LArCondUtils 
cmt co -r MuonGeoModel-00-03-03 MuonSpectrometer/MuonGeoModel 
cp -r ~/scratch0/Cosmic1250/MuonSpectrometer/MuonG4SD MuonSpectrometer/  .
# special untagged version of MuonG4SD from Daniela Rebuzzi

Simulation

  • Run simulation like:
 > athena -c "directory='dir';Seed='123';" jobOptions.G4Cosmic_WriteTTR_custom.py > & sim.log1 &
  • The cosmic generator is configured in the file myConfig.py
  • The number of events is configured in jobOptions.G4Cosmic_WriteTTR_custom.py, this is number of events after generator filter but not after CosmicFilter so you will actually get much less events in your produced sim.root file

Digitization

  • Run digitization like:
> athena -c "directory='dir';" testDigit.py > & dir/dig.log &

Reco

  • Run reconstruction like:
 athena test_rec.py > & 3Mar2007/rec_rel5saved.log & 
  • This will produce Jive files for looking at in atlantis
  • To use atlantis do
> cd /afs/cern.ch/atlas/project/Atlantis/current
> java -jar atlantis.jar &
  • Then click File, ReadEvent, then find the Jive file for the event you are interested in.

Old stuff (kept as a record)

  • below are old recipes that i keep just as a record of what worked and why. please follow above for recipe on how to run.
 

Simulation in 12.5.0

  • set up 12.5.0 release (remember to use 32 bit mode source setup.csh -tag=12.5.0,32)
  • cmt co -r G4CosmicFilter-00-00-05 Simulation/G4Extensions/G4CosmicFilter
Line: 406 to 533
 > AtlasDetectorID::initialize_from_dictionary - OK
> MuonIdHelper::init_neighbors
Added:
>
>
  • Also have seen this crash in the simulation stage:
G4AtlasAlg.sysE...  FATAL  Standard std::exception is caught
G4AtlasAlg.sysE...  ERROR basic_filebuf::underflow error reading the file
Shortened traceback (most recent user call last):
  File "/afs/cern.ch/atlas/maxidisk/d17/rel_5/InstallArea/share/bin/athena.py", line 351, in ?
    include( script )
  File "./jobOptions.G4Cosmic_WriteTTR_custom.py", line 83, in ?
    theApp.nextEvent(theApp.EvtMax)
RuntimeError: (file "", line 0) St9exception (C++ exception)
athena>
 

-- JamieBoyd - 15 Feb 2007

Revision 182007-03-05 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 313 to 313
 
  • these have the pixels turned off in the way mentioned above.

Attempting to use the new GeoTag

Changed:
<
<

Simulation in 12.5.0

>
>

New Geom Simulation in 12.5.0

 
  • Need tags
G4AtlasApps-00-01-58
Line: 327 to 327
 .MagneticField.set_Off()
Changed:
<
<

Digitization in rel_5 with tags

>
>

New Geom Digitization in rel_5 with tags

 
  • Need tags
CaloConditions-00-01-09
Line: 340 to 340
 DetDescrVersion='ATLAS-Comm-00-00-00' ='ATLAS-CommNF-00-00-00'
Changed:
<
<
  • Problems, get the following errros (& crash)
>
>

New Geom Reco in rel_5 with tags

  • Need to add the following lines to your jobOptions
 
Added:
>
>
DetDescrVersion='ATLAS-Comm-00-00-00' LArIdMapFix = 7 doMoore=False doMuGirl=False doStaco=False doMuonboy=False doMuongirl=False
  • If you dont turn off the Muon algs you get this crash:
DetectorStore                                     WARNING retrieve(const): No valid proxy for object AtlasTrackingGeometry  of typeTrk::TrackingGeometry(CLID 167645219)
ToolSvc.Trk::Navigator                              FATAL Could not retrieve TrackingGeometry 'AtlasTrackingGeometry' from DetectorStore.
ToolSvc.Trk::Navigator                              FATAL   - probably the chosen layout is not supported / no cool tag exists.
MboyRec.sysExecute()                                FATAL  Standard std::exception is caught
MboyRec.sysExecute()                                ERROR Problem with TrackingGeometry loading
  • there are still some slightly worrying messages in the reco logfile like:
RegSelSvc                                            INFO DetectorDescription version ATLAS-Comm-00-00-00
RegSelSvc                                            INFO detector switches: indet=enabled calo=enabled muon=enabled
RegSelSvc                                           FATAL  RegionSelectorLUT LArRegionSelectorLUT_EM doesn't exists
RegSelSvc                                         WARNING Failed to initialize LAR data
RegSelSvc                                           FATAL  RegionSelectorLUT LArRegionSelectorLUT_EM doesn't exists
RegSelSvc                                         WARNING Failed to initialize TTEM data
RegSelSvc                                           FATAL  RegionSelectorLUT LArRegionSelectorLUT_HEC doesn't exists
RegSelSvc                                         WARNING Failed to initialize TTHEC data
RegSelSvc                                         WARNING Will try the files for LAr
 <...>
Changed:
<
<
MDT_Digitizer ERROR MuonGeoManager does not return valid element for given id! MDT_Digitizer ERROR MuonGeoManager does not return valid element for given id! MDT_Digitizer ERROR MuonGeoManager does not return valid element for given id! <..> MDT_Digitizer ERROR MuonGeoManager does not return valid element for given id! FATAL 2007-Feb-28 22:58:41 [static void ers::ErrorHandler::SignalHandler::action(int, siginfo_t*, void*) at ers/src/ErrorHandler.cxx:88] Got signal 11 Segmentation fault (invalid memory reference) name="Segmentation fault (invalid memory reference)" signum="11" host = pcatlas006 user = jboyd (6573) process id = 12559 process wd = /space2/jboyd/cosmic_sim/rel_4/run
>
>
IOVDbSvc INFO Resolved TagInfo tag GeoAtlas to value InDetLayerMat_v3_ATLAS-Comm-00-00-00 IOVDbSvc ERROR resolveHVSTag> tag: InDetLayerMat_v3_ATLAS-Comm-00-00-00 does NOT exist IOVDbSvc ERROR resolveHVSTag> tag: InDetLayerMat_v3_DEFAULT does NOT exist IOVDbSvc ERROR Tag name TagInfo/InDetLayerMat_v3_/GeoAtlas cannot be resolved in folder /Indet/TrackingGeo/LayerMaterial DetectorStore WARNING retrieve(const): No valid proxy for object /Indet/TrackingGeo/LayerMaterial of type LayerMaterialPropertiesSet(CLID 166876097) AtlasTrackingGeometrySvc FATAL LayerMaterialPropertiesSet with name: /Indet/TrackingGeo/LayerMaterial not found in DetectorStore. Aborting. IOVSvc ERROR Problems calling TrackingGeometrySvc[0xc24b9a4]+d <...>

Remaining issues and problems

  • This problem with Muon LVL1 (result seems to be same with cosmic and physics configuration). i have contacted ?? but no response yet
  • Tile TRG simulation needs results persistifying so can be obtained in reco. (in fact need to test the Tile TRG in my digitization)
  • New geo volumes for filtering at simulation level (eg. TRT Barrel), also need to understand rate(s) and choose simulation parameters
  • Are the conditions for Calo that Richard copied into prod DB being used?
  • Thijs new truth stuff into CBNTAA (& Atlantis)
  • Sporadic crash / hang in simulation that looks like:
>  AtlasDetectorID::initialize_from_dictionary - OK
>  AtlasDetectorID::initialize_from_dictionary - OK
>  AtlasDetectorID::initialize_from_dictionary - OK
>  AtlasDetectorID::initialize_from_dictionary - OK
>  AtlasDetectorID::initialize_from_dictionary - OK
>  AtlasDetectorID::initialize_from_dictionary - OK
> 40984226 EBarrel DZ 1295.25
>  AtlasDetectorID::initialize_from_dictionary - OK
> MuonIdHelper::init_neighbors
>  AtlasDetectorID::initialize_from_dictionary - OK
> MuonIdHelper::init_neighbors
>  AtlasDetectorID::initialize_from_dictionary - OK
> MuonIdHelper::init_neighbors
>  AtlasDetectorID::initialize_from_dictionary - OK
> MuonIdHelper::init_neighbors
 

-- JamieBoyd - 15 Feb 2007 \ No newline at end of file

Revision 172007-03-02 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 32 to 32
 
  • a jobOption you can run with the above change can be found at: /afs/cern.ch/user/j/jboyd/public/cosmicSim/jobOptions.G4Cosmic_WriteTTR_custom.py
Added:
>
>

Using rel_5, saved with groupArea

  • So rel_5 has been saved as it was a good nightly for running digitization and reco
  • this is only tested with CMTCONFIG = i686-slc4-gcc34-opt (32bits)
  • to use this you setup in the usual way but do
source setup.csh -tag=rel_5,saved,32
instead of
source setup.csh -tag=rel_5,dev,32
  • your CMTPATH should then look like
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasOffline/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasAnalysis/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasSimulation/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasTrigger/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasReconstruction/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/DetCommon/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasEvent/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasConditions/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasCore/rel_5
/afs/cern.ch/atlas/project/tdaq/DataFlow/releases/tdaq-common/pre-common-01-06-01
/afs/cern.ch/atlas/offline/external/Gaudi/0.16.1.20
/afs/cern.ch/atlas/offline/external/LCGCMT/LCGCMT_50
  • i have made a groupArea ontop of this which has the following tags checked out
# for cosmic digitization
cmt co -r SCT_Digitization-00-09-24 InnerDetector/InDetDigitization/SCT_Digitization
cmt co -r TRT_Digitization-00-08-29 InnerDetector/InDetDigitization/TRT_Digitization 

# for event display
cmt co -r AtlantisJava-09-06-71 graphics/AtlantisJava
cmt co -r JiveXML-00-06-16 graphics/JiveXML 

# for trigger
cmt co -r TrigEventAthenaPool-00-00-20 Trigger/TrigEvent/TrigEventAthenaPool

# for new geometry in digitization
cmt co -r CaloConditions-00-01-09 Calorimeter/CaloConditions
cmt co -r TileGeoModel-00-01-14 TileCalorimeter/TileGeoModel
cmt co -r LArConditionsCommon-00-00-34 LArCalorimeter/LArExample/LArConditionsCommon
#LArRawConditions-01-11-30 LArCalorimeter/LArRawConditions not sure if needed??

# tags need for reco in rel_5 (old) from wiki
cmt co -r MuonTruthAlgs-01-01-11 MuonSpectrometer/MuonTruthAlgs
cmt co -r AthenaCommon-02-04-43-04 Control/AthenaCommon
cmt co -r RecExCond-00-00-18 Reconstruction/RecExample/RecExCond
cmt co -r RecExConfig-00-00-19 Reconstruction/RecExample/RecExConfig
cmt co -r RecExCommon-00-07-52 Reconstruction/RecExample/RecExCommon
cmt co -r TrackToVertex-00-01-00 Reconstruction/RecoTools/TrackToVertex
cmt co -r BTagging-00-03-07 PhysicsAnalysis/JetTagging/JetTagAlgs/BTagging

# needed to fix problem in python module (need to fix by hand before compiling)
# see: https://hypernews.cern.ch/HyperNews/Atlas/get/Prelimbugs/604/1.html
cmt co -r RecExConfig-00-00-19 Reconstruction/RecExample/RecExConfig
# fix here is in: RecExConfig/python/RecFlags.py
#< jobproperties.Rec.RecAlgs.import_JobProperties('RecExConfig.RecAlgs')
#> jobproperties.Rec.RecAlgs.import_JobProperties('RecExConfig.RecAlgsFlags')
  • To run with the groupArea (only compiled for i686-slc4-gcc34-opt (32bits)) you need the following 2 lines in your requirements file
apply_tag oneGroup 
macro ATLAS_GROUP_AREA /afs/cern.ch/atlas/maxidisk/d17/rel_5
  • Then you should do
source /afs/cern.ch/sw/contrib/CMT/v1r20/mgr/setup.csh
cmt config
source setup.csh -tag=rel_5,saved,groupArea
source $AtlasArea/AtlasOfflineRunTime/cmt/setup.csh
echo $CMTPATH | tl
/space2/jboyd/cosmic_sim/saved_rel_5
/afs/cern.ch/atlas/maxidisk/d17/rel_5_saved_groupArea
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasOffline/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasAnalysis/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasSimulation/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasTrigger/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasReconstruction/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/DetCommon/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasEvent/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasConditions/rel_5
/afs/cern.ch/atlas/software/builds/nightlies/copy/AtlasCore/rel_5
/afs/cern.ch/atlas/project/tdaq/DataFlow/releases/tdaq-common/pre-common-01-06-01
/afs/cern.ch/atlas/offline/external/Gaudi/0.16.1.20
/afs/cern.ch/atlas/offline/external/LCGCMT/LCGCMT_50
mkdir run
  • with the groupArea you shouldnt need to check out any tags at all.
 

Digitization in rel_5

  • There is a big bug in 12.5.0 which means that muon system cant write out RDO, this is fixed in nightlies, at th moment we use rel_5 which we can digitize all systems in - but LVL1 doesnt work. (for more info on digitization see SvensWiki
  • Add tags:

Revision 162007-03-02 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 229 to 229
 
G4AtlasApps-00-01-58
TileGeoModel-00-01-13
Added:
>
>
MuonGeoModel-00-03-03
 
  • Simulate with same JO as before but adding

Revision 152007-03-01 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 236 to 236
 .SimLayout.set_Value('ATLAS-CommNF-00-00-00') .MagneticField.set_Off()
Deleted:
<
<
  • Problem - this doesnt seem to give you the TTR, get this warning
Py:JobPropertyContainer:: WARNING WriteTR only works with SimFlags.SimLayout equals to Commissioning-1
Py:JobPropertyContainer:: WARNING WriteTR only works with SimFlags.SimLayout equals to Commissioning-1
 

Digitization in rel_5 with tags

  • Need tags
Line: 257 to 252
 
  • Problems, get the following errros (& crash)
Deleted:
<
<
ComTimeRec ERROR can not retrieve TTR with key CosmicRecord
 <...> MDT_Digitizer ERROR MuonGeoManager does not return valid element for given id! MDT_Digitizer ERROR MuonGeoManager does not return valid element for given id!

Revision 142007-03-01 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 227 to 227
 

Simulation in 12.5.0

  • Need tags
Changed:
<
<
G4AtlasApps-00-01-57
>
>
G4AtlasApps-00-01-58
 TileGeoModel-00-01-13
  • Simulate with same JO as before but adding

Revision 132007-03-01 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 247 to 247
 
CaloConditions-00-01-09
TileGeoModel-00-01-14
Added:
>
>
LArConditionsCommon-00-00-34
 
  • Need to add to digitization JO
Line: 256 to 257
 
  • Problems, get the following errros (& crash)
Deleted:
<
<
LArFebRodMap ERROR getReadoutModuleID: can not find the FEB_ID LArFebRodMap ERROR getReadoutModuleID: can not find the FEB_ID LArFebRodMap ERROR getReadoutModuleID: can not find the FEB_ID <...>
 ComTimeRec ERROR can not retrieve TTR with key CosmicRecord <...> MDT_Digitizer ERROR MuonGeoManager does not return valid element for given id!

Revision 122007-02-28 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Intro

Changed:
<
<
  • For April cosmic commissioning we need simulated cosmics with the detector description matching that of the layout in the pit in April, all the systems present (SCT, TRT, LAr, Tile,
Muon - all barrel only i think)
>
>
  • For April cosmic commissioning we need simulated cosmics with the detector description matching that of the layout in the pit in April, all the systems present (SCT, TRT, LAr, Tile, Muon - all barrel only i think)
 
  • In the end (April) we will need to use 13 for this but for now we will use 12.5.0 (or occassionally the nightlies if they have fixes that we need in them)
  • all of what is done below is done with CMTCONFIG i686-slc4-gcc34-opt (ie. slc4 machine in 32 bit mode)
Line: 150 to 149
 RuntimeError: (file "", line 0) basic_string::_S_construct NULL not valid (C++ exception) athena>
Added:
>
>
  • Problem / confusion with running this LVL1 is that if i do the same thing but with default (not cosmic) configuration i see exactly the same MuCTPi info in the CBNT (which is wrong). I know i am picking up the correct configuration because in the logfiles i see
TriggerMenu          INFO   Muon thresholds:
TriggerMenu          INFO     --> Name:     MU00 Width: 3 bit(s) Value:   4 GeV
TriggerMenu          INFO     --> Name:     MU05 Width: 3 bit(s) Value:   5 GeV
TriggerMenu          INFO     --> Name:     MU06 Width: 3 bit(s) Value:   6 GeV
TriggerMenu          INFO     --> Name:     MU11 Width: 3 bit(s) Value:  11 GeV
TriggerMenu          INFO     --> Name:     MU20 Width: 3 bit(s) Value:  20 GeV
TriggerMenu          INFO     --> Name:     MU40 Width: 3 bit(s) Value:  40 GeV

versus

TriggerMenu          INFO     --> Name:     MU06 Width: 3 bit(s) Value:   6 GeV
TriggerMenu          INFO     --> Name:     MU08 Width: 3 bit(s) Value:   8 GeV
TriggerMenu          INFO     --> Name:     MU10 Width: 3 bit(s) Value:  10 GeV
TriggerMenu          INFO     --> Name:     MU11 Width: 3 bit(s) Value:  11 GeV
TriggerMenu          INFO     --> Name:     MU20 Width: 3 bit(s) Value:  20 GeV
TriggerMenu          INFO     --> Name:     MU40 Width: 3 bit(s) Value:  40 GeV
  • so it makes no sense that the trigger is the same. i have emailed Attila and Sandro Di Mattia about this.
 

To do

  • Need to find a nightly for which everything works (rel_5 looks good but not with trigger) then we can freeze that nightly for longer term use
Line: 203 to 223
 
  • these have the pixels turned off in the way mentioned above.
Added:
>
>

Attempting to use the new GeoTag

Simulation in 12.5.0

  • Need tags
G4AtlasApps-00-01-57
TileGeoModel-00-01-13
  • Simulate with same JO as before but adding
SimFlags.SimLayout.set_Value('ATLAS-Comm-00-00-00')
#SimFlags.SimLayout.set_Value('ATLAS-CommNF-00-00-00')
#SimFlags.MagneticField.set_Off()
  • Problem - this doesnt seem to give you the TTR, get this warning
Py:JobPropertyContainer:: WARNING WriteTR only works with SimFlags.SimLayout equals to Commissioning-1
Py:JobPropertyContainer:: WARNING WriteTR only works with SimFlags.SimLayout equals to Commissioning-1

Digitization in rel_5 with tags

  • Need tags
CaloConditions-00-01-09
TileGeoModel-00-01-14
  • Need to add to digitization JO
LArIdMapFix = 7
DetDescrVersion='ATLAS-Comm-00-00-00'
#DetDescrVersion='ATLAS-CommNF-00-00-00'
  • Problems, get the following errros (& crash)
LArFebRodMap        ERROR  getReadoutModuleID: can not find the FEB_ID
LArFebRodMap        ERROR  getReadoutModuleID: can not find the FEB_ID
LArFebRodMap        ERROR  getReadoutModuleID: can not find the FEB_ID
<...>
ComTimeRec          ERROR  can not retrieve TTR with key CosmicRecord
<...>
MDT_Digitizer       ERROR MuonGeoManager does not return valid element for given id!
MDT_Digitizer       ERROR MuonGeoManager does not return valid element for given id!
MDT_Digitizer       ERROR MuonGeoManager does not return valid element for given id!
<..>
MDT_Digitizer       ERROR MuonGeoManager does not return valid element for given id!
    FATAL 2007-Feb-28 22:58:41 [static void ers::ErrorHandler::SignalHandler::action(int, siginfo_t*, void*) at ers/src/ErrorHandler.cxx:88] Got signal 11 Segmentation fault (invalid memory reference)
        name="Segmentation fault (invalid memory reference)"
        signum="11"
        host = pcatlas006
        user = jboyd (6573)
        process id = 12559
        process wd = /space2/jboyd/cosmic_sim/rel_4/run
  -- JamieBoyd - 15 Feb 2007 \ No newline at end of file

Revision 112007-02-28 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Intro

Changed:
<
<
  • For April cosmic commissioning we need simulated cosmics with the detector description matching that of the layout in the pit in April, all the systems present (SCT, TRT, LAr, Tile, Muon - all barrel only i think)
>
>
  • For April cosmic commissioning we need simulated cosmics with the detector description matching that of the layout in the pit in April, all the systems present (SCT, TRT, LAr, Tile,
Muon - all barrel only i think)
 
  • In the end (April) we will need to use 13 for this but for now we will use 12.5.0 (or occassionally the nightlies if they have fixes that we need in them)
  • all of what is done below is done with CMTCONFIG i686-slc4-gcc34-opt (ie. slc4 machine in 32 bit mode)
Line: 175 to 176
 

Some data to play with

  • I have run the above steps on 4 x 50k events. for each job ~50 of these pass the cosmic filter.
  • the produced RDO data file can be seen on castor at (this contains 216 events out of the 200k simulated events):
Added:
>
>
 /castor/cern.ch/user/j/jboyd/cosmic_1250/rdo_data/digAll_200kevts_rel5.root
Added:
>
>
 
  • and the sim files this was made from are at:
Added:
>
>
 /castor/cern.ch/user/j/jboyd/cosmic_1250/25Feb07_cosmicTrackRecord2/sim.root /castor/cern.ch/user/j/jboyd/cosmic_1250/25Feb07_cosmicTrackRecord3/sim.root /castor/cern.ch/user/j/jboyd/cosmic_1250/25Feb07_cosmicTrackRecord4/sim.root /castor/cern.ch/user/j/jboyd/cosmic_1250/25Feb07_cosmicTrackRecord5/sim.root
Added:
>
>
 
  • from the event display i can see that most things worked in this data.
  • i have asked for the system experts to check the data and Daniela Rebuzzi has checked the Muon data looks ok, Hong has checked the Calo data
Changed:
<
<
>
>
  • i have also produced 2 more files (this time 75k each) one has field off (this means i had the line: MagneticField.set_Off() in the sim joboptions - i'm not sure if this is correctly picked up in digi and reco??) and one has field on.
  • the sim files for these are at
    /castor/cern.ch/user/j/jboyd/cosmic_1250/27Feb07_noPixelSim1/sim.root
    /castor/cern.ch/user/j/jboyd/cosmic_1250/27Feb07_noPixelnoFieldSim/sim.root
    
  • and digi files at:
/castor/cern.ch/user/j/jboyd/cosmic_1250/rdo_data/noPixel.digAll_rel5.root
/castor/cern.ch/user/j/jboyd/cosmic_1250/rdo_data/noPixelnoField.digAll_rel5.root
  • these have the pixels turned off in the way mentioned above.
 

-- JamieBoyd - 15 Feb 2007

Revision 102007-02-27 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 36 to 36
 
  • There is a big bug in 12.5.0 which means that muon system cant write out RDO, this is fixed in nightlies, at th moment we use rel_5 which we can digitize all systems in - but LVL1 doesnt work. (for more info on digitization see SvensWiki
  • Add tags:
  • cmt co -r SCT_Digitization-00-09-24 InnerDetector/InDetDigitization/SCT_Digitization
Changed:
<
<
  • cmt co -r TRT_Digitization-00-08-26 InnerDetector/InDetDigitization/TRT_Digitization
>
>
  • cmt co -r TRT_Digitization-00-08-29 InnerDetector/InDetDigitization/TRT_Digitization
 
  • (see this link for more info on trt digitization)
  • use job options copied from: /afs/cern.ch/user/j/jboyd/public/cosmicSim/DigitCosmic.py
Added:
>
>

Digitization in later rel (rel_0)

  • this seems to work ok with the above TRT and SCT digitization tags and same JO as for rel_5
 

Reco

  • To validate the simulation need to reconstruct and look in event display
  • Do this in rel_5 as well
  • Setup release (add tags) from this wiki
  • to use event display need to also add tags:
  • cmt co -r AtlantisJava-09-06-71 graphics/AtlantisJava
Changed:
<
<
  • cmt co -r JiveXML-00-06-15 graphics/JiveXML
>
>
  • cmt co -r JiveXML-00-06-16 graphics/JiveXML
 
  • run with joboptions taken from: /afs/cern.ch/user/j/jboyd/public/cosmicSim/rec_rel5.py
  • doing all of this gives you Jive files you can look at in atlantis - and they look pretty like this
Added:
>
>

Reco in rel_0

  • this is a pain. does work but need lost of hacks.
  • need to follow the fix in this hn posting
  • need to turn truth offto get rid of this crash:
ApplicationMgr                                       INFO Successfully loaded modules : MuonTruthAlgs
Shortened traceback (most recent user call last):
  File "/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_0/InstallArea/share/bin/athena.py", line 351, in ?
    include( script )
  File "./rec_rel0.py", line 42, in ?
    include ("RecExCommon/RecExCommon_topOptions.py")
  File "/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasReconstruction/rel_0/InstallArea/jobOptions/RecExCommon/RecExCommon_topOptions.py", line 516, in ?
    include ("RecExCommon/CombinedRec_config.py")
  File "/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasReconstruction/rel_0/InstallArea/jobOptions/RecExCommon/CombinedRec_config.py", line 95, in ?
    include("MuonTruthAlgs/MuonTruthAlgs_jobOptions.py")
  File "/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasReconstruction/rel_0/InstallArea/jobOptions/MuonTruthAlgs/MuonTruthAlgs_jobOptions.py", line 5, in ?
    include ("TrkTruthCreatorTools/TrackTruthMaker.py")
IncludeError: include file TrkTruthCreatorTools/TrackTruthMaker.py can not be found
  • need to turn off muon algorithms: doMoore=False, doMuGirl=False, doStaco=False to get rid of this crash:
CBNT_Muon                                            INFO ================================
CBNT_Muon                                            INFO declare variables for Muonboy AAN ntuple block
CBNT_MboyESD                                         INFO declare variables for MboyESD AAN ntuple block
MooMakeNtuplePulls                                   INFO Declare variables for Moore RECO/KINE ntuple
FATAL 2007-Feb-27 14:25:23 [static void ers::ErrorHandler::SignalHandler::action(int, siginfo_t*, void*) at ers/src/ErrorHandler.cxx:88] Got signal 11 Segmentation fault (invalid memory reference)
        name="Segmentation fault (invalid memory reference)"
        signum="11"
        host = pcatlas007
        user = jboyd (6573)
        process id = 5126
        process wd = /space2/jboyd/cosmic_sim/rel0/run
  • need to get rid of lines:
InDetPRD_MultiTruthMaker = PRD_MultiTruthMaker (name = 'InDetPRD_MultiTruthMaker')
InDetPRD_MultiTruthMaker.Enable=False
  • in JO as truth being disabled means they wont work
  • then need to get rid of truth from Jive if you wanna run with event display.
 

Problems

  • Main problem is running digitization with trigger on (DetFlags.LVL1_setOn()) causes a crash. i have got round this by adding the line:
DetFlags.simulateLVL1.Calo_setOff() to the digitization joboptions

Revision 92007-02-27 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 126 to 126
 
  • Need to check with Hong that the LAr conditions Richard copied over are being used correctly when i am doing sim / dig
  • Add run number to simulated runs (could be the seed used for now??)
Added:
>
>
  • Can we add the TRT and SCT digitzation tags to the development nightlies? (ask Thjis & Esben)
 

Some data to play with

  • I have run the above steps on 4 x 50k events. for each job ~50 of these pass the cosmic filter.

Revision 82007-02-27 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 114 to 114
 
  • Need to use Thjis's way of getting truth in Atlantis and CBNT (for truth track parameters)
  • Need to implement tighter filter (TRT barrel) in cosmic generation (Else is looking into this)
  • Need to evaluate expected rate for cosmics passing the filter (Else is looking into this)
Added:
>
>
  • Should turn pixels off in simulation and digitization, recipe from Arshak
During simulation Pixel is turned off: DetFlags.pixel_setOff() (see InDetCosmicSim_G4AtlasApps.py).
Then during digitization we keep Pixel as detector (DO NOT do DetFlags.pixel_setOff()) but we just do not digitize it putting
DetFlags.digitize.pixel_setOff() (see InDetCosmicDig_jobOptions.py.
  • When running with new geom tag need this line at top of jobOptions (from Hong)
LArIdMapFix = 7
  • Need to check with Hong that the LAr conditions Richard copied over are being used correctly when i am doing sim / dig
  • Add run number to simulated runs (could be the seed used for now??)
 

Some data to play with

Changed:
<
<
  • I have run the above steps on 50k events. 57 of these pass the cosmic filter.
  • the produced RDO data file can be seen on castor at:
/castor/cern.ch/user/j/jboyd/cosmic_1250/rdo_data/digAll_rel5_calotest_ttr.root
  • and the sim file this was made from is at:
>
>
  • I have run the above steps on 4 x 50k events. for each job ~50 of these pass the cosmic filter.
  • the produced RDO data file can be seen on castor at (this contains 216 events out of the 200k simulated events):
/castor/cern.ch/user/j/jboyd/cosmic_1250/rdo_data/digAll_200kevts_rel5.root
  • and the sim files this was made from are at:
 /castor/cern.ch/user/j/jboyd/cosmic_1250/25Feb07_cosmicTrackRecord2/sim.root
Added:
>
>
/castor/cern.ch/user/j/jboyd/cosmic_1250/25Feb07_cosmicTrackRecord3/sim.root /castor/cern.ch/user/j/jboyd/cosmic_1250/25Feb07_cosmicTrackRecord4/sim.root /castor/cern.ch/user/j/jboyd/cosmic_1250/25Feb07_cosmicTrackRecord5/sim.root
 
  • from the event display i can see that most things worked in this data.
Changed:
<
<
  • i have asked for the system experts to check the data and Daniela Rebuzzi has checked the Muon data looks ok, Hong is checking the Calo data
  • i will submit some jobs now to increase the stats for this.
>
>
  • i have asked for the system experts to check the data and Daniela Rebuzzi has checked the Muon data looks ok, Hong has checked the Calo data
 

Revision 72007-02-27 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 63 to 63
 TriggerFlags.doLVL2 =False TriggerFlags.readLVL1_setOn
Changed:
<
<
  • in my reco joboptions. when i do this i get the crash:
>
>
  • in my reco joboptions. when i do this i get a crash due to the fact TrigEventAthenaPoolPoolCnv didnt compil in the nightlies.
  • i got round this by adding the tag:
cmt co -r TrigEventAthenaPool-00-00-20 Trigger/TrigEvent/TrigEventAthenaPool
  • also need to make the fix described in this hn posting
  • then can run reco with the additional settings:
 
Changed:
<
<
Py:Athena INFO including file "MuonEventAthenaPool/MuonEventAthenaPool_joboptions.py" ApplicationMgr INFO Successfully loaded modules : MuonEventAthenaPoolPoolCnv
>
>
doTrigger = True TrigT1ConfigVersion = "CSC-02-900GeV" # specify LVL1 config HLTconfigVersion = "CSC-02-900GeV" # specify HLT config include ( "TriggerRelease/TriggerFlags.py" ) TriggerFlags.doEF=False TriggerFlags.doLVL2 =False TriggerFlags.readLVL1_setOn doJiveXML=False
  • and this gives you a CBNTAA ntuple with Mu ROI info in it:
OBJ: TLeafI     nMuCTPI_ROI     nMuCTPI_ROI
OBJ: TLeafElement       muCTPI_ROI      muCTPI_ROI
  • the first of these tells you how many ROIs were found in the event and the second tells you which threshold this ROI passed (to decode the threshold word you need a special tool i have from Atilla)
  • At the moment cant run the above with JiveXML or get this crash:
Py:Athena            INFO including file "JiveXML/DataTypes_Trig.py"
System::doLoad: ERROR: /afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasTrigger/rel_5/InstallArea/i686-slc4-gcc34-opt/lib/libTrigJiveXML.so: undefined symbol: _ZTIN7TrigDec12TrigDecisionE
DllClassManager                                     ERROR Could not load module TrigJiveXML
 Shortened traceback (most recent user call last): File "/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_5/InstallArea/share/bin/athena.py", line 351, in ? include( script ) File "./rec_rel5.py", line 38, in ? include ("RecExCommon/RecExCommon_topOptions.py")
Changed:
<
<
File "/space2/jboyd/cosmic_sim/rel_4/InstallArea/jobOptions/RecExCommon/RecExCommon_topOptions.py", line 456, in ? include ("TrigEventAthenaPool/TrigEventAthenaPool_joboptions.py") IncludeError: include file TrigEventAthenaPool/TrigEventAthenaPool_joboptions.py can not be found
/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_5/InstallArea/include/CLIDSvc/tools/ClassID_traits.h: In static member function `static const CLID& ClassID_traits<T>::ID() [with T = TrigJpsi]':
/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_5/InstallArea/include/AthenaPoolCnvSvc/T_AthenaPoolCnv.icc:40:   instantiated from `static const CLID& T_AthenaPoolCnv<T>::classID() [with T = TrigJpsi]'
/afs/cern.ch/atlas/offline/external/Gaudi/0.16.1.20/GaudiKernel/v18r9p1/GaudiKernel/CnvFactory.h:125:   instantiated from `const CLID& CnvFactory<ConcreteConverter>::objType() const [with ConcreteConverter = TrigJpsiCnv]'
../pool/TrigEventAthenaPoolCnv_entries.cxx:218:   instantiated from here
/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_5/InstallArea/include/CLIDSvc/tools/ClassID_traits.h:73: error: invalid application of `sizeof' to incomplete type `ERROR_you_should_use_the_CLASS_DEF_macro_to_define_CLID_and_VERSION< false>'
/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_5/InstallArea/include/CLIDSvc/tools/ClassID_traits.h:74: error: `classID' is not a member of `TrigJpsi'
gmake[3]: *** [../i686-slc4-gcc34-opt/TrigEventAthenaPoolCnv_entries.o] Error 1
gmake[2]: *** [TrigEventAthenaPoolPoolCnv] Error 2
gmake[1]: *** [common_target] Error 2
gmake: *** [check_config] Error 2
104.933u 28.177s 3:12.65 69.0%  0+0k 0+0io 0pf+0w
>
>
File "/space2/jboyd/cosmic_sim/rel_4/InstallArea/jobOptions/RecExCommon/RecExCommon_topOptions.py", line 579, in ? include ( "RecExCommon/JiveXML_config.py") File "/space2/jboyd/cosmic_sim/rel_4/InstallArea/jobOptions/RecExCommon/JiveXML_config.py", line 18, in ? include ( "JiveXML/DataTypes_Trig.py" ) File "/space2/jboyd/cosmic_sim/rel_4/InstallArea/jobOptions/JiveXML/DataTypes_Trig.py", line 17, in ? theApp.Dlls += [ "TrigJiveXML"] File "/afs/cern.ch/atlas/offline/external/Gaudi/0.16.1.20/GaudiPython/v8r7/python/gaudimodule.py", line 163, in setattr prop.setValue(v) RuntimeError: (file "", line 0) basic_string::_S_construct NULL not valid (C++ exception) athena>
 
Changed:
<
<
  • this is the latest tag (& HEAD version) so not sure what else to try here??
>
>
 

To do

  • Need to find a nightly for which everything works (rel_5 looks good but not with trigger) then we can freeze that nightly for longer term use
  • Need to try with new geometry tag - what do i actually need to do to be using this?

Revision 62007-02-26 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Changed:
<
<
>
>
 

Intro

  • For April cosmic commissioning we need simulated cosmics with the detector description matching that of the layout in the pit in April, all the systems present (SCT, TRT, LAr, Tile, Muon - all barrel only i think)
  • In the end (April) we will need to use 13 for this but for now we will use 12.5.0 (or occassionally the nightlies if they have fixes that we need in them)
Line: 48 to 48
 
  • cmt co -r AtlantisJava-09-06-71 graphics/AtlantisJava
  • cmt co -r JiveXML-00-06-15 graphics/JiveXML
  • run with joboptions taken from: /afs/cern.ch/user/j/jboyd/public/cosmicSim/rec_rel5.py
Deleted:
<
<
  • currently get this crash when running reco in 12.5.0 with doJiveXML=True
 
  • doing all of this gives you Jive files you can look at in atlantis - and they look pretty like this

Problems

Changed:
<
<
  • Main problem is running digitization with trigger on (DetFlags.LVL1_setOn()) gives this crash:
>
>
  • Main problem is running digitization with trigger on (DetFlags.LVL1_setOn()) causes a crash. i have got round this by adding the line:
DetFlags.simulateLVL1.Calo_setOff() to the digitization joboptions
  • This runs the RPC LVL1 simulation (with correct config - i checked) but there is a problem retrieving this info from the RDO in reconstruction. i tried this adding the lines:
 
Changed:
<
<
ttl1maker1 WARNING Found a hit out of the timing window, hitTime= 343.57 with more than 10 MeV: hitEnergy= 10.1055 MeV ttl1maker1 VERBOSE Out of time energy = 147.738 MeV represents inf % of in time energy ttl1maker1 WARNING Out of time energy = 147.738 MeV larger than 1% of in time energy = 0 MeV ttl1maker1 DEBUG Starting loop on Trigger Towers ttl1maker1 DEBUG number of created TTL1s (Em, Had) = 3584 , 1664 TileHitToTTL1 DEBUG Executing TileHitToTTL1 TagInfoMgr DEBUG updateAddress - fill TagInfo TagInfoMgr DEBUG Found CLID: 2923 - key: TileHitCnt NOT TagInfo - do nothing StoreGateSvc WARNING retrieve(const): No valid proxy for object TileHitCnt of type TileHitContainer(CLID 2923) FATAL 2007-Feb-26 12:21:38 [static void ers::ErrorHandler::SignalHandler::action(int, siginfo_t*, void*) at ers/src/ErrorHandler.cxx:88] Got signal 11 Segmentation fault (invalid memory reference) name="Segmentation fault (invalid memory reference)" signum="11" host = pcatlas006 user = jboyd (6573) process id = 8129 process wd = /space2/jboyd/cosmic_sim/rel_4/run
>
>
doTrigger = True TrigT1ConfigVersion = "CSC-02-900GeV" # specify LVL1 config HLTconfigVersion = "CSC-02-900GeV" # specify HLT config include ( "TriggerRelease/TriggerFlags.py" ) TriggerFlags.doEF=False TriggerFlags.doLVL2 =False TriggerFlags.readLVL1_setOn
 
Changed:
<
<
  • comparing the logfile with and without LVL1 on shows a couple of potentially interesting differences (reasons for this crash?).
  • with LVL1 on
>
>
  • in my reco joboptions. when i do this i get the crash:
 
Changed:
<
<
Py:Athena INFO including file "Digitization/LVL1Digitization.py" Py:Athena INFO including file "TrigT1EventAthenaPool/TrigT1EventAthenaPool_joboptions.py" ApplicationMgr INFO Successfully loaded modules : TrigT1EventAthenaPoolPoolCnv Py:Athena INFO including file "CaloRec/CaloCellMakerFromRaw_MCG4_jobOptions.py" ApplicationMgr INFO Successfully loaded modules : CaloRec Py:Athena INFO including file "LArL1Sim/LArL1Sim_G4_jobOptions.py" ApplicationMgr INFO Successfully loaded modules : LArL1Sim Py:Athena INFO including file "TileSimAlgs/TileTTL1_jobOptions.py" ApplicationMgr INFO Successfully loaded modules : TileSimAlgs Py:Athena INFO including file "TrigT1Config/TrigT1ConfigJobOptions.py" ApplicationMgr INFO Successfully loaded modules : TrigT1ConfigATLAS-CSC-00-00-00 Py:Athena INFO including file "TrigT1Config/L1Sim_jobOptions.py" Py:Athena INFO including file "TrigT1RPCsteering/jobOfragment_TrigT1RPCsteering.py" ApplicationMgr INFO Successfully loaded modules : TrigT1RPCsteering Py:Athena INFO including file "TrigT1TGC/TrigT1TGCJobOptions.py" ApplicationMgr INFO Successfully loaded modules : TrigT1TGC ApplicationMgr INFO Successfully loaded modules : Py:Athena INFO including file "TrigT1Muctpi/TrigT1Muctpi_jobOptions.py" ApplicationMgr INFO Successfully loaded modules : TrigT1Muctpi Py:Athena INFO including file "TrigT1Calo/TrigT1CaloJobOptions.py" ApplicationMgr INFO Successfully loaded modules : TrigT1Calo Py:Athena INFO including file "TrigT1CTP/TrigT1CTPJobOptions.py" ApplicationMgr INFO Successfully loaded modules : TrigT1CTP Py:Athena INFO including file "TrigT1RoIB/TrigT1RoIBJobOptions.py" ApplicationMgr INFO Successfully loaded modules : TrigT1RoIB ApplicationMgr INFO Successfully loaded modules : Py:Athena INFO including file "TileSimAlgs/TileDigitizationCosmics_jobOptions.py" ApplicationMgr INFO Successfully loaded modules : ApplicationMgr INFO Successfully loaded modules : TileRecUtils
>
>
Py:Athena INFO including file "MuonEventAthenaPool/MuonEventAthenaPool_joboptions.py" ApplicationMgr INFO Successfully loaded modules : MuonEventAthenaPoolPoolCnv Shortened traceback (most recent user call last): File "/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_5/InstallArea/share/bin/athena.py", line 351, in ? include( script ) File "./rec_rel5.py", line 38, in ? include ("RecExCommon/RecExCommon_topOptions.py") File "/space2/jboyd/cosmic_sim/rel_4/InstallArea/jobOptions/RecExCommon/RecExCommon_topOptions.py", line 456, in ? include ("TrigEventAthenaPool/TrigEventAthenaPool_joboptions.py") IncludeError: include file TrigEventAthenaPool/TrigEventAthenaPool_joboptions.py can not be found
 
Changed:
<
<
  • without:
>
>
 
Changed:
<
<
ApplicationMgr INFO Successfully loaded modules : Py:Athena INFO including file "TileSimAlgs/TileDigitizationCosmics_jobOptions.py" ApplicationMgr INFO Successfully loaded modules : TileSimAlgs ApplicationMgr INFO Successfully loaded modules : TileRecUtils
>
>
/afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_5/InstallArea/include/CLIDSvc/tools/ClassID_traits.h: In static member function `static const CLID& ClassID_traits::ID() [with T = TrigJpsi]': /afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_5/InstallArea/include/AthenaPoolCnvSvc/T_AthenaPoolCnv.icc:40: instantiated from `static const CLID& T_AthenaPoolCnv::classID() [with T = TrigJpsi]' /afs/cern.ch/atlas/offline/external/Gaudi/0.16.1.20/GaudiKernel/v18r9p1/GaudiKernel/CnvFactory.h:125: instantiated from `const CLID& CnvFactory::objType() const [with ConcreteConverter = TrigJpsiCnv]' ../pool/TrigEventAthenaPoolCnv_entries.cxx:218: instantiated from here /afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_5/InstallArea/include/CLIDSvc/tools/ClassID_traits.h:73: error: invalid application of `sizeof' to incomplete type `ERROR_you_should_use_the_CLASS_DEF_macro_to_define_CLID_and_VERSION< false>' /afs/cern.ch/atlas/software/builds/nightlies/dev/AtlasCore/rel_5/InstallArea/include/CLIDSvc/tools/ClassID_traits.h:74: error: `classID' is not a member of `TrigJpsi' gmake[3]: * [../i686-slc4-gcc34-opt/TrigEventAthenaPoolCnv_entries.o] Error 1 gmake[2]: * [TrigEventAthenaPoolPoolCnv] Error 2 gmake[1]: * [common_target] Error 2 gmake: * [check_config] Error 2 104.933u 28.177s 3:12.65 69.0% 0+0k 0+0io 0pf+0w
 
Changed:
<
<
  • so module TileSimAlgs isnt loaded with LVL1 on - is this why i get the crash??
>
>
  • this is the latest tag (& HEAD version) so not sure what else to try here??
 

To do

  • Need to find a nightly for which everything works (rel_5 looks good but not with trigger) then we can freeze that nightly for longer term use
  • Need to try with new geometry tag - what do i actually need to do to be using this?

Revision 52007-02-26 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Intro

  • For April cosmic commissioning we need simulated cosmics with the detector description matching that of the layout in the pit in April, all the systems present (SCT, TRT, LAr, Tile, Muon - all barrel only i think)
  • In the end (April) we will need to use 13 for this but for now we will use 12.5.0 (or occassionally the nightlies if they have fixes that we need in them)
Added:
>
>
  • all of what is done below is done with CMTCONFIG i686-slc4-gcc34-opt (ie. slc4 machine in 32 bit mode)
 

Simulation in 12.5.0

  • set up 12.5.0 release (remember to use 32 bit mode source setup.csh -tag=12.5.0,32)
Line: 28 to 29
 
SimFlags.WriteTR.set_Value('testTR20.root')
Added:
>
>
  • a jobOption you can run with the above change can be found at: /afs/cern.ch/user/j/jboyd/public/cosmicSim/jobOptions.G4Cosmic_WriteTTR_custom.py
 
Changed:
<
<

Digitization in 12.5.0 (or rel_0)

  • There is a big bug in 12.5.0 which means that muon system cant write out RDO, this is fixed in rel_0, but (it seems) there is a bug in rel_0 with Calo so at the moment we cant digitize all systems in 1 rel (which is a pain!) (for more info on digitization see SvensWiki

In 12.5.0

  • set up 12.5.0 release (or use same one as for simulation)
>
>

Digitization in rel_5

  • There is a big bug in 12.5.0 which means that muon system cant write out RDO, this is fixed in nightlies, at th moment we use rel_5 which we can digitize all systems in - but LVL1 doesnt work. (for more info on digitization see SvensWiki
 
  • Add tags:
Deleted:
<
<
  • cmt co -r Digitization-00-09-01 Simulation/Digitization (see above)
  • cmt co -r LArCondUtils-00-01-07 LArCalorimeter/LArCondUtils (see above)
  • cmt co -r EventSelectorAthenaPool-00-04-17 Database/AthenaPOOL/EventSelectorAthenaPool (specific problem in this release)
 
  • cmt co -r SCT_Digitization-00-09-24 InnerDetector/InDetDigitization/SCT_Digitization
Changed:
<
<
  • TRT_Digitization tag ?? (Esben??)
  • need to add the following lines to jobOptions:
##################################################################
# digitization options for ID cosmics
# mask off SCT endcap channels
Algorithm("SCT_Digitization").BarrelOnly=True
Algorithm("SCT_Digitization").FixedTime=10
#Algorithm("TRTDigitization").Override_timeOffsetCalcVertexY=100000.0
# the above line is a hack and wont work for cosmics generated with large x,z on surface - awaiting better fix - jamie

TRTDigitization = Algorithm("TRTDigitization")
GeoModelSvc.TRT_VersionOverride="TRT-Cosmics-Pit-01"
TRTDigitization.PrintOverrideableSettings = True
TRTDigitization.PrintDigSettings = True
TRTDigitization.Override_killEndCap = 1
TRTDigitization.Override_cosmicFlag= 0
TRTDigitization.Override_timeCorrection = 0 
#TRTDigitization.Override_killEndCap = True
  • I will come up with some job options which do this as well as adding in Calo cosmic joboptions needed

In Rel_0

  • Same as above but need to have turn off calo.
>
>
  • cmt co -r TRT_Digitization-00-08-26 InnerDetector/InDetDigitization/TRT_Digitization
  • (see this link for more info on trt digitization)
  • use job options copied from: /afs/cern.ch/user/j/jboyd/public/cosmicSim/DigitCosmic.py
 

Reco

  • To validate the simulation need to reconstruct and look in event display
Added:
>
>
  • Do this in rel_5 as well
  • Setup release (add tags) from this wiki
  • to use event display need to also add tags:
  • cmt co -r AtlantisJava-09-06-71 graphics/AtlantisJava
  • cmt co -r JiveXML-00-06-15 graphics/JiveXML
  • run with joboptions taken from: /afs/cern.ch/user/j/jboyd/public/cosmicSim/rec_rel5.py
 
  • currently get this crash when running reco in 12.5.0 with doJiveXML=True
Added:
>
>
  • doing all of this gives you Jive files you can look at in atlantis - and they look pretty like this

Problems

  • Main problem is running digitization with trigger on (DetFlags.LVL1_setOn()) gives this crash:
 
Changed:
<
<
FATAL 2007-Feb-15 20:10:49 [ at ers/src/ErrorH andler.cxx:88] "Got signal 11 Segmentation fault (invalid memory reference)"
>
>
ttl1maker1 WARNING Found a hit out of the timing window, hitTime= 343.57 with more than 10 MeV: hitEnergy= 10.1055 MeV ttl1maker1 VERBOSE Out of time energy = 147.738 MeV represents inf % of in time energy ttl1maker1 WARNING Out of time energy = 147.738 MeV larger than 1% of in time energy = 0 MeV ttl1maker1 DEBUG Starting loop on Trigger Towers ttl1maker1 DEBUG number of created TTL1s (Em, Had) = 3584 , 1664 TileHitToTTL1 DEBUG Executing TileHitToTTL1 TagInfoMgr DEBUG updateAddress - fill TagInfo TagInfoMgr DEBUG Found CLID: 2923 - key: TileHitCnt NOT TagInfo - do nothing StoreGateSvc WARNING retrieve(const): No valid proxy for object TileHitCnt of type TileHitContainer(CLID 2923) FATAL 2007-Feb-26 12:21:38 [static void ers::ErrorHandler::SignalHandler::action(int, siginfo_t*, void*) at ers/src/ErrorHandler.cxx:88] Got signal 11 Segmentation fault (invalid memory reference)
  name="Segmentation fault (invalid memory reference)" signum="11"
Changed:
<
<
host = pcatlas003
>
>
host = pcatlas006
  user = jboyd (6573)
Changed:
<
<
process id = 29412 process wd = /space2/jboyd/cosmic_sim/12.5.0/Reconstruction/RecExample/RecExCommon/run #0 ers::ErrorHandler::SignalHandler::action(int, siginfo*, void*)() from /afs/cern.ch/atlas/project/tdaq/cmt/tdaq-c ommon/tdaq-common-01-04-00_09/installed/i686-slc3-gcc323-opt/lib/libers.so #1 /lib/tls/libpthread.so.0 [0x3bcf80] #2 JiveXML::DataRetriever::retrieveAll(JiveXML::XMLWriter*)() from /afs/cern.ch/atlas/software/builds/AtlasEvent/2. 5.0/InstallArea/i686-slc3-gcc323-opt/lib/libJiveXMLLib.so #3 virtual thunk to JiveXML::DataRetriever::retrieveAll(JiveXML::XMLWriter*)() from /afs/cern.ch/atlas/software/bui lds/AtlasEvent/2.5.0/InstallArea/i686-slc3-gcc323-opt/lib/libJiveXMLLib.so #4 EventData2XML::execute()() from /afs/cern.ch/atlas/software/builds/AtlasEvent/2.5.0/InstallArea/i686-slc3-gcc323 -opt/lib/libJiveXMLLib.so #5 JiveXML::AlgoJiveXML::execute()() from /afs/cern.ch/atlas/software/builds/AtlasEvent/2.5.0/InstallArea/i686-slc3 -gcc323-opt/lib/libJiveXMLLib.so #6 Algorithm::sysExecute()() from /afs/cern.ch/atlas/offline/external/Gaudi/0.16.1.19/InstallArea/i686-slc3-gcc323- opt/lib/libGaudiKernel.so <...>
>
>
process id = 8129 process wd = /space2/jboyd/cosmic_sim/rel_4/run

  • comparing the logfile with and without LVL1 on shows a couple of potentially interesting differences (reasons for this crash?).
  • with LVL1 on
Py:Athena            INFO including file "Digitization/LVL1Digitization.py"
Py:Athena            INFO including file "TrigT1EventAthenaPool/TrigT1EventAthenaPool_joboptions.py"
ApplicationMgr       INFO Successfully loaded modules : TrigT1EventAthenaPoolPoolCnv
Py:Athena            INFO including file "CaloRec/CaloCellMakerFromRaw_MCG4_jobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : CaloRec
Py:Athena            INFO including file "LArL1Sim/LArL1Sim_G4_jobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : LArL1Sim
Py:Athena            INFO including file "TileSimAlgs/TileTTL1_jobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : TileSimAlgs
Py:Athena            INFO including file "TrigT1Config/TrigT1ConfigJobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : TrigT1ConfigATLAS-CSC-00-00-00
Py:Athena            INFO including file "TrigT1Config/L1Sim_jobOptions.py"
Py:Athena            INFO including file "TrigT1RPCsteering/jobOfragment_TrigT1RPCsteering.py"
ApplicationMgr       INFO Successfully loaded modules : TrigT1RPCsteering
Py:Athena            INFO including file "TrigT1TGC/TrigT1TGCJobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : TrigT1TGC
ApplicationMgr       INFO Successfully loaded modules : 
Py:Athena            INFO including file "TrigT1Muctpi/TrigT1Muctpi_jobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : TrigT1Muctpi
Py:Athena            INFO including file "TrigT1Calo/TrigT1CaloJobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : TrigT1Calo
Py:Athena            INFO including file "TrigT1CTP/TrigT1CTPJobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : TrigT1CTP
Py:Athena            INFO including file "TrigT1RoIB/TrigT1RoIBJobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : TrigT1RoIB
ApplicationMgr       INFO Successfully loaded modules : 
Py:Athena            INFO including file "TileSimAlgs/TileDigitizationCosmics_jobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : 
ApplicationMgr       INFO Successfully loaded modules : TileRecUtils
  • without:
ApplicationMgr       INFO Successfully loaded modules : 
Py:Athena            INFO including file "TileSimAlgs/TileDigitizationCosmics_jobOptions.py"
ApplicationMgr       INFO Successfully loaded modules : TileSimAlgs
ApplicationMgr       INFO Successfully loaded modules : TileRecUtils
 
Changed:
<
<
>
>
  • so module TileSimAlgs isnt loaded with LVL1 on - is this why i get the crash??

To do

  • Need to find a nightly for which everything works (rel_5 looks good but not with trigger) then we can freeze that nightly for longer term use
  • Need to try with new geometry tag - what do i actually need to do to be using this?
  • Need to get LVL1 RPC trigger working (with config: TrigT1ConfigVersion = "CSC-02-900GeV" )
  • Need to integrate in Tile trigger simulation (into digitization) - Need Jose to store the output of this in the RDO file for use in reco
  • Need to use Thjis's way of getting truth in Atlantis and CBNT (for truth track parameters)
  • Need to implement tighter filter (TRT barrel) in cosmic generation (Else is looking into this)
  • Need to evaluate expected rate for cosmics passing the filter (Else is looking into this)

Some data to play with

  • I have run the above steps on 50k events. 57 of these pass the cosmic filter.
  • the produced RDO data file can be seen on castor at:
/castor/cern.ch/user/j/jboyd/cosmic_1250/rdo_data/digAll_rel5_calotest_ttr.root
  • and the sim file this was made from is at:
/castor/cern.ch/user/j/jboyd/cosmic_1250/25Feb07_cosmicTrackRecord2/sim.root
  • from the event display i can see that most things worked in this data.
  • i have asked for the system experts to check the data and Daniela Rebuzzi has checked the Muon data looks ok, Hong is checking the Calo data
  • i will submit some jobs now to increase the stats for this.
 

-- JamieBoyd - 15 Feb 2007

Revision 42007-02-16 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 12 to 12
 
  • cd Simulation/G4Extensions/G4CosmicFilter/cmt;cmt config;gmake;cd -
  • cmt co -r RecExCommon-00-07-41 Reconstruction/RecExample/RecExCommon
  • cd Reconstruction/RecExample/RecExCommon/cmt; cmt config; gmake; cd ../run
Added:
>
>
  • Add private tag of G4MuonSD (will be in cvs very soon i hope)
   mkdir MuonSpectrometer
   cp /afs/cern.ch/user/j/jboyd/scratch0/12031/MuonG4SD.tar.gz MuonSpectrometer/
   cd MuonSpectrometer
   tar -zxf MuonG4SD.tar.gz
   cd ..
 
  • source /afs/cern.ch/atlas/software/builds/AtlasOffline/12.5.0//AtlasOfflineRunTime/cmt/setup.csh
  • cp /afs/cern.ch/user/j/jboyd/public/else/*.py .
  • athena -c "Seed='1234';directory='.';" jobOptions.G4Cosmic.py >& log &
Line: 38 to 46
 # mask off SCT endcap channels Algorithm("SCT_Digitization").BarrelOnly=True Algorithm("SCT_Digitization").FixedTime=10
Changed:
<
<
Algorithm("TRTDigitization").Override_timeOffsetCalcVertexY=100000.0
>
>
#Algorithm("TRTDigitization").Override_timeOffsetCalcVertexY=100000.0
 # the above line is a hack and wont work for cosmics generated with large x,z on surface - awaiting better fix - jamie
Deleted:
<
<
Algorithm("TRTDigitization").PrintOverrideableSettings = True Algorithm("TRTDigitization").PrintDigSettings = True
 
Changed:
<
<
TRTDigitization.Override_killEndCap = True
>
>
TRTDigitization = Algorithm("TRTDigitization") GeoModelSvc.TRT_VersionOverride="TRT-Cosmics-Pit-01" PrintOverrideableSettings = True PrintDigSettings = True TRTDigitization.Override_killEndCap = 1 TRTDigitization.Override_cosmicFlag= 0 TRTDigitization.Override_timeCorrection = 0 #TRTDigitization.Override_killEndCap = True
 
  • I will come up with some job options which do this as well as adding in Calo cosmic joboptions needed

Revision 32007-02-15 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 16 to 16
 
  • cp /afs/cern.ch/user/j/jboyd/public/else/*.py .
  • athena -c "Seed='1234';directory='.';" jobOptions.G4Cosmic.py >& log &
  • you can change the cosmic generator settings in myConfig.py, and you can change the volume used to filter on in Simulation/G4Extensions/G4CosmicFilter/share/G4CosmicFilter.py
Added:
>
>
  • need to add special lines to jobOptions (for TRT digitization):
SimFlags.WriteTR.set_Value('testTR20.root')
 

Digitization in 12.5.0 (or rel_0)

  • There is a big bug in 12.5.0 which means that muon system cant write out RDO, this is fixed in rel_0, but (it seems) there is a bug in rel_0 with Calo so at the moment we cant digitize all systems in 1 rel (which is a pain!) (for more info on digitization see SvensWiki

In 12.5.0

Line: 25 to 30
 
Changed:
<
<
>
>
  • TRT_Digitization tag ?? (Esben??)
 
  • need to add the following lines to jobOptions:
Changed:
<
<
>
>
 ################################################################## # digitization options for ID cosmics # mask off SCT endcap channels
Line: 37 to 42
 # the above line is a hack and wont work for cosmics generated with large x,z on surface - awaiting better fix - jamie Algorithm("TRTDigitization").PrintOverrideableSettings = True Algorithm("TRTDigitization").PrintDigSettings = True
Changed:
<
<
<\verbose>
>
>
TRTDigitization.Override_killEndCap = True
 
  • I will come up with some job options which do this as well as adding in Calo cosmic joboptions needed

In Rel_0

Changed:
<
<
  • Same as above but need to have:
>
>
  • Same as above but need to have turn off calo.
 
Added:
>
>

Reco

  • To validate the simulation need to reconstruct and look in event display
  • currently get this crash when running reco in 12.5.0 with doJiveXML=True
FATAL 2007-Feb-15 20:10:49 [<static void ers::ErrorHandler::SignalHandler::action(int, siginfo_t*, void*)> at ers/src/ErrorH
andler.cxx:88] "Got signal 11 Segmentation fault (invalid memory reference)"
        name="Segmentation fault (invalid memory reference)" 
        signum="11" 
        host = pcatlas003
        user = jboyd (6573)
        process id = 29412
        process wd = /space2/jboyd/cosmic_sim/12.5.0/Reconstruction/RecExample/RecExCommon/run
        #0  ers::ErrorHandler::SignalHandler::action(int, siginfo*, void*)() from /afs/cern.ch/atlas/project/tdaq/cmt/tdaq-c
ommon/tdaq-common-01-04-00_09/installed/i686-slc3-gcc323-opt/lib/libers.so
        #1  /lib/tls/libpthread.so.0 [0x3bcf80]
        #2  JiveXML::DataRetriever::retrieveAll(JiveXML::XMLWriter*)() from /afs/cern.ch/atlas/software/builds/AtlasEvent/2.
5.0/InstallArea/i686-slc3-gcc323-opt/lib/libJiveXMLLib.so
        #3  virtual thunk to JiveXML::DataRetriever::retrieveAll(JiveXML::XMLWriter*)() from /afs/cern.ch/atlas/software/bui
lds/AtlasEvent/2.5.0/InstallArea/i686-slc3-gcc323-opt/lib/libJiveXMLLib.so
        #4  EventData2XML::execute()() from /afs/cern.ch/atlas/software/builds/AtlasEvent/2.5.0/InstallArea/i686-slc3-gcc323
-opt/lib/libJiveXMLLib.so
        #5  JiveXML::AlgoJiveXML::execute()() from /afs/cern.ch/atlas/software/builds/AtlasEvent/2.5.0/InstallArea/i686-slc3
-gcc323-opt/lib/libJiveXMLLib.so
        #6  Algorithm::sysExecute()() from /afs/cern.ch/atlas/offline/external/Gaudi/0.16.1.19/InstallArea/i686-slc3-gcc323-
opt/lib/libGaudiKernel.so
<...>
 

-- JamieBoyd - 15 Feb 2007

Revision 22007-02-15 - JamieBoyd

Line: 1 to 1
 
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Line: 37 to 37
 # the above line is a hack and wont work for cosmics generated with large x,z on surface - awaiting better fix - jamie Algorithm("TRTDigitization").PrintOverrideableSettings = True Algorithm("TRTDigitization").PrintDigSettings = True
Changed:
<
<
>
>
<\verbose>
 
  • I will come up with some job options which do this as well as adding in Calo cosmic joboptions needed

In Rel_0

Revision 12007-02-15 - JamieBoyd

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="HowToSimulateCosmics"

How to simulate cosmics in 12.5.0 and beyond

Intro

  • For April cosmic commissioning we need simulated cosmics with the detector description matching that of the layout in the pit in April, all the systems present (SCT, TRT, LAr, Tile, Muon - all barrel only i think)
  • In the end (April) we will need to use 13 for this but for now we will use 12.5.0 (or occassionally the nightlies if they have fixes that we need in them)

Simulation in 12.5.0

  • set up 12.5.0 release (remember to use 32 bit mode source setup.csh -tag=12.5.0,32)
  • cmt co -r G4CosmicFilter-00-00-05 Simulation/G4Extensions/G4CosmicFilter
  • cd Simulation/G4Extensions/G4CosmicFilter/cmt;cmt config;gmake;cd -
  • cmt co -r RecExCommon-00-07-41 Reconstruction/RecExample/RecExCommon
  • cd Reconstruction/RecExample/RecExCommon/cmt; cmt config; gmake; cd ../run
  • source /afs/cern.ch/atlas/software/builds/AtlasOffline/12.5.0//AtlasOfflineRunTime/cmt/setup.csh
  • cp /afs/cern.ch/user/j/jboyd/public/else/*.py .
  • athena -c "Seed='1234';directory='.';" jobOptions.G4Cosmic.py >& log &
  • you can change the cosmic generator settings in myConfig.py, and you can change the volume used to filter on in Simulation/G4Extensions/G4CosmicFilter/share/G4CosmicFilter.py

Digitization in 12.5.0 (or rel_0)

  • There is a big bug in 12.5.0 which means that muon system cant write out RDO, this is fixed in rel_0, but (it seems) there is a bug in rel_0 with Calo so at the moment we cant digitize all systems in 1 rel (which is a pain!) (for more info on digitization see SvensWiki

In 12.5.0

  • set up 12.5.0 release (or use same one as for simulation)
  • Add tags:
  • cmt co -r Digitization-00-09-01 Simulation/Digitization (see above)
  • cmt co -r LArCondUtils-00-01-07 LArCalorimeter/LArCondUtils (see above)
  • cmt co -r EventSelectorAthenaPool-00-04-17 Database/AthenaPOOL/EventSelectorAthenaPool (specific problem in this release)
  • cmt co -r SCT_Digitization-00-09-24 InnerDetector/InDetDigitization/SCT_Digitization

  • need to add the following lines to jobOptions:
################################################################## # digitization options for ID cosmics # mask off SCT endcap channels Algorithm("SCT_Digitization").BarrelOnly=True Algorithm("SCT_Digitization").FixedTime=10 Algorithm("TRTDigitization").Override_timeOffsetCalcVertexY=100000.0 # the above line is a hack and wont work for cosmics generated with large x,z on surface - awaiting better fix - jamie Algorithm("TRTDigitization").PrintOverrideableSettings = True Algorithm("TRTDigitization").PrintDigSettings = True
  • I will come up with some job options which do this as well as adding in Calo cosmic joboptions needed

In Rel_0

  • Same as above but need to have:

-- JamieBoyd - 15 Feb 2007

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback