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

Constructor & Destructor Documentation

L1TUtmScale::L1TUtmScale ( )
inline

Definition at line 43 of file L1TUtmScale.h.

44  : name_(), object_(), type_(), minimum_(), maximum_(),
45  step_(), n_bits_(), bins_(), version(0) { };
double minimum_
Definition: L1TUtmScale.h:79
double maximum_
Definition: L1TUtmScale.h:80
std::vector< L1TUtmBin > bins_
Definition: L1TUtmScale.h:83
std::string name_
Definition: L1TUtmScale.h:72
unsigned int version
Definition: L1TUtmScale.h:84
double step_
Definition: L1TUtmScale.h:81
unsigned int n_bits_
Definition: L1TUtmScale.h:82
virtual L1TUtmScale::~L1TUtmScale ( )
inlinevirtual

Definition at line 48 of file L1TUtmScale.h.

48 { };

Member Function Documentation

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

get bins for the scale

Definition at line 72 of file L1TUtmScale.h.

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

get maximum value of the scale

Definition at line 63 of file L1TUtmScale.h.

References maximum_.

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

get minimum value of the scale

Definition at line 60 of file L1TUtmScale.h.

References minimum_.

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

get scale name

Definition at line 51 of file L1TUtmScale.h.

References name_.

Referenced by plotting.Plot::draw().

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

get number of bits for the scale

Definition at line 69 of file L1TUtmScale.h.

References n_bits_.

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

get target object type

Definition at line 54 of file L1TUtmScale.h.

References object_.

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

get scale type

Definition at line 57 of file L1TUtmScale.h.

References type_.

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

get step size of linear scale

Definition at line 66 of file L1TUtmScale.h.

References step_.

66 { return step_; };
double step_
Definition: L1TUtmScale.h:81
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 85 of file L1TUtmScale.h.

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

Definition at line 85 of file L1TUtmScale.h.

Member Data Documentation

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

array of L1TUtmBin

Definition at line 83 of file L1TUtmScale.h.

double L1TUtmScale::maximum_
protected

maximum value of scale

Definition at line 80 of file L1TUtmScale.h.

Referenced by getMaximum().

double L1TUtmScale::minimum_
protected

minimum value of scale

Definition at line 79 of file L1TUtmScale.h.

Referenced by getMinimum().

unsigned int L1TUtmScale::n_bits_
protected

number of bits for scale

Definition at line 82 of file L1TUtmScale.h.

Referenced by getNbits().

std::string L1TUtmScale::name_
protected

name of scale

Definition at line 72 of file L1TUtmScale.h.

Referenced by getName().

int L1TUtmScale::object_
protected

type of object

Definition at line 77 of file L1TUtmScale.h.

Referenced by getObjectType().

double L1TUtmScale::step_
protected

step size of linear scale

Definition at line 81 of file L1TUtmScale.h.

Referenced by getStep().

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

Definition at line 84 of file L1TUtmScale.h.

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