digisim.steer 6.41 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
############################################
#
#  Example DigiSim steering file for Marlin
#
############################################

.begin Global  ---------------------------------------

# specify one ore more input files (in one ore more lines)

LCIOInputFiles inputfile
#LCIOInputFiles ../simjob.slcio ../simjob.slcio

# the active processors that are called in the given order
ActiveProcessors CalHitMapProcessor
ActiveProcessors EcalBarrelDigitizer
ActiveProcessors EcalEndcapDigitizer
ActiveProcessors HcalBarrelDigitizer
ActiveProcessors HcalEndcapDigitizer
ActiveProcessors MuonBarrelDigitizer
ActiveProcessors MuonEndcapDigitizer
ActiveProcessors OutputProcessor

# limit the number of processed records (run+evt):
MaxRecordNumber 501
.end Global  -----------------------------------------------
###########################################################

#define the processor parameters after '.begin ProcessorName' :

# the default output processor
.begin OutputProcessor

# mandatory processor type (the name of the class)
ProcessorType LCIOOutputProcessor

# the outputfile
LCIOOutputFile marlin.slcio

# lcio write mode, new overwrites existing files
# append appends to existing files
# if nothing specified create new file only if it doesn't exist
LCIOWriteMode WRITE_NEW
#LCIOWriteMode WRITE_APPEND

.end -------------------------------------------------
############################################################
# Utility processor.  It fills hit maps for use by other processors,
#  so they don't need to fill the same maps themselves

.begin CalHitMapProcessor

ProcessorType CalHitMapProcessor

.end -------------------------------------------------
############################################################
# Cal digitizer processor.  Instantiates one or more calorimeter hit
#  "modifiers", which together represent the full digitization process.

.begin EcalBarrelDigitizer

ProcessorType DigiSimProcessor

InputCollection        EcalBarrelHits
OutputCollection       EcalBarrelRawHits
Raw2SimLinksCollection EcalBarrelRaw2sim

ModifierNames   EMBEnergyCut EMBTimeCut EMBEneDigi EMBTimeDigi

# modifierName     Type                 Parameters (floats)

# MIP is 92 keV, MIP/4 cut at 23e-6 GeV
EMBEnergyCut       GainDiscrimination           1       0    23e-6    0
EMBTimeCut         TimeDiscrimination         100       0

# Digitization: multiply by large numbers to minimize round-off errors
EMBEneDigi         SmearedGain          100000000       0
EMBTimeDigi        SmearedTiming          1000000       0

.end -------------------------------------------------
############################################################
# Cal digitizer processor.  Instantiates one or more calorimeter hit
#  "modifiers", which together represent the full digitization process.

.begin EcalEndcapDigitizer

ProcessorType DigiSimProcessor

InputCollection  EcalEndcapHits
OutputCollection EcalEndcapRawHits
Raw2SimLinksCollection EcalEndcapRaw2sim

ModifierNames    EMECEnergyCut EMECTimeCut EMECEneDigi EMECTimeDigi

# modifierName     Type                 Parameters (floats)
# MIP is 92 keV, MIP/4 cut at 23e-6 GeV
EMECEnergyCut      GainDiscrimination           1       0     23e-6      0
EMECTimeCut        TimeDiscrimination         100       0

# Digitization: multiply by large numbers to minimize round-off errors
EMECEneDigi        SmearedGain          100000000       0
EMECTimeDigi       SmearedTiming          1000000       0

.end -------------------------------------------------
############################################################
# Cal digitizer processor.  Instantiates one or more calorimeter hit
#  "modifiers", which together represent the full digitization process.

.begin HcalBarrelDigitizer

ProcessorType DigiSimProcessor

InputCollection        HcalBarrelHits
OutputCollection       HcalBarrelRawHits
Raw2SimLinksCollection HcalBarrelRaw2sim

ModifierNames     HBTimeCut HBEneDigi HBTimeDigi

# modifierName     Type                 Parameters (floats)
HBTimeCut         TimeDiscrimination         100       0
HBEneDigi         SmearedGain          100000000       0
HBTimeDigi        SmearedTiming          1000000       0

.end -------------------------------------------------
############################################################
# Cal digitizer processor.  Instantiates one or more calorimeter hit
#  "modifiers", which together represent the full digitization process.

.begin HcalEndcapDigitizer

ProcessorType DigiSimProcessor

InputCollection        HcalEndcapHits
OutputCollection       HcalEndcapRawHits
Raw2SimLinksCollection HcalEndcapRaw2sim

ModifierNames    HECTimeCut HECEneDigi HECTimeDigi

# modifierName     Type                 Parameters (floats)
HECTimeCut         TimeDiscrimination         100       0

# Digitization: multiply by large numbers to minimize round-off errors
HECEneDigi         SmearedGain          100000000       0
HECTimeDigi        SmearedTiming          1000000       0

.end -------------------------------------------------
############################################################
# Cal digitizer processor.  Instantiates one or more calorimeter hit
#  "modifiers", which together represent the full digitization process.

.begin MuonBarrelDigitizer

ProcessorType DigiSimProcessor

InputCollection        MuonBarrelHits
OutputCollection       MuonBarrelRawHits
Raw2SimLinksCollection MuonBarrelRaw2sim

ModifierNames     MBTimeCut MBEneDigi MBTimeDigi

# modifierName     Type                 Parameters (floats)
MBTimeCut         TimeDiscrimination         100       0
MBEneDigi         SmearedGain          100000000       0
MBTimeDigi        SmearedTiming          1000000       0

.end -------------------------------------------------
############################################################
# Cal digitizer processor.  Instantiates one or more calorimeter hit
#  "modifiers", which together represent the full digitization process.

.begin MuonEndcapDigitizer

ProcessorType DigiSimProcessor

InputCollection        MuonEndcapHits
OutputCollection       MuonEndcapRawHits
Raw2SimLinksCollection MuonEndcapRaw2sim

ModifierNames    MECTimeCut MECEneDigi MECTimeDigi

# modifierName     Type                 Parameters (floats)
MECTimeCut         TimeDiscrimination         100       0

# Digitization: multiply by large numbers to minimize round-off errors
MECEneDigi         SmearedGain          100000000       0
MECTimeDigi        SmearedTiming          1000000       0

.end -------------------------------------------------