#include <KinematicSystHandler.h>
|
typedef std::pair< float, float > | Ranges |
|
Definition at line 111 of file KinematicSystHandler.h.
◆ KinVariable
typedef float(IKinematicSystHandler::* CP::IKinematicSystHandler::KinVariable) (const xAOD::Muon &mu) const |
|
inherited |
◆ Ranges
◆ BadMuonVetoSystHandler()
CP::BadMuonVetoSystHandler::BadMuonVetoSystHandler |
( |
TDirectory * |
InDir_3Stations, |
|
|
TDirectory * |
InDir_2Stations = nullptr |
|
) |
| |
◆ ~BadMuonVetoSystHandler()
CP::BadMuonVetoSystHandler::~BadMuonVetoSystHandler |
( |
| ) |
|
|
virtual |
◆ AbsEta()
◆ Eta()
◆ fillMap()
void CP::BadMuonVetoSystHandler::fillMap |
( |
TDirectory * |
InDir, |
|
|
std::map< Ranges, std::unique_ptr< TF1 >> & |
systPolynomials |
|
) |
| |
|
private |
Otherwise we need to get rid of the string
Definition at line 137 of file KinematicSystHandler.cxx.
139 Error(
"BadMuonSysVetoHandler()",
"No TDirectory is given");
142 TIter
next(InDir->GetListOfKeys());
143 while (TObject*
obj =
next()) {
144 std::string ObjName =
obj->GetName();
145 float lowRange(-1.e20), highRange(1.e20);
146 if (ObjName.find(
"TF1") == std::string::npos) {
150 InDir->GetObject(ObjName.c_str(), TF);
164 if (!LowRange_str.empty()) {
165 lowRange =
atof(LowRange_str.c_str()) /
std::pow(10, LowRange_str.size() -1);
167 if (!HighRange_str.empty()) {
168 highRange =
atof(HighRange_str.c_str()) /
std::pow(10, LowRange_str.size() -1);
170 systPolynomials.insert(std::pair<
Ranges, std::unique_ptr<TF1>>(
Ranges(lowRange, highRange), std::unique_ptr<TF1>(TF)));
◆ findAppropiatePolynomial()
Definition at line 213 of file KinematicSystHandler.cxx.
215 Error(
"BadMuonVetoSystHandler()",
"Something went wrong with the initialization");
220 Error(
"BadMuonSysVetoHandler()",
"Precisionlayers unkown");
222 }
else if (nprecisionLayers >= 3) {
225 Poly = BinnedPoly.second.get();
229 }
else if (nprecisionLayers == 2) {
232 Poly = BinnedPoly.second.get();
◆ GetKineDependent()
◆ GetMuonVariableToUse()
◆ getNextProperty()
std::string CP::BadMuonVetoSystHandler::getNextProperty |
( |
std::string & |
sstr | ) |
const |
|
private |
Definition at line 239 of file KinematicSystHandler.cxx.
241 while (!sstr.empty() && sstr[0] ==
'_') {
244 size_t pos = sstr.find(
"_");
245 std::string
Property =
pos != std::string::npos ? sstr.substr(0,
pos) : sstr;
246 if (
pos != std::string::npos) {
247 sstr = sstr.substr(
Property.size() + 1, sstr.size());
◆ initialize()
bool CP::BadMuonVetoSystHandler::initialize |
( |
| ) |
|
|
overridevirtual |
◆ Pt()
◆ PtGeV()
◆ SetSystematicWeight()
void CP::BadMuonVetoSystHandler::SetSystematicWeight |
( |
float |
SystWeight | ) |
|
|
overridevirtual |
◆ m_polySelVar
◆ m_syst2Stations
std::map<Ranges, std::unique_ptr<TF1> > CP::BadMuonVetoSystHandler::m_syst2Stations |
|
private |
◆ m_syst3Stations
std::map<Ranges, std::unique_ptr<TF1> > CP::BadMuonVetoSystHandler::m_syst3Stations |
|
private |
◆ m_SystWeight
float CP::BadMuonVetoSystHandler::m_SystWeight |
|
private |
◆ m_uncertVar
The documentation for this class was generated from the following files: