ATLAS Offline Software
TileSimConfigFlags.py
Go to the documentation of this file.
1 """
2 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 """
4 
5 '''@file TileSimConfigFlags.py
6 @brief Functions to create/add extra Tile simulation configuration flags
7 '''
8 
9 
11 
12  from AthenaConfiguration.AthConfigFlags import AthConfigFlags
13  tileSimFlags = AthConfigFlags()
14 
15  tileSimFlags.addFlag('DeltaTHit', 'NONE', help='A time granularity for G4 hits in TileHit, \
16  it can be just one number, e.g. 5.0 which means that the same, granularity is used everywhere or it can be a vector which contains 3*N+1 elements, \
17  e.g. 0.1,-5,5, 0.5,-75,75, 5.0 which means that for [-5,5] ns interval granularity 0.1ns will be used for [-75,75] ns interval granularity 0.5ns will be used \
18  and 5ns granularity will be used for all other hits')
19  tileSimFlags.addFlag('TimeCut', 'NONE', help='Time cut for hits, all hits go to one single time bin if time is above this cut')
20  tileSimFlags.addFlag('PlateToCell', 'NONE', help='Special flag for Calibration Hits. If true then Tile. Plates are the parts of the adjacent Tile cells. If false then they are Dead Materials')
21  tileSimFlags.addFlag('doTileRaw', 'NONE', help='Enable energy per tile row in TileHit')
22  tileSimFlags.addFlag('doTOFCorrection', 'NONE', help='Apply TOF correction (subtract Time Of Flight from ATLAS center')
23  tileSimFlags.addFlag('doBirk', 'NONE', help='Enable Birk\'s law')
24  tileSimFlags.addFlag('OldBirk', 'NONE', help='Use expected values from NIM 80 (1970) 239-244: birk1=0.0130 g/(MeV*cm^2), birk2=9.6e-6 (g/(MeV*cm^2))^2')
25  tileSimFlags.addFlag('Birk1', 'NONE', help='Parameter for Birk\'s law')
26  tileSimFlags.addFlag('Birk2', 'NONE', help='Parameter for Birk\'s law')
27 
28  tileSimFlags.addFlag('Ushape', 'NONE', help='Needed for the U-shape (any value of Ushape > 0 means that tile size equal to size of master plate, for Ushape <=0 - size of the tile is like in old geometry)')
29  tileSimFlags.addFlag('Steel', 'NONE', help='Select steel with 0.45 percent Manganse for absorber instead of pure Iron. Any value > 0 enables Steel')
30  tileSimFlags.addFlag('PVT', 'NONE', help='Use PVT instead of PS for scintillator material. Any value > 0 enables PVT')
31  tileSimFlags.addFlag('CsTube', 'NONE', help='Special option to enable Cs tubes in simulation. Any value > 0 enables them')
32 
33  return tileSimFlags
python.TileSimConfigFlags.createTileSimConfigFlags
def createTileSimConfigFlags()
Definition: TileSimConfigFlags.py:10