CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
L1TUtmBin Class Reference

#include <L1TUtmBin.h>

Public Member Functions

 L1TUtmBin ()
 
 L1TUtmBin (const unsigned int id, const double min, const double max)
 
 L1TUtmBin (const tmeventsetup::esBin &bin)
 
 operator tmeventsetup::esBin () const
 
virtual ~L1TUtmBin ()=default
 

Public Attributes

unsigned int hw_index
 
double maximum
 
double minimum
 
unsigned int version
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Author
Takashi Matsushita Created: 12 Mar 2015 This class implements data structure for Bin

Definition at line 20 of file L1TUtmBin.h.

Constructor & Destructor Documentation

◆ L1TUtmBin() [1/3]

L1TUtmBin::L1TUtmBin ( )
inline

◆ L1TUtmBin() [2/3]

L1TUtmBin::L1TUtmBin ( const unsigned int  id,
const double  min,
const double  max 
)
inline

Definition at line 28 of file L1TUtmBin.h.

29  : hw_index(id), minimum(min), maximum(max), version(0){};
double maximum
Definition: L1TUtmBin.h:39
unsigned int version
Definition: L1TUtmBin.h:40
unsigned int hw_index
Definition: L1TUtmBin.h:37
double minimum
Definition: L1TUtmBin.h:38

◆ L1TUtmBin() [3/3]

L1TUtmBin::L1TUtmBin ( const tmeventsetup::esBin &  bin)
inline

Definition at line 31 of file L1TUtmBin.h.

31 : L1TUtmBin(bin.hw_index, bin.minimum, bin.maximum){};
L1TUtmBin()
Definition: L1TUtmBin.h:22

◆ ~L1TUtmBin()

virtual L1TUtmBin::~L1TUtmBin ( )
virtualdefault

Member Function Documentation

◆ operator tmeventsetup::esBin()

L1TUtmBin::operator tmeventsetup::esBin ( ) const
inline

Definition at line 33 of file L1TUtmBin.h.

References hw_index, maximum, and minimum.

33 { return tmeventsetup::esBin(hw_index, minimum, maximum); }
double maximum
Definition: L1TUtmBin.h:39
unsigned int hw_index
Definition: L1TUtmBin.h:37
double minimum
Definition: L1TUtmBin.h:38

◆ serialize()

template<class Archive >
void L1TUtmBin::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 41 of file L1TUtmBin.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 41 of file L1TUtmBin.h.

Member Data Documentation

◆ hw_index

unsigned int L1TUtmBin::hw_index

HW index of bin

Definition at line 37 of file L1TUtmBin.h.

Referenced by operator tmeventsetup::esBin().

◆ maximum

double L1TUtmBin::maximum

maximum value of bin

Definition at line 39 of file L1TUtmBin.h.

Referenced by operator tmeventsetup::esBin().

◆ minimum

double L1TUtmBin::minimum

minimum value of bin

Definition at line 38 of file L1TUtmBin.h.

Referenced by operator tmeventsetup::esBin().

◆ version

unsigned int L1TUtmBin::version

Definition at line 40 of file L1TUtmBin.h.

Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().