#include <SiPixelDigitizerAlgorithm.h>
Classes | |
class | Amplitude |
class | CalParameters |
class | EnergyDepositUnit |
struct | PixelAging |
struct | PixelEfficiencies |
class | SignalPoint |
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 PixelGeomDetUnit *pixdet, const GlobalVector &bfield, const TrackerTopology *tTopo, 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 TrackerTopology *tTopo, 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 size_t hitIndex, const unsigned int tofBin, 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) |
float | pixel_aging (const PixelAging &aging, const PixelGeomDetUnit *pixdet, const TrackerTopology *tTopo) const |
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 277 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 278 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 274 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 273 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 272 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 276 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 275 of file SiPixelDigitizerAlgorithm.h.
SiPixelDigitizerAlgorithm::SiPixelDigitizerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 124 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 size_t | inputBeginGlobalIndex, | ||
const unsigned int | tofBin, | ||
const PixelGeomDetUnit * | pixdet, | ||
const GlobalVector & | bfield, | ||
const TrackerTopology * | tTopo, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 498 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 1260 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 433 of file SiPixelDigitizerAlgorithm.h.
References f, min(), and mathSSE::sqrt().
Referenced by induce_signal().
void SiPixelDigitizerAlgorithm::calculateInstlumiFactor | ( | PileupMixingContent * | puInfo | ) |
Definition at line 544 of file SiPixelDigitizerAlgorithm.cc.
References _pu_scale, bunchScaleAt25, PileupMixingContent::getMix_bunchCrossing(), PileupMixingContent::getMix_bunchSpacing(), PileupMixingContent::getMix_TrueInteractions(), i, j, AlCaHLTBitMon_ParallelJobs::p, pixelEfficiencies_, theInstLumiScaleFactor, and SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency.
void SiPixelDigitizerAlgorithm::digitize | ( | const PixelGeomDetUnit * | pixdet, |
std::vector< PixelDigi > & | digis, | ||
std::vector< PixelDigiSimLink > & | simlinks, | ||
const TrackerTopology * | tTopo, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 587 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 801 of file SiPixelDigitizerAlgorithm.cc.
References AddPixelAging, alpha2Order, Surface::bounds(), PSimHit::detUnitId(), Dist300, DriftDirection(), create_public_lumi_plots::exp, i, LogDebug, pixel_aging(), pixelAging_, Sigma0, GeomDet::specificSurface(), mathSSE::sqrt(), 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 1642 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 746 of file SiPixelDigitizerAlgorithm.cc.
References funct::abs(), fluctuate, i, cuy::ii, and tMax.
Referenced by primary_ionization().
|
private |
Definition at line 926 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 106 of file SiPixelDigitizerAlgorithm.cc.
References edm::EventSetup::get().
|
private |
Definition at line 264 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 1158 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 1560 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 1738 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), DeadModules, cond::rpcobgas::detid, i, Module, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by digitize().
|
private |
Definition at line 1779 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), SiPixelQuality::disabledModuleType::errorType, i, sipixelobjects::PixelROC::idInDetUnit(), j, map_, cmsHarvester::path, edm::ESHandle< class >::product(), SiPixelBadModule_, and sipixelobjects::PixelROC::toGlobal().
Referenced by digitize().
|
private |
Definition at line 1511 of file SiPixelDigitizerAlgorithm.cc.
References SiPixelDigitizerAlgorithm::PixelAging::FPixIndex, GeomDet::geographicalId(), LogDebug, PixelSubdetector::PixelBarrel, TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), DetId::rawId(), DetId::subdetId(), and SiPixelDigitizerAlgorithm::PixelAging::thePixelPseudoRadDamage.
Referenced by drift().
|
private |
Definition at line 1373 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(), TrackerTopology::pxfModule(), TrackerTopology::pxfPanel(), rand(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), DetId::subdetId(), SiPixelDigitizerAlgorithm::PixelEfficiencies::theInnerEfficiency_FPix, SiPixelDigitizerAlgorithm::PixelEfficiencies::theLadderEfficiency_BPix, SiPixelDigitizerAlgorithm::PixelEfficiencies::theModuleEfficiency_BPix, SiPixelDigitizerAlgorithm::PixelEfficiencies::theOuterEfficiency_FPix, SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency, SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency, and SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelEfficiency.
Referenced by digitize().
|
private |
Definition at line 1715 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), cuy::col, i, and theSiPixelGainCalibrationService_.
Referenced by digitize().
|
private |
Definition at line 674 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 269 of file SiPixelDigitizerAlgorithm.h.
Referenced by calculateInstlumiFactor(), and pixel_inefficiency().
|
private |
Definition at line 281 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 350 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 349 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 351 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 364 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 354 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 356 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 300 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift(), and DriftDirection().
|
private |
Definition at line 342 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 343 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 344 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 345 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 311 of file SiPixelDigitizerAlgorithm.h.
Referenced by calculateInstlumiFactor().
|
private |
Definition at line 379 of file SiPixelDigitizerAlgorithm.h.
Referenced by initCal().
|
private |
Definition at line 305 of file SiPixelDigitizerAlgorithm.h.
Referenced by induce_signal().
|
private |
Definition at line 290 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_conf().
|
private |
Definition at line 299 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 359 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis().
|
private |
Definition at line 330 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 331 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 375 of file SiPixelDigitizerAlgorithm.h.
Referenced by fluctuateEloss().
|
private |
Definition at line 352 of file SiPixelDigitizerAlgorithm.h.
Referenced by primary_ionization().
|
private |
Definition at line 338 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 339 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 340 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 341 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 81 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 295 of file SiPixelDigitizerAlgorithm.h.
Referenced by primary_ionization().
|
private |
Definition at line 283 of file SiPixelDigitizerAlgorithm.h.
Referenced by induce_signal(), and make_digis().
|
private |
Definition at line 80 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
private |
Definition at line 307 of file SiPixelDigitizerAlgorithm.h.
Referenced by pixel_inefficiency(), SiPixelDigitizerAlgorithm::PixelAging::PixelAging(), and SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies().
|
private |
Definition at line 308 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::PixelAging::PixelAging(), and SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies().
|
private |
Definition at line 431 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 430 of file SiPixelDigitizerAlgorithm.h.
Referenced by calculateInstlumiFactor(), and digitize().
|
private |
Definition at line 298 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 77 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
private |
Definition at line 74 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 336 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 335 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 315 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 316 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis().
|
private |
Definition at line 314 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 317 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis().
|
private |
Definition at line 360 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 310 of file SiPixelDigitizerAlgorithm.h.
Referenced by calculateInstlumiFactor().
|
private |
Definition at line 318 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), and digitize().
|
private |
Definition at line 376 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 361 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 319 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 421 of file SiPixelDigitizerAlgorithm.h.
Referenced by pixel_inefficiency_db().
|
private |
Definition at line 323 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 324 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 322 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 327 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 328 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 326 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 333 of file SiPixelDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 334 of file SiPixelDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 371 of file SiPixelDigitizerAlgorithm.h.
Referenced by fluctuateEloss(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 287 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 285 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 288 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 286 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().