CMS 3D CMS Logo

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

#include <FastTimeDDDConstants.h>

Public Member Functions

int computeCells () const
 
 FastTimeDDDConstants (const DDCompactView &cpv)
 
int getCells () const
 
int getType () const
 
std::pair< int, int > getXY (int copy) const
 
std::pair< int, int > getXY (double x, double y) const
 
bool isValidCell (int copy) const
 
bool isValidXY (int ix, int iy) const
 
int quadrant (int ix, int iy) const
 
int quadrant (int copy) const
 
 ~FastTimeDDDConstants ()
 

Private Member Functions

std::vector< double > getDDDArray (const std::string &, const DDsvalues_type &) const
 
void initialize (const DDCompactView &cpv)
 
void loadSpecPars (const DDFilteredView &fv)
 

Private Attributes

double cellSize
 
int cellType
 
std::vector< int > firstCell
 
std::vector< int > firstY
 
std::vector< int > lastCell
 
std::vector< int > lastY
 
int nCells
 
int nCols
 
int nRows
 
double rIn
 
double rOut
 

Detailed Description

this class reads the constant section of the numbering xml-file for fast timer device

Date:
2014/03/20 00:06:50
Author
Sunanda Banerjee, SINP sunan.nosp@m.da.b.nosp@m.anerj.nosp@m.ee@c.nosp@m.ern.c.nosp@m.h

Definition at line 23 of file FastTimeDDDConstants.h.

Constructor & Destructor Documentation

FastTimeDDDConstants::FastTimeDDDConstants ( const DDCompactView cpv)

Definition at line 16 of file FastTimeDDDConstants.cc.

FastTimeDDDConstants::~FastTimeDDDConstants ( )

Definition at line 25 of file FastTimeDDDConstants.cc.

Member Function Documentation

int FastTimeDDDConstants::computeCells ( ) const

Definition at line 31 of file FastTimeDDDConstants.cc.

int FastTimeDDDConstants::getCells ( ) const
inline

Definition at line 34 of file FastTimeDDDConstants.h.

References nCells.

34 {return 4*nCells;}
std::vector< double > FastTimeDDDConstants::getDDDArray ( const std::string &  str,
const DDsvalues_type sv 
) const
private

Definition at line 228 of file FastTimeDDDConstants.cc.

int FastTimeDDDConstants::getType ( void  ) const
inline

Definition at line 31 of file FastTimeDDDConstants.h.

References cellType.

std::pair< int, int > FastTimeDDDConstants::getXY ( int  copy) const

Definition at line 66 of file FastTimeDDDConstants.cc.

std::pair< int, int > FastTimeDDDConstants::getXY ( double  x,
double  y 
) const

Definition at line 87 of file FastTimeDDDConstants.cc.

void FastTimeDDDConstants::initialize ( const DDCompactView cpv)
private

Definition at line 152 of file FastTimeDDDConstants.cc.

bool FastTimeDDDConstants::isValidCell ( int  copy) const

Definition at line 120 of file FastTimeDDDConstants.cc.

bool FastTimeDDDConstants::isValidXY ( int  ix,
int  iy 
) const

Definition at line 108 of file FastTimeDDDConstants.cc.

void FastTimeDDDConstants::loadSpecPars ( const DDFilteredView fv)
private

Definition at line 174 of file FastTimeDDDConstants.cc.

int FastTimeDDDConstants::quadrant ( int  ix,
int  iy 
) const

Definition at line 125 of file FastTimeDDDConstants.cc.

int FastTimeDDDConstants::quadrant ( int  copy) const

Definition at line 137 of file FastTimeDDDConstants.cc.

Member Data Documentation

double FastTimeDDDConstants::cellSize
private

Definition at line 47 of file FastTimeDDDConstants.h.

int FastTimeDDDConstants::cellType
private

Definition at line 46 of file FastTimeDDDConstants.h.

Referenced by getType().

std::vector<int> FastTimeDDDConstants::firstCell
private

Definition at line 48 of file FastTimeDDDConstants.h.

std::vector<int> FastTimeDDDConstants::firstY
private

Definition at line 48 of file FastTimeDDDConstants.h.

std::vector<int> FastTimeDDDConstants::lastCell
private

Definition at line 48 of file FastTimeDDDConstants.h.

std::vector<int> FastTimeDDDConstants::lastY
private

Definition at line 48 of file FastTimeDDDConstants.h.

int FastTimeDDDConstants::nCells
private

Definition at line 46 of file FastTimeDDDConstants.h.

Referenced by getCells().

int FastTimeDDDConstants::nCols
private

Definition at line 46 of file FastTimeDDDConstants.h.

int FastTimeDDDConstants::nRows
private

Definition at line 46 of file FastTimeDDDConstants.h.

double FastTimeDDDConstants::rIn
private

Definition at line 47 of file FastTimeDDDConstants.h.

double FastTimeDDDConstants::rOut
private

Definition at line 47 of file FastTimeDDDConstants.h.