ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
ReweightUtils
ReweightUtils
APReweightBase.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
14
15
#ifndef APReweightBase_h
16
#define APReweightBase_h
17
18
#include "TNamed.h"
19
#include <atomic>
20
21
class
APWeightEntry
;
22
23
class
APReweightBase
:
public
TNamed {
24
25
public
:
26
APReweightBase
();
27
virtual
~APReweightBase
();
28
29
unsigned
int
GetID
()
const
;
30
31
ClassDef(
APReweightBase
, 1)
32
33
protected
:
34
unsigned
int
m_ID;
35
static
std::atomic<unsigned int>
s_NID
;
36
double
m_scale
;
37
bool
m_isTrig
;
38
bool
m_isQuiet
;
39
double
m_syst_uncert_global
;
40
APWeightEntry
*
m_empty_weight
;
41
};
42
43
#endif
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
APWeightEntry
Class to store a single weight entry (one bin).
Definition
APWeightEntry.h:25
Generated on
for ATLAS Offline Software by
1.14.0