A general implementation for the response of a SiPM. More...
#include <HcalSiPM.h>
Public Member Functions | |
double | getCrossTalk () const |
int | getNCells () const |
double | getTau () const |
double | getTempDep () const |
HcalSiPM (int nCells=1, double tau=15.) | |
virtual int | hitCells (unsigned int photons, unsigned int integral=0) const |
virtual double | hitCells (unsigned int pes, double tempDiff=0., double photonTime=0.) |
void | initRandomEngine (CLHEP::HepRandomEngine &engine) |
void | resetSiPM () |
void | setCrossTalk (double xtalk) |
void | setNCells (int nCells) |
void | setTau (double tau) |
void | setTemperatureDependence (double tempDep) |
virtual double | totalCharge () const |
virtual double | totalCharge (double time) const |
virtual | ~HcalSiPM () |
Protected Member Functions | |
double | cellCharge (double deltaTime) const |
Protected Attributes | |
unsigned int | theCellCount |
double | theCrossTalk |
double | theLastHitTime |
CLHEP::RandFlat * | theRndFlat |
CLHEP::RandGaussQ * | theRndGauss |
CLHEP::RandPoissonQ * | theRndPoisson |
std::vector< double > | theSiPM |
double | theTauInv |
double | theTempDep |
A general implementation for the response of a SiPM.
Definition at line 20 of file HcalSiPM.h.
HcalSiPM::HcalSiPM | ( | int | nCells = 1 , |
double | tau = 15. |
||
) |
Definition at line 9 of file HcalSiPM.cc.
References resetSiPM(), and theCellCount.
|
virtual |
|
protected |
Definition at line 180 of file HcalSiPM.cc.
References create_public_lumi_plots::exp, query::result, and theTauInv.
Referenced by hitCells(), and totalCharge().
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Definition at line 24 of file HcalSiPM.cc.
References edm::hlt::Exception, create_public_lumi_plots::exp, edm::RandomNumberGenerator::getEngine(), edm::Service< T >::isAvailable(), timingPdfMaker::mean, mathSSE::sqrt(), theCellCount, theCrossTalk, theRndFlat, theRndGauss, theRndPoisson, and x.
Referenced by HcalSiPMHitResponse::makeSiPMSignal().
|
virtual |
Definition at line 71 of file HcalSiPM.cc.
References cellCharge(), edm::hlt::Exception, edm::RandomNumberGenerator::getEngine(), edm::Service< T >::isAvailable(), theCellCount, theCrossTalk, theLastHitTime, theRndFlat, theRndGauss, theRndPoisson, theSiPM, and theTempDep.
void HcalSiPM::initRandomEngine | ( | CLHEP::HepRandomEngine & | engine | ) |
Definition at line 159 of file HcalSiPM.cc.
References theRndFlat, theRndGauss, and theRndPoisson.
Referenced by HcalSiPMHitResponse::setRandomEngine().
|
inline |
Definition at line 26 of file HcalSiPM.h.
References lumiContext::fill, and theSiPM.
Referenced by HcalSiPM(), and setNCells().
void HcalSiPM::setCrossTalk | ( | double | xtalk | ) |
void HcalSiPM::setNCells | ( | int | nCells | ) |
Definition at line 136 of file HcalSiPM.cc.
References resetSiPM(), theCellCount, and theSiPM.
Referenced by HcalSiPMHitResponse::makeSiPMSignal().
|
inline |
Definition at line 42 of file HcalSiPM.h.
References metsig::tau, and theTauInv.
Referenced by HcalSiPMHitResponse::makeSiPMSignal().
void HcalSiPM::setTemperatureDependence | ( | double | tempDep | ) |
|
inlinevirtual |
Definition at line 32 of file HcalSiPM.h.
References theLastHitTime, and totalCharge().
Referenced by totalCharge().
|
virtual |
Definition at line 115 of file HcalSiPM.cc.
References cellCharge(), i, theCellCount, and theSiPM.
|
protected |
Definition at line 55 of file HcalSiPM.h.
Referenced by getNCells(), HcalSiPM(), hitCells(), setNCells(), and totalCharge().
|
protected |
Definition at line 58 of file HcalSiPM.h.
Referenced by getCrossTalk(), hitCells(), and setCrossTalk().
|
protected |
Definition at line 60 of file HcalSiPM.h.
Referenced by hitCells(), and totalCharge().
|
mutableprotected |
Definition at line 64 of file HcalSiPM.h.
Referenced by hitCells(), initRandomEngine(), and ~HcalSiPM().
|
mutableprotected |
Definition at line 62 of file HcalSiPM.h.
Referenced by hitCells(), initRandomEngine(), and ~HcalSiPM().
|
mutableprotected |
Definition at line 63 of file HcalSiPM.h.
Referenced by hitCells(), initRandomEngine(), and ~HcalSiPM().
|
protected |
Definition at line 56 of file HcalSiPM.h.
Referenced by hitCells(), resetSiPM(), setNCells(), and totalCharge().
|
protected |
Definition at line 57 of file HcalSiPM.h.
Referenced by cellCharge(), getTau(), and setTau().
|
protected |
Definition at line 59 of file HcalSiPM.h.
Referenced by getTempDep(), hitCells(), and setTemperatureDependence().