Project
Loading...
Searching...
No Matches
o2::eventgen::GenTPCLoopersParam Struct Reference

#include <TPCLoopersParam.h>

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

Public Member Functions

 O2ParamDef (GenTPCLoopersParam, "GenTPCLoopers")
 
- Public Member Functions inherited from o2::conf::ConfigurableParamHelper< GenTPCLoopersParam >
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

bool loopersVeto = false
 
std::string model_pairs = "ccdb://Users/m/mgiacalo/WGAN_ExtGenPair"
 
std::string model_compton = "ccdb://Users/m/mgiacalo/WGAN_ExtGenCompton"
 
std::string poisson = "${O2_ROOT}/share/Generators/TPCLoopers/poisson_params.csv"
 
std::string gauss = "${O2_ROOT}/share/Generators/TPCLoopers/gaussian_params.csv"
 
std::string scaler_pair = "${O2_ROOT}/share/Generators/TPCLoopers/ScalerPairParams.json"
 
std::string scaler_compton = "${O2_ROOT}/share/Generators/TPCLoopers/ScalerComptonParams.json"
 
std::string nclxrate = "ccdb://Users/m/mgiacalo/ClustersTrackRatio"
 
std::string colsys = "PbPb"
 
int intrate = -1
 
bool flat_gas = true
 
unsigned int nFlatGasLoopers = 500
 
float fraction_pairs = 0.08
 
float multiplier [2] = {1., 1.}
 
unsigned int fixedNLoopers [2] = {1, 1}
 
float adjust_flatgas = 0.f
 

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< GenTPCLoopersParam >
static const GenTPCLoopersParam & 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

a parameter class/struct to keep the settings of the TPC loopers event-generator and allow the user to modify them

Definition at line 30 of file TPCLoopersParam.h.

Member Function Documentation

◆ O2ParamDef()

o2::eventgen::GenTPCLoopersParam::O2ParamDef ( GenTPCLoopersParam  ,
"GenTPCLoopers"   
)

Member Data Documentation

◆ adjust_flatgas

float o2::eventgen::GenTPCLoopersParam::adjust_flatgas = 0.f

Definition at line 47 of file TPCLoopersParam.h.

◆ colsys

std::string o2::eventgen::GenTPCLoopersParam::colsys = "PbPb"

Definition at line 40 of file TPCLoopersParam.h.

◆ fixedNLoopers

unsigned int o2::eventgen::GenTPCLoopersParam::fixedNLoopers[2] = {1, 1}

Definition at line 46 of file TPCLoopersParam.h.

◆ flat_gas

bool o2::eventgen::GenTPCLoopersParam::flat_gas = true

Definition at line 42 of file TPCLoopersParam.h.

◆ fraction_pairs

float o2::eventgen::GenTPCLoopersParam::fraction_pairs = 0.08

Definition at line 44 of file TPCLoopersParam.h.

◆ gauss

std::string o2::eventgen::GenTPCLoopersParam::gauss = "${O2_ROOT}/share/Generators/TPCLoopers/gaussian_params.csv"

Definition at line 36 of file TPCLoopersParam.h.

◆ intrate

int o2::eventgen::GenTPCLoopersParam::intrate = -1

Definition at line 41 of file TPCLoopersParam.h.

◆ loopersVeto

bool o2::eventgen::GenTPCLoopersParam::loopersVeto = false

Definition at line 31 of file TPCLoopersParam.h.

◆ model_compton

std::string o2::eventgen::GenTPCLoopersParam::model_compton = "ccdb://Users/m/mgiacalo/WGAN_ExtGenCompton"

Definition at line 34 of file TPCLoopersParam.h.

◆ model_pairs

std::string o2::eventgen::GenTPCLoopersParam::model_pairs = "ccdb://Users/m/mgiacalo/WGAN_ExtGenPair"

Definition at line 33 of file TPCLoopersParam.h.

◆ multiplier

float o2::eventgen::GenTPCLoopersParam::multiplier[2] = {1., 1.}

Definition at line 45 of file TPCLoopersParam.h.

◆ nclxrate

std::string o2::eventgen::GenTPCLoopersParam::nclxrate = "ccdb://Users/m/mgiacalo/ClustersTrackRatio"

Definition at line 39 of file TPCLoopersParam.h.

◆ nFlatGasLoopers

unsigned int o2::eventgen::GenTPCLoopersParam::nFlatGasLoopers = 500

Definition at line 43 of file TPCLoopersParam.h.

◆ poisson

std::string o2::eventgen::GenTPCLoopersParam::poisson = "${O2_ROOT}/share/Generators/TPCLoopers/poisson_params.csv"

Definition at line 35 of file TPCLoopersParam.h.

◆ scaler_compton

std::string o2::eventgen::GenTPCLoopersParam::scaler_compton = "${O2_ROOT}/share/Generators/TPCLoopers/ScalerComptonParams.json"

Definition at line 38 of file TPCLoopersParam.h.

◆ scaler_pair

std::string o2::eventgen::GenTPCLoopersParam::scaler_pair = "${O2_ROOT}/share/Generators/TPCLoopers/ScalerPairParams.json"

Definition at line 37 of file TPCLoopersParam.h.


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