#include <Phase2TrackerDigitizerAlgorithm.h>
Classes | |
struct | SubdetEfficiencies |
Public Member Functions | |
virtual 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)=0 |
virtual void | digitize (const Phase2TrackerGeomDetUnit *pixdet, std::map< int, DigitizerUtility::DigiSimInfo > &digi_map, const TrackerTopology *tTopo) |
virtual void | init (const edm::EventSetup &es)=0 |
virtual void | initializeEvent () |
Phase2TrackerDigitizerAlgorithm (const edm::ParameterSet &conf_common, const edm::ParameterSet &conf_specific, CLHEP::HepRandomEngine &) | |
virtual | ~Phase2TrackerDigitizerAlgorithm () |
Protected Types | |
using | Frame = GloballyPositioned< double > |
using | Parameters = std::vector< edm::ParameterSet > |
using | signal_map_const_iterator = signal_map_type::const_iterator |
using | signal_map_iterator = signal_map_type::iterator |
using | signal_map_type = std::map< int, DigitizerUtility::Amplitude, std::less< int > > |
using | signalMaps = std::map< uint32_t, signal_map_type > |
using | simlink_map = std::map< unsigned int, std::vector< float >, std::less< unsigned int > > |
Protected Member Functions | |
virtual void | add_noise (const Phase2TrackerGeomDetUnit *pixdet, float thePixelThreshold) |
double | calcQ (float x) const |
void | drift (const PSimHit &hit, const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield, const std::vector< DigitizerUtility::EnergyDepositUnit > &ionization_points, std::vector< DigitizerUtility::SignalPoint > &collection_points) const |
LocalVector | DriftDirection (const Phase2TrackerGeomDetUnit *pixdet, const GlobalVector &bfield, const DetId &detId) const |
void | fluctuateEloss (int particleId, float momentum, float eloss, float length, int NumberOfSegments, std::vector< float > &elossVector) const |
void | induce_signal (const PSimHit &hit, const size_t hitIndex, const unsigned int tofBin, const Phase2TrackerGeomDetUnit *pixdet, const std::vector< DigitizerUtility::SignalPoint > &collection_points) |
virtual void | module_killing_conf (uint32_t detID) |
virtual void | module_killing_DB (uint32_t detID) |
virtual void | pixel_inefficiency (const SubdetEfficiencies &eff, const Phase2TrackerGeomDetUnit *pixdet, const TrackerTopology *tTopo) |
virtual void | pixel_inefficiency_db (uint32_t detID) |
void | primary_ionization (const PSimHit &hit, std::vector< DigitizerUtility::EnergyDepositUnit > &ionization_points) const |
Definition at line 45 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 88 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 89 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 85 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 84 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 83 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 87 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 86 of file Phase2TrackerDigitizerAlgorithm.h.
Phase2TrackerDigitizerAlgorithm::Phase2TrackerDigitizerAlgorithm | ( | const edm::ParameterSet & | conf_common, |
const edm::ParameterSet & | conf_specific, | ||
CLHEP::HepRandomEngine & | eng | ||
) |
Definition at line 59 of file Phase2TrackerDigitizerAlgorithm.cc.
References AddPixelInefficiency, theAdcFullScale, theElectronPerADC, theThresholdInE_Barrel, theThresholdInE_Endcap, and tMax.
|
virtual |
|
pure virtual |
Implemented in PSPDigitizerAlgorithm, PixelDigitizerAlgorithm, PSSDigitizerAlgorithm, and SSDigitizerAlgorithm.
|
protectedvirtual |
Definition at line 596 of file Phase2TrackerDigitizerAlgorithm.cc.
References _signal, addNoisyPixels, addXtalk, officialStyle::chan, Phase2TrackerDigi::channelToPixel(), PixelDigi::channelToPixel(), gaussDistribution_, GeomDet::geographicalId(), createfilelist::int, interstripCoupling, checklumidiff::l, LogDebug, PixelTopology::ncolumns(), PixelTopology::nrows(), pixelFlag, Phase2TrackerDigi::pixelToChannel(), PixelDigi::pixelToChannel(), DetId::rawId(), rengine_, alignCSCRings::s, PixelGeomDetUnit::specificTopology(), theNoiseInElectrons, theNoiser, theThresholdInE_Barrel, and theThresholdInE_Endcap.
Referenced by digitize().
|
inlineprotected |
Definition at line 213 of file Phase2TrackerDigitizerAlgorithm.h.
References f, min(), mathSSE::sqrt(), and geometryCSVtoXML::xx.
Referenced by induce_signal().
|
virtual |
Definition at line 906 of file Phase2TrackerDigitizerAlgorithm.cc.
References _signal, ecalMGPA::adc(), add_noise(), addNoise, AddPixelInefficiency, addThresholdSmearing, DigitizerUtility::Amplitude::ampl(), doDigitalReadout, GeomDet::geographicalId(), info(), checklumidiff::l, makeDigiSimLinks_, min(), module_killing_conf(), module_killing_DB(), DigitizerUtility::DigiSimInfo::ot_bit, pixel_inefficiency(), pixel_inefficiency_db(), PixelSubdetector::PixelBarrel, DetId::rawId(), alignCSCRings::s, DigitizerUtility::DigiSimInfo::sig_tot, DigitizerUtility::Amplitude::simInfoList(), DigitizerUtility::DigiSimInfo::simInfoList, smearedThreshold_Barrel_, smearedThreshold_Endcap_, subdetEfficiencies_, DetId::subdetId(), theAdcFullScale, theElectronPerADC, theHIPThresholdInE_Barrel, theHIPThresholdInE_Endcap, theNoiseInElectrons, theThresholdInE_Barrel, theThresholdInE_Endcap, StripSubdetector::TOB, use_deadmodule_DB_, use_ineff_from_db_, and use_module_killing_.
|
protected |
Definition at line 308 of file Phase2TrackerDigitizerAlgorithm.cc.
References alpha2Order, Surface::bounds(), funct::cos(), PSimHit::detUnitId(), DriftDirection(), JetChargeProducer_cfi::exp, mps_fire::i, LogDebug, M_PI, PV3DBase< T, PVType, FrameType >::perp(), PixelTopology::pitch(), GloballyPositioned< T >::position(), pseudoRadDamage, pseudoRadDamageRadius, Sigma0, SigmaCoeff, GeomDet::specificSurface(), PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), GeomDet::surface(), Bounds::thickness(), PSimHit::tof(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by PixelDigitizerAlgorithm::accumulateSimHits(), SSDigitizerAlgorithm::accumulateSimHits(), PSSDigitizerAlgorithm::accumulateSimHits(), and PSPDigitizerAlgorithm::accumulateSimHits().
|
protected |
Definition at line 737 of file Phase2TrackerDigitizerAlgorithm.cc.
References alpha2Order, GeomDet::geographicalId(), SiPixelLorentzAngle::getLorentzAngle(), LogDebug, PixelSubdetector::PixelBarrel, GloballyPositioned< T >::position(), DetId::rawId(), GloballyPositioned< T >::rotation(), Scenarios_cff::scale, SiPixelLorentzAngle_, DetId::subdetId(), GeomDet::surface(), tanLorentzAnglePerTesla_Barrel, tanLorentzAnglePerTesla_Endcap, StripSubdetector::TOB, and use_LorentzAngle_DB_.
Referenced by drift().
|
protected |
Definition at line 248 of file Phase2TrackerDigitizerAlgorithm.cc.
References funct::abs(), fluctuate, mps_fire::i, cuy::ii, particleFlowDisplacedVertex_cfi::ratio, rengine_, and tMax.
Referenced by primary_ionization().
|
protected |
Definition at line 419 of file Phase2TrackerDigitizerAlgorithm.cc.
References _signal, calcQ(), officialStyle::chan, Topology::channel(), ClusterWidth, GeomDet::geographicalId(), createfilelist::int, Topology::localPosition(), LogDebug, makeDigiSimLinks_, Topology::measurementPosition(), PixelTopology::ncolumns(), PixelTopology::nrows(), PixelTopology::pitch(), pixelFlag, Phase2TrackerDigi::pixelToChannel(), PixelDigi::pixelToChannel(), DetId::rawId(), gun_cff::SigmaX, gun_cff::SigmaY, PixelGeomDetUnit::specificTopology(), findQualityFiles::v, x, PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), y, PV2DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by PixelDigitizerAlgorithm::accumulateSimHits(), SSDigitizerAlgorithm::accumulateSimHits(), PSSDigitizerAlgorithm::accumulateSimHits(), and PSPDigitizerAlgorithm::accumulateSimHits().
|
pure virtual |
Implemented in PSPDigitizerAlgorithm, SSDigitizerAlgorithm, PixelDigitizerAlgorithm, and PSSDigitizerAlgorithm.
|
inlinevirtual |
Definition at line 52 of file Phase2TrackerDigitizerAlgorithm.h.
|
protectedvirtual |
Definition at line 817 of file Phase2TrackerDigitizerAlgorithm.cc.
References _signal, Phase2TrackerDigi::channelToPixel(), PixelDigi::channelToPixel(), DeadModules, Module, pixelFlag, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by digitize().
|
protectedvirtual |
Definition at line 846 of file Phase2TrackerDigitizerAlgorithm.cc.
References _signal, funct::abs(), badPixels, Phase2TrackerDigi::channelToPixel(), PixelDigi::channelToPixel(), SiPixelQuality::disabledModuleType::errorType, SiPixelFedCablingMap::findItem(), SiPixelQuality::getBadComponentList(), hcalTTPDigis_cfi::id, sipixelobjects::PixelROC::idInDetUnit(), SiPixelQuality::IsRocBad(), gen::k, DTRecHitQuality_cfi::local, map_, AlCaHLTBitMon_ParallelJobs::p, callgraph::path, SiPixelFedCablingMap::pathToDetUnit(), pixelFlag, edm::ESHandle< T >::product(), alignCSCRings::s, SiPixelBadModule_, and sipixelobjects::PixelROC::toGlobal().
Referenced by digitize().
|
protectedvirtual |
Definition at line 696 of file Phase2TrackerDigitizerAlgorithm.cc.
References _signal, Phase2TrackerDigitizerAlgorithm::SubdetEfficiencies::barrel_efficiencies, Phase2TrackerDigitizerAlgorithm::SubdetEfficiencies::endcap_efficiencies, flatDistribution_, GeomDet::geographicalId(), LogDebug, PixelSubdetector::PixelBarrel, TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), rand(), DetId::rawId(), alignCSCRings::s, DetId::subdetId(), and StripSubdetector::TOB.
Referenced by digitize().
|
protectedvirtual |
Definition at line 798 of file Phase2TrackerDigitizerAlgorithm.cc.
References _signal, Phase2TrackerDigi::channelToPixel(), PixelDigi::channelToPixel(), cuy::col, pixelFlag, alignCSCRings::s, and theSiPixelGainCalibrationService_.
Referenced by digitize().
|
protected |
Definition at line 189 of file Phase2TrackerDigitizerAlgorithm.cc.
References PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), objects.autophobj::float, fluctuateCharge, fluctuateEloss(), GeVperElectron, mps_fire::i, createfilelist::int, LogDebug, PV3DBase< T, PVType, FrameType >::mag(), PSimHit::pabs(), PSimHit::particleType(), sysUtil::pid, point, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by PixelDigitizerAlgorithm::accumulateSimHits(), SSDigitizerAlgorithm::accumulateSimHits(), PSSDigitizerAlgorithm::accumulateSimHits(), and PSPDigitizerAlgorithm::accumulateSimHits().
|
protected |
Definition at line 92 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), induce_signal(), module_killing_conf(), module_killing_DB(), pixel_inefficiency(), and pixel_inefficiency_db().
|
protected |
Definition at line 141 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().
|
protected |
Definition at line 142 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise().
|
protected |
Definition at line 146 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize(), Phase2TrackerDigitizerAlgorithm(), PixelDigitizerAlgorithm::PixelDigitizerAlgorithm(), PSPDigitizerAlgorithm::PSPDigitizerAlgorithm(), PSSDigitizerAlgorithm::PSSDigitizerAlgorithm(), and SSDigitizerAlgorithm::SSDigitizerAlgorithm().
|
protected |
Definition at line 148 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().
|
protected |
Definition at line 110 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise().
|
protected |
Definition at line 109 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by drift(), and DriftDirection().
|
protected |
Definition at line 162 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
protected |
Definition at line 116 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by induce_signal().
|
protected |
Definition at line 101 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by module_killing_conf().
|
protected |
Definition at line 119 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().
|
protected |
Definition at line 203 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by pixel_inefficiency().
|
protected |
Definition at line 165 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by fluctuateEloss().
|
protected |
Definition at line 143 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by primary_ionization().
|
protected |
Definition at line 204 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise().
|
protected |
Definition at line 75 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 106 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by primary_ionization().
|
protected |
Definition at line 111 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise().
|
protected |
Definition at line 94 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize(), and induce_signal().
|
protected |
Definition at line 74 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
protected |
Definition at line 217 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise(), induce_signal(), module_killing_conf(), module_killing_DB(), pixel_inefficiency_db(), PixelDigitizerAlgorithm::PixelDigitizerAlgorithm(), PSPDigitizerAlgorithm::PSPDigitizerAlgorithm(), PSSDigitizerAlgorithm::PSSDigitizerAlgorithm(), and SSDigitizerAlgorithm::SSDigitizerAlgorithm().
|
protected |
Definition at line 151 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by drift().
|
protected |
Definition at line 152 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by drift().
|
protected |
Definition at line 211 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise(), and fluctuateEloss().
|
protected |
Definition at line 112 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by drift().
|
protected |
Definition at line 113 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by drift().
|
protected |
Definition at line 71 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
protected |
Definition at line 68 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
protected |
Definition at line 208 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().
|
protected |
Definition at line 207 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().
|
protected |
Definition at line 200 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().
|
protected |
Definition at line 138 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
protected |
Definition at line 137 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
protected |
Definition at line 121 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize(), Phase2TrackerDigitizerAlgorithm(), PixelDigitizerAlgorithm::PixelDigitizerAlgorithm(), PSPDigitizerAlgorithm::PSPDigitizerAlgorithm(), PSSDigitizerAlgorithm::PSSDigitizerAlgorithm(), and SSDigitizerAlgorithm::SSDigitizerAlgorithm().
|
protected |
Definition at line 120 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize(), Phase2TrackerDigitizerAlgorithm(), PixelDigitizerAlgorithm::PixelDigitizerAlgorithm(), PSPDigitizerAlgorithm::PSPDigitizerAlgorithm(), PSSDigitizerAlgorithm::PSSDigitizerAlgorithm(), and SSDigitizerAlgorithm::SSDigitizerAlgorithm().
|
protected |
Definition at line 133 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().
|
protected |
Definition at line 132 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().
|
protected |
Definition at line 122 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise(), and digitize().
|
protected |
Definition at line 166 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise().
|
protected |
Definition at line 123 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 192 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by pixel_inefficiency_db().
|
protected |
Definition at line 127 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), Phase2TrackerDigitizerAlgorithm(), PixelDigitizerAlgorithm::PixelDigitizerAlgorithm(), PSPDigitizerAlgorithm::PSPDigitizerAlgorithm(), PSSDigitizerAlgorithm::PSSDigitizerAlgorithm(), and SSDigitizerAlgorithm::SSDigitizerAlgorithm().
|
protected |
Definition at line 126 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), Phase2TrackerDigitizerAlgorithm(), PixelDigitizerAlgorithm::PixelDigitizerAlgorithm(), PSPDigitizerAlgorithm::PSPDigitizerAlgorithm(), PSSDigitizerAlgorithm::PSSDigitizerAlgorithm(), and SSDigitizerAlgorithm::SSDigitizerAlgorithm().
|
protected |
Definition at line 130 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 129 of file Phase2TrackerDigitizerAlgorithm.h.
|
protected |
Definition at line 135 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by PixelDigitizerAlgorithm::accumulateSimHits(), SSDigitizerAlgorithm::accumulateSimHits(), PSSDigitizerAlgorithm::accumulateSimHits(), and PSPDigitizerAlgorithm::accumulateSimHits().
|
protected |
Definition at line 136 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by PixelDigitizerAlgorithm::accumulateSimHits(), SSDigitizerAlgorithm::accumulateSimHits(), PSSDigitizerAlgorithm::accumulateSimHits(), and PSPDigitizerAlgorithm::accumulateSimHits().
|
protected |
Definition at line 159 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by fluctuateEloss(), Phase2TrackerDigitizerAlgorithm(), PixelDigitizerAlgorithm::PixelDigitizerAlgorithm(), PSPDigitizerAlgorithm::PSPDigitizerAlgorithm(), PSSDigitizerAlgorithm::PSSDigitizerAlgorithm(), and SSDigitizerAlgorithm::SSDigitizerAlgorithm().
|
protected |
Definition at line 98 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().
|
protected |
Definition at line 96 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().
|
protected |
Definition at line 99 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
protected |
Definition at line 97 of file Phase2TrackerDigitizerAlgorithm.h.
Referenced by digitize().