Project
Loading...
Searching...
No Matches
o2::mft::AlignConfig Struct Reference

#include <AlignConfig.h>

Inherits o2::conf::ConfigurableParamHelper< AlignConfig >.

Public Member Functions

 O2ParamDef (AlignConfig, "MFTAlignment")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< AlignConfig >
std::string getName () const final
 
EParamProvenance getMemberProvenance (const std::string &key) const final
 
void printKeyValues (bool showProv=true, bool useLogger=false) 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 minPoints = 6
 mininum number of clusters in a track used for alignment
 
Int_t chi2CutNStdDev = 3
 Number of standard deviations for chi2 cut.
 
Double_t residualCutInitial = 100.
 Cut on residual on first iteration.
 
Double_t residualCut = 100.
 Cut on residual for other iterations.
 
Double_t allowedVarDeltaX = 0.5
 allowed max delta in x-translation (cm)
 
Double_t allowedVarDeltaY = 0.5
 allowed max delta in y-translation (cm)
 
Double_t allowedVarDeltaZ = 0.5
 allowed max delta in z-translation (cm)
 
Double_t allowedVarDeltaRz = 0.01
 allowed max delta in rotation around z-axis (rad)
 
Double_t chi2CutFactor = 256.
 used to reject outliers i.e. bad tracks with sum(chi2) > Chi2DoFLim(fNStdDev, nDoF) * fChi2CutFactor
 

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< AlignConfig >
static const AlignConfig & 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="")
 
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 27 of file AlignConfig.h.

Member Function Documentation

◆ O2ParamDef()

o2::mft::AlignConfig::O2ParamDef ( AlignConfig  ,
"MFTAlignment"   
)

Member Data Documentation

◆ allowedVarDeltaRz

Double_t o2::mft::AlignConfig::allowedVarDeltaRz = 0.01

allowed max delta in rotation around z-axis (rad)

Definition at line 35 of file AlignConfig.h.

◆ allowedVarDeltaX

Double_t o2::mft::AlignConfig::allowedVarDeltaX = 0.5

allowed max delta in x-translation (cm)

Definition at line 32 of file AlignConfig.h.

◆ allowedVarDeltaY

Double_t o2::mft::AlignConfig::allowedVarDeltaY = 0.5

allowed max delta in y-translation (cm)

Definition at line 33 of file AlignConfig.h.

◆ allowedVarDeltaZ

Double_t o2::mft::AlignConfig::allowedVarDeltaZ = 0.5

allowed max delta in z-translation (cm)

Definition at line 34 of file AlignConfig.h.

◆ chi2CutFactor

Double_t o2::mft::AlignConfig::chi2CutFactor = 256.

used to reject outliers i.e. bad tracks with sum(chi2) > Chi2DoFLim(fNStdDev, nDoF) * fChi2CutFactor

Definition at line 36 of file AlignConfig.h.

◆ chi2CutNStdDev

Int_t o2::mft::AlignConfig::chi2CutNStdDev = 3

Number of standard deviations for chi2 cut.

Definition at line 29 of file AlignConfig.h.

◆ minPoints

int o2::mft::AlignConfig::minPoints = 6

mininum number of clusters in a track used for alignment

Definition at line 28 of file AlignConfig.h.

◆ residualCut

Double_t o2::mft::AlignConfig::residualCut = 100.

Cut on residual for other iterations.

Definition at line 31 of file AlignConfig.h.

◆ residualCutInitial

Double_t o2::mft::AlignConfig::residualCutInitial = 100.

Cut on residual on first iteration.

Definition at line 30 of file AlignConfig.h.


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