"MarlinReco"
1.32.0
|
=== NewLDCCaloDigi Processor ===
Simple calorimeter digitizer Processor.
More...
#include <NewLDCCaloDigi.h>
=== NewLDCCaloDigi Processor ===
Simple calorimeter digitizer Processor.
Takes SimCalorimeterHit Collections and
produces CalorimeterHit Collections.
Simulated energy depositions in active
layers of calorimeters are
converted into physical energy. This is done
taking into account sampling fractions of
ECAL and HCAL.
User has to specify ECAL and HCAL SimCalorimeterHit
collections with processor parameters
HCALCollections and ECALCollections.
The names of the output CalorimeterHit Collections
are specified with processor parameters
ECALOutputCollection and HCALOutputCollection.
Conversion factors for ECAL and HCAL
are specified via processor parameters
CalibrECAL and CalibrHCAL.
It should be noted that ECAL and HCAL may consist
of several sections with different sampling fractions.
To handle this situation, calibration coefficients for
ECAL and HCAL are passed as arrays of floats with each element
in this array corresponding to certain section with
a given sampling fraction.
List of layer numbers terminating each section are given through
processor parameters ECALLayers and HCALLayers
There is an option to perform digitization of
both ECAL and HCAL in a digital mode.
Digital mode is activated by
setting processor parameters
IfDigitalEcal / IfDigitalHcal to 1.
In this case CalibrECAL / CalibrHCAL will
convert the number of hits into physical energy.
Thresholds on hit energies in ECAL and HCAL
are set with processor parameters
ECALThreshold and HCALThreshold.
Relations between CalorimeterHits and SimCalorimeterHits
are held in the corresponding relation collection.
The name of this relation collection is specified
via processor parameter RelationOutputCollection.
SimCalorimeterHit collections
CalorimeterHit collections for ECal and HCal.
Collection of relations
between CalorimeterHits and SimCalorimeterHits.
For ECal Calorimeter hits the variable type is set to 0,
whereas for HCal Calorimeter hits the type is set to 1