Algorithm that removes the FIT hits lying far away from a given track.
This algorithm creates a FIT hits collection containing only hits that lie within a given distance from a track. By default, the algorithm operates on ADC FIT hits; it is possible to specify a different set of hits (e.g. MC hits) by means of an algorithm parameter. Also the FIT geometry parameters can be specified in order to be consistent with the hits collection. The track can be currently specified as the "true" primary track from MC truth or as the CALO track by means of the trackType parameter. If an entrance-side-reconstruction criterion is specified by means of the entranceSideReco parameter then all the hits in the FITs on the particle exit side will be removed, regardless of their distance from the track. Setting entranceSideReco to "mc" will make the algorithm use the MC generation point to determine the entrance side, while setting it to "calo" the reconstructed CALO shower will be used. Setting it to "none" will disable the feature. If no CALO axis is present and if "calo" is used for track type and/or entrance side reconstruction then the output event object with the near hits sill not be provided. The processed hits are published in the event data store with a name built by appending the "_nearToTrack" suffix to the name of the input hits collection; the alias for the provided near hits as specified by the nearHitsAlias parameter will also be set.
Needed event objects:
name | type | store | optional | description |
<fitHitsColl> | FitHitsColl | evStore | No | The name of the FIT hits collection to be processed. |
mcTruth | MCTruth | evStore | No | The MC truth. |
caloAxes | CaloAxes | evStore | No | The CALO axes. |
Needed global objects:
name | type | store | optional | description |
<fitGeoParColl> | FitGeoParamsColl | globStore | No | The FIT geometry parameters. |
Provided event objects:
name | type | alias | store | description |
<fitHitsColl>_nearToTrack | FitHitsColl | <nearHitsAlias> | evStore | Collection of hits lying near to the track (only if at least one CaloAxis is present) |
Parameters:
name | type | default value | description |
trackType | std::string | "calo" | The particle track (possible values: "mc", "calo") |
entranceSideReco | std::sting | "calo" | The reconstruction method for the entrance side (possible values: "mc", "calo", "none") |
maxDistance | float | 5 | Maximum distance (in cm) from hit to track. |
fitHitsColl | std::string | "fitHitsCollADC" | The name of the FIT hits collection to be processed. |
fitGeoParColl | std::string | "fitDigitizedGeoParamsColl <td> The name of the FIT geometry parameters collection to be used.
<tr><td>nearHitsAlias <td> std::string <td> "fitHitsCollADC" | Alias for the near hits object. |