#include <StEEmcAssociationMaker.h>

Public Member Functions | |
| StEEmcAssociationMaker (const char *name="EEmcAssoc") | |
| Int_t | Init () |
| Int_t | Make () |
| Int_t | Finish () |
| void | Clear (const char *) |
| void | printMaps () |
| multiEEmcTrackCluster * | getTrackClusterMap (Int_t i) |
| returns multimap for association betwwen MC tracks and clusters | |
| multiEEmcTrackCluster * | getTrackClusterMap (const char *) |
| returns multimap for association betwwen MC tracks and clusters | |
| multiEEmcClusterTrack * | getClusterTrackMap (Int_t i) |
| returns multimap for association betwwen clusters and MC tracks | |
| multiEEmcClusterTrack * | getClusterTrackMap (const char *) |
| returns multimap for association betwwen clusters and MC tracks | |
| multiEEmcTrackPoint * | getTrackPointMap () |
| returns multimap for association betwwen MC tracks and points | |
| multiEEmcPointTrack * | getPointTrackMap () |
| returns multimap for association betwwen points and MC tracks | |
| Int_t | getDetNum (const char *) |
| returns detector number for each EMC sub detector | |
| void | setPrint (Bool_t a) |
| void | printHits (StEvent *) |
| Set print log. | |
Protected Attributes | |
| Bool_t | mPrint |
| multiEEmcTrackCluster * | mTrackCluster [NDETECTORS] |
| multiEEmcClusterTrack * | mClusterTrack [NDETECTORS] |
| multiEEmcTrackPoint * | mTrackPoint |
| multiEEmcPointTrack * | mPointTrack |
This is the basic EEMC association Maker. It has two methods of association:
1. Cluster association:
This maker takes tracks in StMcEvent object and EMC(EEMC) clusters in StEvent object and compare their hits to check if they match. This is done for the EMC Tower (eemc),Pre-Shower(eprs), U and V layers of Shower Max (esmdu and esmdv) detectors.
It builds the following association matrices:
The elements of the cluster energy fraction matrix are normalized. Initially, the energy information of former MC hits to be in a cluster is the deposited energy. Before making the clusters, the deposited energy is converted to ADC signal by StEEmcSimulatorMaker and then is converted to energy by the method adcToEnergy() of StEEmcMixerMaker. The elements of the cluster energy fraction matrix are the ratio of the summed hit energy over the track hits that are associated to that cluster to the cluster energy. The track hits energies that are taken in StEEmcAssociationMaker are obtained converting directilly the deposited energy into energy by the method StEEmcAssociationMaker::dEToEnergy(). (de = Energy for now. The relation will be replaced by a correct function later) So the energy associated to a track hit by each method is a little bit different leading to a normalization of the elemtents of the cluster energy fraction matrix.
2. Point association:
The Maker also does association for EMC points. It compares the tracks hits to the clusters hits from the clusters of the 4 detectors that composes an EEM(EEMC) point (particle). It builds a simple association matrix are related to the type of EMC(EEMC) cluster that compose the point and is associated to a MC track.The matrix element is a bit map in which:
3. EEMC Association multimaps<br>
In order to make the association more powerfull and similar to TPC association, a set of multimaps were created. Multimaps are:
The use of these multimaps are similar to the TPC multimaps.
Each multimap correlates a MC track, EMC(EEMC) cluster or point to an EEMC association object. There are two types of association objects
See description for these classes for more details
Definition at line 204 of file StEEmcAssociationMaker.h.
| Int_t StEEmcAssociationMaker::Finish | ( | ) | [virtual] |
Terminate a run. Place to make operations on histograms, normalization,etc.
Reimplemented from StMaker.
Definition at line 301 of file StEEmcAssociationMaker.cxx.
References kStOK.
| Int_t StEEmcAssociationMaker::Make | ( | ) | [virtual] |
The Make() method is the one responsible for calling the maker's InitRun(). Note that that InitRun() is called for real data and if both of the following are true
This is the ONLY place calling the InitRun() routine.
check privilege to skip event
Reimplemented from StMaker.
Definition at line 107 of file StEEmcAssociationMaker.cxx.
References kStOK, kStWarn, and printHits().
| void StEEmcAssociationMaker::printHits | ( | StEvent * | event | ) |
Set print log.
Prints all EEMC hits in the StEvent object
Definition at line 425 of file StEEmcAssociationMaker.cxx.
Referenced by Make().
1.5.9