#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 std::multimap< uint32_t, std::bitset< 6 > > | APVMap |
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, std::vector< bool > > | allHIPChannels |
bool | APVSaturationFromHIP_ |
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_ |
bool | SingleStripNoise |
SiGlobalRawIndex | SiRawDigis_ |
edm::InputTag | SistripAPVLabelSig_ |
std::string | SistripAPVListDM_ |
edm::InputTag | SiStripAPVPileInputTag_ |
std::string | SiStripDigiCollectionDM_ |
edm::InputTag | SistripLabelSig_ |
edm::InputTag | SiStripPileInputTag_ |
APVMap | theAffectedAPVmap_ |
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 88 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 119 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 95 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 90 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 91 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 89 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 92 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 93 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 106 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 105 of file DataMixingSiStripMCDigiWorker.h.
DataMixingSiStripMCDigiWorker::DataMixingSiStripMCDigiWorker | ( | ) |
Definition at line 31 of file DataMixingSiStripMCDigiWorker.cc.
|
explicit |
standard constructor
Definition at line 34 of file DataMixingSiStripMCDigiWorker.cc.
References APVSaturationFromHIP_, Exception, edm::ParameterSet::getParameter(), edm::Service< T >::isAvailable(), SiHitStorage_, SistripAPVLabelSig_, SistripAPVListDM_, SiStripAPVPileInputTag_, 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 181 of file DataMixingSiStripMCDigiWorker.cc.
References APVSaturationFromHIP_, begin, edm::DetSetVector< T >::begin(), end, edm::DetSetVector< T >::end(), mps_splice::entry, edm::EventPrincipal::id(), input, edm::DetSetVector< T >::insert(), LogDebug, edm::DetSetVector< T >::reserve(), SiHitStorage_, SiStripAPVPileInputTag_, SiStripPileInputTag_, and theAffectedAPVmap_.
Referenced by edm::DataMixingModule::pileWorker().
void DataMixingSiStripMCDigiWorker::addSiStripSignals | ( | const edm::Event & | e | ) |
Definition at line 139 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 113 of file DataMixingSiStripMCDigiWorker.cc.
References allBadChannels, allHIPChannels, SiStripBadStrip::decode(), firstChannelsWithSignal, SiStripBadStrip::data::firstStrip, GeomDet::geographicalId(), edm::EventSetup::get(), SiStripBadStrip::getRange(), lastChannelsWithSignal, SiStripBadStrip::data::range, DetId::rawId(), StripGeomDetUnit::specificTopology(), and digi_MixPreMix_cfi::strip.
Referenced by initializeEvent().
|
inlineprivate |
Definition at line 108 of file DataMixingSiStripMCDigiWorker.h.
References signals_.
Referenced by putSiStrip().
|
virtual |
Definition at line 91 of file DataMixingSiStripMCDigiWorker.cc.
References TrackerGeometry::detUnits(), 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 253 of file DataMixingSiStripMCDigiWorker.cc.
References allBadChannels, APVSaturationFromHIP_, edm::DetSet< T >::data, TrackerGeometry::detUnits(), objects.autophobj::float, gainLabel, GeomDet::geographicalId(), edm::EventSetup::get(), edm::RandomNumberGenerator::getEngine(), SiStripNoises::getNoise(), SiStripNoises::getRange(), SiStripGain::getRange(), getSignal(), SiStripGain::getStripGain(), createfilelist::int, eostools::move(), pDD, edm::Event::put(), DetId::rawId(), signals_, SiHitStorage_, SingleStripNoise, SiRawDigis_, SiStripDigiCollectionDM_, StripGeomDetUnit::specificTopology(), edm::Event::streamID(), digi_MixPreMix_cfi::strip, groupFilesInBlocks::temp, theAffectedAPVmap_, theElectronPerADC, theSiDigitalConverter, theSiNoiseAdder, and theSiZeroSuppress.
Referenced by edm::DataMixingModule::put().
|
private |
Definition at line 143 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DMinitializeDetUnit(), and putSiStrip().
|
private |
Definition at line 145 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DMinitializeDetUnit().
|
private |
Definition at line 132 of file DataMixingSiStripMCDigiWorker.h.
Referenced by addSiStripPileups(), DataMixingSiStripMCDigiWorker(), and putSiStrip().
|
private |
Definition at line 147 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DMinitializeDetUnit().
|
private |
Definition at line 127 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 134 of file DataMixingSiStripMCDigiWorker.h.
Referenced by initializeEvent().
|
private |
Definition at line 125 of file DataMixingSiStripMCDigiWorker.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 148 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DMinitializeDetUnit().
|
private |
Definition at line 140 of file DataMixingSiStripMCDigiWorker.h.
Referenced by initializeEvent(), and putSiStrip().
|
private |
Definition at line 129 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 116 of file DataMixingSiStripMCDigiWorker.h.
Referenced by getSignal(), and putSiStrip().
|
private |
Definition at line 97 of file DataMixingSiStripMCDigiWorker.h.
Referenced by addSiStripPileups(), addSiStripSignals(), DataMixingSiStripMCDigiWorker(), and putSiStrip().
|
private |
Definition at line 128 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 98 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 81 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DataMixingSiStripMCDigiWorker().
|
private |
Definition at line 83 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DataMixingSiStripMCDigiWorker().
|
private |
Definition at line 82 of file DataMixingSiStripMCDigiWorker.h.
Referenced by addSiStripPileups(), and DataMixingSiStripMCDigiWorker().
|
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 121 of file DataMixingSiStripMCDigiWorker.h.
Referenced by addSiStripPileups(), and putSiStrip().
|
private |
Definition at line 131 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 133 of file DataMixingSiStripMCDigiWorker.h.
|
private |
Definition at line 138 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 136 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DataMixingSiStripMCDigiWorker(), and putSiStrip().
|
private |
Definition at line 137 of file DataMixingSiStripMCDigiWorker.h.
Referenced by putSiStrip().
|
private |
Definition at line 130 of file DataMixingSiStripMCDigiWorker.h.
Referenced by DataMixingSiStripMCDigiWorker().