2 added + 1 modified, total 3 files
lcsim/src/org/lcsim/digisim
diff -N rpchcal.steer
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ rpchcal.steer 21 Jun 2006 18:59:17 -0000 1.1
@@ -0,0 +1,144 @@
+############################################
+#
+# 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 EcalBarrDigitizer
+ActiveProcessors EcalEndcapDigitizer
+ActiveProcessors HcalBarrDigitizer
+ActiveProcessors HcalEndcapDigitizer
+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 EcalBarrDigitizer
+
+ProcessorType DigiSimProcessor
+
+InputCollection EcalBarrHits
+OutputCollection EcalBarrRawHits
+Raw2SimLinksCollection EcalBarrRaw2sim
+
+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 HcalBarrDigitizer
+
+ProcessorType DigiSimProcessor
+
+InputCollection HcalBarrHits
+OutputCollection HcalBarrRawHits
+Raw2SimLinksCollection HcalBarrRaw2sim
+
+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 -------------------------------------------------
lcsim/src/org/lcsim/digisim
diff -N scinthcal.steer
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ scinthcal.steer 21 Jun 2006 18:59:17 -0000 1.1
@@ -0,0 +1,148 @@
+############################################
+#
+# 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 EcalBarrDigitizer
+ActiveProcessors EcalEndcapDigitizer
+ActiveProcessors HcalBarrDigitizer
+ActiveProcessors HcalEndcapDigitizer
+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 EcalBarrDigitizer
+
+ProcessorType DigiSimProcessor
+
+InputCollection EcalBarrHits
+OutputCollection EcalBarrRawHits
+Raw2SimLinksCollection EcalBarrRaw2sim
+
+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 HcalBarrDigitizer
+
+ProcessorType DigiSimProcessor
+
+InputCollection HcalBarrHits
+OutputCollection HcalBarrRawHits
+Raw2SimLinksCollection HcalBarrRaw2sim
+
+ModifierNames HBEnergyCut HBTimeCut HBEneDigi HBTimeDigi
+
+# modifierName Type Parameters (floats)
+# MIP is 820 keV, MIP/4 cut at 205e-6 GeV
+HBEnergyCut GainDiscrimination 1 0 205e-6 0
+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 HECEnergyCut HECTimeCut HECEneDigi HECTimeDigi
+
+# modifierName Type Parameters (floats)
+# MIP is 820 keV, MIP/4 cut at 205e-6 GeV
+HECEnergyCut GainDiscrimination 1 0 205e-6 0
+HECTimeCut TimeDiscrimination 100 0
+
+# Digitization: multiply by large numbers to minimize round-off errors
+HECEneDigi SmearedGain 100000000 0
+HECTimeDigi SmearedTiming 1000000 0
+
+.end -------------------------------------------------
lcsim/src/org/lcsim/digisim
diff -u -r1.19 -r1.20
--- DigiSimDriver.java 20 Jan 2006 23:36:30 -0000 1.19
+++ DigiSimDriver.java 21 Jun 2006 18:59:16 -0000 1.20
@@ -16,7 +16,7 @@
* both parameters and events from the framework.
*
* @author Guilherme Lima
- * @version $Id: DigiSimDriver.java,v 1.19 2006/01/20 23:36:30 lima Exp $
+ * @version $Id: DigiSimDriver.java,v 1.20 2006/06/21 18:59:16 lima Exp $
*/
public class DigiSimDriver extends Driver implements ConditionsListener {
@@ -60,7 +60,8 @@
public void conditionsChanged(ConditionsEvent event)
{
- // trigger this.init() to be called when next event is available
+ // trigger this.init() to be called by process(), when next
+ // event is available
_name = null;
}
CVSspam 0.2.8