LCFIVertex
0.7.2
|
Cuts ReconstuctedParticles(RPs) from a collection (or from a list of RPs held by another RP) based on several cut criteria. More...
#include <RPCutProcessor.h>
Cuts ReconstuctedParticles(RPs) from a collection (or from a list of RPs held by another RP) based on several cut criteria.
Name | Type | Represents |
InputRCPCollection | ReconstructedParticle | Collection to be cut |
Name | Type | Represents |
OutputRCPCollection | ReconstructedParticle | If WriteNewCollection=true contains the RPs that passed the cuts. |
Based on several criteria this processor removes RPs from a collection, or if SubParticleLists = true then it removes RPs held by RPs in a collection.
Depending on WriteNewCollection, the Output is either the original collection with the RPs removed, or a new collection with the input collection remaining untouched.
NOTE - A track is cut if its ReconstructedParticle has no Track objects attached.
Most cuts follow a standard set of parameters:
a1_{CutName}Enable | If true the cut is enabled |
a2_{CutName}CutLowerThan | If true RPs with a value lower than the cut value are cut, if false those higher than the cut value are cut. |
a3_{CutName}CutValue | The value of the cut |
(The letter and number index prefixed to each parameter are to ensure they stay together in the output of Marlin -x) The cuts that follow this scheme are:
Name | Description |
Chi2OverDOF | Chi squared over degrees of freedom (Track::gethi2()) |
D0 | Track D0 (Track::getD0()) |
D0Err | D0 Covariance (Track::getCovMatrix()[0]) |
Z0 | Track Z0 (Track::getZ0()) |
Z0Err | Z0 Covariance (Track::getCovMatrix()[9]) |
PT | Track Pt (rPhi projection of Track::getMomentum()) |
The cut on subdetector hits relies on information in Track::getSubdetectorHitNumbers() this is an array. The processor is told what order the detectors are in this array by parameter "g2_SubDetectorNames" which is the sting names of the detectors in the same order. The other parameters then use these names.
This cut uses MC information provided by the MCParticleRelation collection to cut particles whose parents have a PID in the list provided by parameter "h2_CutPIDS"
If enabled by "i1_BadParametersEnable" this cut removes tracks with nan covariances and parameters.
Experimental MC Cut - most likely removed in next release
Definition at line 75 of file RPCutProcessor.h.