Project
Loading...
Searching...
No Matches
o2::tpc::SpacePointsCalibConfParam Struct Reference

#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
 
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="")
 
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 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 &paramsList="", 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 EnumRegistrysEnumRegistry = nullptr
 
static std::string sOutputDir = ""
 

Detailed Description

Definition at line 26 of file SpacePointsCalibConfParam.h.

Member Function Documentation

◆ O2ParamDef()

o2::tpc::SpacePointsCalibConfParam::O2ParamDef ( SpacePointsCalibConfParam  ,
"scdcalib"   
)

Member Data Documentation

◆ additionalTracksMap

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.

◆ cutOnDCA

bool o2::tpc::SpacePointsCalibConfParam::cutOnDCA {true}

when creating the map from unbinned residuals cut on DCA estimated from ITS outer parameter

Definition at line 61 of file SpacePointsCalibConfParam.h.

◆ debugTRDTOF

bool o2::tpc::SpacePointsCalibConfParam::debugTRDTOF {false}

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 52 of file SpacePointsCalibConfParam.h.

◆ enableTrackDownsampling

bool o2::tpc::SpacePointsCalibConfParam::enableTrackDownsampling = false

flag if track sampling shall be enabled or not

Definition at line 43 of file SpacePointsCalibConfParam.h.

◆ endTimeMS

long o2::tpc::SpacePointsCalibConfParam::endTimeMS {1999999999999L}

the end of the time range in MS

Definition at line 60 of file SpacePointsCalibConfParam.h.

◆ fitVdrift

bool o2::tpc::SpacePointsCalibConfParam::fitVdrift {true}

if vDrift should be extracted (TODO: currently from unbinned residuals in macro mode only)

Definition at line 55 of file SpacePointsCalibConfParam.h.

◆ ignoreNonPVContrib

bool o2::tpc::SpacePointsCalibConfParam::ignoreNonPVContrib = true

flag if tracks which did not contribute to the PV should be ignored or not

Definition at line 42 of file SpacePointsCalibConfParam.h.

◆ isBfieldZero

bool o2::tpc::SpacePointsCalibConfParam::isBfieldZero = false

for B=0 we set the radial distortions to zero and don't fit dy vs tgSlp

Definition at line 81 of file SpacePointsCalibConfParam.h.

◆ keepRejectedResiduals

bool o2::tpc::SpacePointsCalibConfParam::keepRejectedResiduals {false}

if set, keep rejected residuals setting rejected flag

Definition at line 67 of file SpacePointsCalibConfParam.h.

◆ LTMCut

float o2::tpc::SpacePointsCalibConfParam::LTMCut = .75f

fraction op points to keep when trimming input data

Definition at line 83 of file SpacePointsCalibConfParam.h.

◆ maxBadXBinsToCover

int o2::tpc::SpacePointsCalibConfParam::maxBadXBinsToCover = 4

a lower number of consecutive bad X bins will not be declared bad

Definition at line 87 of file SpacePointsCalibConfParam.h.

◆ maxDCA

float o2::tpc::SpacePointsCalibConfParam::maxDCA = 7.f

DCA cut value in cm.

Definition at line 62 of file SpacePointsCalibConfParam.h.

◆ maxDevHelixY

float o2::tpc::SpacePointsCalibConfParam::maxDevHelixY = .3f

max deviation in Y for clusters wrt helix fit

Definition at line 74 of file SpacePointsCalibConfParam.h.

◆ maxDevHelixZ

float o2::tpc::SpacePointsCalibConfParam::maxDevHelixZ = .3f

max deviation in Z for clusters wrt helix fit

Definition at line 75 of file SpacePointsCalibConfParam.h.

◆ maxFitCorrXY

float o2::tpc::SpacePointsCalibConfParam::maxFitCorrXY = .95f

maximum fit correlation for x and y

Definition at line 91 of file SpacePointsCalibConfParam.h.

◆ maxFitErrX2

float o2::tpc::SpacePointsCalibConfParam::maxFitErrX2 = 9.f

maximum fit error for X2

Definition at line 90 of file SpacePointsCalibConfParam.h.

◆ maxFitErrY2

float o2::tpc::SpacePointsCalibConfParam::maxFitErrY2 = 1.f

maximum fit error for Y2

Definition at line 89 of file SpacePointsCalibConfParam.h.

