CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( )
inline

Definition at line 25 of file L1TUtmScale.h.

25 : name_(), object_(), type_(), minimum_(), maximum_(), step_(), n_bits_(), bins_(), version(0){};
double minimum_
Definition: L1TUtmScale.h:57
double maximum_
Definition: L1TUtmScale.h:58
std::vector< L1TUtmBin > bins_
Definition: L1TUtmScale.h:61
std::string name_
Definition: L1TUtmScale.h:51
unsigned int version
Definition: L1TUtmScale.h:62
double step_
Definition: L1TUtmScale.h:59
unsigned int n_bits_
Definition: L1TUtmScale.h:60
virtual L1TUtmScale::~L1TUtmScale ( )
virtualdefault

Member Function Documentation

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

get bins for the scale

Definition at line 51 of file L1TUtmScale.h.

51 { return bins_; };
std::vector< L1TUtmBin > bins_
Definition: L1TUtmScale.h:61
double L1TUtmScale::getMaximum ( ) const
inline

get maximum value of the scale

Definition at line 42 of file L1TUtmScale.h.

References maximum_.

42 { return maximum_; };
double maximum_
Definition: L1TUtmScale.h:58
double L1TUtmScale::getMinimum ( ) const
inline

get minimum value of the scale

Definition at line 39 of file L1TUtmScale.h.

References minimum_.

39 { return minimum_; };
double minimum_
Definition: L1TUtmScale.h:57
const std::string& L1TUtmScale::getName ( ) const
inline

get scale name

Definition at line 30 of file L1TUtmScale.h.

References name_.

Referenced by plotting.Plot::draw().

30 { return name_; };
std::string name_
Definition: L1TUtmScale.h:51
unsigned int L1TUtmScale::getNbits ( ) const
inline

get number of bits for the scale

Definition at line 48 of file L1TUtmScale.h.

References n_bits_.

48 { return n_bits_; };
unsigned int n_bits_
Definition: L1TUtmScale.h:60
int L1TUtmScale::getObjectType ( ) const
inline

get target object type

Definition at line 33 of file L1TUtmScale.h.

References object_.

33 { return object_; };
int L1TUtmScale::getScaleType ( ) const
inline

get scale type

Definition at line 36 of file L1TUtmScale.h.

References type_.

36 { return type_; };
double L1TUtmScale::getStep ( ) const
inline

get step size of linear scale

Definition at line 45 of file L1TUtmScale.h.

References step_.

45 { return step_; };
double step_
Definition: L1TUtmScale.h:59
template<class Archive >
void L1TUtmScale::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 63 of file L1TUtmScale.h.

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

Definition at line 63 of file L1TUtmScale.h.

Member Data Documentation

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

array of L1TUtmBin

Definition at line 61 of file L1TUtmScale.h.

double L1TUtmScale::maximum_
protected

maximum value of scale

Definition at line 58 of file L1TUtmScale.h.

Referenced by getMaximum().

double L1TUtmScale::minimum_
protected

minimum value of scale

Definition at line 57 of file L1TUtmScale.h.

Referenced by getMinimum().

unsigned int L1TUtmScale::n_bits_
protected

number of bits for scale

Definition at line 60 of file L1TUtmScale.h.

Referenced by getNbits().

std::string L1TUtmScale::name_
protected

name of scale

Definition at line 51 of file L1TUtmScale.h.

Referenced by getName().

int L1TUtmScale::object_
protected

type of object

Definition at line 55 of file L1TUtmScale.h.

Referenced by getObjectType().

double L1TUtmScale::step_
protected

step size of linear scale

Definition at line 59 of file L1TUtmScale.h.

Referenced by getStep().

int L1TUtmScale::type_
protected
unsigned int L1TUtmScale::version
protected

Definition at line 62 of file L1TUtmScale.h.

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