|
CbmRoot
|
A set of parameters for the CA Track finder iteration. More...
#include <CaIteration.h>
Public Member Functions | |
| Iteration ()=default | |
| Default constructor. | |
| Iteration (const Iteration &other)=default | |
| Copy constructor. | |
| Iteration (const Iteration &other, const std::string &name) | |
| Copy constructor. | |
| Iteration (Iteration &&other) noexcept=default | |
| Move constructor. | |
| Iteration (const std::string &name) | |
| Constructor from L1CAIteration type. | |
| ~Iteration () noexcept=default | |
| Destructor. | |
| Iteration & | operator= (const Iteration &other)=default |
| Copy assignment operator. | |
| Iteration & | operator= (Iteration &&other)=default |
| Move assignment operator. | |
| bool | Check () const |
| Checks parameters consistency. | |
| float | GetDoubletChi2Cut () const |
| Gets doublet chi2 upper cut. | |
| bool | GetElectronFlag () const |
| flag check: electrons/positrons - true, heavy charged - false | |
| bool | GetExtendTracksFlag () const |
| Sets flag: true - extends track candidates with unused hits. | |
| int | GetFirstStationIndex () const |
| Gets station index of the first station used in tracking. | |
| int | GetMaxStationGap () const |
| Gets flag: true - triplets are also built with skipping <= GetMaxStationGap stations. | |
| float | GetMaxDZ () const |
| Gets correction for accounting overlaping and iff z. | |
| float | GetMaxQp () const |
| Gets max considered q/p for tracks. | |
| float | GetMaxSlope () const |
| Gets max slope (tx\ty) in 3D hit position of a triplet. | |
| float | GetMaxSlopePV () const |
| Gets max slope (tx\ty) in primary vertex. | |
| int | GetMinNhits () const |
| Gets min n hits. | |
| int | GetMinNhitsStation0 () const |
| Gets min n hits for tracks that start on station 0. | |
| const std::string & | GetName () const |
| Gets the name of the iteration. | |
| float | GetPickGather () const |
| Gets size of region [TODO: units??] to attach new hits to the created track. | |
| bool | GetPrimaryFlag () const |
| Checks flag: true - only primary tracks are searched, false - [all or only secondary?]. | |
| float | GetTargetPosSigmaX () const |
| Gets sigma target position in X direction [cm]. | |
| float | GetTargetPosSigmaY () const |
| Gets sigma target position in Y direction [cm]. | |
| float | GetTrackChi2Cut () const |
| Gets track chi2 upper cut. | |
| bool | GetTrackFromTripletsFlag () const |
| float | GetTripletChi2Cut () const |
| Gets triplet chi2 upper cut. | |
| float | GetTripletFinalChi2Cut () const |
| Gets triplet chi2 upper cut. | |
| float | GetTripletLinkChi2 () const |
| Gets min value of dp/dp_error, for which two tiplets are neighbours. | |
| void | SetDoubletChi2Cut (float input) |
| Sets doublet chi2 upper cut. | |
| void | SetElectronFlag (bool flag) |
| Sets flag: electron tracks - true, heavy ion tracks - false. | |
| void | SetExtendTracksFlag (bool flag) |
| Sets flag: true - extends track candidates with unused hits. | |
| void | SetFirstStationIndex (int index) |
| Sets index of first station used in tracking. | |
| void | SetMaxStationGap (int nSkipped) |
| Sets flag: true - triplets are built also skipping <= GetMaxStationGap stations. | |
| void | SetMaxDZ (float input) |
| TODO: select a more proper name. | |
| void | SetMaxQp (float input) |
| Sets max considered q/p for tracks. | |
| void | SetMaxSlope (float input) |
| Sets max slope (tx\ty) in 3D hit position of a triplet. | |
| void | SetMaxSlopePV (float input) |
| Sets max slope (tx\ty) in primary vertex. | |
| void | SetMinNhits (int val) |
| Sets flag: true - skip track candidates with level = 0. | |
| void | SetMinNhitsStation0 (int val) |
| Sets min n hits for tracks that start on station 0. | |
| void | SetName (const std::string &name) |
| Sets name of the iteration. | |
| void | SetPickGather (float input) |
| Sets size of region [TODO: units??] to attach new hits to the created track. | |
| void | SetPrimaryFlag (bool flag) |
| Sets flag: primary tracks - true, secondary tracks - false. | |
| void | SetTargetPosSigmaXY (float sigmaX, float sigmaY) |
| Sets sigma of target positions in XY plane. | |
| void | SetTrackChi2Cut (float input) |
| Sets track chi2 upper cut. | |
| void | SetTrackFromTripletsFlag (bool flag) |
| Sets flag: true: all the triplets found on this iteration will be converted to tracks, all the iterations following after this one will be rejected from the iterations sequence; false (default): tracks are built from triplets, and the minimal amount of hits used in each track equals four. In case of primary tracks the first measurement is taken from the target, and the other three measurements are taken from the triplet. | |
| void | SetTripletChi2Cut (float input) |
| Sets triplet chi2 upper cut. | |
| void | SetTripletFinalChi2Cut (float input) |
| Sets triplet chi2 upper cut. | |
| void | SetTripletLinkChi2 (float input) |
| Sets min value of dp/dp_error, for which two tiplets are neighbours. | |
| std::string | ToString (int indentLevel=0) const |
| String representation of the class contents. | |
Static Public Member Functions | |
| static std::string | ToTableFromVector (const Vector< Iteration > &vIterations, int indentLevel=0) |
| Forms a string, representing a table of iterations from the vector of iterations. | |
Private Member Functions | |
| template<class Archive> | |
| void | serialize (Archive &ar, const unsigned int) |
Private Attributes | |
| std::string | fName {""} |
| Iteration name. | |
| float | fTrackChi2Cut = 10.f |
| Track chi2 upper cut. | |
| float | fTripletChi2Cut = 21.1075f |
| Triplet chi2 upper cut. | |
| float | fTripletFinalChi2Cut = 21.1075f |
| Triplet chi2 upper cut. | |
| float | fDoubletChi2Cut = 11.3449 * 2.f / 3.f |
| Doublet chi2 upper cut. | |
| float | fPickGather = 3.0 |
| Size of region to attach new hits to the created track. | |
| float | fTripletLinkChi2 = 25.0 |
| Min value of dp^2/dp_error^2, for which two tiplets are neighbours. | |
| float | fMaxQp = 1.0 / 0.5 |
| Max considered q/p for tracks. | |
| float | fMaxSlopePV = 1.1 |
| Max slope (tx\ty) in primary vertex. | |
| float | fMaxSlope = 2.748 |
| Max slope (tx\ty) in 3D hit position of a triplet. | |
| float | fMaxDZ = 0.f |
| Correction for accounting overlaping and iff z [cm]. | |
| float | fTargetPosSigmaX = 0 |
| Constraint on target position in X direction [cm]. | |
| float | fTargetPosSigmaY = 0 |
| Constraint on target position in Y direction [cm]. | |
| int | fFirstStationIndex = 0 |
| First station, used for tracking. | |
| int | fMinNhits = 3 |
| min n hits on the tracks | |
| int | fMinNhitsStation0 = 3 |
| min n hits for tracks that start on station 0 | |
| bool | fIsPrimary = false |
| Flag: true - only primary tracks are searched for. | |
| bool | fIsElectron = false |
| Flag: true - only electrons are searched for. | |
| bool | fIsExtendTracks = false |
| Flag: true - extends track candidates with unused hits. | |
| int | fMaxStationGap = 0 |
| Flag: true - find triplets with fMaxStationGap missing stations. | |
| bool | fIsTrackFromTriplets = false |
| Flag to select triplets on the iteration as tracks In ordinary cases, the shortest track consists from four hits. For primary track the target is accounted as the first hit, and the other three hits are taken from the stations. For secondary track all the hits are selected from the stations only. If the fIsTrackFromTriplets flag is turned on, all of the triplets found on this iterations will be considered as tracks. | |
Friends | |
| class | boost::serialization::access |
| Serialization method, used to save ca::Hit objects into binary or text file in a defined order. | |
A set of parameters for the CA Track finder iteration.
Each iteration utilizes special physics cuts and run condition to find tracks of a particular class (e.g., fast primary tracks or secondary electron tracks). Hits associated with tracks reconstructed during current iteration are removed from the further iterations.
Definition at line 31 of file CaIteration.h.
|
default |
Default constructor.
|
default |
Copy constructor.
|
inline |
Copy constructor.
Definition at line 40 of file CaIteration.h.
|
defaultnoexcept |
Move constructor.
| Iteration::Iteration | ( | const std::string & | name | ) |
Constructor from L1CAIteration type.
Definition at line 23 of file CaIteration.cxx.
|
defaultnoexcept |
Destructor.
| bool Iteration::Check | ( | ) | const |
Checks parameters consistency.
Definition at line 27 of file CaIteration.cxx.
|
inline |
Gets doublet chi2 upper cut.
Definition at line 61 of file CaIteration.h.
|
inline |
flag check: electrons/positrons - true, heavy charged - false
Definition at line 64 of file CaIteration.h.
|
inline |
Sets flag: true - extends track candidates with unused hits.
Definition at line 67 of file CaIteration.h.
|
inline |
Gets station index of the first station used in tracking.
Definition at line 70 of file CaIteration.h.
|
inline |
Gets correction for accounting overlaping and iff z.
Definition at line 76 of file CaIteration.h.
|
inline |
Gets max considered q/p for tracks.
Definition at line 79 of file CaIteration.h.
|
inline |
Gets max slope (tx\ty) in 3D hit position of a triplet.
Definition at line 82 of file CaIteration.h.
|
inline |
Gets max slope (tx\ty) in primary vertex.
Definition at line 85 of file CaIteration.h.
|
inline |
Gets flag: true - triplets are also built with skipping <= GetMaxStationGap stations.
Definition at line 73 of file CaIteration.h.
|
inline |
Gets min n hits.
Definition at line 88 of file CaIteration.h.
|
inline |
Gets min n hits for tracks that start on station 0.
Definition at line 91 of file CaIteration.h.
|
inline |
Gets the name of the iteration.
Definition at line 94 of file CaIteration.h.
|
inline |
Gets size of region [TODO: units??] to attach new hits to the created track.
Definition at line 97 of file CaIteration.h.
|
inline |
Checks flag: true - only primary tracks are searched, false - [all or only secondary?].
Definition at line 100 of file CaIteration.h.
|
inline |
Gets sigma target position in X direction [cm].
Definition at line 103 of file CaIteration.h.
|
inline |
Gets sigma target position in Y direction [cm].
Definition at line 106 of file CaIteration.h.
|
inline |
Gets track chi2 upper cut.
Definition at line 109 of file CaIteration.h.
|
inline |
(DEBUG!) Sets flag: true: all the triplets found on this iteration will be converted to tracks, all the iterations following after this one will be rejected from the iterations sequence; false (default): tracks are built from triplets, and the minimal amount of hits used in each track equals four. In case of primary tracks the first measurement is taken from the target, and the other three measurements are taken from the triplet.
Definition at line 121 of file CaIteration.h.
|
inline |
Gets triplet chi2 upper cut.
Definition at line 124 of file CaIteration.h.
|
inline |
Gets triplet chi2 upper cut.
Definition at line 127 of file CaIteration.h.
|
inline |
Gets min value of dp/dp_error, for which two tiplets are neighbours.
Definition at line 130 of file CaIteration.h.
Copy assignment operator.
Move assignment operator.
|
inlineprivate |
Definition at line 257 of file CaIteration.h.
|
inline |
Sets doublet chi2 upper cut.
Definition at line 133 of file CaIteration.h.
|
inline |
Sets flag: electron tracks - true, heavy ion tracks - false.
Definition at line 136 of file CaIteration.h.
|
inline |
Sets flag: true - extends track candidates with unused hits.
Definition at line 139 of file CaIteration.h.
|
inline |
Sets index of first station used in tracking.
Definition at line 142 of file CaIteration.h.
|
inline |
TODO: select a more proper name.
Definition at line 148 of file CaIteration.h.
|
inline |
Sets max considered q/p for tracks.
Definition at line 151 of file CaIteration.h.
|
inline |
Sets max slope (tx\ty) in 3D hit position of a triplet.
Definition at line 154 of file CaIteration.h.
|
inline |
Sets max slope (tx\ty) in primary vertex.
Definition at line 157 of file CaIteration.h.
|
inline |
Sets flag: true - triplets are built also skipping <= GetMaxStationGap stations.
Definition at line 145 of file CaIteration.h.
|
inline |
Sets flag: true - skip track candidates with level = 0.
Definition at line 160 of file CaIteration.h.
|
inline |
Sets min n hits for tracks that start on station 0.
Definition at line 163 of file CaIteration.h.
|
inline |
Sets name of the iteration.
Definition at line 166 of file CaIteration.h.
|
inline |
Sets size of region [TODO: units??] to attach new hits to the created track.
Definition at line 169 of file CaIteration.h.
|
inline |
Sets flag: primary tracks - true, secondary tracks - false.
Definition at line 172 of file CaIteration.h.
| void Iteration::SetTargetPosSigmaXY | ( | float | sigmaX, |
| float | sigmaY ) |
Sets sigma of target positions in XY plane.
| sigmaX | Sigma value in X direction [cm] |
| sigmaX | Sigma value in Y direction [cm] |
Definition at line 64 of file CaIteration.cxx.
|
inline |
Sets track chi2 upper cut.
Definition at line 180 of file CaIteration.h.
|
inline |
Sets flag: true: all the triplets found on this iteration will be converted to tracks, all the iterations following after this one will be rejected from the iterations sequence; false (default): tracks are built from triplets, and the minimal amount of hits used in each track equals four. In case of primary tracks the first measurement is taken from the target, and the other three measurements are taken from the triplet.
Definition at line 192 of file CaIteration.h.
|
inline |
Sets triplet chi2 upper cut.
Definition at line 195 of file CaIteration.h.
|
inline |
Sets triplet chi2 upper cut.
Definition at line 198 of file CaIteration.h.
|
inline |
Sets min value of dp/dp_error, for which two tiplets are neighbours.
Definition at line 201 of file CaIteration.h.
| std::string Iteration::ToString | ( | int | indentLevel = 0 | ) | const |
String representation of the class contents.
| indentLevel | Level of indentation for the text (in terms of \t symbols) |
Definition at line 72 of file CaIteration.cxx.
|
static |
Forms a string, representing a table of iterations from the vector of iterations.
| vIterations | Vector of iterations |
| indentLevel | Level of indentation for the text (in terms of \t symbols) |
Definition at line 80 of file CaIteration.cxx.
|
friend |
Serialization method, used to save ca::Hit objects into binary or text file in a defined order.
Definition at line 255 of file CaIteration.h.
|
private |
Doublet chi2 upper cut.
Definition at line 225 of file CaIteration.h.
|
private |
First station, used for tracking.
Definition at line 234 of file CaIteration.h.
|
private |
Flag: true - only electrons are searched for.
Definition at line 238 of file CaIteration.h.
|
private |
Flag: true - extends track candidates with unused hits.
Definition at line 239 of file CaIteration.h.
|
private |
Flag: true - only primary tracks are searched for.
Definition at line 237 of file CaIteration.h.
|
private |
Flag to select triplets on the iteration as tracks In ordinary cases, the shortest track consists from four hits. For primary track the target is accounted as the first hit, and the other three hits are taken from the stations. For secondary track all the hits are selected from the stations only. If the fIsTrackFromTriplets flag is turned on, all of the triplets found on this iterations will be considered as tracks.
Definition at line 252 of file CaIteration.h.
|
private |
Correction for accounting overlaping and iff z [cm].
Definition at line 231 of file CaIteration.h.
|
private |
Max considered q/p for tracks.
Definition at line 228 of file CaIteration.h.
|
private |
Max slope (tx\ty) in 3D hit position of a triplet.
Definition at line 230 of file CaIteration.h.
|
private |
Max slope (tx\ty) in primary vertex.
Definition at line 229 of file CaIteration.h.
|
private |
Flag: true - find triplets with fMaxStationGap missing stations.
Definition at line 240 of file CaIteration.h.
|
private |
min n hits on the tracks
Definition at line 235 of file CaIteration.h.
|
private |
min n hits for tracks that start on station 0
Definition at line 236 of file CaIteration.h.
|
private |
|
private |
Size of region to attach new hits to the created track.
Definition at line 226 of file CaIteration.h.
|
private |
Constraint on target position in X direction [cm].
Definition at line 232 of file CaIteration.h.
|
private |
Constraint on target position in Y direction [cm].
Definition at line 233 of file CaIteration.h.
|
private |
|
private |
Triplet chi2 upper cut.
Definition at line 223 of file CaIteration.h.
|
private |
Triplet chi2 upper cut.
Definition at line 224 of file CaIteration.h.
|
private |
Min value of dp^2/dp_error^2, for which two tiplets are neighbours.
Definition at line 227 of file CaIteration.h.