#include <SiStripDigitizerAlgorithm.h>
Classes | |
struct | AssociationInfo |
Public Types | |
typedef float | Amplitude |
typedef SiDigitalConverter::DigitalRawVecType | DigitalRawVecType |
typedef SiDigitalConverter::DigitalVecType | DigitalVecType |
typedef std::map< int, float, std::less< int > > | hit_map_type |
typedef SiPileUpSignals::SignalMapType | SignalMapType |
Public Member Functions | |
void | accumulateSimHits (const std::vector< PSimHit >::const_iterator inputBegin, const std::vector< PSimHit >::const_iterator inputEnd, size_t inputBeginGlobalIndex, unsigned int tofBin, const StripGeomDetUnit *stripdet, const GlobalVector &bfield, const TrackerTopology *tTopo, CLHEP::HepRandomEngine *) |
void | calculateInstlumiScale (PileupMixingContent *puInfo) |
void | digitize (edm::DetSet< SiStripDigi > &outDigis, edm::DetSet< SiStripRawDigi > &outRawDigis, edm::DetSet< SiStripRawDigi > &outStripAmplitudes, edm::DetSet< SiStripRawDigi > &outStripAmplitudesPostAPV, edm::DetSet< SiStripRawDigi > &outStripAPVBaselines, edm::DetSet< StripDigiSimLink > &outLink, const StripGeomDetUnit *stripdet, const SiStripGain &, const SiStripThreshold &, const SiStripNoises &, const SiStripPedestals &, bool simulateAPVInThisEvent, const SiStripApvSimulationParameters *, std::vector< std::pair< int, std::bitset< 6 >>> &theAffectedAPVvector, CLHEP::HepRandomEngine *, const TrackerTopology *tTopo) |
void | initializeDetUnit (StripGeomDetUnit const *det, const edm::EventSetup &iSetup) |
void | initializeEvent (const edm::EventSetup &iSetup) |
void | setParticleDataTable (const ParticleDataTable *pardt) |
SiStripDigitizerAlgorithm (const edm::ParameterSet &conf, edm::ConsumesCollector iC) | |
~SiStripDigitizerAlgorithm () | |
Private Types | |
typedef std::map< int, std::vector< AssociationInfo > > | AssociationInfoForChannel |
typedef std::map< uint32_t, AssociationInfoForChannel > | AssociationInfoForDetId |
SiStripDigitizerAlgorithm converts hits to digis
Definition at line 56 of file SiStripDigitizerAlgorithm.h.
typedef float SiStripDigitizerAlgorithm::Amplitude |
Definition at line 62 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 174 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 175 of file SiStripDigitizerAlgorithm.h.
Definition at line 59 of file SiStripDigitizerAlgorithm.h.
Definition at line 58 of file SiStripDigitizerAlgorithm.h.
typedef std::map<int, float, std::less<int> > SiStripDigitizerAlgorithm::hit_map_type |
Definition at line 61 of file SiStripDigitizerAlgorithm.h.
Definition at line 60 of file SiStripDigitizerAlgorithm.h.
SiStripDigitizerAlgorithm::SiStripDigitizerAlgorithm | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 38 of file SiStripDigitizerAlgorithm.cc.
References APVProbabilityFile, APVProbaFile, APVSaturationFromHIP, CommonModeNoise, Exception, edm::FileInPath::fullPath(), mps_splice::line, LogDebug, mapOfAPVprobabilities, peakMode, PreMixing_, SingleStripNoise, submitPVValidationJobs::split(), and AlCaHLTBitMon_QueryRunRegistry::string.
SiStripDigitizerAlgorithm::~SiStripDigitizerAlgorithm | ( | ) |
Definition at line 109 of file SiStripDigitizerAlgorithm.cc.
void SiStripDigitizerAlgorithm::accumulateSimHits | ( | const std::vector< PSimHit >::const_iterator | inputBegin, |
const std::vector< PSimHit >::const_iterator | inputEnd, | ||
size_t | inputBeginGlobalIndex, | ||
unsigned int | tofBin, | ||
const StripGeomDetUnit * | stripdet, | ||
const GlobalVector & | bfield, | ||
const TrackerTopology * | tTopo, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 157 of file SiStripDigitizerAlgorithm.cc.
References associationInfoForDetId_, cosmicShift, firstChannelsWithSignal, GeomDet::geographicalId(), SiStripLorentzAngle::getLorentzAngle(), inefficiency, edm::ESHandleBase::isValid(), lastChannelsWithSignal, lorentzAngleHandle, mag(), makeDigiSimLinks_, DetId::rawId(), StripGeomDetUnit::specificTopology(), GeomDet::surface(), theSiHitDigitizer, theSiPileUpSignals, tofCut, and Surface::toGlobal().
void SiStripDigitizerAlgorithm::calculateInstlumiScale | ( | PileupMixingContent * | puInfo | ) |
Definition at line 248 of file SiStripDigitizerAlgorithm.cc.
References APVSaturationProb_, hltParticleFlowClusterECALL1Seeded_cfi::bunchSpacing, FirstLumiCalc_, PileupMixingContent::getMix_bunchCrossing(), PileupMixingContent::getMix_bunchSpacing(), PileupMixingContent::getMix_TrueInteractions(), muonGEMDigis_cfi::instLumi, nTruePU_, AlCaHLTBitMon_ParallelJobs::p, and displacedMuons_cfi::pu.
void SiStripDigitizerAlgorithm::digitize | ( | edm::DetSet< SiStripDigi > & | outDigis, |
edm::DetSet< SiStripRawDigi > & | outRawDigis, | ||
edm::DetSet< SiStripRawDigi > & | outStripAmplitudes, | ||
edm::DetSet< SiStripRawDigi > & | outStripAmplitudesPostAPV, | ||
edm::DetSet< SiStripRawDigi > & | outStripAPVBaselines, | ||
edm::DetSet< StripDigiSimLink > & | outLink, | ||
const StripGeomDetUnit * | stripdet, | ||
const SiStripGain & | gain, | ||
const SiStripThreshold & | threshold, | ||
const SiStripNoises & | noiseObj, | ||
const SiStripPedestals & | pedestal, | ||
bool | simulateAPVInThisEvent, | ||
const SiStripApvSimulationParameters * | apvSimulationParameters, | ||
std::vector< std::pair< int, std::bitset< 6 >>> & | theAffectedAPVvector, | ||
CLHEP::HepRandomEngine * | engine, | ||
const TrackerTopology * | tTopo | ||
) |
Definition at line 284 of file SiStripDigitizerAlgorithm.cc.
References allBadChannels, apv_fCPerElectron_, apv_maxResponse_, apv_mVPerQ_, apv_rate_, APVSaturationFromHIP, APVSaturationProb_, associationInfoForDetId_, BaselineShift, cms::cuda::bs, simKBmtfDigis_cfi::bx, cmnRMStec, cmnRMStib, cmnRMStid, cmnRMStob, CommonModeNoise, edm::DetSet< T >::data, SiPixelPhase1Clusters_cfi::e3, edm::DetSet< T >::emplace_back(), JetChargeProducer_cfi::exp, firstChannelsWithSignal, FirstDigitize_, PedestalClient_cfi::gain, GeomDet::geographicalId(), SiStripNoises::getNoise(), SiStripNoises::getRange(), includeAPVSimulation_, createfilelist::int, lastChannelsWithSignal, StripTopology::localPosition(), dqm-mbProfile::log, mapOfAPVprobabilities, noise, nTruePU_, NumberOfBxBetweenHIPandEvent, EcalCondDBWriter_cfi::pedestal, pedOffset, PV3DBase< T, PVType, FrameType >::perp(), PreMixing_, edm::DetSet< T >::push_back(), RPCpg::rate(), DetId::rawId(), RealPedestals, edm::DetSet< T >::reserve(), SiStripApvSimulationParameters::sampleTEC(), SiStripApvSimulationParameters::sampleTIB(), SiStripApvSimulationParameters::sampleTID(), SiStripApvSimulationParameters::sampleTOB(), SingleStripNoise, SiStripTrackerAffectedAPVMap, StripGeomDetUnit::specificTopology(), digitizers_cfi::strip, ntupleEnum::SubDet, DetId::subdetId(), GeomDet::surface(), SiStripSubdetector::TEC, TrackerTopology::tecWheel(), groupFilesInBlocks::temp, theElectronPerADC, theSiDigitalConverter, theSiNoiseAdder, theSiPileUpSignals, theSiZeroSuppress, remoteMonitoring_LASER_era2018_cfg::threshold, SiStripSubdetector::TIB, TrackerTopology::tibLayer(), SiStripSubdetector::TID, TrackerTopology::tidWheel(), SiStripSubdetector::TOB, TrackerTopology::tobLayer(), Surface::toGlobal(), funct::true, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and zeroSuppression.
void SiStripDigitizerAlgorithm::initializeDetUnit | ( | StripGeomDetUnit const * | det, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 111 of file SiStripDigitizerAlgorithm.cc.
References allBadChannels, deadChannelToken_, firstChannelsWithSignal, compareTotals::fs, GeomDet::geographicalId(), edm::EventSetup::getData(), lastChannelsWithSignal, DetId::rawId(), StripGeomDetUnit::specificTopology(), and digitizers_cfi::strip.
void SiStripDigitizerAlgorithm::initializeEvent | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 137 of file SiStripDigitizerAlgorithm.cc.
References APVSaturationProb_, APVSaturationProbScaling_, associationInfoForDetId_, FirstDigitize_, FirstLumiCalc_, edm::EventSetup::getData(), edm::EventSetup::getHandle(), lorentzAngleHandle, lorentzAngleToken_, nTruePU_, pdtToken_, setParticleDataTable(), SiStripTrackerAffectedAPVMap, and theSiPileUpSignals.
|
inline |
Definition at line 104 of file SiStripDigitizerAlgorithm.h.
References pdt, and theSiHitDigitizer.
Referenced by initializeEvent().
|
private |
Definition at line 155 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and initializeDetUnit().
|
private |
Definition at line 156 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 190 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 187 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 189 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 188 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 179 of file SiStripDigitizerAlgorithm.h.
Referenced by SiStripDigitizerAlgorithm().
|
private |
Definition at line 181 of file SiStripDigitizerAlgorithm.h.
Referenced by SiStripDigitizerAlgorithm().
|
private |
Definition at line 124 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and SiStripDigitizerAlgorithm().
|
private |
Definition at line 144 of file SiStripDigitizerAlgorithm.h.
Referenced by calculateInstlumiScale(), digitize(), and initializeEvent().
|
private |
Definition at line 115 of file SiStripDigitizerAlgorithm.h.
Referenced by initializeEvent().
|
private |
Structure that holds the information on the SimTrack contributions. Only filled if makeDigiSimLinks_ is true.
Definition at line 177 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeEvent().
|
private |
Definition at line 123 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 114 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 111 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 113 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 112 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 122 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and SiStripDigitizerAlgorithm().
|
private |
Definition at line 133 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 137 of file SiStripDigitizerAlgorithm.h.
Referenced by initializeDetUnit().
|
private |
Definition at line 158 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeDetUnit().
|
private |
Definition at line 146 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and initializeEvent().
|
private |
Definition at line 145 of file SiStripDigitizerAlgorithm.h.
Referenced by calculateInstlumiScale(), and initializeEvent().
|
private |
Definition at line 186 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 134 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 159 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeDetUnit().
|
private |
Definition at line 162 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), and initializeEvent().
|
private |
Definition at line 139 of file SiStripDigitizerAlgorithm.h.
Referenced by initializeEvent().
|
private |
Definition at line 117 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 182 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and SiStripDigitizerAlgorithm().
|
private |
Definition at line 119 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 191 of file SiStripDigitizerAlgorithm.h.
Referenced by calculateInstlumiScale(), digitize(), and initializeEvent().
|
private |
Definition at line 184 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 142 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 141 of file SiStripDigitizerAlgorithm.h.
Referenced by setParticleDataTable().
|
private |
Definition at line 138 of file SiStripDigitizerAlgorithm.h.
Referenced by initializeEvent().
|
private |
Definition at line 118 of file SiStripDigitizerAlgorithm.h.
Referenced by SiStripDigitizerAlgorithm().
|
private |
Definition at line 135 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 136 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and SiStripDigitizerAlgorithm().
|
private |
Definition at line 120 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 121 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and SiStripDigitizerAlgorithm().
|
private |
Definition at line 183 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and initializeEvent().
|
private |
Definition at line 128 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 126 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 151 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 148 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), and setParticleDataTable().
|
private |
Definition at line 150 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 149 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeEvent().
|
private |
Definition at line 152 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 110 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 131 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 130 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 132 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 127 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().