CMS 3D CMS Logo

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

#include <L1TUtmScale.h>

Public Member Functions

const std::vector< L1TUtmBin > & getBins () const
 
double getMaximum () const
 
double getMinimum () const
 
const std::string & getName () const
 
unsigned int getNbits () const
 
int getObjectType () const
 
int getScaleType () const
 
double getStep () const
 
 L1TUtmScale ()
 
virtual ~L1TUtmScale ()=default
 

Protected Attributes

std::vector< L1TUtmBinbins_
 
double maximum_
 
double minimum_
 
unsigned int n_bits_
 
std::string name_
 
int object_
 
double step_
 
int type_
 
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: 9 Nov 2015 This class implements data structure for Scale

Definition at line 23 of file L1TUtmScale.h.

Constructor & Destructor Documentation

◆ L1TUtmScale()

L1TUtmScale::L1TUtmScale ( )
inline

Definition at line 25 of file L1TUtmScale.h.

25 : name_(), object_(), type_(), minimum_(), maximum_(), step_(), n_bits_(), bins_(), version(0){};

◆ ~L1TUtmScale()

virtual L1TUtmScale::~L1TUtmScale ( )
virtualdefault

Member Function Documentation

◆ getBins()

const std::vector<L1TUtmBin>& L1TUtmScale::getBins ( ) const
inline

get bins for the scale

Definition at line 51 of file L1TUtmScale.h.

51 { return bins_; };

◆ getMaximum()

double L1TUtmScale::getMaximum ( ) const
inline

get maximum value of the scale

Definition at line 42 of file L1TUtmScale.h.

42 { return maximum_; };

References maximum_.

◆ getMinimum()

double L1TUtmScale::getMinimum ( ) const
inline

get minimum value of the scale

Definition at line 39 of file L1TUtmScale.h.

39 { return minimum_; };

References minimum_.

◆ getName()

const std::string& L1TUtmScale::getName ( ) const
inline

get scale name

Definition at line 30 of file L1TUtmScale.h.

30 { return name_; };

References name_.

Referenced by plotting.Plot::draw().

◆ getNbits()

unsigned int L1TUtmScale::getNbits ( ) const
inline

get number of bits for the scale

Definition at line 48 of file L1TUtmScale.h.

48 { return n_bits_; };

References n_bits_.

◆ getObjectType()

int L1TUtmScale::getObjectType ( ) const
inline

get target object type

Definition at line 33 of file L1TUtmScale.h.

33 { return object_; };

References object_.

◆ getScaleType()

int L1TUtmScale::getScaleType ( ) const
inline

get scale type

Definition at line 36 of file L1TUtmScale.h.

36 { return type_; };

References type_.

◆ getStep()

double L1TUtmScale::getStep ( ) const
inline

get step size of linear scale

Definition at line 45 of file L1TUtmScale.h.

45 { return step_; };

References step_.

◆ serialize()

template<class Archive >
void L1TUtmScale::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 63 of file L1TUtmScale.h.

◆ cond::serialization::access

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

Definition at line 63 of file L1TUtmScale.h.

Member Data Documentation

◆ bins_

std::vector<L1TUtmBin> L1TUtmScale::bins_
protected

array of L1TUtmBin

Definition at line 61 of file L1TUtmScale.h.

◆ maximum_

double L1TUtmScale::maximum_
protected

maximum value of scale

Definition at line 58 of file L1TUtmScale.h.

Referenced by getMaximum().

◆ minimum_

double L1TUtmScale::minimum_
protected

minimum value of scale

Definition at line 57 of file L1TUtmScale.h.

Referenced by getMinimum().

◆ n_bits_

unsigned int L1TUtmScale::n_bits_
protected

number of bits for scale

Definition at line 60 of file L1TUtmScale.h.

Referenced by getNbits().

◆ name_

std::string L1TUtmScale::name_
protected

name of scale

Definition at line 51 of file L1TUtmScale.h.

Referenced by getName().

◆ object_

int L1TUtmScale::object_
protected

type of object

Definition at line 55 of file L1TUtmScale.h.

Referenced by getObjectType().

◆ step_

double L1TUtmScale::step_
protected

step size of linear scale

Definition at line 59 of file L1TUtmScale.h.

Referenced by getStep().

◆ type_

int L1TUtmScale::type_
protected

◆ version

unsigned int L1TUtmScale::version
protected

Definition at line 62 of file L1TUtmScale.h.

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

L1TUtmScale::bins_
std::vector< L1TUtmBin > bins_
Definition: L1TUtmScale.h:61
L1TUtmScale::maximum_
double maximum_
Definition: L1TUtmScale.h:58
L1TUtmScale::minimum_
double minimum_
Definition: L1TUtmScale.h:57
L1TUtmScale::object_
int object_
Definition: L1TUtmScale.h:55
L1TUtmScale::name_
std::string name_
Definition: L1TUtmScale.h:51
L1TUtmScale::type_
int type_
Definition: L1TUtmScale.h:56
L1TUtmScale::n_bits_
unsigned int n_bits_
Definition: L1TUtmScale.h:60
L1TUtmScale::version
unsigned int version
Definition: L1TUtmScale.h:62
L1TUtmScale::step_
double step_
Definition: L1TUtmScale.h:59