![]() |
Project
|
#include <SpacePointsCalibConfParam.h>
Inherits o2::conf::ConfigurableParamHelper< SpacePointsCalibConfParam >.
Public Member Functions | |
| O2ParamDef (SpacePointsCalibConfParam, "scdcalib") | |
Public Member Functions inherited from o2::conf::ConfigurableParamHelper< SpacePointsCalibConfParam > | |
| std::string | getName () const final |
| EParamProvenance | getMemberProvenance (const std::string &key) const final |
| void | printKeyValues (bool showProv=true, bool useLogger=false, bool withPadding=true, bool showHash=true) const final |
| size_t | getHash () const final |
| void | output (std::ostream &out) const final |
| std::vector< ParamDataMember > * | getDataMembers () const |
| void | putKeyValues (boost::property_tree::ptree *tree) final |
| void | initFrom (TFile *file) final |
| void | syncCCDBandRegistry (void *externalobj) final |
| void | serializeTo (TFile *file) const final |
| ConfigurableParam () | |
Public Attributes | |
| int | maxTracksPerCalibSlot = 500'000 |
| the number of tracks which is required to obtain an average correction map | |
| int | additionalTracksMap = 3'500'000 |
| will be added to maxTracksPerCalibSlot for track sample with uniform acceptance (no PHOS hole) | |
| int | minTPCNCls = 70 |
| min number of TPC clusters | |
| int | minTPCNClsNoOuterPoint = 50 |
| min number of TPC clusters if no hit in TRD or TOF exists | |
| float | maxTPCChi2 = 4.f |
| cut on TPC reduced chi2 | |
| int | minITSNCls = 4 |
| min number of ITS clusters | |
| int | minITSNClsNoOuterPoint = 6 |
| min number of ITS clusters if no hit in TRD or TOF exists | |
| int | minTRDNTrklts = 3 |
| min number of TRD space points | |
| float | maxITSChi2 = 20.f |
| cut on ITS reduced chi2 | |
| float | maxTRDChi2 = 10.f |
| cut on TRD reduced chi2 | |
| float | minPtNoOuterPoint = 0.2f |
| minimum pt for ITS-TPC tracks to be considered for extrapolation | |
| int | minTOFTRDPVContributors = 2 |
| min contributors from TRD or TOF (fast detectors) to consider tracks of this PV | |
| bool | ignoreNonPVContrib = true |
| flag if tracks which did not contribute to the PV should be ignored or not | |
| bool | enableTrackDownsampling = false |
| flag if track sampling shall be enabled or not | |
| bool | refitITS = true |
| refit ITS tracks with PID attached to the seed | |
| bool | shiftRefToCluster = true |
| when reftting the ITS track, shift the lin.reference to cluster after every update (better material matching) | |
| float | tsalisThreshold = 1.f |
| in case the sampling functions returns a value smaller than this the track is discarded (1. means no downsampling) | |
| float | sigYZ2TOF {.75f} |
| for now assume cluster error for TOF equal for all clusters in both Y and Z | |
| float | maxSnp {.85f} |
| max snp when propagating tracks | |
| bool | clampTgSlp {false} |
| store TPC cluster residuals with |tan(phi)| >= param::MaxTgSlp saturated (tgSlp = +-0x7fff, see UnbinnedResid::isTgSlpClamped) instead of dropping them: the cut is on the reference track's direction, so dropping selects on the reference's error | |
| bool | keepClustersOnPropFail {false} |
| if the reference track propagation fails (maxSnp, rotation), keep the track: TPC clusters without a reference are stored position-only (y, z = cluster; dy = dz = 0; tgSlp = UnbinnedResid::TgSlpPositionOnly) instead of dropping the whole track, which selects on the reference's error | |
| float | maxStep {2.f} |
| maximum step for propagation | |
| bool | debugTRDTOF {false} |
| if true, ITS-TPC-TRD-TOF tracks and their seeding ITS-TPC-TRD track will both be interpolated and their residuals stored | |
| bool | fitVdrift {true} |
| if vDrift should be extracted (TODO: currently from unbinned residuals in macro mode only) | |
| bool | writeBinnedResiduals {false} |
| when creating the map from unbinned residuals store the binned residuals together with the voxel results | |
| bool | useTrackData {true} |
| if we have the track data available, we can redefine the above cuts for the map creation, e.g. minTPCNCls etc | |
| bool | timeFilter {false} |
| consider only residuals as input from TFs with a specific time range specified via startTimeMS and endTimeMS | |
| long | startTimeMS {0L} |
| the start of the time range in MS | |
| long | endTimeMS {1999999999999L} |
| the end of the time range in MS | |
| bool | cutOnDCA {true} |
| when creating the map from unbinned residuals cut on DCA estimated from ITS outer parameter | |
| float | maxDCA = 7.f |
| DCA cut value in cm. | |
| bool | skipOutlierFiltering {false} |
| if set, the outlier filtering will not be applied at all | |
| bool | writeUnfiltered {false} |
| if set, tracks failing validation will be kept with filterFlag>0 giving the reason of rejection | |
| bool | keepRejectedResiduals {false} |
| if set, keep rejected residuals setting rejected flag | |
| int | nMALong {15} |
| number of points to be used for moving average (long range) | |
| int | nMAShort {3} |
| number of points to be used for estimation of distance from local line (short range) | |
| float | maxRejFrac {.15f} |
| if the fraction of rejected clusters of a track is higher, the full track is invalidated | |
| float | maxRMSLong {.8f} |
| maximum variance of the cluster residuals wrt moving avarage for a track to be considered | |
| int | minNCl = 30 |
| min number of clusters in a track to be used for calibration | |
| float | maxQ2Pt = 5.f |
| max fitted q/pt for a track to be used for calibration | |
| float | maxDevHelixY = .3f |
| max deviation in Y for clusters wrt helix fit | |
| float | maxDevHelixZ = .3f |
| max deviation in Z for clusters wrt helix fit | |
| int | minNumberOfAcceptedResiduals = 30 |
| min number of accepted residuals for | |
| float | maxStdDevMA = 25.f |
| max cluster std. deviation (Y^2 + Z^2) wrt moving average to accept | |
| bool | writeValidationData = false |
| write track validation data for debugging | |
| bool | isBfieldZero = false |
| for B=0 we set the radial distortions to zero and don't fit dy vs tgSlp | |
| int | minEntriesPerVoxel = 15 |
| minimum number of points in voxel for processing | |
| float | LTMCut = .75f |
| fraction op points to keep when trimming input data | |
| float | minFracLTM = .5f |
| minimum fraction of points to keep when trimming data to fit expected sigma | |
| float | minValidVoxFracDrift = .5f |
| if more than this fraction of bins are bad for one pad row the whole pad row is declared bad | |
| int | minGoodXBinsToCover = 3 |
| minimum number of consecutive good bins, otherwise bins are declared bad | |
| int | maxBadXBinsToCover = 4 |
| a lower number of consecutive bad X bins will not be declared bad | |
| float | maxFracBadRowsPerSector = .4f |
| maximum fraction of bad rows before whole sector is masked | |
| float | maxFitErrY2 = 1.f |
| maximum fit error for Y2 | |
| float | maxFitErrX2 = 9.f |
| maximum fit error for X2 | |
| float | maxFitCorrXY = .95f |
| maximum fit correlation for x and y | |
| float | maxSigY = 1.1f |
| maximum sigma for y of the voxel | |
| float | maxSigZ = .7f |
| maximum sigma for z of the voxel | |
| float | maxGaussStdDev = 5.f |
| maximum number of sigmas to be considered for gaussian kernel smoothing | |
| float | maxZ2X = 1.f |
| maximum Z/X | |
Additional Inherited Members | |
Public Types inherited from o2::conf::ConfigurableParam | |
| enum | EParamProvenance { kCODE , kCCDB , kRT } |
| enum class | EParamUpdateStatus { Changed , Unchanged , Failed } |
Static Public Member Functions inherited from o2::conf::ConfigurableParamHelper< SpacePointsCalibConfParam > | |
| static const SpacePointsCalibConfParam & | Instance () |
Static Public Member Functions inherited from o2::conf::ConfigurableParam | |
| static std::string | toString (EParamProvenance p) |
| static EParamProvenance | getProvenance (const std::string &key) |
| static void | printAllRegisteredParamNames () |
| static void | printAllKeyValuePairs (bool useLogger=false) |
| static const std::string & | getOutputDir () |
| static void | setOutputDir (const std::string &d) |
| static bool | configFileExists (std::string const &filepath) |
| static void | writeJSON (std::string const &filename, std::string const &keyOnly="") |
| static void | writeINI (std::string const &filename, std::string const &keyOnly="") |
| static void | write (std::string const &filename, std::string const &keyOnly="") |
| static std::string | asJSON (std::string const &keyOnly="") |
| template<typename T > | |
| static T | getValueAs (std::string key) |
| template<typename T > | |
| static void | setValue (std::string const &mainkey, std::string const &subkey, T x) |
| static void | setProvenance (std::string const &mainkey, std::string const &subkey, EParamProvenance p) |
| static void | setValue (std::string const &key, std::string const &valuestring) |
| static void | setEnumValue (const std::string &, const std::string &) |
| static void | setArrayValue (const std::string &, const std::string &) |
| static void | setContainerValue (const std::string &, const std::string &) |
| static bool | isRegisteredContainerType (const std::string &typeName) |
| static void | registerContainerType (const std::string &key, const std::string &typeName) |
| static std::string | getRegisteredContainerType (const std::string &key) |
| static bool | assignRegisteredContainer (const std::string &typeName, void *target, const void *source) |
| static bool | areRegisteredContainersEqual (const std::string &typeName, const void *lhs, const void *rhs) |
| static std::string | registeredContainerAsString (const std::string &typeName, const void *source) |
| static void | setValues (std::vector< std::pair< std::string, std::string > > const &keyValues) |
| static void | initialize () |
| static void | toCCDB (std::string filename) |
| static void | fromCCDB (std::string filename) |
| static void | updateFromString (std::string const &) |
| static void | updateFromFile (std::string const &, std::string const ¶msList="", bool unchangedOnly=false) |
| static void | updateFromJSONString (std::string const &, std::string const ¶msList="", bool unchangedOnly=false) |
Protected Member Functions inherited from o2::conf::ConfigurableParam | |
| ConfigurableParam () | |
| virtual | ~ConfigurableParam ()=default |
| void | setRegisterMode (bool b) |
| bool | isInitialized () const |
Static Protected Member Functions inherited from o2::conf::ConfigurableParam | |
| static void | initPropertyTree () |
| static EParamUpdateStatus | updateThroughStorageMap (std::string, std::string, std::type_info const &, void *) |
| static EParamUpdateStatus | updateThroughStorageMapWithConversion (std::string const &, std::string const &) |
Static Protected Attributes inherited from o2::conf::ConfigurableParam | |
| static std::map< std::string, std::pair< std::type_info const &, void * > > * | sKeyToStorageMap = nullptr |
| static std::map< std::string, ConfigurableParam::EParamProvenance > * | sValueProvenanceMap = nullptr |
| static EnumRegistry * | sEnumRegistry = nullptr |
| static std::string | sOutputDir = "" |
Definition at line 26 of file SpacePointsCalibConfParam.h.
| o2::tpc::SpacePointsCalibConfParam::O2ParamDef | ( | SpacePointsCalibConfParam | , |
| "scdcalib" | |||
| ) |
| int o2::tpc::SpacePointsCalibConfParam::additionalTracksMap = 3'500'000 |
will be added to maxTracksPerCalibSlot for track sample with uniform acceptance (no PHOS hole)
Definition at line 29 of file SpacePointsCalibConfParam.h.
store TPC cluster residuals with |tan(phi)| >= param::MaxTgSlp saturated (tgSlp = +-0x7fff, see UnbinnedResid::isTgSlpClamped) instead of dropping them: the cut is on the reference track's direction, so dropping selects on the reference's error
Definition at line 51 of file SpacePointsCalibConfParam.h.
when creating the map from unbinned residuals cut on DCA estimated from ITS outer parameter
Definition at line 63 of file SpacePointsCalibConfParam.h.
if true, ITS-TPC-TRD-TOF tracks and their seeding ITS-TPC-TRD track will both be interpolated and their residuals stored
Definition at line 54 of file SpacePointsCalibConfParam.h.
flag if track sampling shall be enabled or not
Definition at line 43 of file SpacePointsCalibConfParam.h.
| long o2::tpc::SpacePointsCalibConfParam::endTimeMS {1999999999999L} |
the end of the time range in MS
Definition at line 62 of file SpacePointsCalibConfParam.h.
if vDrift should be extracted (TODO: currently from unbinned residuals in macro mode only)
Definition at line 57 of file SpacePointsCalibConfParam.h.
flag if tracks which did not contribute to the PV should be ignored or not
Definition at line 42 of file SpacePointsCalibConfParam.h.
for B=0 we set the radial distortions to zero and don't fit dy vs tgSlp
Definition at line 83 of file SpacePointsCalibConfParam.h.
if the reference track propagation fails (maxSnp, rotation), keep the track: TPC clusters without a reference are stored position-only (y, z = cluster; dy = dz = 0; tgSlp = UnbinnedResid::TgSlpPositionOnly) instead of dropping the whole track, which selects on the reference's error
Definition at line 52 of file SpacePointsCalibConfParam.h.
if set, keep rejected residuals setting rejected flag
Definition at line 69 of file SpacePointsCalibConfParam.h.
fraction op points to keep when trimming input data
Definition at line 85 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::maxBadXBinsToCover = 4 |
a lower number of consecutive bad X bins will not be declared bad
Definition at line 89 of file SpacePointsCalibConfParam.h.
DCA cut value in cm.
Definition at line 64 of file SpacePointsCalibConfParam.h.
max deviation in Y for clusters wrt helix fit
Definition at line 76 of file SpacePointsCalibConfParam.h.
max deviation in Z for clusters wrt helix fit
Definition at line 77 of file SpacePointsCalibConfParam.h.
maximum fit correlation for x and y
Definition at line 93 of file SpacePointsCalibConfParam.h.
maximum fit error for X2
Definition at line 92 of file SpacePointsCalibConfParam.h.
maximum fit error for Y2
Definition at line 91 of file SpacePointsCalibConfParam.h.
maximum fraction of bad rows before whole sector is masked
Definition at line 90 of file SpacePointsCalibConfParam.h.
maximum number of sigmas to be considered for gaussian kernel smoothing
Definition at line 96 of file SpacePointsCalibConfParam.h.
cut on ITS reduced chi2
Definition at line 38 of file SpacePointsCalibConfParam.h.
max fitted q/pt for a track to be used for calibration
Definition at line 75 of file SpacePointsCalibConfParam.h.
if the fraction of rejected clusters of a track is higher, the full track is invalidated
Definition at line 72 of file SpacePointsCalibConfParam.h.
maximum variance of the cluster residuals wrt moving avarage for a track to be considered
Definition at line 73 of file SpacePointsCalibConfParam.h.
maximum sigma for y of the voxel
Definition at line 94 of file SpacePointsCalibConfParam.h.
maximum sigma for z of the voxel
Definition at line 95 of file SpacePointsCalibConfParam.h.
max snp when propagating tracks
Definition at line 50 of file SpacePointsCalibConfParam.h.
max cluster std. deviation (Y^2 + Z^2) wrt moving average to accept
Definition at line 79 of file SpacePointsCalibConfParam.h.
maximum step for propagation
Definition at line 53 of file SpacePointsCalibConfParam.h.
cut on TPC reduced chi2
Definition at line 34 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::maxTracksPerCalibSlot = 500'000 |
the number of tracks which is required to obtain an average correction map
Definition at line 28 of file SpacePointsCalibConfParam.h.
cut on TRD reduced chi2
Definition at line 39 of file SpacePointsCalibConfParam.h.
maximum Z/X
Definition at line 97 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::minEntriesPerVoxel = 15 |
minimum number of points in voxel for processing
Definition at line 84 of file SpacePointsCalibConfParam.h.
minimum fraction of points to keep when trimming data to fit expected sigma
Definition at line 86 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::minGoodXBinsToCover = 3 |
minimum number of consecutive good bins, otherwise bins are declared bad
Definition at line 88 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::minITSNCls = 4 |
min number of ITS clusters
Definition at line 35 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::minITSNClsNoOuterPoint = 6 |
min number of ITS clusters if no hit in TRD or TOF exists
Definition at line 36 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::minNCl = 30 |
min number of clusters in a track to be used for calibration
Definition at line 74 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::minNumberOfAcceptedResiduals = 30 |
min number of accepted residuals for
Definition at line 78 of file SpacePointsCalibConfParam.h.
minimum pt for ITS-TPC tracks to be considered for extrapolation
Definition at line 40 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::minTOFTRDPVContributors = 2 |
min contributors from TRD or TOF (fast detectors) to consider tracks of this PV
Definition at line 41 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::minTPCNCls = 70 |
min number of TPC clusters
Definition at line 32 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::minTPCNClsNoOuterPoint = 50 |
min number of TPC clusters if no hit in TRD or TOF exists
Definition at line 33 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::minTRDNTrklts = 3 |
min number of TRD space points
Definition at line 37 of file SpacePointsCalibConfParam.h.
if more than this fraction of bins are bad for one pad row the whole pad row is declared bad
Definition at line 87 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::nMALong {15} |
number of points to be used for moving average (long range)
Definition at line 70 of file SpacePointsCalibConfParam.h.
| int o2::tpc::SpacePointsCalibConfParam::nMAShort {3} |
number of points to be used for estimation of distance from local line (short range)
Definition at line 71 of file SpacePointsCalibConfParam.h.
refit ITS tracks with PID attached to the seed
Definition at line 44 of file SpacePointsCalibConfParam.h.
when reftting the ITS track, shift the lin.reference to cluster after every update (better material matching)
Definition at line 45 of file SpacePointsCalibConfParam.h.
for now assume cluster error for TOF equal for all clusters in both Y and Z
Definition at line 49 of file SpacePointsCalibConfParam.h.
if set, the outlier filtering will not be applied at all
Definition at line 67 of file SpacePointsCalibConfParam.h.
| long o2::tpc::SpacePointsCalibConfParam::startTimeMS {0L} |
the start of the time range in MS
Definition at line 61 of file SpacePointsCalibConfParam.h.
consider only residuals as input from TFs with a specific time range specified via startTimeMS and endTimeMS
Definition at line 60 of file SpacePointsCalibConfParam.h.
in case the sampling functions returns a value smaller than this the track is discarded (1. means no downsampling)
Definition at line 46 of file SpacePointsCalibConfParam.h.
if we have the track data available, we can redefine the above cuts for the map creation, e.g. minTPCNCls etc
Definition at line 59 of file SpacePointsCalibConfParam.h.
when creating the map from unbinned residuals store the binned residuals together with the voxel results
Definition at line 58 of file SpacePointsCalibConfParam.h.
if set, tracks failing validation will be kept with filterFlag>0 giving the reason of rejection
Definition at line 68 of file SpacePointsCalibConfParam.h.
write track validation data for debugging
Definition at line 80 of file SpacePointsCalibConfParam.h.