#include <DataMixingSiStripMCDigiWorker.h>
Classes | |
class | StrictWeakOrdering |
Public Member Functions | |
void | addSiStripPileups (const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *) |
void | addSiStripSignals (const edm::Event &e) |
DataMixingSiStripMCDigiWorker () | |
DataMixingSiStripMCDigiWorker (const edm::ParameterSet &ps, edm::ConsumesCollector &&iC) | |
void | DMinitializeDetUnit (StripGeomDetUnit const *det, const edm::EventSetup &iSetup) |
virtual void | initializeEvent (const edm::Event &e, edm::EventSetup const &iSetup) |
void | putSiStrip (edm::Event &e, edm::EventSetup const &iSetup) |
virtual | ~DataMixingSiStripMCDigiWorker () |
Private Types | |
typedef float | Amplitude |
typedef SiDigitalConverter::DigitalVecType | DigitalVecType |
typedef std::vector< SiStripDigi > | OneDetectorMap |
typedef std::map< uint32_t, OneDetectorMap > | SiGlobalIndex |
typedef std::map< uint32_t, SignalMapType > | signalMaps |
typedef std::map< int, Amplitude > | SignalMapType |
Private Member Functions | |
const SignalMapType * | getSignal (uint32_t detID) const |
Private Attributes | |
std::map< unsigned int, std::vector< bool > > | allBadChannels |
std::map< unsigned int, size_t > | firstChannelsWithSignal |
std::string | gainLabel |
std::string | geometryType |
std::string | label_ |
std::map< unsigned int, size_t > | lastChannelsWithSignal |
edm::ESHandle< TrackerGeometry > | pDD |
bool | peakMode |
signalMaps | signals_ |
SiGlobalIndex | SiHitStorage_ |
std::string | SiStripDigiCollectionDM_ |
edm::InputTag | SistripLabelSig_ |
edm::InputTag | SiStripPileInputTag_ |
double | theElectronPerADC |
int | theFedAlgo |
std::unique_ptr < SiTrivialDigitalConverter > | theSiDigitalConverter |
std::unique_ptr < SiGaussianTailNoiseAdder > | theSiNoiseAdder |
std::unique_ptr < SiStripFedZeroSuppression > | theSiZeroSuppress |
double | theThreshold |
Definition at line 54 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 96 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 87 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 85 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 86 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 98 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 97 of file DataMixingSiStripMCDigiWorker.h.
DataMixingSiStripMCDigiWorker::DataMixingSiStripMCDigiWorker | ( | ) |
Definition at line 30 of file DataMixingSiStripMCDigiWorker.cc.
|
explicit |
standard constructor
Definition at line 33 of file DataMixingSiStripMCDigiWorker.cc.
References edm::hlt::Exception, edm::ParameterSet::getParameter(), edm::Service< T >::isAvailable(), SiHitStorage_, SiStripDigiCollectionDM_, SistripLabelSig_, SiStripPileInputTag_, AlCaHLTBitMon_QueryRunRegistry::string, theSiNoiseAdder, and theThreshold.
|
virtual |
void DataMixingSiStripMCDigiWorker::addSiStripPileups | ( | const int | bcr, |
const edm::EventPrincipal * | ep, | ||
unsigned int | EventId, | ||
ModuleCallingContext const * | mcc | ||
) |
Definition at line 153 of file DataMixingSiStripMCDigiWorker.cc.
References begin, edm::DetSetVector< T >::begin(), end, edm::DetSetVector< T >::end(), edm::EventPrincipal::id(), input, edm::DetSetVector< T >::insert(), LogDebug, edm::DetSetVector< T >::reserve(), SiHitStorage_, and SiStripPileInputTag_.
Referenced by edm::DataMixingModule::pileWorker().
void DataMixingSiStripMCDigiWorker::addSiStripSignals | ( | const edm::Event & | e | ) |
Definition at line 125 of file DataMixingSiStripMCDigiWorker.cc.
References begin, end, edm::Event::getByLabel(), input, LogDebug, edm::DetSetVector< T >::reserve(), SiHitStorage_, and SistripLabelSig_.
Referenced by edm::DataMixingModule::addSignals().
void DataMixingSiStripMCDigiWorker::DMinitializeDetUnit | ( | StripGeomDetUnit const * | det, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 103 of file DataMixingSiStripMCDigiWorker.cc.
References allBadChannels, firstChannelsWithSignal, SiStripBadStrip::data::firstStrip, GeomDet::geographicalId(), edm::EventSetup::get(), lastChannelsWithSignal, SiStripBadStrip::data::range, DetId::rawId(), and StripGeomDetUnit::specificTopology().
Referenced by initializeEvent().
|
inlineprivate |
Definition at line 100 of file DataMixingSiStripMCDigiWorker.h.
References signals_.
Referenced by putSiStrip().
|
virtual |
Definition at line 80 of file DataMixingSiStripMCDigiWorker.cc.
References compareJSON::const, DMinitializeDetUnit(), geometryType, edm::EventSetup::get(), pDD, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.
Referenced by edm::DataMixingModule::initializeEvent().
void DataMixingSiStripMCDigiWorker::putSiStrip | ( | edm::Event & | e, |
edm::EventSetup const & | iSetup | ||
) |
Definition at line 210 of file DataMixingSiStripMCDigiWorker.cc.
References allBadChannels, edm::DetSet< T >::data, firstChannelsWithSignal, gainLabel, GeomDet::geographicalId(), edm::EventSetup::get(), edm::RandomNumberGenerator::getEngine(), getSignal(), lastChannelsWithSignal, pDD, edm::Event::put(), DetId::rawId(), signals_, SiHitStorage_, SiStripDigiCollectionDM_, StripGeomDetUnit::specificTopology(), edm::Event::streamID(), theElectronPerADC, theSiDigitalConverter, theSiNoiseAdder, and theSiZeroSuppress.
Referenced by edm::DataMixingModule::put().
|
private |
Definition at line 129 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DMinitializeDetUnit(), and putSiStrip().
|
private |
Definition at line 131 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DMinitializeDetUnit(), and putSiStrip().
|
private |
Definition at line 114 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 119 of file DataMixingSiStripMCDigiWorker.h.
Referenced by initializeEvent().
|
private |
Definition at line 112 of file DataMixingSiStripMCDigiWorker.h.
Referenced by Mixins._Labelable::_findDependencies(), Mixins._TypedParameterizable::dumpPython(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 132 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DMinitializeDetUnit(), and putSiStrip().
|
private |
Definition at line 126 of file DataMixingSiStripMCDigiWorker.h.
Referenced by initializeEvent(), and putSiStrip().
|
private |
Definition at line 115 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 108 of file DataMixingSiStripMCDigiWorker.h.
Referenced by getSignal(), and putSiStrip().
|
private |
Definition at line 89 of file DataMixingSiStripMCDigiWorker.h.
Referenced by addSiStripPileups(), addSiStripSignals(), DataMixingSiStripMCDigiWorker(), and putSiStrip().
|
private |
Definition at line 81 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DataMixingSiStripMCDigiWorker(), and putSiStrip().
|
private |
Definition at line 79 of file DataMixingSiStripMCDigiWorker.h.
Referenced by addSiStripSignals(), and DataMixingSiStripMCDigiWorker().
|
private |
Definition at line 80 of file DataMixingSiStripMCDigiWorker.h.
Referenced by addSiStripPileups(), and DataMixingSiStripMCDigiWorker().
|
private |
Definition at line 117 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 118 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 123 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 121 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DataMixingSiStripMCDigiWorker(), and putSiStrip().
|
private |
Definition at line 122 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 116 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DataMixingSiStripMCDigiWorker().