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 (CLHEP::HepRandomEngine *, unsigned int photons, unsigned int integral=0) const |
virtual double | hitCells (CLHEP::HepRandomEngine *, unsigned int pes, double tempDiff=0., double photonTime=0.) |
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 |
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 12 of file HcalSiPM.cc.
References assert(), resetSiPM(), and theCellCount.
|
virtual |
Definition at line 20 of file HcalSiPM.cc.
|
protected |
Definition at line 140 of file HcalSiPM.cc.
References create_public_lumi_plots::exp, mps_fire::result, and theTauInv.
Referenced by hitCells(), and totalCharge().
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Definition at line 23 of file HcalSiPM.cc.
References create_public_lumi_plots::exp, timingPdfMaker::mean, mathSSE::sqrt(), theCellCount, theCrossTalk, and x.
Referenced by HcalSiPMHitResponse::makeSiPMSignal().
|
virtual |
Definition at line 55 of file HcalSiPM.cc.
References cellCharge(), theCellCount, theCrossTalk, theLastHitTime, theSiPM, and theTempDep.
|
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 105 of file HcalSiPM.cc.
References assert(), 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 84 of file HcalSiPM.cc.
References cellCharge(), i, theCellCount, and theSiPM.
|
protected |
Definition at line 52 of file HcalSiPM.h.
Referenced by getNCells(), HcalSiPM(), hitCells(), setNCells(), and totalCharge().
|
protected |
Definition at line 55 of file HcalSiPM.h.
Referenced by getCrossTalk(), hitCells(), and setCrossTalk().
|
protected |
Definition at line 57 of file HcalSiPM.h.
Referenced by hitCells(), and totalCharge().
|
protected |
Definition at line 53 of file HcalSiPM.h.
Referenced by hitCells(), resetSiPM(), setNCells(), and totalCharge().
|
protected |
Definition at line 54 of file HcalSiPM.h.
Referenced by cellCharge(), getTau(), and setTau().
|
protected |
Definition at line 56 of file HcalSiPM.h.
Referenced by getTempDep(), hitCells(), and setTemperatureDependence().