Maintained by Wei-Ming Zhang | |
To run EEMC embedding please follow the
steps below. (NOT in CVS yet -Jan)
After this step, we have two StEmcCollections in the memory.
Special attention should be paid to switch DB flavor to 'sim' if
primery events (file-1) are M-C. Also sampling fraction should be different if file-1 is M-C.
At this point StEvent contains raw ADC from sum from 2 events from file 1+2. Mixing is done.
Monte Carlo hits are embeded to those of real data in
StEEmcMixerMaker. The following four multimaps are built with mixed hits
for each of the four subdetectors (Etow, Eprs, Esmdu, and Esmdv)
in StEEmcAssociationMaker.
For details of the usage of multimap, please check the
WEB of StAssociationMaker,
as well as its "User's Guide & Reference Manual"
cvs co StRoot/StEEmcUtil/StEmbedding/macros/doEEmcEmbedOnly.C or
cvs co StRoot/StEEmcUtil/StEmbedding/macros/doEEmcEmbedUser.C
EEmc embedding program is implemented in the similar way as
BEmc embedding.
However certain steps were omitted as not necessary.
Below is a picture of its flow chart.
EEmc embedding embeds EEmc hits of a MC event from geant.root to
EEmc hits of a data event of StEvent. Its implementation is based on
the scheme of
BEmc embedding.
A macro doEEmcEmbedOnly.C that runs just embedding can be checked out from
$STAR/StRoot/StEEmcUtil/StEmbedding/macros/
The basic chain of the macro includes
Note, this maker uses StEEmcFastSimuMaker::unpackGeantHits(g2t_tile, g2t_smd) to unpack GEANT volume IDs.
One can process StEvent as is it was oryginal input StEvent file-1.
A macro doEEmcEmbedUser.C that runs embedding, example of user analysi, and Association maker can be checked out from
$STAR/StRoot/StEEmcUtil/StEmbedding/macros/
The added elements of this chain are:
Auxiliary information
There are three energies calculated in StEEmcAssociationMaker.
Ratios of E_hits/E_track and E_hits/E_(cluster/point) are stored
in the first two multimaps. They could be used for efficiency study.
Prior to using them for effciency study, hit-ADC should be well
calibrated.