◆ maxFracBadRowsPerSector

float o2::tpc::SpacePointsCalibConfParam::maxFracBadRowsPerSector = .4f

maximum fraction of bad rows before whole sector is masked

Definition at line 88 of file SpacePointsCalibConfParam.h.

◆ maxGaussStdDev

float o2::tpc::SpacePointsCalibConfParam::maxGaussStdDev = 5.f

maximum number of sigmas to be considered for gaussian kernel smoothing

Definition at line 94 of file SpacePointsCalibConfParam.h.

◆ maxITSChi2

float o2::tpc::SpacePointsCalibConfParam::maxITSChi2 = 20.f

cut on ITS reduced chi2

Definition at line 38 of file SpacePointsCalibConfParam.h.

◆ maxQ2Pt

float o2::tpc::SpacePointsCalibConfParam::maxQ2Pt = 5.f

max fitted q/pt for a track to be used for calibration

Definition at line 73 of file SpacePointsCalibConfParam.h.

◆ maxRejFrac

float o2::tpc::SpacePointsCalibConfParam::maxRejFrac {.15f}

if the fraction of rejected clusters of a track is higher, the full track is invalidated

Definition at line 70 of file SpacePointsCalibConfParam.h.

◆ maxRMSLong

float o2::tpc::SpacePointsCalibConfParam::maxRMSLong {.8f}

maximum variance of the cluster residuals wrt moving avarage for a track to be considered

Definition at line 71 of file SpacePointsCalibConfParam.h.

◆ maxSigY

float o2::tpc::SpacePointsCalibConfParam::maxSigY = 1.1f

maximum sigma for y of the voxel

Definition at line 92 of file SpacePointsCalibConfParam.h.

◆ maxSigZ

float o2::tpc::SpacePointsCalibConfParam::maxSigZ = .7f

maximum sigma for z of the voxel

Definition at line 93 of file SpacePointsCalibConfParam.h.

◆ maxSnp

float o2::tpc::SpacePointsCalibConfParam::maxSnp {.85f}

max snp when propagating tracks

Definition at line 50 of file SpacePointsCalibConfParam.h.

◆ maxStdDevMA

float o2::tpc::SpacePointsCalibConfParam::maxStdDevMA = 25.f

max cluster std. deviation (Y^2 + Z^2) wrt moving average to accept

Definition at line 77 of file SpacePointsCalibConfParam.h.

◆ maxStep

float o2::tpc::SpacePointsCalibConfParam::maxStep {2.f}

maximum step for propagation

Definition at line 51 of file SpacePointsCalibConfParam.h.

◆ maxTPCChi2

float o2::tpc::SpacePointsCalibConfParam::maxTPCChi2 = 4.f

cut on TPC reduced chi2

Definition at line 34 of file SpacePointsCalibConfParam.h.

◆ maxTracksPerCalibSlot

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.

◆ maxTRDChi2

float o2::tpc::SpacePointsCalibConfParam::maxTRDChi2 = 10.f

cut on TRD reduced chi2

Definition at line 39 of file SpacePointsCalibConfParam.h.

◆ maxZ2X

float o2::tpc::SpacePointsCalibConfParam::maxZ2X = 1.f

maximum Z/X

Definition at line 95 of file SpacePointsCalibConfParam.h.

◆ minEntriesPerVoxel

int o2::tpc::SpacePointsCalibConfParam::minEntriesPerVoxel = 15

minimum number of points in voxel for processing

Definition at line 82 of file SpacePointsCalibConfParam.h.

◆ minFracLTM

float o2::tpc::SpacePointsCalibConfParam::minFracLTM = .5f

minimum fraction of points to keep when trimming data to fit expected sigma

Definition at line 84 of file SpacePointsCalibConfParam.h.

◆ minGoodXBinsToCover

int o2::tpc::SpacePointsCalibConfParam::minGoodXBinsToCover = 3

minimum number of consecutive good bins, otherwise bins are declared bad

Definition at line 86 of file SpacePointsCalibConfParam.h.

◆ minITSNCls

int o2::tpc::SpacePointsCalibConfParam::minITSNCls = 4

min number of ITS clusters

Definition at line 35 of file SpacePointsCalibConfParam.h.

◆ minITSNClsNoOuterPoint

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.

◆ minNCl

int o2::tpc::SpacePointsCalibConfParam::minNCl = 30

