#include <DataMixingSiStripMCDigiWorker.h>
Classes | |
class | StrictWeakOrdering |
class | StrictWeakRawOrdering |
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::vector< RawDigi > | OneDetectorRawMap |
typedef std::pair< uint16_t, Amplitude > | RawDigi |
typedef std::map< uint32_t, OneDetectorMap > | SiGlobalIndex |
typedef std::map< uint32_t, OneDetectorRawMap > | SiGlobalRawIndex |
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_ |
SiGlobalRawIndex | SiRawDigis_ |
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 53 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 83 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 90 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 84 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 87 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 88 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 101 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 100 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 155 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 127 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 105 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 103 of file DataMixingSiStripMCDigiWorker.h.
References signals_.
Referenced by putSiStrip().
|
virtual |
Definition at line 81 of file DataMixingSiStripMCDigiWorker.cc.
References assert(), 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 212 of file DataMixingSiStripMCDigiWorker.cc.
References allBadChannels, edm::DetSet< T >::data, gainLabel, GeomDet::geographicalId(), edm::EventSetup::get(), edm::RandomNumberGenerator::getEngine(), getSignal(), pDD, edm::Event::put(), DetId::rawId(), signals_, SiHitStorage_, SiRawDigis_, SiStripDigiCollectionDM_, StripGeomDetUnit::specificTopology(), edm::Event::streamID(), theElectronPerADC, theSiDigitalConverter, theSiNoiseAdder, and theSiZeroSuppress.
Referenced by edm::DataMixingModule::put().
|
private |
Definition at line 131 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DMinitializeDetUnit(), and putSiStrip().
|
private |
Definition at line 133 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DMinitializeDetUnit().
|
private |
Definition at line 117 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 122 of file DataMixingSiStripMCDigiWorker.h.
Referenced by initializeEvent().
|
private |
Definition at line 115 of file DataMixingSiStripMCDigiWorker.h.
Referenced by Mixins._Labelable::_findDependencies(), Mixins._TypedParameterizable::dumpPython(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 134 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DMinitializeDetUnit().
|
private |
Definition at line 128 of file DataMixingSiStripMCDigiWorker.h.
Referenced by initializeEvent(), and putSiStrip().
|
private |
Definition at line 118 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 111 of file DataMixingSiStripMCDigiWorker.h.
Referenced by getSignal(), and putSiStrip().
|
private |
Definition at line 92 of file DataMixingSiStripMCDigiWorker.h.
Referenced by addSiStripPileups(), addSiStripSignals(), DataMixingSiStripMCDigiWorker(), and putSiStrip().
|
private |
Definition at line 93 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 79 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DataMixingSiStripMCDigiWorker(), and putSiStrip().
|
private |
Definition at line 77 of file DataMixingSiStripMCDigiWorker.h.
Referenced by addSiStripSignals(), and DataMixingSiStripMCDigiWorker().
|
private |
Definition at line 78 of file DataMixingSiStripMCDigiWorker.h.
Referenced by addSiStripPileups(), and DataMixingSiStripMCDigiWorker().
|
private |
Definition at line 120 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 121 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 126 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 124 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DataMixingSiStripMCDigiWorker(), and putSiStrip().
|
private |
Definition at line 125 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 119 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DataMixingSiStripMCDigiWorker().