#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< StripDigiSimLink > &outLink, const StripGeomDetUnit *stripdet, edm::ESHandle< SiStripGain > &, edm::ESHandle< SiStripThreshold > &, edm::ESHandle< SiStripNoises > &, edm::ESHandle< SiStripPedestals > &, std::vector< std::pair< int, std::bitset< 6 >>> &theAffectedAPVvector, CLHEP::HepRandomEngine *) |
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) | |
~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 53 of file SiStripDigitizerAlgorithm.h.
typedef float SiStripDigitizerAlgorithm::Amplitude |
Definition at line 59 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 163 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 164 of file SiStripDigitizerAlgorithm.h.
Definition at line 56 of file SiStripDigitizerAlgorithm.h.
Definition at line 55 of file SiStripDigitizerAlgorithm.h.
typedef std::map< int, float, std::less<int> > SiStripDigitizerAlgorithm::hit_map_type |
Definition at line 58 of file SiStripDigitizerAlgorithm.h.
Definition at line 57 of file SiStripDigitizerAlgorithm.h.
SiStripDigitizerAlgorithm::SiStripDigitizerAlgorithm | ( | const edm::ParameterSet & | conf | ) |
Definition at line 38 of file SiStripDigitizerAlgorithm.cc.
References APVProbabilityFile, APVProbaFile, APVSaturationFromHIP, CommonModeNoise, Exception, edm::FileInPath::fullPath(), geometryCSVtoXML::line, LogDebug, mapOfAPVprobabilities, peakMode, PreMixing_, SingleStripNoise, split, and AlCaHLTBitMon_QueryRunRegistry::string.
SiStripDigitizerAlgorithm::~SiStripDigitizerAlgorithm | ( | ) |
Definition at line 98 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 151 of file SiStripDigitizerAlgorithm.cc.
References associationInfoForDetId_, cosmicShift, firstChannelsWithSignal, GeomDet::geographicalId(), 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 228 of file SiStripDigitizerAlgorithm.cc.
References APVSaturationProb_, FirstLumiCalc_, PileupMixingContent::getMix_bunchCrossing(), PileupMixingContent::getMix_bunchSpacing(), PileupMixingContent::getMix_TrueInteractions(), and AlCaHLTBitMon_ParallelJobs::p.
void SiStripDigitizerAlgorithm::digitize | ( | edm::DetSet< SiStripDigi > & | outDigis, |
edm::DetSet< SiStripRawDigi > & | outRawDigis, | ||
edm::DetSet< StripDigiSimLink > & | outLink, | ||
const StripGeomDetUnit * | stripdet, | ||
edm::ESHandle< SiStripGain > & | gainHandle, | ||
edm::ESHandle< SiStripThreshold > & | thresholdHandle, | ||
edm::ESHandle< SiStripNoises > & | noiseHandle, | ||
edm::ESHandle< SiStripPedestals > & | pedestalHandle, | ||
std::vector< std::pair< int, std::bitset< 6 >>> & | theAffectedAPVvector, | ||
CLHEP::HepRandomEngine * | engine | ||
) |
Definition at line 266 of file SiStripDigitizerAlgorithm.cc.
References allBadChannels, APVSaturationFromHIP, APVSaturationProb_, associationInfoForDetId_, BaselineShift, cmnRMStec, cmnRMStib, cmnRMStid, cmnRMStob, CommonModeNoise, edm::DetSet< T >::data, firstChannelsWithSignal, FirstDigitize_, GeomDet::geographicalId(), lastChannelsWithSignal, mapOfAPVprobabilities, noise, NumberOfBxBetweenHIPandEvent, pedOffset, PreMixing_, edm::DetSet< T >::push_back(), DetId::rawId(), RealPedestals, SingleStripNoise, SiStripTrackerAffectedAPVMap, StripGeomDetUnit::specificTopology(), DetId::subdetId(), groupFilesInBlocks::temp, theElectronPerADC, theSiDigitalConverter, theSiNoiseAdder, theSiPileUpSignals, theSiZeroSuppress, and zeroSuppression.
void SiStripDigitizerAlgorithm::initializeDetUnit | ( | StripGeomDetUnit const * | det, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 102 of file SiStripDigitizerAlgorithm.cc.
References allBadChannels, firstChannelsWithSignal, SiStripBadStrip::data::firstStrip, fs, GeomDet::geographicalId(), edm::EventSetup::get(), lastChannelsWithSignal, SiStripBadStrip::data::range, DetId::rawId(), and StripGeomDetUnit::specificTopology().
void SiStripDigitizerAlgorithm::initializeEvent | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 130 of file SiStripDigitizerAlgorithm.cc.
References APVSaturationProb_, APVSaturationProbScaling_, associationInfoForDetId_, FirstDigitize_, FirstLumiCalc_, edm::EventSetup::get(), edm::EventSetup::getData(), lorentzAngleHandle, lorentzAngleName, pdt, setParticleDataTable(), SiStripTrackerAffectedAPVMap, and theSiPileUpSignals.
|
inline |
Definition at line 96 of file SiStripDigitizerAlgorithm.h.
References pdt, and theSiHitDigitizer.
Referenced by initializeEvent().
|
private |
Definition at line 143 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and initializeDetUnit().
|
private |
Definition at line 144 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 168 of file SiStripDigitizerAlgorithm.h.
Referenced by SiStripDigitizerAlgorithm().
|
private |
Definition at line 170 of file SiStripDigitizerAlgorithm.h.
Referenced by SiStripDigitizerAlgorithm().
|
private |
Definition at line 116 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and SiStripDigitizerAlgorithm().
|
private |
Definition at line 132 of file SiStripDigitizerAlgorithm.h.
Referenced by calculateInstlumiScale(), digitize(), and initializeEvent().
|
private |
Definition at line 108 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 166 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeEvent().
|
private |
Definition at line 115 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 107 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 104 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 106 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 105 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 114 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and SiStripDigitizerAlgorithm().
|
private |
Definition at line 124 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 146 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeDetUnit().
|
private |
Definition at line 134 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and initializeEvent().
|
private |
Definition at line 133 of file SiStripDigitizerAlgorithm.h.
Referenced by calculateInstlumiScale(), and initializeEvent().
|
private |
Definition at line 125 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 147 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeDetUnit().
|
private |
Definition at line 150 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), and initializeEvent().
|
private |
Definition at line 102 of file SiStripDigitizerAlgorithm.h.
Referenced by initializeEvent().
|
private |
Definition at line 109 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 171 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and SiStripDigitizerAlgorithm().
|
private |
Definition at line 111 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 173 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 130 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 129 of file SiStripDigitizerAlgorithm.h.
Referenced by initializeEvent(), and setParticleDataTable().
|
private |
Definition at line 110 of file SiStripDigitizerAlgorithm.h.
Referenced by SiStripDigitizerAlgorithm().
|
private |
Definition at line 126 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 127 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and SiStripDigitizerAlgorithm().
|
private |
Definition at line 112 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 113 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and SiStripDigitizerAlgorithm().
|
private |
Definition at line 172 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize(), and initializeEvent().
|
private |
Definition at line 120 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 118 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 139 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 136 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), and setParticleDataTable().
|
private |
Definition at line 138 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 137 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeEvent().
|
private |
Definition at line 140 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 103 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 122 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 121 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 123 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 119 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().