min number of clusters in a track to be used for calibration

Definition at line 72 of file SpacePointsCalibConfParam.h.

◆ minNumberOfAcceptedResiduals

int o2::tpc::SpacePointsCalibConfParam::minNumberOfAcceptedResiduals = 30

min number of accepted residuals for

Definition at line 76 of file SpacePointsCalibConfParam.h.

◆ minPtNoOuterPoint

float o2::tpc::SpacePointsCalibConfParam::minPtNoOuterPoint = 0.2f

minimum pt for ITS-TPC tracks to be considered for extrapolation

Definition at line 40 of file SpacePointsCalibConfParam.h.

◆ minTOFTRDPVContributors

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.

◆ minTPCNCls

int o2::tpc::SpacePointsCalibConfParam::minTPCNCls = 70

min number of TPC clusters

Definition at line 32 of file SpacePointsCalibConfParam.h.

◆ minTPCNClsNoOuterPoint

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.

◆ minTRDNTrklts

int o2::tpc::SpacePointsCalibConfParam::minTRDNTrklts = 3

min number of TRD space points

Definition at line 37 of file SpacePointsCalibConfParam.h.

◆ minValidVoxFracDrift

float o2::tpc::SpacePointsCalibConfParam::minValidVoxFracDrift = .5f

if more than this fraction of bins are bad for one pad row the whole pad row is declared bad

Definition at line 85 of file SpacePointsCalibConfParam.h.

◆ nMALong

int o2::tpc::SpacePointsCalibConfParam::nMALong {15}

number of points to be used for moving average (long range)

Definition at line 68 of file SpacePointsCalibConfParam.h.

◆ nMAShort

int o2::tpc::SpacePointsCalibConfParam::nMAShort {3}

number of points to be used for estimation of distance from local line (short range)

Definition at line 69 of file SpacePointsCalibConfParam.h.

◆ refitITS

bool o2::tpc::SpacePointsCalibConfParam::refitITS = true

refit ITS tracks with PID attached to the seed

Definition at line 44 of file SpacePointsCalibConfParam.h.

◆ shiftRefToCluster

bool o2::tpc::SpacePointsCalibConfParam::shiftRefToCluster = true

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.

◆ sigYZ2TOF

float o2::tpc::SpacePointsCalibConfParam::sigYZ2TOF {.75f}

for now assume cluster error for TOF equal for all clusters in both Y and Z

Definition at line 49 of file SpacePointsCalibConfParam.h.

◆ skipOutlierFiltering

bool o2::tpc::SpacePointsCalibConfParam::skipOutlierFiltering {false}

if set, the outlier filtering will not be applied at all

Definition at line 65 of file SpacePointsCalibConfParam.h.

◆ startTimeMS

long o2::tpc::SpacePointsCalibConfParam::startTimeMS {0L}

the start of the time range in MS

Definition at line 59 of file SpacePointsCalibConfParam.h.

◆ timeFilter

bool o2::tpc::SpacePointsCalibConfParam::timeFilter {false}

consider only residuals as input from TFs with a specific time range specified via startTimeMS and endTimeMS

Definition at line 58 of file SpacePointsCalibConfParam.h.

◆ tsalisThreshold

float o2::tpc::SpacePointsCalibConfParam::tsalisThreshold = 1.f

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.

◆ useTrackData

bool o2::tpc::SpacePointsCalibConfParam::useTrackData {true}

if we have the track data available, we can redefine the above cuts for the map creation, e.g. minTPCNCls etc

Definition at line 57 of file SpacePointsCalibConfParam.h.

◆ writeBinnedResiduals

bool o2::tpc::SpacePointsCalibConfParam::writeBinnedResiduals {false}

when creating the map from unbinned residuals store the binned residuals together with the voxel results

Definition at line 56 of file SpacePointsCalibConfParam.h.

◆ writeUnfiltered

bool o2::tpc::SpacePointsCalibConfParam::writeUnfiltered {false}

if set, tracks failing validation will be kept with filterFlag>0 giving the reason of rejection

Definition at line 66 of file SpacePointsCalibConfParam.h.

◆ writeValidationData

bool o2::tpc::SpacePointsCalibConfParam::writeValidationData = false

write track validation data for debugging

Definition at line 78 of file SpacePointsCalibConfParam.h.


The documentation for this struct was generated from the following file: