#include <SiPixelDigitizerAlgorithm.h>
Classes | |
class | Amplitude |
class | CalParameters |
class | EnergyDepositUnit |
struct | PixelEfficiencies |
class | SignalPoint |
Public Member Functions | |
void | accumulateSimHits (const std::vector< PSimHit >::const_iterator inputBegin, const std::vector< PSimHit >::const_iterator inputEnd, const PixelGeomDetUnit *pixdet, const GlobalVector &bfield) |
void | digitize (const PixelGeomDetUnit *pixdet, std::vector< PixelDigi > &digis, std::vector< PixelDigiSimLink > &simlinks, const TrackerTopology *tTopo) |
void | init (const edm::EventSetup &es) |
void | initializeEvent () |
SiPixelDigitizerAlgorithm (const edm::ParameterSet &conf, CLHEP::HepRandomEngine &) | |
~SiPixelDigitizerAlgorithm () | |
Private Types | |
typedef GloballyPositioned < double > | Frame |
typedef std::vector < edm::ParameterSet > | Parameters |
typedef signal_map_type::const_iterator | signal_map_const_iterator |
typedef signal_map_type::iterator | signal_map_iterator |
typedef std::map< int, Amplitude, std::less< int > > | signal_map_type |
typedef std::map< uint32_t, signal_map_type > | signalMaps |
typedef std::map< unsigned int, std::vector< float > , std::less< unsigned int > > | simlink_map |
Private Member Functions | |
void | add_noise (const PixelGeomDetUnit *pixdet, float thePixelThreshold) |
double | calcQ (float x) const |
void | drift (const PSimHit &hit, const PixelGeomDetUnit *pixdet, const GlobalVector &bfield, const std::vector< EnergyDepositUnit > &ionization_points, std::vector< SignalPoint > &collection_points) const |
LocalVector | DriftDirection (const PixelGeomDetUnit *pixdet, const GlobalVector &bfield, const DetId &detId) const |
void | fluctuateEloss (int particleId, float momentum, float eloss, float length, int NumberOfSegments, float elossVector[]) const |
void | induce_signal (const PSimHit &hit, const PixelGeomDetUnit *pixdet, const std::vector< SignalPoint > &collection_points) |
std::map< int, CalParameters, std::less< int > > | initCal () const |
void | make_digis (float thePixelThresholdInE, uint32_t detID, std::vector< PixelDigi > &digis, std::vector< PixelDigiSimLink > &simlinks, const TrackerTopology *tTopo) const |
float | missCalibrate (uint32_t detID, int col, int row, float amp) const |
void | module_killing_conf (uint32_t detID) |
void | module_killing_DB (uint32_t detID) |
void | pixel_inefficiency (const PixelEfficiencies &eff, const PixelGeomDetUnit *pixdet, const TrackerTopology *tTopo) |
void | pixel_inefficiency_db (uint32_t detID) |
void | primary_ionization (const PSimHit &hit, std::vector< EnergyDepositUnit > &ionization_points) const |
Definition at line 44 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 246 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 247 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 243 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 242 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 241 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 245 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 244 of file SiPixelDigitizerAlgorithm.h.
SiPixelDigitizerAlgorithm::SiPixelDigitizerAlgorithm | ( | const edm::ParameterSet & | conf, |
CLHEP::HepRandomEngine & | eng | ||
) |
Definition at line 125 of file SiPixelDigitizerAlgorithm.cc.
References AddPixelInefficiency, theAdcFullScale, theElectronPerADC, theThresholdInE_BPix, theThresholdInE_BPix_L1, theThresholdInE_FPix, and tMax.
SiPixelDigitizerAlgorithm::~SiPixelDigitizerAlgorithm | ( | ) |
void SiPixelDigitizerAlgorithm::accumulateSimHits | ( | const std::vector< PSimHit >::const_iterator | inputBegin, |
const std::vector< PSimHit >::const_iterator | inputEnd, | ||
const PixelGeomDetUnit * | pixdet, | ||
const GlobalVector & | bfield | ||
) |
Definition at line 434 of file SiPixelDigitizerAlgorithm.cc.
References drift(), GeomDet::geographicalId(), induce_signal(), LogDebug, mag(), primary_ionization(), DetId::rawId(), GeomDet::surface(), theTofLowerCut, theTofUpperCut, and Surface::toGlobal().
|
private |
Definition at line 1149 of file SiPixelDigitizerAlgorithm.cc.
References _signal, addChargeVCALSmearing, addNoisyPixels, gaussDistribution_, gaussDistributionVCALNoise_, GeomDet::geographicalId(), i, LogDebug, PixelTopology::ncolumns(), PixelTopology::nrows(), PixelDigi::pixelToChannel(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), theNoiseInElectrons, theNoiser, theThresholdInE_BPix, and theThresholdInE_FPix.
Referenced by digitize().
|
inlineprivate |
Definition at line 398 of file SiPixelDigitizerAlgorithm.h.
References f, bookConverter::min, and mathSSE::sqrt().
Referenced by induce_signal().
void SiPixelDigitizerAlgorithm::digitize | ( | const PixelGeomDetUnit * | pixdet, |
std::vector< PixelDigi > & | digis, | ||
std::vector< PixelDigiSimLink > & | simlinks, | ||
const TrackerTopology * | tTopo | ||
) |
Definition at line 475 of file SiPixelDigitizerAlgorithm.cc.
References _signal, add_noise(), addNoise, AddPixelInefficiency, addThresholdSmearing, Surface::bounds(), GeomDet::geographicalId(), LogDebug, make_digis(), module_killing_conf(), module_killing_DB(), PixelTopology::ncolumns(), PixelTopology::nrows(), pixel_inefficiency(), pixel_inefficiency_db(), PixelSubdetector::PixelBarrel, pixelEfficiencies_, TrackerTopology::pxbLayer(), DetId::rawId(), smearedThreshold_BPix_, smearedThreshold_BPix_L1_, smearedThreshold_FPix_, GeomDet::specificSurface(), PixelGeomDetUnit::specificTopology(), DetId::subdetId(), theNoiseInElectrons, theThresholdInE_BPix, theThresholdInE_BPix_L1, theThresholdInE_FPix, Bounds::thickness(), use_deadmodule_DB_, use_ineff_from_db_, and use_module_killing_.
|
private |
Definition at line 687 of file SiPixelDigitizerAlgorithm.cc.
References alpha2Order, Surface::bounds(), PSimHit::detUnitId(), Dist300, DriftDirection(), create_public_lumi_plots::exp, i, LogDebug, PV3DBase< T, PVType, FrameType >::perp(), GloballyPositioned< T >::position(), pseudoRadDamage, pseudoRadDamageRadius, Sigma0, GeomDet::specificSurface(), 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 accumulateSimHits().
|
private |
Definition at line 1473 of file SiPixelDigitizerAlgorithm.cc.
References alpha2Order, GeomDet::geographicalId(), LogDebug, PixelSubdetector::PixelBarrel, GloballyPositioned< T >::position(), DetId::rawId(), GloballyPositioned< T >::rotation(), pileupReCalc_HLTpaths::scale, SiPixelLorentzAngle_, DetId::subdetId(), GeomDet::surface(), tanLorentzAnglePerTesla_BPix, tanLorentzAnglePerTesla_FPix, and use_LorentzAngle_DB_.
Referenced by drift().
|
private |
Definition at line 632 of file SiPixelDigitizerAlgorithm.cc.
References funct::abs(), fluctuate, i, cuy::ii, and tMax.
Referenced by primary_ionization().
|
private |
Definition at line 817 of file SiPixelDigitizerAlgorithm.cc.
References _signal, calcQ(), Topology::channel(), PixelDigi::channelToPixel(), ClusterWidth, GeomDet::geographicalId(), i, Topology::localPosition(), LogDebug, makeDigiSimLinks_, Topology::measurementPosition(), PixelTopology::ncolumns(), PixelTopology::nrows(), PixelTopology::pitch(), PixelDigi::pixelToChannel(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), x, PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), detailsBasic3DVector::y, PV2DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by accumulateSimHits().
void SiPixelDigitizerAlgorithm::init | ( | const edm::EventSetup & | es | ) |
Definition at line 107 of file SiPixelDigitizerAlgorithm.cc.
References edm::EventSetup::get().
|
private |
Definition at line 269 of file SiPixelDigitizerAlgorithm.cc.
References calmap, dtNoiseDBValidation_cfg::cerr, PixelIndices::channelToPixelROC(), gather_cfg::cout, lut2db_cfg::filename, i, recoMuon::in, create_public_lumi_plots::in_file, geometryCSVtoXML::line, LogDebug, mergeVDriftHistosByStation::name, AlCaHLTBitMon_ParallelJobs::p, SiPixelDigitizerAlgorithm::CalParameters::p0, SiPixelDigitizerAlgorithm::CalParameters::p1, SiPixelDigitizerAlgorithm::CalParameters::p2, SiPixelDigitizerAlgorithm::CalParameters::p3, fitWZ::par0, PixelIndices::pixelToChannelROC(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
|
private |
Definition at line 1047 of file SiPixelDigitizerAlgorithm.cc.
References _signal, ecalMGPA::adc(), PixelDigi::channelToPixel(), cuy::col, doMissCalibrate, i, LogDebug, makeDigiSimLinks_, bookConverter::min, missCalibrate(), PixelSubdetector::PixelBarrel, TrackerTopology::pxbLayer(), DetId::subdetId(), theAdcFullScale, theAdcFullScaleStack, theElectronPerADC, theFirstStackLayer, theThresholdInE_BPix, theThresholdInE_BPix_L1, and theThresholdInE_FPix.
Referenced by digitize().
|
private |
Definition at line 1391 of file SiPixelDigitizerAlgorithm.cc.
References BPix_p0, BPix_p1, BPix_p2, BPix_p3, electronsPerVCAL, electronsPerVCAL_Offset, FPix_p0, FPix_p1, FPix_p2, FPix_p3, p1, p2, p3, PixelSubdetector::PixelBarrel, and DetId::subdetId().
Referenced by make_digis().
|
private |
Definition at line 1572 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), DeadModules, cond::rpcobgas::detid, i, Module, AlCaHLTBitMon_QueryRunRegistry::string, and use_module_killing_.
Referenced by digitize().
|
private |
Definition at line 1615 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), SiPixelQuality::disabledModuleType::errorType, i, sipixelobjects::PixelROC::idInDetUnit(), j, map_, getHLTPrescaleColumns::path, edm::ESHandle< class >::product(), SiPixelBadModule_, sipixelobjects::PixelROC::toGlobal(), and use_module_killing_.
Referenced by digitize().
|
private |
Definition at line 1260 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), cuy::col, flatDistribution_, SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixIndex, GeomDet::geographicalId(), i, LogDebug, PixelTopology::ncolumns(), PixelTopology::nrows(), NumberOfBarrelLayers, PixelSubdetector::PixelBarrel, TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), rand(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), DetId::subdetId(), SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency, SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency, and SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelEfficiency.
Referenced by digitize().
|
private |
Definition at line 1547 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), cuy::col, i, theSiPixelGainCalibrationService_, and use_ineff_from_db_.
Referenced by digitize().
|
private |
Definition at line 560 of file SiPixelDigitizerAlgorithm.cc.
References relval_parameters_module::energy, PSimHit::energyLoss(), PSimHit::entryPoint(), PSimHit::exitPoint(), fluctuateCharge, fluctuateEloss(), GeVperElectron, i, 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 accumulateSimHits().
|
private |
Definition at line 250 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), induce_signal(), initializeEvent(), make_digis(), module_killing_conf(), module_killing_DB(), pixel_inefficiency(), and pixel_inefficiency_db().
|
private |
Definition at line 316 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 315 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 317 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 320 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 322 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 269 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift(), and DriftDirection().
|
private |
Definition at line 308 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 309 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 310 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 311 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 345 of file SiPixelDigitizerAlgorithm.h.
Referenced by initCal().
|
private |
Definition at line 274 of file SiPixelDigitizerAlgorithm.h.
Referenced by induce_signal().
|
private |
Definition at line 259 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_conf().
|
private |
Definition at line 268 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 325 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis().
|
private |
Definition at line 296 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 297 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 389 of file SiPixelDigitizerAlgorithm.h.
Referenced by pixel_inefficiency().
|
private |
Definition at line 341 of file SiPixelDigitizerAlgorithm.h.
Referenced by fluctuateEloss().
|
private |
Definition at line 318 of file SiPixelDigitizerAlgorithm.h.
Referenced by primary_ionization().
|
private |
Definition at line 304 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 305 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 306 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 307 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 390 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 391 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 76 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 264 of file SiPixelDigitizerAlgorithm.h.
Referenced by primary_ionization().
|
private |
Definition at line 252 of file SiPixelDigitizerAlgorithm.h.
Referenced by induce_signal(), and make_digis().
|
private |
Definition at line 75 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
private |
Definition at line 276 of file SiPixelDigitizerAlgorithm.h.
Referenced by pixel_inefficiency(), and SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies().
|
private |
Definition at line 277 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies().
|
private |
Definition at line 386 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 330 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 331 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 267 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 72 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
private |
Definition at line 69 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 395 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 396 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 394 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 302 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 301 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 281 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 282 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis().
|
private |
Definition at line 280 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 283 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis().
|
private |
Definition at line 326 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 284 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), and digitize().
|
private |
Definition at line 342 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 327 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 285 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 377 of file SiPixelDigitizerAlgorithm.h.
Referenced by pixel_inefficiency_db().
|
private |
Definition at line 289 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 290 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 288 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 293 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 294 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 292 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 299 of file SiPixelDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 300 of file SiPixelDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 337 of file SiPixelDigitizerAlgorithm.h.
Referenced by fluctuateEloss(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 256 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 254 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), and pixel_inefficiency_db().
|
private |
Definition at line 257 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 255 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), module_killing_conf(), and module_killing_DB().