#include <CaloBox.h>
Public Member Functions | |
CaloBox (double centerEta, double centerPhi, double dEta, double dPhi, unsigned nEta, unsigned nPhi) | |
std::ostream & | dump (std::ostream &stream, double norm=1.0, std::string rowDelim="\n") const |
const std::map< std::pair< int, int >, double > & | energies () const |
bool | fill (double eta, double phi, double energy) |
void | reset () |
void | test () |
virtual | ~CaloBox () |
Public Attributes | |
double | centerEta_ |
double | centerPhi_ |
double | dEta_ |
double | dPhi_ |
int | etaNegBound_ |
int | etaPosBound_ |
unsigned | nEta_ |
unsigned | nPhi_ |
int | phiNegBound_ |
int | phiPosBound_ |
Private Member Functions | |
CaloBox () | |
Private Attributes | |
std::map< std::pair< int, int > , double > | energies_ |
CaloBox::CaloBox | ( | double | centerEta, |
double | centerPhi, | ||
double | dEta, | ||
double | dPhi, | ||
unsigned | nEta, | ||
unsigned | nPhi | ||
) |
Definition at line 15 of file CaloBox.cc.
References gather_cfg::cout, etaNegBound_, etaPosBound_, nEta_, nPhi_, phiNegBound_, phiPosBound_, and reset().
|
virtual |
Definition at line 57 of file CaloBox.cc.
|
private |
std::ostream & CaloBox::dump | ( | std::ostream & | stream, |
double | norm = 1.0 , |
||
std::string | rowDelim = "\n" |
||
) | const |
Definition at line 82 of file CaloBox.cc.
References trackerHits::c, energies_, relval_parameters_module::energy, etaNegBound_, etaPosBound_, phiNegBound_, phiPosBound_, alignCSCRings::r, and edmStreamStallGrapher::stream.
Referenced by pftools::operator<<().
|
inline |
Definition at line 41 of file CaloBox.h.
References energies_.
bool CaloBox::fill | ( | double | eta, |
double | phi, | ||
double | energy | ||
) |
Definition at line 61 of file CaloBox.cc.
References centerEta_, centerPhi_, dEta_, dPhi_, energies_, relval_parameters_module::energy, etaNegBound_, etaPosBound_, combine::key, phiNegBound_, and phiPosBound_.
Referenced by test().
void CaloBox::reset | ( | void | ) |
Definition at line 48 of file CaloBox.cc.
References trackerHits::c, energies_, etaNegBound_, etaPosBound_, phiNegBound_, phiPosBound_, and alignCSCRings::r.
Referenced by CaloBox().
void CaloBox::test | ( | void | ) |
Definition at line 103 of file CaloBox.cc.
References prof2calltree::count, gather_cfg::cout, fill(), and convertSQLiteXML::ok.
double pftools::CaloBox::centerEta_ |
Definition at line 27 of file CaloBox.h.
Referenced by fill(), and pftools::operator<<().
double pftools::CaloBox::centerPhi_ |
Definition at line 28 of file CaloBox.h.
Referenced by fill(), and pftools::operator<<().
|
private |
int pftools::CaloBox::etaNegBound_ |
int pftools::CaloBox::etaPosBound_ |
int pftools::CaloBox::phiNegBound_ |