CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Public Attributes | Protected Member Functions
SiPixelSummary Class Reference

#include <SiPixelSummary.h>

Classes

struct  DetRegistry
 
class  StrictWeakOrdering
 

Public Types

typedef std::vector< float >
::const_iterator 
ContainerIterator
 
typedef std::vector< float > InputVector
 
typedef std::pair
< ContainerIterator,
ContainerIterator
Range
 
typedef std::vector< DetRegistryRegistry
 
typedef Registry::const_iterator RegistryIterator
 

Public Member Functions

ContainerIterator getDataVectorBegin () const
 
ContainerIterator getDataVectorEnd () const
 
std::vector< uint32_t > getDetIds () const
 
const Range getRange (const uint32_t &detID) const
 
RegistryIterator getRegistryVectorBegin () const
 
RegistryIterator getRegistryVectorEnd () const
 
int getRunNr () const
 
std::vector< float > getSummaryObj (uint32_t &detID, const std::vector< std::string > &list) const
 
std::vector< float > getSummaryObj (sipixelsummary::TrackerRegion region, const std::vector< std::string > &list) const
 
std::vector< float > getSummaryObj (std::string elementName) const
 
std::vector< float > getSummaryObj (uint32_t &detID) const
 
std::vector< float > getSummaryObj () const
 
unsigned long long getTimeValue () const
 
std::vector< std::string > getUserDBContent () const
 
void print ()
 
bool put (const uint32_t &detID, InputVector &input, std::vector< std::string > &userContent)
 
bool put (sipixelsummary::TrackerRegion region, InputVector &input, std::vector< std::string > &userContent)
 
void setObj (const uint32_t &detID, std::string elementName, float value)
 
void setRunNr (int inputRunNr)
 
void setTimeValue (unsigned long long inputTimeValue)
 
void setUserDBContent (const std::vector< std::string > &userDBContent)
 
 SiPixelSummary (std::vector< std::string > &userDBContent)
 
 SiPixelSummary (const SiPixelSummary &input)
 
 SiPixelSummary ()
 
 ~SiPixelSummary ()
 

Public Attributes

std::vector< DetRegistryindexes_
 
int runNr_
 
unsigned long long timeValue_
 
std::vector< std::string > userDBContent_
 
std::vector< float > v_sum_
 

Protected Member Functions

const short getPosition (std::string elementName) const
 

Detailed Description

Author
Dean Andrew Hidas

Definition at line 36 of file SiPixelSummary.h.

Member Typedef Documentation

typedef std::vector<float>::const_iterator SiPixelSummary::ContainerIterator

Definition at line 54 of file SiPixelSummary.h.

typedef std::vector<float> SiPixelSummary::InputVector

Definition at line 58 of file SiPixelSummary.h.

Definition at line 55 of file SiPixelSummary.h.

typedef std::vector<DetRegistry> SiPixelSummary::Registry

Definition at line 56 of file SiPixelSummary.h.

typedef Registry::const_iterator SiPixelSummary::RegistryIterator

Definition at line 57 of file SiPixelSummary.h.

Constructor & Destructor Documentation

SiPixelSummary::SiPixelSummary ( std::vector< std::string > &  userDBContent)
SiPixelSummary::SiPixelSummary ( const SiPixelSummary input)
SiPixelSummary::SiPixelSummary ( )
inline

Definition at line 63 of file SiPixelSummary.h.

63 {};
SiPixelSummary::~SiPixelSummary ( )
inline

Definition at line 64 of file SiPixelSummary.h.

64 {};

Member Function Documentation

ContainerIterator SiPixelSummary::getDataVectorBegin ( ) const
inline

Definition at line 67 of file SiPixelSummary.h.

References v_sum_.

67 {return v_sum_.begin(); }
std::vector< float > v_sum_
ContainerIterator SiPixelSummary::getDataVectorEnd ( ) const
inline

Definition at line 68 of file SiPixelSummary.h.

References v_sum_.

