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

FastShower::GridletElement Class Reference

Energy deposits. More...

#include <Gridlet.h>

List of all members.


Public Methods

 GridletElement (double phi, double eta, double e)
double phi () const
double eta () const
double et () const
double e () const
 GridletElement ()
 create element centered at eta, phi.

void normalise (double n)
 scale all energy deposits

void addEdeposit (double e)
 add to ecal deposit

void addHdeposit (double e)
 add to hcal deposit

double eDeposit ()
 give total ecal deposit

double hDeposit ()
 give total hcal deposit


Private Methods

int index (double eta, double phi)

Private Attributes

double m_phi
double m_eta
double m_et
double m_e
double m_hadEnergy
double m_emEnergy

Detailed Description

Energy deposits.

Definition at line 32 of file Gridlet.h.


Constructor & Destructor Documentation

FastShower::GridletElement::GridletElement double    phi,
double    eta,
double    e
[inline]
 

Definition at line 34 of file Gridlet.h.

References e(), eta(), m_e, m_et, m_eta, m_phi, and phi().

00034                                                     :m_phi(phi), m_eta(eta), m_e(e){
00035     m_et = e/cosh(eta);
00036     }

FastShower::GridletElement::GridletElement   [inline]
 

create element centered at eta, phi.

Definition at line 13 of file GridletElement.h.

References m_emEnergy, and m_hadEnergy.

00013 :m_hadEnergy(0.),m_emEnergy(0.){};

Member Function Documentation

double FastShower::GridletElement::phi   const [inline]
 

Definition at line 37 of file Gridlet.h.

References m_phi.

Referenced by GridletElement().

00037 {return m_phi;}

double FastShower::GridletElement::eta   const [inline]
 

Definition at line 38 of file Gridlet.h.

References m_eta.

Referenced by GridletElement().

00038 {return m_eta;}

double FastShower::GridletElement::et   const [inline]
 

Definition at line 39 of file Gridlet.h.

References m_et.

00039 {return m_et;}

double FastShower::GridletElement::e   const [inline]
 

Definition at line 40 of file Gridlet.h.

References m_e.

Referenced by addEdeposit(), addHdeposit(), and GridletElement().

00040 {return m_e;}

void FastShower::GridletElement::normalise double    n [inline]
 

scale all energy deposits

Definition at line 15 of file GridletElement.h.

References m_emEnergy, and m_hadEnergy.

00015 {m_hadEnergy/=n; m_emEnergy/=n;}

void FastShower::GridletElement::addEdeposit double    e [inline]
 

add to ecal deposit

Definition at line 17 of file GridletElement.h.

References e(), and m_emEnergy.

00017 {m_emEnergy+=e;}

void FastShower::GridletElement::addHdeposit double    e [inline]
 

add to hcal deposit

Definition at line 19 of file GridletElement.h.

References e(), and m_hadEnergy.

00019 {m_hadEnergy+=e;}

double FastShower::GridletElement::eDeposit   [inline]
 

give total ecal deposit

Definition at line 21 of file GridletElement.h.

References m_emEnergy.

00021 {return m_emEnergy;}

double FastShower::GridletElement::hDeposit   [inline]
 

give total hcal deposit

Definition at line 23 of file GridletElement.h.

References m_hadEnergy.

00023 {return m_hadEnergy;}

int FastShower::GridletElement::index double    eta,
double    phi
[private]
 


Member Data Documentation

double FastShower::GridletElement::m_phi [private]
 

Definition at line 42 of file Gridlet.h.

Referenced by GridletElement(), and phi().

double FastShower::GridletElement::m_eta [private]
 

Definition at line 43 of file Gridlet.h.

Referenced by eta(), and GridletElement().

double FastShower::GridletElement::m_et [private]
 

Definition at line 44 of file Gridlet.h.

Referenced by et(), and GridletElement().

double FastShower::GridletElement::m_e [private]
 

Definition at line 45 of file Gridlet.h.

Referenced by e(), and GridletElement().

double FastShower::GridletElement::m_hadEnergy [private]
 

Definition at line 26 of file GridletElement.h.

Referenced by addHdeposit(), GridletElement(), hDeposit(), and normalise().

double FastShower::GridletElement::m_emEnergy [private]
 

Definition at line 27 of file GridletElement.h.

Referenced by addEdeposit(), eDeposit(), GridletElement(), and normalise().


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