ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
jet::GroupHelper Class Reference

#include <ConfigHelper.h>

Collaboration diagram for jet::GroupHelper:

Public Member Functions

 GroupHelper (const TString &name="")
 
 GroupHelper (TEnv &settings, const TString &groupPrefix, const TString &MCtype)
 
virtual ~GroupHelper ()
 

Public Attributes

TString name
 
TString desc
 
TString cat
 
TString corr
 
TString isRed
 
int groupNum {}
 
int subgroupNum {}
 
CompCategory::TypeEnum category {}
 
CompCorrelation::TypeEnum correlation {}
 
bool reducible {}
 

Detailed Description

Definition at line 83 of file ConfigHelper.h.

Constructor & Destructor Documentation

◆ GroupHelper() [1/2]

jet::GroupHelper::GroupHelper ( const TString &  name = "")

Definition at line 122 of file ConfigHelper.cxx.

123  : name(name)
124 { }

◆ GroupHelper() [2/2]

jet::GroupHelper::GroupHelper ( TEnv &  settings,
const TString &  groupPrefix,
const TString &  MCtype 
)

Definition at line 126 of file ConfigHelper.cxx.

126  :
127  // Read in information on the uncertainty group
128  // - Name: group name
129  // - Desc: description
130  // - Type: category
131  // - Corr: correlation type (only need to specify if >1 histogram)
132  // - Split: Number of sub-components to split this component into (default 1, no split)
133  // - Reduce: Whether or not a given group is safe for eigenvector reduction
134  // - Group: The group number to link relevant components to this information
135  // - SubGroup: subgroup number(s), comma/space-separated list (if not specified, no subgroup)
136  // Overwrite MCTYPE with the specified type if applicable
137  name (TString(settings.GetValue(groupPrefix+"Name","")).ReplaceAll("MCTYPE",MCtype)),
138  desc (settings.GetValue(groupPrefix+"Desc","")),
139  cat (settings.GetValue(groupPrefix+"Type","")),
140  corr (settings.GetValue(groupPrefix+"Corr","")),
141  isRed (settings.GetValue(groupPrefix+"Reducible","true")),
142  groupNum (settings.GetValue(groupPrefix+"Group",0)),
143  subgroupNum (settings.GetValue(groupPrefix+"SubGroup",0)),
144 
145  // Get enums where appropriate
146  // Leave interpreting/checking the enums to others
150 {
151 }

◆ ~GroupHelper()

virtual jet::GroupHelper::~GroupHelper ( )
inlinevirtual

Definition at line 88 of file ConfigHelper.h.

88 {}

Member Data Documentation

◆ cat

TString jet::GroupHelper::cat

Definition at line 93 of file ConfigHelper.h.

◆ category

CompCategory::TypeEnum jet::GroupHelper::category {}

Definition at line 100 of file ConfigHelper.h.

◆ corr

TString jet::GroupHelper::corr

Definition at line 94 of file ConfigHelper.h.

◆ correlation

CompCorrelation::TypeEnum jet::GroupHelper::correlation {}

Definition at line 101 of file ConfigHelper.h.

◆ desc

TString jet::GroupHelper::desc

Definition at line 92 of file ConfigHelper.h.

◆ groupNum

int jet::GroupHelper::groupNum {}

Definition at line 96 of file ConfigHelper.h.

◆ isRed

TString jet::GroupHelper::isRed

Definition at line 95 of file ConfigHelper.h.

◆ name

TString jet::GroupHelper::name

Definition at line 91 of file ConfigHelper.h.

◆ reducible

bool jet::GroupHelper::reducible {}

Definition at line 102 of file ConfigHelper.h.

◆ subgroupNum

int jet::GroupHelper::subgroupNum {}

Definition at line 97 of file ConfigHelper.h.


The documentation for this class was generated from the following files:
jet::GroupHelper::name
TString name
Definition: ConfigHelper.h:91
jet::GroupHelper::correlation
CompCorrelation::TypeEnum correlation
Definition: ConfigHelper.h:101
jet::GroupHelper::subgroupNum
int subgroupNum
Definition: ConfigHelper.h:97
jet::GroupHelper::category
CompCategory::TypeEnum category
Definition: ConfigHelper.h:100
jet::GroupHelper::reducible
bool reducible
Definition: ConfigHelper.h:102
jet::GroupHelper::corr
TString corr
Definition: ConfigHelper.h:94
jet::GroupHelper::cat
TString cat
Definition: ConfigHelper.h:93
jet::GroupHelper::isRed
TString isRed
Definition: ConfigHelper.h:95
jet::GroupHelper::groupNum
int groupNum
Definition: ConfigHelper.h:96
jet::GroupHelper::desc
TString desc
Definition: ConfigHelper.h:92
jet::CompCorrelation::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition: UncertaintyEnum.cxx:72
jet::CompCategory::stringToEnum
TypeEnum stringToEnum(const TString &type)
Definition: UncertaintyEnum.cxx:35
jet::utils::getTypeObjFromString< bool >
bool getTypeObjFromString< bool >(const std::string &str, bool &obj)
Definition: Reconstruction/Jet/JetUncertainties/Root/Helpers.cxx:33