ATLAS Offline Software
Public Member Functions | Public Attributes | Protected Attributes | List of all members
CP::BaseFakeBkgTool::UncertaintyList Struct Reference

List of systematic variations (UID + sigma) to be considered This is implemented as a basic linked list, since unless in very rare cases it should only contain a single entry. More...

#include <BaseFakeBkgTool.h>

Collaboration diagram for CP::BaseFakeBkgTool::UncertaintyList:

Public Member Functions

 UncertaintyList (uint16_t first_UID, float first_sigma)
 
void extraVariation (uint16_t extra_UID, float extra_sigma)
 
const UncertaintyListnext () const
 

Public Attributes

uint16_t UID
 
float sigma
 

Protected Attributes

std::unique_ptr< UncertaintyListm_next
 

Detailed Description

List of systematic variations (UID + sigma) to be considered This is implemented as a basic linked list, since unless in very rare cases it should only contain a single entry.


Definition at line 143 of file BaseFakeBkgTool.h.

Constructor & Destructor Documentation

◆ UncertaintyList()

CP::BaseFakeBkgTool::UncertaintyList::UncertaintyList ( uint16_t  first_UID,
float  first_sigma 
)
inline

Definition at line 147 of file BaseFakeBkgTool.h.

147 : UID(first_UID), sigma(first_sigma) {}

Member Function Documentation

◆ extraVariation()

void CP::BaseFakeBkgTool::UncertaintyList::extraVariation ( uint16_t  extra_UID,
float  extra_sigma 
)
inline

Definition at line 148 of file BaseFakeBkgTool.h.

149  {
150  if(m_next) m_next->extraVariation(extra_UID, extra_sigma);
151  else m_next.reset(new UncertaintyList(extra_UID, extra_sigma));
152  }

◆ next()

const UncertaintyList* CP::BaseFakeBkgTool::UncertaintyList::next ( ) const
inline

Definition at line 153 of file BaseFakeBkgTool.h.

153 { return m_next.get(); }

Member Data Documentation

◆ m_next

std::unique_ptr<UncertaintyList> CP::BaseFakeBkgTool::UncertaintyList::m_next
protected

Definition at line 155 of file BaseFakeBkgTool.h.

◆ sigma

float CP::BaseFakeBkgTool::UncertaintyList::sigma

Definition at line 146 of file BaseFakeBkgTool.h.

◆ UID

uint16_t CP::BaseFakeBkgTool::UncertaintyList::UID

Definition at line 145 of file BaseFakeBkgTool.h.


The documentation for this struct was generated from the following file:
CP::BaseFakeBkgTool::UncertaintyList::UncertaintyList
UncertaintyList(uint16_t first_UID, float first_sigma)
Definition: BaseFakeBkgTool.h:147
CP::BaseFakeBkgTool::UncertaintyList::m_next
std::unique_ptr< UncertaintyList > m_next
Definition: BaseFakeBkgTool.h:155
CP::BaseFakeBkgTool::UncertaintyList::UID
uint16_t UID
Definition: BaseFakeBkgTool.h:145
CP::BaseFakeBkgTool::UncertaintyList::sigma
float sigma
Definition: BaseFakeBkgTool.h:146