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 ()
 

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 36 of file L1TUtmScale.h.

Constructor & Destructor Documentation

L1TUtmScale::L1TUtmScale ( )
inline

Definition at line 39 of file L1TUtmScale.h.

39 : name_(), object_(), type_(), minimum_(), maximum_(), step_(), n_bits_(), bins_(), version(0){};
double minimum_
Definition: L1TUtmScale.h:72
double maximum_
Definition: L1TUtmScale.h:73
std::vector< L1TUtmBin > bins_
Definition: L1TUtmScale.h:76
std::string name_
Definition: L1TUtmScale.h:66
unsigned int version
Definition: L1TUtmScale.h:77
double step_
Definition: L1TUtmScale.h:74
unsigned int n_bits_
Definition: L1TUtmScale.h:75
virtual L1TUtmScale::~L1TUtmScale ( )
inlinevirtual

Definition at line 42 of file L1TUtmScale.h.

42 {};

Member Function Documentation

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

get bins for the scale

Definition at line 66 of file L1TUtmScale.h.

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

get maximum value of the scale

Definition at line 57 of file L1TUtmScale.h.

References maximum_.

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

get minimum value of the scale

Definition at line 54 of file L1TUtmScale.h.

References minimum_.

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

get scale name

Definition at line 45 of file L1TUtmScale.h.

References name_.

Referenced by plotting.Plot::draw().

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

get number of bits for the scale

Definition at line 63 of file L1TUtmScale.h.

References n_bits_.

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

get target object type

Definition at line 48 of file L1TUtmScale.h.

References object_.

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

get scale type

Definition at line 51 of file L1TUtmScale.h.

References type_.

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

get step size of linear scale

Definition at line 60 of file L1TUtmScale.h.

References step_.

60 { return step_; };
double step_
Definition: L1TUtmScale.h:74
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 78 of file L1TUtmScale.h.

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

Definition at line 78 of file L1TUtmScale.h.

Member Data Documentation

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

array of L1TUtmBin

Definition at line 76 of file L1TUtmScale.h.

double L1TUtmScale::maximum_
protected

maximum value of scale

Definition at line 73 of file L1TUtmScale.h.

Referenced by getMaximum().

double L1TUtmScale::minimum_
protected

minimum value of scale

Definition at line 72 of file L1TUtmScale.h.

Referenced by getMinimum().

unsigned int L1TUtmScale::n_bits_
protected

number of bits for scale

Definition at line 75 of file L1TUtmScale.h.

Referenced by getNbits().

std::string L1TUtmScale::name_
protected

name of scale

Definition at line 66 of file L1TUtmScale.h.

Referenced by getName().

int L1TUtmScale::object_
protected

type of object

Definition at line 70 of file L1TUtmScale.h.

Referenced by getObjectType().

double L1TUtmScale::step_
protected

step size of linear scale

Definition at line 74 of file L1TUtmScale.h.

Referenced by getStep().

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

Definition at line 77 of file L1TUtmScale.h.

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