Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

FastShower::FillGridletElementVector Class Reference

Collaboration diagram for FastShower::FillGridletElementVector:

Collaboration graph
[legend]
List of all members.

Public Methods

 FillGridletElementVector (const Gridlet *g)
void operator() (double e)
std::vector< GridletElement * > elements () const

Private Attributes

const Gridletm_g
int m_ind
std::vector< GridletElement * > m_elements

Constructor & Destructor Documentation

FastShower::FillGridletElementVector::FillGridletElementVector const Gridlet   g [inline]
 

Definition at line 41 of file Gridlet.cxx.

References m_g, and m_ind.

00041 : m_g(g), m_ind(0){}

Member Function Documentation

void FastShower::FillGridletElementVector::operator() double    e [inline]
 

Definition at line 42 of file Gridlet.cxx.

References FastShower::Gridlet::eta(), m_elements, m_g, m_ind, and FastShower::Gridlet::phi().

00042                              {
00043       //do not return if e=0 - need to bump m_ind first!
00044       if(e > 0.){
00045         m_elements.push_back(
00046                              new GridletElement(m_g->phi(m_ind), 
00047                                                 m_g->eta(m_ind), 
00048                                                 e
00049                                                 )
00050                              );
00051       }
00052       ++m_ind;
00053     }

std::vector<GridletElement*> FastShower::FillGridletElementVector::elements   const [inline]
 

Definition at line 54 of file Gridlet.cxx.

References m_elements.

00054 {return m_elements;}

Member Data Documentation

const Gridlet* FastShower::FillGridletElementVector::m_g [private]
 

Definition at line 56 of file Gridlet.cxx.

Referenced by FillGridletElementVector(), and operator()().

int FastShower::FillGridletElementVector::m_ind [private]
 

Definition at line 57 of file Gridlet.cxx.

Referenced by FillGridletElementVector(), and operator()().

std::vector<GridletElement*> FastShower::FillGridletElementVector::m_elements [private]
 

Definition at line 58 of file Gridlet.cxx.

Referenced by elements(), and operator()().


The documentation for this class was generated from the following file:
Generated on Tue Mar 18 11:54:58 2003 for FastShowerUtils by doxygen1.3-rc1