#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(), 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 228 of file SiStripDigitizerAlgorithm.cc.
References APVSaturationProb_, FirstLumiCalc_, PileupMixingContent::getMix_bunchCrossing(), PileupMixingContent::getMix_bunchSpacing(), PileupMixingContent::getMix_TrueInteractions(), muonGEMDigis_cfi::instLumi, AlCaHLTBitMon_ParallelJobs::p, and muons2muons_cfi::pu.
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, SiPixelPhase1TrackClustersV_cfi::e3, firstChannelsWithSignal, FirstDigitize_, GeomDet::geographicalId(), SiStripNoises::getNoise(), SiStripPedestals::getPed(), SiStripNoises::getRange(), SiStripPedestals::getRange(), SiStripGain::getRange(), SiStripGain::getStripGain(), createfilelist::int, lastChannelsWithSignal, mapOfAPVprobabilities, noise, NumberOfBxBetweenHIPandEvent, pedOffset, PreMixing_, edm::DetSet< T >::push_back(), DetId::rawId(), RealPedestals, SingleStripNoise, SiStripTrackerAffectedAPVMap, StripGeomDetUnit::specificTopology(), digitizers_cfi::strip, ntupleEnum::SubDet, 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, SiStripBadStrip::decode(), firstChannelsWithSignal, SiStripBadStrip::data::firstStrip, GeomDet::geographicalId(), edm::EventSetup::get(), SiStripBadStrip::getRange(), lastChannelsWithSignal, SiStripBadStrip::data::range, DetId::rawId(), StripGeomDetUnit::specificTopology(), and digitizers_cfi::strip.
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.
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().
|
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().
|
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().