#include <SiPixelDigitizerAlgorithm.h>
Classes | |
class | Amplitude |
class | CalParameters |
class | EnergyDepositUnit |
struct | PixelAging |
struct | PixelEfficiencies |
class | SignalPoint |
Public Types | |
typedef std::unordered_map< std::string, PixelFEDChannelCollection > | PixelFEDChannelCollectionMap |
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 (const std::vector< PileupSummaryInfo > &ps, int bunchSpacing) |
void | calculateInstlumiFactor (PileupMixingContent *puInfo) |
std::unique_ptr< PixelFEDChannelCollection > | chooseScenario (const std::vector< PileupSummaryInfo > &ps, CLHEP::HepRandomEngine *engine) |
std::unique_ptr< PixelFEDChannelCollection > | chooseScenario (PileupMixingContent *puInfo, CLHEP::HepRandomEngine *) |
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 | init_DynIneffDB (const edm::EventSetup &, const unsigned int &) |
void | initializeEvent () |
bool | killBadFEDChannels () const |
void | setSimAccumulator (const std::map< uint32_t, std::map< int, int > > &signalMap) |
SiPixelDigitizerAlgorithm (const edm::ParameterSet &conf) | |
~SiPixelDigitizerAlgorithm () | |
Public Attributes | |
const PixelFEDChannelCollectionMap * | quality_map |
Private Types | |
typedef boost::multi_array< float, 2 > | array_2d |
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 |
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 |
bool | hitSignalReweight (const PSimHit &hit, std::map< int, float, std::less< int > > &hit_signal, const size_t hitIndex, const unsigned int tofBin, const PixelTopology *topol, uint32_t detID, signal_map_type &theSignal, unsigned short int processType) |
void | induce_signal (std::vector< PSimHit >::const_iterator inputBegin, std::vector< PSimHit >::const_iterator inputEnd, 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, const PixelGeomDetUnit *pixdet, std::vector< PixelDigi > &digis, std::vector< PixelDigiSimLink > &simlinks, const TrackerTopology *tTopo) const |
float | missCalibrate (uint32_t detID, const TrackerTopology *tTopo, const PixelGeomDetUnit *pixdet, 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) |
int | PixelTempRewgt2D (int id_gen, int id_rewgt, array_2d &cluster) |
void | primary_ionization (const PSimHit &hit, std::vector< EnergyDepositUnit > &ionization_points, CLHEP::HepRandomEngine *) const |
void | printCluster (array_2d &cluster) |
void | printCluster (float arr[13+2][21+2]) |
void | printCluster (float arr[13][21]) |
Definition at line 54 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 300 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 298 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 299 of file SiPixelDigitizerAlgorithm.h.
typedef std::unordered_map<std::string, PixelFEDChannelCollection> SiPixelDigitizerAlgorithm::PixelFEDChannelCollectionMap |
Definition at line 90 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 296 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 295 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 294 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 297 of file SiPixelDigitizerAlgorithm.h.
SiPixelDigitizerAlgorithm::SiPixelDigitizerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 198 of file SiPixelDigitizerAlgorithm.cc.
References AddPixelInefficiency, theAdcFullScale, theElectronPerADC, theThresholdInE_BPix, theThresholdInE_BPix_L1, theThresholdInE_BPix_L2, theThresholdInE_FPix, and tMax.
SiPixelDigitizerAlgorithm::~SiPixelDigitizerAlgorithm | ( | ) |
Definition at line 449 of file SiPixelDigitizerAlgorithm.cc.
References LogDebug.
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 780 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 1656 of file SiPixelDigitizerAlgorithm.cc.
References _signal, addChargeVCALSmearing, addNoisyPixels, LaserClient_cfi::Amplitude, officialStyle::chan, GeomDet::geographicalId(), mps_fire::i, createfilelist::int, LogDebug, PixelTopology::ncolumns(), hgchebackDigitizer_cfi::noise, PixelTopology::nrows(), PixelDigi::pixelToChannel(), DetId::rawId(), PixelGeomDetUnit::specificTopology(), theNoiseInElectrons, theNoiser, theReadoutNoise, theThresholdInE_BPix, and theThresholdInE_FPix.
Referenced by digitize().
|
inlineprivate |
Definition at line 485 of file SiPixelDigitizerAlgorithm.h.
References f, min(), mathSSE::sqrt(), x, and geometryCSVtoXML::xx.
Referenced by induce_signal().
void SiPixelDigitizerAlgorithm::calculateInstlumiFactor | ( | const std::vector< PileupSummaryInfo > & | ps, |
int | bunchSpacing | ||
) |
Definition at line 871 of file SiPixelDigitizerAlgorithm.cc.
References mps_fire::i, dqmiolumiharvest::j, dqmiodumpmetadata::n, AlCaHLTBitMon_ParallelJobs::p, pixelEfficiencies_, SiPixelDigitizerAlgorithm::PixelEfficiencies::pu_scale, SiPixelDigitizerAlgorithm::PixelEfficiencies::theInstLumiScaleFactor, and SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency.
void SiPixelDigitizerAlgorithm::calculateInstlumiFactor | ( | PileupMixingContent * | puInfo | ) |
Definition at line 833 of file SiPixelDigitizerAlgorithm.cc.
References PileupMixingContent::getMix_bunchCrossing(), PileupMixingContent::getMix_TrueInteractions(), mps_fire::i, dqmiolumiharvest::j, dqmiodumpmetadata::n, AlCaHLTBitMon_ParallelJobs::p, pixelEfficiencies_, muons2muons_cfi::pu, SiPixelDigitizerAlgorithm::PixelEfficiencies::pu_scale, SiPixelDigitizerAlgorithm::PixelEfficiencies::theInstLumiScaleFactor, and SiPixelDigitizerAlgorithm::PixelEfficiencies::thePUEfficiency.
Referenced by PreMixingSiPixelWorker::put().
std::unique_ptr< PixelFEDChannelCollection > SiPixelDigitizerAlgorithm::chooseScenario | ( | const std::vector< PileupSummaryInfo > & | ps, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 898 of file SiPixelDigitizerAlgorithm.cc.
References SiPixelQualityProbabilities::getProbabilities(), mps_fire::i, AlCaHLTBitMon_ParallelJobs::p, pixelEfficiencies_, SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelFEDChannelCollection_, muons2muons_cfi::pu, quality_map, scenarioProbabilityHandle, AlCaHLTBitMon_QueryRunRegistry::string, and x.
std::unique_ptr< PixelFEDChannelCollection > SiPixelDigitizerAlgorithm::chooseScenario | ( | PileupMixingContent * | puInfo, |
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 945 of file SiPixelDigitizerAlgorithm.cc.
References PileupMixingContent::getMix_bunchCrossing(), PileupMixingContent::getMix_TrueInteractions(), SiPixelQualityProbabilities::getProbabilities(), AlCaHLTBitMon_ParallelJobs::p, pixelEfficiencies_, SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelFEDChannelCollection_, muons2muons_cfi::pu, quality_map, scenarioProbabilityHandle, AlCaHLTBitMon_QueryRunRegistry::string, and x.
Referenced by PreMixingSiPixelWorker::put().
void SiPixelDigitizerAlgorithm::digitize | ( | const PixelGeomDetUnit * | pixdet, |
std::vector< PixelDigi > & | digis, | ||
std::vector< PixelDigiSimLink > & | simlinks, | ||
const TrackerTopology * | tTopo, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 1001 of file SiPixelDigitizerAlgorithm.cc.
References _signal, add_noise(), addNoise, AddPixelInefficiency, addThresholdSmearing, Surface::bounds(), Exception, GeomDet::geographicalId(), GeomDetType::isBarrel(), GeomDetType::isTrackerPixel(), TrackerTopology::layer(), LogDebug, make_digis(), module_killing_conf(), module_killing_DB(), PixelTopology::ncolumns(), PixelTopology::nrows(), GeomDetEnumerators::P1PXB, pixel_inefficiency(), pixel_inefficiency_db(), GeomDetEnumerators::PixelBarrel, pixelEfficiencies_, DetId::rawId(), GeomDet::specificSurface(), PixelGeomDetUnit::specificTopology(), GeomDet::subDetector(), theNoiseInElectrons, theThresholdInE_BPix, theThresholdInE_BPix_L1, theThresholdInE_BPix_L2, theThresholdInE_FPix, theThresholdSmearing_BPix, theThresholdSmearing_BPix_L1, theThresholdSmearing_BPix_L2, theThresholdSmearing_FPix, Bounds::thickness(), PixelGeomDetUnit::type(), use_deadmodule_DB_, use_ineff_from_db_, and use_module_killing_.
Referenced by PreMixingSiPixelWorker::put().
|
private |
Definition at line 1231 of file SiPixelDigitizerAlgorithm.cc.
References AddPixelAging, alpha2Order, Surface::bounds(), Dist300, DriftDirection(), JetChargeProducer_cfi::exp, mps_fire::i, LogDebug, pixel_aging(), pixelAging_, Sigma0, GeomDet::specificSurface(), mathSSE::sqrt(), Bounds::thickness(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by accumulateSimHits().
|
private |
Definition at line 2128 of file SiPixelDigitizerAlgorithm.cc.
References alpha2Order, Exception, GeomDet::geographicalId(), SiPixelLorentzAngle::getLorentzAngle(), GeomDetType::isBarrel(), GeomDetType::isTrackerPixel(), LogDebug, GloballyPositioned< T >::position(), DetId::rawId(), GloballyPositioned< T >::rotation(), Scenarios_cff::scale, SiPixelLorentzAngle_, GeomDet::surface(), tanLorentzAnglePerTesla_BPix, tanLorentzAnglePerTesla_FPix, PixelGeomDetUnit::type(), and use_LorentzAngle_DB_.
Referenced by drift().
|
private |
Definition at line 1165 of file SiPixelDigitizerAlgorithm.cc.
References funct::abs(), fluctuate, mps_fire::i, cuy::ii, particleFlowDisplacedVertex_cfi::ratio, and tMax.
Referenced by primary_ionization().
|
private |
Definition at line 2333 of file SiPixelDigitizerAlgorithm.cc.
References LaserClient_cfi::Amplitude, officialStyle::chan, PixelDigi::channelToPixel(), ALCARECOTkAlJpsiMuMu_cff::charge, cuy::col, gather_cfg::cout, dbobject_den, dbobject_num, SiPixel2DTemplateDBObject::getTemplateID(), IDden, createfilelist::int, PixelTopology::isItBigPixelInX(), PixelTopology::isItBigPixelInY(), Topology::localPosition(), LogDebug, makeDigiSimLinks_, genParticles_cff::map, Topology::measurementPosition(), PixelTopology::ncolumns(), PixelTopology::nrows(), PixelTempRewgt2D(), PixelDigi::pixelToChannel(), printCluster(), PrintClusters, THX, THY, track, TXSIZE, TYSIZE, UseReweighting, PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), hit::x, xdouble, PV2DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::y(), hit::y, ydouble, PV3DBase< T, PVType, FrameType >::z(), and hit::z.
Referenced by induce_signal().
|
private |
Definition at line 1349 of file SiPixelDigitizerAlgorithm.cc.
References _signal, LaserClient_cfi::Amplitude, calcQ(), officialStyle::chan, Topology::channel(), PixelDigi::channelToPixel(), PixelTestBeamValidation_cfi::Charge, ClusterWidth, GeomDet::geographicalId(), hitSignalReweight(), mps_fire::i, createfilelist::int, Topology::localPosition(), LogDebug, makeDigiSimLinks_, Topology::measurementPosition(), PixelTopology::ncolumns(), PixelTopology::nrows(), PixelTopology::pitch(), PixelDigi::pixelToChannel(), DetId::rawId(), VtxSmearedParameters_cfi::SigmaX, VtxSmearedParameters_cfi::SigmaY, PixelGeomDetUnit::specificTopology(), UseReweighting, 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 accumulateSimHits().
void SiPixelDigitizerAlgorithm::init | ( | const edm::EventSetup & | es | ) |
Definition at line 115 of file SiPixelDigitizerAlgorithm.cc.
References mps_splice::entry, Exception, spr::find(), edm::EventSetup::get(), edm::get(), SiPixelSimParameters_cfi::KillBadFEDChannels, notFound, SiPixel2DTemplateDBObject::numOfTempl(), edm::ESHandle< T >::product(), SiPixelTemplate2D::pushfile(), HLT_2018_cff::siPixelQualityLabel, AlCaHLTBitMon_QueryRunRegistry::string, HLT_2018_cff::track, HcalDetIdTransform::transform(), and HIPAlignmentAlgorithm_cfi::UseReweighting.
Referenced by PreMixingSiPixelWorker::initializeEvent().
void SiPixelDigitizerAlgorithm::init_DynIneffDB | ( | const edm::EventSetup & | es, |
const unsigned int & | bunchspace | ||
) |
Definition at line 606 of file SiPixelDigitizerAlgorithm.cc.
References AddPixelInefficiency, MixingModule_cfi::bunchspace, SiPixelDigitizerAlgorithm::PixelEfficiencies::FromConfig, geom_, edm::EventSetup::get(), get, SiPixelDigitizerAlgorithm::PixelEfficiencies::init_from_db(), pixelEfficiencies_, and SiPixelDynamicInefficiency_.
Referenced by PreMixingSiPixelWorker::put().
|
private |
Definition at line 359 of file SiPixelDigitizerAlgorithm.cc.
References calmap, beam_dqm_sourceclient-live_cfg::cerr, officialStyle::chan, PixelIndices::channelToPixelROC(), gather_cfg::cout, corrVsCorr::filename, mps_fire::i, recoMuon::in, mps_splice::line, LogDebug, Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, SiPixelDigitizerAlgorithm::CalParameters::p0, SiPixelDigitizerAlgorithm::CalParameters::p1, SiPixelDigitizerAlgorithm::CalParameters::p2, SiPixelDigitizerAlgorithm::CalParameters::p3, fitWZ::par0, pfMETCorrectionType0_cfi::par1, pfMETCorrectionType0_cfi::par2, pfMETCorrectionType0_cfi::par3, PixelIndices::pixelToChannelROC(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 62 of file SiPixelDigitizerAlgorithm.h.
References _signal.
Referenced by PreMixingSiPixelWorker::initializeEvent().
bool SiPixelDigitizerAlgorithm::killBadFEDChannels | ( | ) | const |
Definition at line 896 of file SiPixelDigitizerAlgorithm.cc.
References KillBadFEDChannels.
Referenced by PreMixingSiPixelWorker::put().
|
private |
Definition at line 1560 of file SiPixelDigitizerAlgorithm.cc.
References _signal, ecalMGPA::adc(), officialStyle::chan, PixelDigi::channelToPixel(), cuy::col, doMissCalibrate, f, newFWLiteAna::found, HLT_2018_cff::fraction, mps_fire::i, info(), createfilelist::int, LogDebug, makeDigiSimLinks_, min(), missCalibrate(), mcMuonSeeds_cfi::SimTrack, theAdcFullScale, theElectronPerADC, theThresholdInE_BPix, theThresholdInE_BPix_L1, theThresholdInE_BPix_L2, and theThresholdInE_FPix.
Referenced by digitize().
|
private |
Definition at line 2038 of file SiPixelDigitizerAlgorithm.cc.
References BPix_p0, BPix_p1, BPix_p2, BPix_p3, electronsPerVCAL, electronsPerVCAL_L1, electronsPerVCAL_L1_Offset, electronsPerVCAL_Offset, Exception, FPix_p0, FPix_p1, FPix_p2, FPix_p3, GeomDetType::isBarrel(), GeomDetType::isTrackerPixel(), p1, p2, p3, TrackerTopology::pxbLayer(), DetId::subdetId(), and PixelGeomDetUnit::type().
Referenced by make_digis().
|
private |
Definition at line 2219 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), DeadModules, mps_fire::i, Module, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by digitize().
|
private |
Definition at line 2259 of file SiPixelDigitizerAlgorithm.cc.
References _signal, funct::abs(), PixelDigi::channelToPixel(), SiPixelQuality::disabledModuleType::errorType, SiPixelFedCablingMap::findItem(), SiPixelQuality::getBadComponentList(), mps_fire::i, triggerObjects_cff::id, sipixelobjects::PixelROC::idInDetUnit(), SiPixelQuality::IsRocBad(), dqmiolumiharvest::j, DTRecHitClients_cfi::local, map_, castor_dqm_sourceclient_file_cfg::path, SiPixelFedCablingMap::pathToDetUnit(), edm::ESHandle< T >::product(), SiPixelBadModule_, and sipixelobjects::PixelROC::toGlobal().
Referenced by digitize().
|
private |
Definition at line 1986 of file SiPixelDigitizerAlgorithm.cc.
References GeomDet::geographicalId(), TrackerTopology::layer(), LogDebug, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, GeomDetEnumerators::P2PXEC, GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, DetId::rawId(), and GeomDet::subDetector().
Referenced by drift().
|
private |
Definition at line 1759 of file SiPixelDigitizerAlgorithm.cc.
References _signal, officialStyle::chan, PixelDigi::channelToPixel(), SiPixelDigitizerAlgorithm::PixelEfficiencies::ChipGeomFactors, sipixelobjects::GlobalPixel::col, cuy::col, SiPixelDigitizerAlgorithm::PixelEfficiencies::ColGeomFactors, mps_check::columns, SiPixelFedCablingMap::findItem(), SiPixelDigitizerAlgorithm::PixelEfficiencies::FPixIndex, SiPixelDigitizerAlgorithm::PixelEfficiencies::FromConfig, GeomDet::geographicalId(), mps_fire::i, sipixelobjects::PixelROC::idInDetUnit(), SiPixelDigitizerAlgorithm::PixelEfficiencies::iPU, PixelTopology::isItBigPixelInX(), PixelTopology::isItBigPixelInY(), pixelClusterTagInfos_cfi::isPhase1, KillBadFEDChannels, PVValHelper::ladder, TrackerTopology::layer(), DTRecHitClients_cfi::local, LogDebug, map_, PixelTopology::ncolumns(), PixelTopology::nrows(), NumberOfBarrelLayers, AlCaHLTBitMon_ParallelJobs::p, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, GeomDetEnumerators::P2PXEC, castor_dqm_sourceclient_file_cfg::path, SiPixelFedCablingMap::pathToDetUnit(), GeomDetEnumerators::PixelBarrel, GeomDetEnumerators::PixelEndcap, SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelFEDChannelCollection_, SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactors, SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCBigPixels, SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelGeomFactorsROCStdPixels, edm::ESHandle< T >::product(), SiPixelDigitizerAlgorithm::PixelEfficiencies::pu_scale, TrackerTopology::pxbLadder(), TrackerTopology::pxbModule(), TrackerTopology::pxfModule(), TrackerTopology::pxfPanel(), rand(), DetId::rawId(), sipixelobjects::GlobalPixel::row, PixelGeomDetUnit::specificTopology(), GeomDet::subDetector(), SiPixelDigitizerAlgorithm::PixelEfficiencies::theInnerEfficiency_FPix, SiPixelDigitizerAlgorithm::PixelEfficiencies::theLadderEfficiency_BPix, SiPixelDigitizerAlgorithm::PixelEfficiencies::theModuleEfficiency_BPix, SiPixelDigitizerAlgorithm::PixelEfficiencies::theOuterEfficiency_FPix, SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelChipEfficiency, SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelColEfficiency, SiPixelDigitizerAlgorithm::PixelEfficiencies::thePixelEfficiency, and sipixelobjects::PixelROC::toGlobal().
Referenced by digitize().
|
private |
Definition at line 2199 of file SiPixelDigitizerAlgorithm.cc.
References _signal, PixelDigi::channelToPixel(), cuy::col, mps_fire::i, and theSiPixelGainCalibrationService_.
Referenced by digitize().
|
private |
Reweight CMSSW clusters to look like clusters corresponding to Pixelav Templates.
id_in | - (input) identifier of the template corresponding to the input events |
id_rewgt | - (input) identifier of the template corresponding to the output events |
cluster | - (input/output) boost multi_array container of 7x21 array of pixel signals, origin of local coords (0,0) at center of pixel cluster[3][10]. returns 0 if everything is OK, 1 if angles are outside template coverage (cluster is probably still usable, > 1 if something is wrong (no reweight done). |
Definition at line 2553 of file SiPixelDigitizerAlgorithm.cc.
References funct::abs(), BXM2, BYM2, gather_cfg::cout, f, SiPixelTemplate2D::getid(), mps_fire::i, createfilelist::int, dqmiolumiharvest::j, dqmdumpme::k, cmsLHEtoEOSManager::l, LogDebug, printCluster(), PrintTemplates, SiPixelTemplate2D::s50(), summarizeEdmComparisonLogfiles::success, templ2D, track, TXSIZE, TYSIZE, xdouble, xsize, SiPixelTemplate2D::xsize(), SiPixelTemplate2D::xytemp(), ydouble, ysize, and SiPixelTemplate2D::ysize().
Referenced by hitSignalReweight().
|
private |
Definition at line 1099 of file SiPixelDigitizerAlgorithm.cc.
References simKBmtfDigis_cfi::eLoss, HCALHighEnergyHPDFilter_cfi::energy, dqmMemoryStats::float, fluctuateCharge, fluctuateEloss(), GeVperElectron, mps_fire::i, createfilelist::int, LogDebug, PV3DBase< T, PVType, FrameType >::mag(), point, hit::x, hit::y, and hit::z.
Referenced by accumulateSimHits().
|
private |
Definition at line 2776 of file SiPixelDigitizerAlgorithm.cc.
References cuy::col, gather_cfg::cout, alignBH_cfg::fixed, TXSIZE, and TYSIZE.
Referenced by hitSignalReweight(), and PixelTempRewgt2D().
|
private |
Definition at line 2787 of file SiPixelDigitizerAlgorithm.cc.
References BXM2, BYM2, cuy::col, gather_cfg::cout, and alignBH_cfg::fixed.
|
private |
Definition at line 2798 of file SiPixelDigitizerAlgorithm.cc.
References cuy::col, gather_cfg::cout, alignBH_cfg::fixed, TXSIZE, and TYSIZE.
void SiPixelDigitizerAlgorithm::setSimAccumulator | ( | const std::map< uint32_t, std::map< int, int > > & | signalMap | ) |
Definition at line 990 of file SiPixelDigitizerAlgorithm.cc.
References _signal, officialStyle::chan, and theElectronPerADC.
Referenced by PreMixingSiPixelWorker::put().
|
private |
Definition at line 303 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), induce_signal(), initializeEvent(), make_digis(), module_killing_conf(), module_killing_DB(), pixel_inefficiency(), pixel_inefficiency_db(), and setSimAccumulator().
|
private |
Definition at line 381 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 380 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 382 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 396 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 386 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), init_DynIneffDB(), SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 388 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 335 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift(), and DriftDirection().
|
private |
Definition at line 374 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 375 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 376 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 377 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 414 of file SiPixelDigitizerAlgorithm.h.
Referenced by initCal().
|
private |
Definition at line 338 of file SiPixelDigitizerAlgorithm.h.
Referenced by induce_signal().
|
private |
Definition at line 323 of file SiPixelDigitizerAlgorithm.h.
Referenced by hitSignalReweight().
|
private |
Definition at line 324 of file SiPixelDigitizerAlgorithm.h.
Referenced by hitSignalReweight().
|
private |
Definition at line 312 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_conf().
|
private |
Definition at line 334 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 391 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis().
|
private |
Definition at line 360 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 362 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 363 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 361 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 410 of file SiPixelDigitizerAlgorithm.h.
Referenced by fluctuateEloss().
|
private |
Definition at line 383 of file SiPixelDigitizerAlgorithm.h.
Referenced by primary_ionization().
|
private |
Definition at line 370 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 371 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 372 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 373 of file SiPixelDigitizerAlgorithm.h.
Referenced by missCalibrate().
|
private |
Definition at line 103 of file SiPixelDigitizerAlgorithm.h.
Referenced by init_DynIneffDB().
|
private |
Definition at line 330 of file SiPixelDigitizerAlgorithm.h.
Referenced by primary_ionization().
|
private |
Definition at line 319 of file SiPixelDigitizerAlgorithm.h.
Referenced by hitSignalReweight().
|
private |
Definition at line 319 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 387 of file SiPixelDigitizerAlgorithm.h.
Referenced by killBadFEDChannels(), and pixel_inefficiency().
|
private |
Definition at line 305 of file SiPixelDigitizerAlgorithm.h.
Referenced by hitSignalReweight(), induce_signal(), and make_digis().
|
private |
Definition at line 102 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_DB(), and pixel_inefficiency().
|
private |
Definition at line 340 of file SiPixelDigitizerAlgorithm.h.
Referenced by pixel_inefficiency(), SiPixelDigitizerAlgorithm::PixelAging::PixelAging(), and SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies().
|
private |
Definition at line 341 of file SiPixelDigitizerAlgorithm.h.
Referenced by SiPixelDigitizerAlgorithm::PixelAging::PixelAging(), and SiPixelDigitizerAlgorithm::PixelEfficiencies::PixelEfficiencies().
|
private |
Definition at line 483 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 482 of file SiPixelDigitizerAlgorithm.h.
Referenced by calculateInstlumiFactor(), chooseScenario(), digitize(), and init_DynIneffDB().
|
private |
Definition at line 110 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 398 of file SiPixelDigitizerAlgorithm.h.
Referenced by hitSignalReweight().
|
private |
Definition at line 399 of file SiPixelDigitizerAlgorithm.h.
Referenced by PixelTempRewgt2D().
const PixelFEDChannelCollectionMap* SiPixelDigitizerAlgorithm::quality_map |
Definition at line 91 of file SiPixelDigitizerAlgorithm.h.
Referenced by chooseScenario().
|
private |
Definition at line 109 of file SiPixelDigitizerAlgorithm.h.
Referenced by chooseScenario().
|
private |
Definition at line 333 of file SiPixelDigitizerAlgorithm.h.
Referenced by drift().
|
private |
Definition at line 99 of file SiPixelDigitizerAlgorithm.h.
Referenced by module_killing_DB().
|
private |
Definition at line 106 of file SiPixelDigitizerAlgorithm.h.
Referenced by init_DynIneffDB().
|
private |
Definition at line 95 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 98 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 368 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 367 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 315 of file SiPixelDigitizerAlgorithm.h.
Referenced by PixelTempRewgt2D().
|
private |
Definition at line 321 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 345 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 344 of file SiPixelDigitizerAlgorithm.h.
Referenced by make_digis(), setSimAccumulator(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 392 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 346 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), and digitize().
|
private |
Definition at line 411 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 393 of file SiPixelDigitizerAlgorithm.h.
|
private |
Definition at line 347 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise().
|
private |
Definition at line 459 of file SiPixelDigitizerAlgorithm.h.
Referenced by pixel_inefficiency_db().
|
private |
Definition at line 351 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 352 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 353 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 350 of file SiPixelDigitizerAlgorithm.h.
Referenced by add_noise(), digitize(), make_digis(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 356 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 357 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 358 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 355 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 365 of file SiPixelDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 366 of file SiPixelDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 406 of file SiPixelDigitizerAlgorithm.h.
Referenced by fluctuateEloss(), and SiPixelDigitizerAlgorithm().
|
private |
Definition at line 318 of file SiPixelDigitizerAlgorithm.h.
Referenced by hitSignalReweight(), and PixelTempRewgt2D().
|
private |
Definition at line 309 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 307 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 310 of file SiPixelDigitizerAlgorithm.h.
Referenced by DriftDirection().
|
private |
Definition at line 308 of file SiPixelDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 397 of file SiPixelDigitizerAlgorithm.h.
Referenced by hitSignalReweight(), and induce_signal().
|
private |
Definition at line 316 of file SiPixelDigitizerAlgorithm.h.
Referenced by hitSignalReweight(), and PixelTempRewgt2D().
|
private |
Definition at line 317 of file SiPixelDigitizerAlgorithm.h.
Referenced by hitSignalReweight(), and PixelTempRewgt2D().