ATLAS Offline Software
Loading...
Searching...
No Matches
FakeBkgTools::Database::Param Struct Reference

#include <Database.h>

Collaboration diagram for FakeBkgTools::Database::Param:

Public Types

enum class  Type { PREDEFINED_INT , PREDEFINED_FLOAT , CUSTOM_INT , CUSTOM_FLOAT }
enum class  Level { PARTICLE , EVENT }

Public Member Functions

 Param (const std::string &n, Type t, Level l)
bool integer () const

Public Attributes

std::string name
Type type
Level level

Detailed Description

Definition at line 144 of file Database.h.

Member Enumeration Documentation

◆ Level

Enumerator
PARTICLE 
EVENT 

Definition at line 150 of file Database.h.

151 {
152 PARTICLE, EVENT
153 };

◆ Type

Enumerator
PREDEFINED_INT 
PREDEFINED_FLOAT 
CUSTOM_INT 
CUSTOM_FLOAT 

Definition at line 146 of file Database.h.

147 {
148 PREDEFINED_INT, PREDEFINED_FLOAT, CUSTOM_INT, CUSTOM_FLOAT
149 };

Constructor & Destructor Documentation

◆ Param()

FakeBkgTools::Database::Param::Param ( const std::string & n,
Type t,
Level l )
inline

Definition at line 157 of file Database.h.

Member Function Documentation

◆ integer()

bool FakeBkgTools::Database::Param::integer ( ) const
inline

Definition at line 158 of file Database.h.

158{ return type==Type::PREDEFINED_INT || type==Type::CUSTOM_INT; }

Member Data Documentation

◆ level

Level FakeBkgTools::Database::Param::level

Definition at line 156 of file Database.h.

◆ name

std::string FakeBkgTools::Database::Param::name

Definition at line 154 of file Database.h.

◆ type

Type FakeBkgTools::Database::Param::type

Definition at line 155 of file Database.h.


The documentation for this struct was generated from the following file: