CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
CellDB Class Reference

#include <LogEleMapdb.h>

Public Member Functions

 CellDB ()
 
 CellDB ()
 
 CellDB ()
 
 CellDB ()
 
 CellDB ()
 
template<typename T >
CellDB find (const std::string par, const T val) const
 
template<typename T >
CellDB find (const std::string par, const T val) const
 
template<typename T >
CellDB find (const std::string par, const T val) const
 
template<typename T >
CellDB find (const std::string par, const T val) const
 
template<typename T >
CellDB find (const std::string par, const T val) const
 
Cell operator[] (int i) const
 
Cell operator[] (int i) const
 
Cell operator[] (int i) const
 
Cell operator[] (int i) const
 
Cell operator[] (int i) const
 
int size () const
 
int size () const
 
int size () const
 
int size () const
 
int size () const
 

Private Member Functions

 CellDB (const std::vector< Cell > s)
 
 CellDB (const std::vector< Cell > s)
 
 CellDB (const std::vector< Cell > s)
 
 CellDB (const std::vector< Cell > s)
 
 CellDB (const std::vector< Cell > s)
 

Private Attributes

std::vector< Cellcells
 

Detailed Description

Definition at line 14741 of file LogEleMapdb.h.

Constructor & Destructor Documentation

◆ CellDB() [1/10]

CellDB::CellDB ( )
inline

Definition at line 14743 of file LogEleMapdb.h.

Referenced by find().

const Cell AllCells[]
Definition: LogEleMapdb.h:73
#define DIM(a)
std::vector< Cell > cells

◆ CellDB() [2/10]

CellDB::CellDB ( const std::vector< Cell s)
inlineprivate

Definition at line 14761 of file LogEleMapdb.h.

14761 : cells(s) {}
std::vector< Cell > cells

◆ CellDB() [3/10]

CellDB::CellDB ( )
inline

Definition at line 14743 of file LogEleMapdb.h.

const Cell AllCells[]
Definition: LogEleMapdb.h:73
#define DIM(a)
std::vector< Cell > cells

◆ CellDB() [4/10]

CellDB::CellDB ( const std::vector< Cell s)
inlineprivate

Definition at line 14761 of file LogEleMapdb.h.

14761 : cells(s) {}
std::vector< Cell > cells

◆ CellDB() [5/10]

CellDB::CellDB ( )
inline

Definition at line 14743 of file LogEleMapdb.h.

const Cell AllCells[]
Definition: LogEleMapdb.h:73
#define DIM(a)
std::vector< Cell > cells

◆ CellDB() [6/10]

CellDB::CellDB ( const std::vector< Cell s)
inlineprivate

Definition at line 14761 of file LogEleMapdb.h.

14761 : cells(s) {}
std::vector< Cell > cells

◆ CellDB() [7/10]

CellDB::CellDB ( )
inline

Definition at line 14743 of file LogEleMapdb.h.

const Cell AllCells[]
Definition: LogEleMapdb.h:73
#define DIM(a)
std::vector< Cell > cells

◆ CellDB() [8/10]

CellDB::CellDB ( const std::vector< Cell s)
inlineprivate

Definition at line 14761 of file LogEleMapdb.h.

14761 : cells(s) {}
std::vector< Cell > cells

◆ CellDB() [9/10]

CellDB::CellDB ( )
inline

Definition at line 14743 of file LogEleMapdb.h.

const Cell AllCells[]
Definition: LogEleMapdb.h:73
std::vector< Cell > cells
#define DIM(a)

◆ CellDB() [10/10]

CellDB::CellDB ( const std::vector< Cell s)
inlineprivate

Definition at line 14761 of file LogEleMapdb.h.

14761 : cells(s) {}
std::vector< Cell > cells

Member Function Documentation

◆ find() [1/5]

template<typename T >
CellDB CellDB::find ( const std::string  par,
const T  val 
) const
inline

Definition at line 14752 of file LogEleMapdb.h.

References CellDB(), cells, RPCNoise_example::check, mps_fire::i, alignCSCRings::s, and heppy_batch::val.

14752  {
14753  std::vector<Cell> s;
14754  for (size_t i = 0; i < cells.size(); ++i)
14755  if (cells[i].check(par, val))
14756  s.push_back(cells[i]);
14757  return CellDB(s);
14758  }
std::vector< Cell > cells

◆ find() [2/5]

template<typename T >
CellDB CellDB::find ( const std::string  par,
const T  val 
) const
inline

Definition at line 14752 of file LogEleMapdb.h.

References CellDB(), cells, RPCNoise_example::check, mps_fire::i, alignCSCRings::s, and heppy_batch::val.

14752  {
14753  std::vector<Cell> s;
14754  for (size_t i = 0; i < cells.size(); ++i)
14755  if (cells[i].check(par, val))
14756  s.push_back(cells[i]);
14757  return CellDB(s);
14758  }
std::vector< Cell > cells

◆ find() [3/5]

template<typename T >
CellDB CellDB::find ( const std::string  par,
const T  val 
) const
inline

Definition at line 14752 of file LogEleMapdb.h.

References CellDB(), cells, RPCNoise_example::check, mps_fire::i, alignCSCRings::s, and heppy_batch::val.

14752  {
14753  std::vector<Cell> s;
14754  for (size_t i = 0; i < cells.size(); ++i)
14755  if (cells[i].check(par, val))
14756  s.push_back(cells[i]);
14757  return CellDB(s);
14758  }
std::vector< Cell > cells

◆ find() [4/5]

template<typename T >
CellDB CellDB::find ( const std::string  par,
const T  val 
) const
inline

Definition at line 14752 of file LogEleMapdb.h.

References CellDB(), cells, RPCNoise_example::check, mps_fire::i, alignCSCRings::s, and heppy_batch::val.

14752  {
14753  std::vector<Cell> s;
14754  for (size_t i = 0; i < cells.size(); ++i)
14755  if (cells[i].check(par, val))
14756  s.push_back(cells[i]);
14757  return CellDB(s);
14758  }
std::vector< Cell > cells

◆ find() [5/5]

template<typename T >
CellDB CellDB::find ( const std::string  par,
const T  val 
) const
inline

Definition at line 14752 of file LogEleMapdb.h.

References CellDB(), cells, RPCNoise_example::check, mps_fire::i, alignCSCRings::s, and heppy_batch::val.

14752  {
14753  std::vector<Cell> s;
14754  for (size_t i = 0; i < cells.size(); ++i)
14755  if (cells[i].check(par, val))
14756  s.push_back(cells[i]);
14757  return CellDB(s);
14758  }
std::vector< Cell > cells

◆ operator[]() [1/5]

Cell CellDB::operator[] ( int  i) const
inline

Definition at line 14746 of file LogEleMapdb.h.

References cells, and mps_fire::i.

14746 { return cells[i]; }
std::vector< Cell > cells

◆ operator[]() [2/5]

Cell CellDB::operator[] ( int  i) const
inline

Definition at line 14746 of file LogEleMapdb.h.

References cells, and mps_fire::i.

14746 { return cells[i]; }
std::vector< Cell > cells

◆ operator[]() [3/5]

Cell CellDB::operator[] ( int  i) const
inline

Definition at line 14746 of file LogEleMapdb.h.

References cells, and mps_fire::i.

14746 { return cells[i]; }
std::vector< Cell > cells

◆ operator[]() [4/5]

Cell CellDB::operator[] ( int  i) const
inline

Definition at line 14746 of file LogEleMapdb.h.

References cells, and mps_fire::i.

14746 { return cells[i]; }
std::vector< Cell > cells

◆ operator[]() [5/5]

Cell CellDB::operator[] ( int  i) const
inline

Definition at line 14746 of file LogEleMapdb.h.

References cells, and mps_fire::i.

14746 { return cells[i]; }
std::vector< Cell > cells

◆ size() [1/5]

int CellDB::size ( void  ) const
inline

Definition at line 14748 of file LogEleMapdb.h.

References cells.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

14748 { return cells.size(); }
std::vector< Cell > cells

◆ size() [2/5]

int CellDB::size ( void  ) const
inline

Definition at line 14748 of file LogEleMapdb.h.

References cells.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

14748 { return cells.size(); }
std::vector< Cell > cells

◆ size() [3/5]

int CellDB::size ( void  ) const
inline

Definition at line 14748 of file LogEleMapdb.h.

References cells.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

14748 { return cells.size(); }
std::vector< Cell > cells

◆ size() [4/5]

int CellDB::size ( void  ) const
inline

Definition at line 14748 of file LogEleMapdb.h.

References cells.

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

14748 { return cells.size(); }
std::vector< Cell > cells

◆ size() [5/5]

int CellDB::size ( void  ) const
inline

Definition at line 14748 of file LogEleMapdb.h.

References cells.

Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and main().

14748 { return cells.size(); }
std::vector< Cell > cells

Member Data Documentation

◆ cells

std::vector< Cell > CellDB::cells
private

Definition at line 14762 of file LogEleMapdb.h.

Referenced by find(), operator[](), and size().