68 {return v_sum_.end(); }
std::vector< float > v_sum_
std::vector<uint32_t> SiPixelSummary::getDetIds ( ) const
const short SiPixelSummary::getPosition ( std::string  elementName) const
protected
const Range SiPixelSummary::getRange ( const uint32_t &  detID) const
RegistryIterator SiPixelSummary::getRegistryVectorBegin ( ) const
inline

Definition at line 69 of file SiPixelSummary.h.

References indexes_.

69 {return indexes_.begin();}
std::vector< DetRegistry > indexes_
RegistryIterator SiPixelSummary::getRegistryVectorEnd ( ) const
inline

Definition at line 70 of file SiPixelSummary.h.

References indexes_.

70 {return indexes_.end(); }
std::vector< DetRegistry > indexes_
int SiPixelSummary::getRunNr ( ) const
inline

Definition at line 115 of file SiPixelSummary.h.

References runNr_.

115 { return runNr_; }
std::vector<float> SiPixelSummary::getSummaryObj ( uint32_t &  detID,
const std::vector< std::string > &  list 
) const
std::vector<float> SiPixelSummary::getSummaryObj ( sipixelsummary::TrackerRegion  region,
const std::vector< std::string > &  list 
) const
std::vector<float> SiPixelSummary::getSummaryObj ( std::string  elementName) const
std::vector<float> SiPixelSummary::getSummaryObj ( uint32_t &  detID) const
std::vector<float> SiPixelSummary::getSummaryObj ( ) const
unsigned long long SiPixelSummary::getTimeValue ( ) const
inline

Definition at line 113 of file SiPixelSummary.h.

References timeValue_.

113 { return timeValue_; }
unsigned long long timeValue_
std::vector<std::string> SiPixelSummary::getUserDBContent ( ) const
inline

Definition at line 114 of file SiPixelSummary.h.

References userDBContent_.

114 { return userDBContent_; }
std::vector< std::string > userDBContent_
void SiPixelSummary::print ( )
bool SiPixelSummary::put ( const uint32_t &  detID,
InputVector input,
std::vector< std::string > &  userContent 
)
bool SiPixelSummary::put ( sipixelsummary::TrackerRegion  region,
InputVector input,
std::vector< std::string > &  userContent 
)
void SiPixelSummary::setObj ( const uint32_t &  detID,
std::string  elementName,
float  value 
)
void SiPixelSummary::setRunNr ( int  inputRunNr)
inline

Definition at line 110 of file SiPixelSummary.h.

References runNr_.

110 { runNr_ = inputRunNr; }
void SiPixelSummary::setTimeValue ( unsigned long long  inputTimeValue)
inline

Definition at line 111 of file SiPixelSummary.h.

References timeValue_.

111 { timeValue_=inputTimeValue;}
unsigned long long timeValue_
void SiPixelSummary::setUserDBContent ( const std::vector< std::string > &  userDBContent)
inline

Definition at line 109 of file SiPixelSummary.h.

References userDBContent_.

109 { userDBContent_ = userDBContent;}
std::vector< std::string > userDBContent_

Member Data Documentation

std::vector<DetRegistry> SiPixelSummary::indexes_

Definition at line 127 of file SiPixelSummary.h.

Referenced by getRegistryVectorBegin(), and getRegistryVectorEnd().

int SiPixelSummary::runNr_

Definition at line 129 of file SiPixelSummary.h.

Referenced by getRunNr(), and setRunNr().

unsigned long long SiPixelSummary::timeValue_

Definition at line 130 of file SiPixelSummary.h.

Referenced by getTimeValue(), and setTimeValue().

std::vector<std::string> SiPixelSummary::userDBContent_

Definition at line 125 of file SiPixelSummary.h.

Referenced by getUserDBContent(), and setUserDBContent().

std::vector<float> SiPixelSummary::v_sum_

Definition at line 126 of file SiPixelSummary.h.

Referenced by getDataVectorBegin(), and getDataVectorEnd().