#include <Pixel3DDigitizerAlgorithm.h>
Public Member Functions | |
void | accumulateSimHits (const std::vector< PSimHit >::const_iterator inputBegin, const std::vector< PSimHit >::const_iterator inputEnd, const size_t inputBeginGlobalIndex, const unsigned int tofBin, const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield) override |
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) |
std::vector< DigitizerUtility::SignalPoint > | drift (const PSimHit &hit, const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield, const std::vector< DigitizerUtility::EnergyDepositUnit > &ionization_points, bool diffusion_activated) |
void | induce_signal (const PSimHit &hit, const size_t hitIndex, const unsigned int tofBin, const Phase2TrackerGeomDetUnit *pixdet, const std::vector< DigitizerUtility::SignalPoint > &collection_points) |
void | init (const edm::EventSetup &es) override |
Pixel3DDigitizerAlgorithm (const edm::ParameterSet &conf) | |
~Pixel3DDigitizerAlgorithm () 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)=0 |
virtual void | digitize (const Phase2TrackerGeomDetUnit *pixdet, std::map< int, DigitizerUtility::DigiSimInfo > &digi_map, const TrackerTopology *tTopo) |
virtual void | initializeEvent (CLHEP::HepRandomEngine &eng) |
virtual bool | isAboveThreshold (const DigitizerUtility::SimHitInfo *hitInfo, float charge, float thr) |
void | loadAccumulator (uint32_t detId, const std::map< int, float > &accumulator) |
Phase2TrackerDigitizerAlgorithm (const edm::ParameterSet &conf_common, const edm::ParameterSet &conf_specific) | |
virtual bool | select_hit (const PSimHit &hit, double tCorr, double &sigScale) |
virtual | ~Phase2TrackerDigitizerAlgorithm () |
Private Member Functions | |
const bool | _is_inside_n_column (const LocalPoint &p) const |
const bool | _is_inside_ohmic_column (const LocalPoint &p, const std::pair< float, float > &pitch) const |
Private Attributes | |
float | _np_column_radius |
float | _ohm_column_radius |
Definition at line 23 of file Pixel3DDigitizerAlgorithm.h.
Pixel3DDigitizerAlgorithm::Pixel3DDigitizerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 53 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 73 of file Pixel3DDigitizerAlgorithm.cc.
|
private |
Definition at line 122 of file Pixel3DDigitizerAlgorithm.cc.
References _np_column_radius, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by drift().
|
private |
Definition at line 126 of file Pixel3DDigitizerAlgorithm.cc.
References _ohm_column_radius, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by drift().
|
override |
Definition at line 75 of file Pixel3DDigitizerAlgorithm.cc.
References c_inv, drift(), GeomDet::geographicalId(), induce_signal(), LogDebug, mag(), Phase2TrackerDigitizerAlgorithm::primary_ionization(), DetId::rawId(), GeomDet::surface(), Phase2TrackerDigitizerAlgorithm::theTofLowerCut_, Phase2TrackerDigitizerAlgorithm::theTofUpperCut_, and Surface::toGlobal().
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 | ||
) |
Definition at line 144 of file Pixel3DDigitizerAlgorithm.cc.
References funct::abs(), createTree::dd, MillePedeFileConverter_cfg::e, mps_fire::i, LogDebug, PixelTopology::pitch(), mathSSE::sqrt(), Calorimetry_cff::thickness, and HcalDetIdTransform::transform().
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 | ||
) |
Definition at line 254 of file Pixel3DDigitizerAlgorithm.cc.
References _is_inside_n_column(), _is_inside_ohmic_column(), _np_column_radius, Surface::bounds(), funct::cos(), diffusion(), JetChargeProducer_cfi::exp, HiBiasedCentrality_cfi::function, Topology::localPosition(), LogDebug, CaloTowersParam_cfi::mc, B2GMonitoring_cff::nelectrons, 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, and PV3DBase< T, PVType, FrameType >::y().
Referenced by accumulateSimHits().
void Pixel3DDigitizerAlgorithm::induce_signal | ( | const PSimHit & | hit, |
const size_t | hitIndex, | ||
const unsigned int | tofBin, | ||
const Phase2TrackerGeomDetUnit * | pixdet, | ||
const std::vector< DigitizerUtility::SignalPoint > & | collection_points | ||
) |
Definition at line 394 of file Pixel3DDigitizerAlgorithm.cc.
References Phase2TrackerDigitizerAlgorithm::_signal, LaserClient_cfi::Amplitude, Topology::channel(), GeomDet::geographicalId(), Topology::localPosition(), LogDebug, Phase2TrackerDigitizerAlgorithm::makeDigiSimLinks_, DiDispStaMuonMonitor_cfi::pt, DetId::rawId(), and PixelGeomDetUnit::specificTopology().
Referenced by accumulateSimHits().
|
overridevirtual |
Implements Phase2TrackerDigitizerAlgorithm.
Definition at line 30 of file Pixel3DDigitizerAlgorithm.cc.
References edm::EventSetup::get(), and get.
|
private |
Definition at line 61 of file Pixel3DDigitizerAlgorithm.h.
Referenced by _is_inside_n_column(), and drift().
|
private |
Definition at line 62 of file Pixel3DDigitizerAlgorithm.h.
Referenced by _is_inside_ohmic_column().