ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
ReweightUtils
Root
APReweightBase.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#define APReweightBase_cxx
6
#include "
ReweightUtils/APReweightBase.h
"
7
8
std::atomic<unsigned int>
APReweightBase::s_NID
= 0;
9
10
APReweightBase::APReweightBase
()
11
:
m_scale
(0),
12
m_isTrig
(0),
13
m_isQuiet
(0),
14
m_syst_uncert_global
(0),
15
m_empty_weight
(0)
16
{
17
m_ID =
s_NID
;
18
++
s_NID
;
19
}
20
21
APReweightBase::~APReweightBase
() { }
22
23
unsigned
int
APReweightBase::GetID
()
const
{
24
return
m_ID;
25
}
APReweightBase.h
APReweightBase::m_scale
double m_scale
Holds the scale factor that was calculated from sample sizes upon instantiation.
Definition
APReweightBase.h:36
APReweightBase::m_empty_weight
APWeightEntry * m_empty_weight
Dummy weight (equals 0.) to return if value out of range is provided.
Definition
APReweightBase.h:40
APReweightBase::GetID
unsigned int GetID() const
Returns the unique ID for assignment of APWeightEntries to source.
Definition
APReweightBase.cxx:23
APReweightBase::s_NID
static ClassDef(APReweightBase, 1) protected std::atomic< unsigned int > s_NID
< Holds the unique ID for assignment of APWeightEntries to source.
Definition
APReweightBase.h:31
APReweightBase::m_isTrig
bool m_isTrig
Flag to determine if the class holds trigger efficiencies or "simple" MC weights.
Definition
APReweightBase.h:37
APReweightBase::m_syst_uncert_global
double m_syst_uncert_global
Holds the global relative (!) systematic uncertainty of all efficiencies/weights.
Definition
APReweightBase.h:39
APReweightBase::APReweightBase
APReweightBase()
Default constructor.
Definition
APReweightBase.cxx:10
APReweightBase::~APReweightBase
virtual ~APReweightBase()
Default destructor.
Definition
APReweightBase.cxx:21
APReweightBase::m_isQuiet
bool m_isQuiet
Flag to turn off messages.
Definition
APReweightBase.h:38
Generated on
for ATLAS Offline Software by
1.17.0