CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
pv::bundle Struct Reference

Structure bundle Contains the ensemble of all the information to build the graphs alignmentTrends. More...

#include <PreparePVTrends.h>

Public Member Functions

 bundle (int nObjects, const TString &dataType, const TString &dataTypeLabel, const bool &useRMS)
 
const char * getDataType () const
 
const char * getDataTypeLabel () const
 
int getNObjects () const
 
bool isUsingRMS () const
 
void printAll ()
 

Private Attributes

std::bitset< 2 > m_axis_types
 
const char * m_datatype
 
const char * m_datatypelabel
 
int m_nObjects
 
bool m_useRMS
 

Detailed Description

Structure bundle Contains the ensemble of all the information to build the graphs alignmentTrends.

Parameters
nObjectsint, number of alignments to be considered
dataTypeTString, type of the data to be displayed (time, lumi)
dataTypeLabelTString, x-axis label

Definition at line 217 of file PreparePVTrends.h.

Constructor & Destructor Documentation

◆ bundle()

pv::bundle::bundle ( int  nObjects,
const TString &  dataType,
const TString &  dataTypeLabel,
const bool &  useRMS 
)
inline

Definition at line 218 of file PreparePVTrends.h.

References DTskim_cfg::dataType, and logInfo.

218  {
219  m_nObjects = nObjects;
220  m_datatype = dataType.Data();
221  m_datatypelabel = dataTypeLabel.Data();
222  m_useRMS = useRMS;
223 
224  logInfo << "pv::bundle c'tor: " << dataTypeLabel << " member: " << m_datatypelabel << std::endl;
225 
226  logInfo << m_axis_types << std::endl;
227  }
std::bitset< 2 > m_axis_types
const char * m_datatype
#define logInfo
const char * m_datatypelabel

Member Function Documentation

◆ getDataType()

const char* pv::bundle::getDataType ( ) const
inline

Definition at line 230 of file PreparePVTrends.h.

230 { return m_datatype; }
const char * m_datatype

◆ getDataTypeLabel()

const char* pv::bundle::getDataTypeLabel ( ) const
inline

Definition at line 231 of file PreparePVTrends.h.

231 { return m_datatypelabel; }
const char * m_datatypelabel

◆ getNObjects()

int pv::bundle::getNObjects ( ) const
inline

Definition at line 229 of file PreparePVTrends.h.

229 { return m_nObjects; }

◆ isUsingRMS()

bool pv::bundle::isUsingRMS ( ) const
inline

Definition at line 232 of file PreparePVTrends.h.

232 { return m_useRMS; }

◆ printAll()

void pv::bundle::printAll ( )
inline

Definition at line 233 of file PreparePVTrends.h.

References logInfo.

Referenced by PreparePVTrends::multiRunPVValidation().

233  {
234  logInfo << "dataType " << m_datatype << std::endl;
235  logInfo << "dataTypeLabel " << m_datatypelabel << std::endl;
236  }
const char * m_datatype
#define logInfo
const char * m_datatypelabel

Member Data Documentation

◆ m_axis_types

std::bitset<2> pv::bundle::m_axis_types
private

Definition at line 242 of file PreparePVTrends.h.

◆ m_datatype

const char* pv::bundle::m_datatype
private

Definition at line 240 of file PreparePVTrends.h.

◆ m_datatypelabel

const char* pv::bundle::m_datatypelabel
private

Definition at line 241 of file PreparePVTrends.h.

◆ m_nObjects

int pv::bundle::m_nObjects
private

Definition at line 239 of file PreparePVTrends.h.

◆ m_useRMS

bool pv::bundle::m_useRMS
private

Definition at line 243 of file PreparePVTrends.h.