Project
Loading...
Searching...
No Matches
o2::conf::MatMapParams Struct Reference

#include <MatMapParams.h>

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

Public Member Functions

 O2ParamDef (MatMapParams, "matm")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< MatMapParams >
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 nphi = 360
 
float phimin = 0
 
float phimax = 360.
 
int ntheta = 0
 
float thetamin = -45.
 
float thetamax = 45.
 
int neta = 0
 
float etamin = -2.
 
float etamax = 2.
 
int nzv = 0
 
float zvmin = -50.
 
float zvmax = 50.
 
float rmin = 0.
 
float rmax = 290.
 
float zmax = 2000
 

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< MatMapParams >
static const MatMapParamsInstance ()
 
- 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

A parameter class/struct holding values for material budget maps

Definition at line 29 of file MatMapParams.h.

Member Function Documentation

◆ O2ParamDef()

o2::conf::MatMapParams::O2ParamDef ( MatMapParams  ,
"matm"   
)

Member Data Documentation

◆ etamax

float o2::conf::MatMapParams::etamax = 2.

Definition at line 38 of file MatMapParams.h.

◆ etamin

float o2::conf::MatMapParams::etamin = -2.

Definition at line 37 of file MatMapParams.h.

◆ neta

int o2::conf::MatMapParams::neta = 0

Definition at line 36 of file MatMapParams.h.

◆ nphi

int o2::conf::MatMapParams::nphi = 360

Definition at line 30 of file MatMapParams.h.

◆ ntheta

int o2::conf::MatMapParams::ntheta = 0

Definition at line 33 of file MatMapParams.h.

◆ nzv

int o2::conf::MatMapParams::nzv = 0

Definition at line 39 of file MatMapParams.h.

◆ phimax

float o2::conf::MatMapParams::phimax = 360.

Definition at line 32 of file MatMapParams.h.

◆ phimin

float o2::conf::MatMapParams::phimin = 0

Definition at line 31 of file MatMapParams.h.

◆ rmax

float o2::conf::MatMapParams::rmax = 290.

Definition at line 43 of file MatMapParams.h.

◆ rmin

float o2::conf::MatMapParams::rmin = 0.

Definition at line 42 of file MatMapParams.h.

◆ thetamax

float o2::conf::MatMapParams::thetamax = 45.

Definition at line 35 of file MatMapParams.h.

◆ thetamin

float o2::conf::MatMapParams::thetamin = -45.

Definition at line 34 of file MatMapParams.h.

◆ zmax

float o2::conf::MatMapParams::zmax = 2000

Definition at line 44 of file MatMapParams.h.

◆ zvmax

float o2::conf::MatMapParams::zvmax = 50.

Definition at line 41 of file MatMapParams.h.

◆ zvmin

float o2::conf::MatMapParams::zvmin = -50.

Definition at line 40 of file MatMapParams.h.


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