#include <DataMixingSiPixelMCDigiWorker.h>
Classes | |
struct | PixelEfficiencies |
Public Member Functions | |
void | addSiPixelPileups (const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *) |
void | addSiPixelSignals (const edm::Event &e) |
DataMixingSiPixelMCDigiWorker () | |
DataMixingSiPixelMCDigiWorker (const edm::ParameterSet &ps, edm::ConsumesCollector &&iC) | |
virtual void | initializeEvent (edm::Event const &e, edm::EventSetup const &c) |
void | putSiPixel (edm::Event &e, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > &ps, int &bs) |
void | setPileupInfo (const std::vector< PileupSummaryInfo > &ps, const int &bs) |
virtual | ~DataMixingSiPixelMCDigiWorker () |
Private Types | |
typedef int | Amplitude |
typedef std::multimap< int, PixelDigi > | OneDetectorMap |
typedef std::map< uint32_t, OneDetectorMap > | SiGlobalIndex |
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 Attributes | |
double | _pu_scale [20] |
signalMaps | _signal |
const bool | AddPixelInefficiency |
const double | bunchScaleAt25 |
const std::string | geometryType_ |
std::string | label_ |
const int | NumberOfBarrelLayers |
const int | NumberOfEndcapDisks |
edm::ESHandle< TrackerGeometry > | pDD |
edm::InputTag | pixeldigi_collectionPile_ |
edm::InputTag | pixeldigi_collectionSig_ |
std::string | PixelDigiCollectionDM_ |
edm::EDGetTokenT < edm::DetSetVector< PixelDigi > > | PixelDigiPToken_ |
edm::EDGetTokenT < edm::DetSetVector< PixelDigi > > | PixelDigiToken_ |
const PixelEfficiencies | pixelEff_ |
SiGlobalIndex | SiHitStorage_ |
const double | theInstLumiScaleFactor |
Definition at line 51 of file DataMixingSiPixelMCDigiWorker.h.
|
private |
Definition at line 111 of file DataMixingSiPixelMCDigiWorker.h.
|
private |
Definition at line 120 of file DataMixingSiPixelMCDigiWorker.h.
|
private |
Definition at line 121 of file DataMixingSiPixelMCDigiWorker.h.
|
private |
Definition at line 114 of file DataMixingSiPixelMCDigiWorker.h.
|
private |
Definition at line 113 of file DataMixingSiPixelMCDigiWorker.h.
|
private |
Definition at line 112 of file DataMixingSiPixelMCDigiWorker.h.
|
private |
Definition at line 115 of file DataMixingSiPixelMCDigiWorker.h.
edm::DataMixingSiPixelMCDigiWorker::DataMixingSiPixelMCDigiWorker | ( | ) |
|
explicit |
standard constructor
Definition at line 41 of file DataMixingSiPixelMCDigiWorker.cc.
References edm::ParameterSet::getParameter(), pixeldigi_collectionPile_, pixeldigi_collectionSig_, PixelDigiCollectionDM_, PixelDigiPToken_, PixelDigiToken_, SiHitStorage_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
void DataMixingSiPixelMCDigiWorker::addSiPixelPileups | ( | const int | bcr, |
const edm::EventPrincipal * | ep, | ||
unsigned int | EventId, | ||
ModuleCallingContext const * | mcc | ||
) |
Definition at line 225 of file DataMixingSiPixelMCDigiWorker.cc.
References begin, edm::DetSetVector< T >::begin(), end, edm::DetSetVector< T >::end(), edm::EventPrincipal::id(), input, LogDebug, pixeldigi_collectionPile_, and SiHitStorage_.
Referenced by edm::DataMixingModule::pileWorker().
void DataMixingSiPixelMCDigiWorker::addSiPixelSignals | ( | const edm::Event & | e | ) |
Definition at line 189 of file DataMixingSiPixelMCDigiWorker.cc.
References begin, end, edm::Event::getByToken(), edm::EventBase::id(), input, LogDebug, PixelDigiToken_, and SiHitStorage_.
Referenced by edm::DataMixingModule::addSignals().
|
virtual |
Definition at line 80 of file DataMixingSiPixelMCDigiWorker.cc.
References geometryType_, edm::EventSetup::get(), and pDD.
Referenced by edm::DataMixingModule::initializeEvent().
void DataMixingSiPixelMCDigiWorker::putSiPixel | ( | edm::Event & | e, |
edm::EventSetup const & | iSetup, | ||
std::vector< PileupSummaryInfo > & | ps, | ||
int & | bs | ||
) |
Definition at line 293 of file DataMixingSiPixelMCDigiWorker.cc.
References _pu_scale, _signal, ecalMGPA::adc(), PixelDigi::channelToPixel(), cuy::col, edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::FPixIndex, GeomDet::geographicalId(), edm::EventSetup::get(), edm::RandomNumberGenerator::getEngine(), i, getDQMSummary::iter, TrackerTopology::layer(), python.rootplot.argparse::module, PixelTopology::ncolumns(), PixelTopology::nrows(), NumberOfBarrelLayers, GeomDetEnumerators::P1PXB, GeomDetEnumerators::P1PXEC, GeomDetEnumerators::P2OTB, GeomDetEnumerators::P2OTEC, GeomDetEnumerators::P2PXEC, pDD, GeomDetEnumerators::PixelBarrel, PixelDigiCollectionDM_, pixelEff_, GeomDetEnumerators::PixelEndcap, edm::ESHandle< class >::product(), edm::DetSet< T >::push_back(), edm::Event::put(), TrackerTopology::pxbLadder(), TrackerTopology::pxbModule(), TrackerTopology::pxfModule(), TrackerTopology::pxfPanel(), rand(), DetId::rawId(), setPileupInfo(), SiHitStorage_, PixelGeomDetUnit::specificTopology(), edm::Event::streamID(), GeomDet::subDetector(), edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::theInnerEfficiency_FPix, edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::theLadderEfficiency_BPix, edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::theModuleEfficiency_BPix, edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::theOuterEfficiency_FPix, edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::thePixelChipEfficiency, edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::thePixelColEfficiency, and edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::thePixelEfficiency.
Referenced by edm::DataMixingModule::put().
void DataMixingSiPixelMCDigiWorker::setPileupInfo | ( | const std::vector< PileupSummaryInfo > & | ps, |
const int & | bs | ||
) |
Definition at line 548 of file DataMixingSiPixelMCDigiWorker.cc.
References _pu_scale, bunchScaleAt25, i, j, AlCaHLTBitMon_ParallelJobs::p, pixelEff_, theInstLumiScaleFactor, and edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::thePUEfficiency.
Referenced by putSiPixel().
|
private |
Definition at line 95 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by putSiPixel(), and setPileupInfo().
|
private |
Definition at line 118 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by putSiPixel().
|
private |
Definition at line 138 of file DataMixingSiPixelMCDigiWorker.h.
|
private |
Definition at line 136 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by setPileupInfo().
|
private |
Definition at line 129 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by initializeEvent().
|
private |
Definition at line 128 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by Mixins._Labelable::_findDependencies(), Mixins._TypedParameterizable::dumpPython(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 132 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::PixelEfficiencies(), and putSiPixel().
|
private |
Definition at line 133 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by edm::DataMixingSiPixelMCDigiWorker::PixelEfficiencies::PixelEfficiencies().
|
private |
Definition at line 106 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by initializeEvent(), and putSiPixel().
|
private |
Definition at line 100 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by addSiPixelPileups(), and DataMixingSiPixelMCDigiWorker().
|
private |
Definition at line 99 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by DataMixingSiPixelMCDigiWorker().
|
private |
Definition at line 101 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by DataMixingSiPixelMCDigiWorker(), and putSiPixel().
|
private |
Definition at line 104 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by DataMixingSiPixelMCDigiWorker().
|
private |
Definition at line 103 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by addSiPixelSignals(), and DataMixingSiPixelMCDigiWorker().
|
private |
Definition at line 140 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by putSiPixel(), and setPileupInfo().
|
private |
Definition at line 123 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by addSiPixelPileups(), addSiPixelSignals(), DataMixingSiPixelMCDigiWorker(), and putSiPixel().
|
private |
Definition at line 135 of file DataMixingSiPixelMCDigiWorker.h.
Referenced by setPileupInfo().