ATLAS Offline Software
Loading...
Searching...
No Matches
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}
CompCorrelation::TypeEnum correlation
CompCategory::TypeEnum category
TypeEnum stringToEnum(const TString &type)
TypeEnum stringToEnum(const TString &type)
bool getTypeObjFromString< bool >(const std::string &str, bool &obj)

◆ ~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.

100{};

◆ 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.

101{};

◆ 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.

96{};

◆ 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.

102{};

◆ subgroupNum

int jet::GroupHelper::subgroupNum {}

Definition at line 97 of file ConfigHelper.h.

97{};

The documentation for this class was generated from the following files: