#include <Pixel3DDigitizerAlgorithm.h>
Public Member Functions | |
std::vector< digitizerUtility::EnergyDepositUnit > | diffusion (const LocalPoint &pos, const float &ncarriers, const std::function< LocalVector(float, float)> &u_drift, const std::pair< float, float > pitches, const float &thickness) const |
std::vector< digitizerUtility::SignalPoint > | drift (const PSimHit &hit, const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield, const std::vector< digitizerUtility::EnergyDepositUnit > &ionization_points) const override |
std::vector< digitizerUtility::SignalPoint > | drift (const PSimHit &hit, const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield, const std::vector< digitizerUtility::EnergyDepositUnit > &ionization_points, bool diffusion_activated) const |
void | induce_signal (std::vector< PSimHit >::const_iterator inputBegin, const PSimHit &hit, const size_t hitIndex, const size_t firstHitIndex, const uint32_t tofBin, const Phase2TrackerGeomDetUnit *pixdet, const std::vector< digitizerUtility::SignalPoint > &collection_points) override |
Pixel3DDigitizerAlgorithm (const edm::ParameterSet &conf, edm::ConsumesCollector iC) | |
bool | select_hit (const PSimHit &hit, double tCorr, double &sigScale) const override |
~Pixel3DDigitizerAlgorithm () override | |
Public Member Functions inherited from PixelDigitizerAlgorithm | |
void | add_cross_talk (const Phase2TrackerGeomDetUnit *pixdet) override |
void | init (const edm::EventSetup &es) override |
bool | isAboveThreshold (const digitizerUtility::SimHitInfo *hitInfo, float charge, float thr) const override |
void | module_killing_DB (const Phase2TrackerGeomDetUnit *pixdet) override |
PixelDigitizerAlgorithm (const edm::ParameterSet &conf, edm::ConsumesCollector iC) | |
bool | select_hit (const PSimHit &hit, double tCorr, double &sigScale) const override |
~PixelDigitizerAlgorithm () override | |
Public Member Functions inherited from Phase2TrackerDigitizerAlgorithm | |
virtual void | accumulateSimHits (const std::vector< PSimHit >::const_iterator inputBegin, const std::vector< PSimHit >::const_iterator inputEnd, const size_t inputBeginGlobalIndex, const uint32_t tofBin, const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield) |
virtual void | digitize (const Phase2TrackerGeomDetUnit *pixdet, std::map< int, digitizerUtility::DigiSimInfo > &digi_map, const TrackerTopology *tTopo) |
virtual void | initializeEvent (CLHEP::HepRandomEngine &eng) |
void | loadAccumulator (uint32_t detId, const std::map< int, float > &accumulator) |
Phase2TrackerDigitizerAlgorithm (const edm::ParameterSet &conf_common, const edm::ParameterSet &conf_specific, edm::ConsumesCollector iC) | |
virtual | ~Phase2TrackerDigitizerAlgorithm () |
Private Member Functions | |
const bool | is_inside_n_column_ (const LocalPoint &p, const float &sensor_thickness) const |
const bool | is_inside_ohmic_column_ (const LocalPoint &p, const std::pair< float, float > &pitch) const |
Private Attributes | |
const edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > | fedCablingMapToken_ |
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | geomToken_ |
const float | np_column_gap_ |
const float | np_column_radius_ |
const float | ohm_column_radius_ |
edm::ESGetToken< SiPixelQuality, SiPixelQualityRcd > | siPixelBadModuleToken_ |
edm::ESGetToken< SiPixelLorentzAngle, SiPixelLorentzAngleSimRcd > | siPixelLorentzAngleToken_ |
Definition at line 29 of file Pixel3DDigitizerAlgorithm.h.
Pixel3DDigitizerAlgorithm::Pixel3DDigitizerAlgorithm | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 20 of file Pixel3DDigitizerAlgorithm.cc.
References Phase2TrackerDigitizerAlgorithm::addPixelInefficiency_, Phase2TrackerDigitizerAlgorithm::pixelFlag_, Phase2TrackerDigitizerAlgorithm::theAdcFullScale_, Phase2TrackerDigitizerAlgorithm::theElectronPerADC_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Barrel_, Phase2TrackerDigitizerAlgorithm::theThresholdInE_Endcap_, and Phase2TrackerDigitizerAlgorithm::tMax_.
|
override |
Definition at line 45 of file Pixel3DDigitizerAlgorithm.cc.
std::vector< digitizerUtility::EnergyDepositUnit > Pixel3DDigitizerAlgorithm::diffusion | ( | const LocalPoint & | pos, |
const float & | ncarriers, | ||
const std::function< LocalVector(float, float)> & | u_drift, | ||
const std::pair< float, float > | pitches, | ||
const float & | thickness | ||
) | const |
Definition at line 78 of file Pixel3DDigitizerAlgorithm.cc.
References funct::abs(), createTree::dd, mps_fire::i, createfilelist::int, LogDebug, hcaltb::N_SIGMA, mathSSE::sqrt(), and HcalDetIdTransform::transform().
Referenced by drift().
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 175 of file Pixel3DDigitizerAlgorithm.cc.
Referenced by drift().
std::vector< digitizerUtility::SignalPoint > Pixel3DDigitizerAlgorithm::drift | ( | const PSimHit & | hit, |
const Phase2TrackerGeomDetUnit * | pixdet, | ||
const GlobalVector & | bfield, | ||
const std::vector< digitizerUtility::EnergyDepositUnit > & | ionization_points, | ||
bool | diffusion_activated | ||
) | const |
Definition at line 182 of file Pixel3DDigitizerAlgorithm.cc.
References Surface::bounds(), funct::cos(), diffusion(), drift(), JetChargeProducer_cfi::exp, is_inside_n_column_(), is_inside_ohmic_column_(), Topology::localPosition(), LogDebug, CaloTowersParam_cfi::mc, PixelTopology::ncolumns(), B2GMonitoring_cff::nelectrons, np_column_radius_, PixelTopology::nrows(), PV3DBase< T, PVType, FrameType >::perp(), PixelTopology::pitch(), PixelTopology::pixel(), GloballyPositioned< T >::position(), Phase2TrackerDigitizerAlgorithm::pseudoRadDamage_, Phase2TrackerDigitizerAlgorithm::pseudoRadDamageRadius_, funct::sin(), GeomDet::specificSurface(), PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), GeomDet::surface(), theta(), Bounds::thickness(), Calorimetry_cff::thickness, x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 339 of file Pixel3DDigitizerAlgorithm.cc.
References Phase2TrackerDigitizerAlgorithm::_signal, c_inv, GeomDet::geographicalId(), LogDebug, mag(), Phase2TrackerDigitizerAlgorithm::makeDigiSimLinks_, Phase2TrackerDigitizerAlgorithm::pixelFlag_, Phase2TrackerDigi::pixelToChannel(), pixelgpudetails::pixelToChannel(), PixelDigi::pixelToChannel(), DiDispStaMuonMonitor_cfi::pt, DetId::rawId(), GeomDet::surface(), and Surface::toGlobal().
|
private |
Definition at line 55 of file Pixel3DDigitizerAlgorithm.cc.
References np_column_gap_, np_column_radius_, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by drift().
|
private |
Definition at line 60 of file Pixel3DDigitizerAlgorithm.cc.
References ohm_column_radius_, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by drift().
|
overridevirtual |
Reimplemented from Phase2TrackerDigitizerAlgorithm.
Definition at line 50 of file Pixel3DDigitizerAlgorithm.cc.
References Phase2TrackerDigitizerAlgorithm::theTofLowerCut_, Phase2TrackerDigitizerAlgorithm::theTofUpperCut_, and protons_cff::time.
|
private |
Definition at line 72 of file Pixel3DDigitizerAlgorithm.h.
|
private |
Definition at line 73 of file Pixel3DDigitizerAlgorithm.h.
|
private |
Definition at line 68 of file Pixel3DDigitizerAlgorithm.h.
Referenced by is_inside_n_column_().
|
private |
Definition at line 65 of file Pixel3DDigitizerAlgorithm.h.
Referenced by drift(), and is_inside_n_column_().
|
private |
Definition at line 66 of file Pixel3DDigitizerAlgorithm.h.
Referenced by is_inside_ohmic_column_().
|
private |
Definition at line 70 of file Pixel3DDigitizerAlgorithm.h.
|
private |
Definition at line 71 of file Pixel3DDigitizerAlgorithm.h.