ATLAS Offline Software
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
APReweightBase Class Reference

#include <APReweightBase.h>

Inheritance diagram for APReweightBase:
Collaboration diagram for APReweightBase:

Public Member Functions

 APReweightBase ()
 Default constructor. More...
 
virtual ~APReweightBase ()
 Default destructor. More...
 
unsigned int GetID () const
 Returns the unique ID for assignment of APWeightEntries to source. More...
 

Public Attributes

double m_scale
 Holds the scale factor that was calculated from sample sizes upon instantiation. More...
 
bool m_isTrig
 Flag to determine if the class holds trigger efficiencies or "simple" MC weights. More...
 
bool m_isQuiet
 Flag to turn off messages. More...
 
double m_syst_uncert_global
 Holds the global relative (!) systematic uncertainty of all efficiencies/weights. More...
 
APWeightEntrym_empty_weight
 Dummy weight (equals 0.) to return if value out of range is provided. More...
 

Static Public Attributes

static ClassDef(APReweightBase, 1) protected std::atomic< unsigned int > s_NID = 0
 < Holds the unique ID for assignment of APWeightEntries to source. More...
 

Detailed Description

Class to provide common methods for all Reweight classes

Author
fabia.nosp@m.n.Ko.nosp@m.hn@ce.nosp@m.rn.c.nosp@m.h

Definition at line 23 of file APReweightBase.h.

Constructor & Destructor Documentation

◆ APReweightBase()

APReweightBase::APReweightBase ( )

Default constructor.

Definition at line 10 of file APReweightBase.cxx.

11  : m_scale(0),
12  m_isTrig(0),
13  m_isQuiet(0),
16 {
17  m_ID = s_NID;
18  ++s_NID;
19 }

◆ ~APReweightBase()

APReweightBase::~APReweightBase ( )
virtual

Default destructor.

Definition at line 21 of file APReweightBase.cxx.

21 { }

Member Function Documentation

◆ GetID()

unsigned int APReweightBase::GetID ( ) const

Returns the unique ID for assignment of APWeightEntries to source.

Definition at line 23 of file APReweightBase.cxx.

23  {
24  return m_ID;
25 }

Member Data Documentation

◆ m_empty_weight

APWeightEntry* APReweightBase::m_empty_weight

Dummy weight (equals 0.) to return if value out of range is provided.

Definition at line 40 of file APReweightBase.h.

◆ m_isQuiet

bool APReweightBase::m_isQuiet

Flag to turn off messages.

Definition at line 38 of file APReweightBase.h.

◆ m_isTrig

bool APReweightBase::m_isTrig

Flag to determine if the class holds trigger efficiencies or "simple" MC weights.

Definition at line 37 of file APReweightBase.h.

◆ m_scale

double APReweightBase::m_scale

Holds the scale factor that was calculated from sample sizes upon instantiation.

Definition at line 36 of file APReweightBase.h.

◆ m_syst_uncert_global

double APReweightBase::m_syst_uncert_global

Holds the global relative (!) systematic uncertainty of all efficiencies/weights.

Definition at line 39 of file APReweightBase.h.

◆ s_NID

std::atomic< unsigned int > APReweightBase::s_NID = 0
static

< Holds the unique ID for assignment of APWeightEntries to source.

Holds the overall number of assigned IDs.

Definition at line 35 of file APReweightBase.h.


The documentation for this class was generated from the following files:
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::m_scale
double m_scale
Holds the scale factor that was calculated from sample sizes upon instantiation.
Definition: APReweightBase.h:36
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_isQuiet
bool m_isQuiet
Flag to turn off messages.
Definition: APReweightBase.h:38
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