Creates electronics signals from EB hits , including APD. More...
#include <EBHitResponse.h>
Public Types | |
enum | { kNOffsets = 2000 } |
typedef CaloHitRespoNew | CaloHitResponse |
typedef std::vector< double > | VecD |
Public Types inherited from CaloHitRespoNew | |
enum | { BUNCHSPACE =25 } |
typedef std::vector< unsigned int > | VecInd |
typedef std::vector< CaloSamples > | VecSam |
Public Member Functions | |
EBHitResponse (const CaloVSimParameterMap *parameterMap, const CaloVShape *shape, bool apdOnly, const APDSimParameters *apdPars, const CaloVShape *apdShape) | |
virtual bool | keepBlank () const |
const VecD & | offsets () const |
void | setIntercal (const EcalIntercalibConstantsMC *ical) |
virtual | ~EBHitResponse () |
Public Member Functions inherited from CaloHitRespoNew | |
CaloHitRespoNew (const CaloVSimParameterMap *parameterMap, const CaloVShape *shape) | |
const CaloSamples & | operator[] (unsigned int i) const |
virtual void | run (MixCollection< PCaloHit > &hits) |
unsigned int | samplesSize () const |
void | setBunchRange (int minBunch, int maxBunch) |
void | setGeometry (const CaloSubdetectorGeometry *geometry) |
void | setHitCorrection (const CaloVHitCorrection *hitCorrection) |
void | setHitFilter (const CaloVHitFilter *filter) |
void | setPECorrection (const CaloVPECorrection *peCorrection) |
void | setPhaseShift (double phaseShift) |
virtual void | setRandomEngine (CLHEP::HepRandomEngine &engine) const |
virtual | ~CaloHitRespoNew () |
Protected Member Functions | |
virtual void | putAnalogSignal (const PCaloHit &inputHit) |
Protected Member Functions inherited from CaloHitRespoNew | |
double | analogSignalAmplitude (const PCaloHit &hit) const |
void | blankOutUsedSamples () |
CaloSamples * | findSignal (const DetId &detId) |
const CaloSubdetectorGeometry * | geometry () const |
const CaloSimParameters * | params (const DetId &detId) const |
double | phaseShift () const |
CLHEP::RandGaussQ * | ranGauss () const |
CLHEP::RandPoissonQ * | ranPois () const |
void | setupSamples (const DetId &detId) |
const CaloVShape * | shape () const |
double | timeOfFlight (const DetId &detId) const |
Private Member Functions | |
const APDSimParameters * | apdParameters () const |
const CaloVShape * | apdShape () const |
double | apdSignalAmplitude (const PCaloHit &hit) const |
void | findIntercalibConstant (const DetId &detId, double &icalconst) const |
Private Attributes | |
const bool | m_apdOnly |
const APDSimParameters * | m_apdPars |
const CaloVShape * | m_apdShape |
const EcalIntercalibConstantsMC * | m_intercal |
std::vector< double > | m_timeOffVec |
Creates electronics signals from EB hits , including APD.
Definition at line 17 of file EBHitResponse.h.
Definition at line 21 of file EBHitResponse.h.
typedef std::vector<double> EBHitResponse::VecD |
Definition at line 23 of file EBHitResponse.h.
anonymous enum |
EBHitResponse::EBHitResponse | ( | const CaloVSimParameterMap * | parameterMap, |
const CaloVShape * | shape, | ||
bool | apdOnly, | ||
const APDSimParameters * | apdPars = 0 , |
||
const CaloVShape * | apdShape = 0 |
||
) |
Definition at line 11 of file EBHitResponse.cc.
References apdParameters(), i, kNOffsets, m_timeOffVec, and CaloHitRespoNew::ranGauss().
|
virtual |
Definition at line 32 of file EBHitResponse.cc.
|
private |
Definition at line 38 of file EBHitResponse.cc.
References m_apdPars.
Referenced by apdSignalAmplitude(), EBHitResponse(), and putAnalogSignal().
|
private |
Definition at line 45 of file EBHitResponse.cc.
References m_apdShape.
Referenced by putAnalogSignal().
|
private |
Definition at line 98 of file EBHitResponse.cc.
References apdParameters(), PCaloHit::depth(), PCaloHit::energy(), findIntercalibConstant(), PCaloHit::id(), m_apdOnly, m_intercal, CaloHitRespoNew::ranPois(), APDSimParameters::simToPEHigh(), and APDSimParameters::simToPELow().
Referenced by putAnalogSignal().
|
private |
Definition at line 132 of file EBHitResponse.cc.
References EcalCondObjectContainer< T >::getMap(), m_intercal, and DetId::rawId().
Referenced by apdSignalAmplitude().
|
inlinevirtual |
|
inline |
Definition at line 39 of file EBHitResponse.h.
References m_timeOffVec.
Referenced by putAnalogSignal().
|
protectedvirtual |
Reimplemented from CaloHitRespoNew.
Definition at line 52 of file EBHitResponse.cc.
References apdParameters(), apdShape(), apdSignalAmplitude(), newFWLiteAna::bin, CaloSimParameters::binOfMaximum(), CaloHitRespoNew::BUNCHSPACE, PCaloHit::depth(), CaloHitRespoNew::findSignal(), PCaloHit::id(), kNOffsets, m_apdOnly, offsets(), ExpressReco_HICollisions_FallBack::parameters, CaloHitRespoNew::params(), CaloHitRespoNew::phaseShift(), CaloHitRespoNew::putAnalogSignal(), query::result, PCaloHit::time(), CaloHitRespoNew::timeOfFlight(), and tzero.
void EBHitResponse::setIntercal | ( | const EcalIntercalibConstantsMC * | ical | ) |
Definition at line 126 of file EBHitResponse.cc.
References m_intercal.
Referenced by EcalDigiProducer::checkCalibrations().
|
private |
Definition at line 55 of file EBHitResponse.h.
Referenced by apdSignalAmplitude(), and putAnalogSignal().
|
private |
Definition at line 56 of file EBHitResponse.h.
Referenced by apdParameters().
|
private |
Definition at line 57 of file EBHitResponse.h.
Referenced by apdShape().
|
private |
Definition at line 58 of file EBHitResponse.h.
Referenced by apdSignalAmplitude(), findIntercalibConstant(), and setIntercal().
|
private |
Definition at line 60 of file EBHitResponse.h.
Referenced by EBHitResponse(), and offsets().