Algorithm that removes all hits lying far away from a given track.
For each detector this algorithm creates hits collection containing only hits that lie within a given distance from a track. By default, the algorithm operates on ADC FIT hits and or MC SCD hits; it is possible to specify a different set of hits by means of algorithm parameters. Also the detectors 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 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 | Yes | The name of the FIT hits collection to be processed. |
<scdHitsColl> | ScdHitsColl | evStore | Yes | The name of the SCD hits collection to be processed. |
mcTruth | MCTruth | evStore | Yes | The MC truth. |
caloAxes | Tracks | evStore | Yes | The CALO axes. |
Needed global objects:
name | type | store | optional | description |
<fitGeoParColl> | FitGeoParamsColl | globStore | Yes | The FIT geometry parameters. |
<scdGeoParColl> | ScdGeoParamsColl | globStore | Yes | The SCD geometry parameters. |
Provided event objects:
name | type | alias | store | description |
<fitHitsColl>_nearToTrack | FitHitsColl | <fitNearHitsAlias> | evStore | Collection of FIT hits lying near to the track (only if at least one CaloAxis is present) |
<scdHitsColl>_nearToTrack | ScdHitsColl | <scdNearHitsAlias> | evStore | Collection of SCD 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. |
processFit | bool | false | Set this to process FIT hits. |
processScd | bool | false | Set this to process SCD hits. |
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>fitNearHitsAlias <td> std::string <td> "fitHitsCollADC" <td> Alias for the near FIT hits object.
<tr><td>scdHitsColl <td> std::string <td> "scdHitsCollMC" <td> The name of the SCD hits collection to be processed.
<tr><td>scdGeoParColl <td> std::string <td> "scdDigitizedGeoParamsColl | The name of the SCD geometry parameters collection to be used. |
scdNearHitsAlias | std::string | "scdHitsCollADC" | Alias for the near SCD hits object. |