#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, CLHEP::HepRandomEngine *) |
void | calculateInstlumiFactor (PileupMixingContent *puInfo) |
void | digitize (const PixelGeomDetUnit *pixdet, std::vector< PixelDigi > &digis, std::vector< PixelDigiSimLink > &simlinks, const TrackerTopology *tTopo, CLHEP::HepRandomEngine *) |
void | init (const edm::EventSetup &es) |
void | initializeEvent () |
SiPixelDigitizerAlgorithm (const edm::ParameterSet &conf) | |
~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, CLHEP::HepRandomEngine *) |
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[], CLHEP::HepRandomEngine *) 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, CLHEP::HepRandomEngine *) |
void | pixel_inefficiency_db (uint32_t detID) |
void | primary_ionization (const PSimHit &hit, std::vector< EnergyDepositUnit > &ionization_points, CLHEP::HepRandomEngine *) const |
Definition at line 43 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 254 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 255 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 251 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 250 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 249 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 253 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 252 of file SiPixelDigitizerAlgorithm.h.
SiPixelDigitizerAlgorithm::SiPixelDigitizerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 126 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, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 452 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 1210 of file SiPixelDigitizerAlgorithm.cc.
References _signal, addChargeVCALSmearing, addNoisyPixels, GeomDet::geographicalId(), i, LogDebug, PixelTopology::ncolumns(), PixelTopology::nrows(), PixelDigi::pixelToChannel(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), theNoiseInElectrons, theNoiser, theReadoutNoise, theThresholdInE_BPix, and theThresholdInE_FPix.
Referenced by digitize().
|
inlineprivate |
Definition at line 399 of file SiPixelDigitizerAlgorithm.h.
References f, min(), and mathSSE::sqrt().
Referenced by induce_signal().
void SiPixelDigitizerAlgorithm::calculateInstlumiFactor | ( | PileupMixingContent * | puInfo | ) |
Definition at line 494 of file SiPixelDigitizerAlgorithm.cc.
References _pu_scale, PileupMixingContent::getMix_bunchCrossing(), PileupMixingContent::getMix_TrueInteractions(), i, j, AlCaHLTBitMon_ParallelJobs::p, pixelEfficiencies_, and SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency_BPix.
void SiPixelDigitizerAlgorithm::digitize | ( | const PixelGeomDetUnit * | pixdet, |
std::vector< PixelDigi > & | digis, | ||
std::vector< PixelDigiSimLink > & | simlinks, | ||
const TrackerTopology * | tTopo, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 534 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(), GeomDet::specificSurface(), PixelGeomDetUnit::specificTopology(), DetId::subdetId(), theNoiseInElectrons, theThresholdInE_BPix, theThresholdInE_BPix_L1, theThresholdInE_FPix, theThresholdSmearing_BPix, theThresholdSmearing_BPix_L1, theThresholdSmearing_FPix, Bounds::thickness(), use_deadmodule_DB_, use_ineff_from_db_, and use_module_killing_.
|
private |
Definition at line 748 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 1544 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 692 of file SiPixelDigitizerAlgorithm.cc.
References funct::abs(), fluctuate, i, cuy::ii, and tMax.
Referenced by primary_ionization().
|
private |
Definition at line 878 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 108 of file SiPixelDigitizerAlgorithm.cc.
References edm::EventSetup::get().
|
private |
Definition at line 263 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 1108 of file SiPixelDigitizerAlgorithm.cc.
References _signal, ecalMGPA::adc(), PixelDigi::channelToPixel(), cuy::col, doMissCalibrate, i, LogDebug, makeDigiSimLinks_, 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 1462 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 1643 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 1686 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), SiPixelQuality::disabledModuleType::errorType, i, sipixelobjects::PixelROC::idInDetUnit(), j, map_, cmsHarvester::path, edm::ESHandle< class >::product(), SiPixelBadModule_, sipixelobjects::PixelROC::toGlobal(), and use_module_killing_.
Referenced by digitize().
|
private |
Definition at line 1323 of file SiPixelDigitizerAlgorithm.cc.
References _pu_scale, _signal, PixelDigi::channelToPixel(), cuy::col, SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixIndex, GeomDet::geographicalId(), i, getDQMSummary::iter, LogDebug, python.rootplot.argparse::module, PixelTopology::ncolumns(), PixelTopology::nrows(), NumberOfBarrelLayers, PixelSubdetector::PixelBarrel, TrackerTopology::pxbLadder(), TrackerTopology::pxbLayer(), TrackerTopology::pxbModule(), TrackerTopology::pxfDisk(), rand(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), DetId::subdetId(), SiPixelDigitizerAlgorithm::PixelEfficiencies::theLadderEfficiency_BPix, SiPixelDigitizerAlgorithm::PixelEfficiencies::theModuleEfficiency_BPix, SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency, SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency, and SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelEfficiency.
Referenced by digitize().
|
private |
Definition at line 1618 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), cuy::col, i, theSiPixelGainCalibrationService_, and use_ineff_from_db_.
Referenced by digitize().
|
private |
Definition at line 620 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 246 of file SiPixelDigitizerAlgorithm.h.
Referenced by calculateInstlumiFactor(), and pixel_inefficiency().
|
private |
Definition at line 258 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 324 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 323 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 325 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 328 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 330 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 277 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift(), and DriftDirection().
|
private |
Definition at line 316 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 317 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 318 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 319 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 353 of file SiPixelDigitizerAlgorithm.h.
Referenced by initCal().
|
private |
Definition at line 282 of file SiPixelDigitizerAlgorithm.h.
Referenced by induce_signal().
|
private |
Definition at line 267 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_conf().
|
private |
Definition at line 276 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 333 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis().
|
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 349 of file SiPixelDigitizerAlgorithm.h.
Referenced by fluctuateEloss().
|
private |
Definition at line 326 of file SiPixelDigitizerAlgorithm.h.
Referenced by primary_ionization().
|
private |
Definition at line 312 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 313 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 314 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 315 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 78 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 272 of file SiPixelDigitizerAlgorithm.h.
Referenced by primary_ionization().
|
private |
Definition at line 260 of file SiPixelDigitizerAlgorithm.h.
Referenced by induce_signal(), and make_digis().
|
private |
Definition at line 77 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
private |
Definition at line 284 of file SiPixelDigitizerAlgorithm.h.
Referenced by pixel_inefficiency(), and SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies().
|
private |
Definition at line 285 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies().
|
private |
Definition at line 397 of file SiPixelDigitizerAlgorithm.h.
Referenced by calculateInstlumiFactor(), and digitize().
|
private |
Definition at line 338 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 339 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 275 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 74 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
private |
Definition at line 71 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 310 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 309 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 289 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 290 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis().
|
private |
Definition at line 288 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 291 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis().
|
private |
Definition at line 334 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 292 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), and digitize().
|
private |
Definition at line 350 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 335 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 293 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 388 of file SiPixelDigitizerAlgorithm.h.
Referenced by pixel_inefficiency_db().
|
private |
Definition at line 297 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 298 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 296 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 301 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 302 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 300 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 307 of file SiPixelDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 308 of file SiPixelDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 345 of file SiPixelDigitizerAlgorithm.h.
Referenced by fluctuateEloss(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 264 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 262 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), and pixel_inefficiency_db().
|
private |
Definition at line 265 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 263 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), module_killing_conf(), and module_killing_DB().