Go to the documentation of this file. 1 #ifndef SiStripDigitizerAlgorithm_h
2 #define SiStripDigitizerAlgorithm_h
53 class HepRandomEngine;
76 const std::vector<PSimHit>::const_iterator inputEnd,
77 size_t inputBeginGlobalIndex,
82 CLHEP::HepRandomEngine*);
95 bool simulateAPVInThisEvent,
97 std::vector<std::pair<
int, std::bitset<6>>>& theAffectedAPVvector,
98 CLHEP::HepRandomEngine*,
std::map< unsigned int, size_t > firstChannelsWithSignal
const double APVSaturationProbScaling_
int NumberOfBxBetweenHIPandEvent
const bool CommonModeNoise
const bool makeDigiSimLinks_
bool includeAPVSimulation_
const bool SingleStripNoise
std::map< uint32_t, AssociationInfoForChannel > AssociationInfoForDetId
const ParticleData * particle
std::map< unsigned int, std::vector< bool > > allHIPChannels
AssociationInfoForDetId associationInfoForDetId_
Structure that holds the information on the SimTrack contributions. Only filled if makeDigiSimLinks_ ...
void calculateInstlumiScale(PileupMixingContent *puInfo)
const double theTOFCutForDeconvolution
const double theThreshold
void initializeDetUnit(StripGeomDetUnit const *det, const edm::EventSetup &iSetup)
HepPDT::ParticleData ParticleData
size_t simHitGlobalIndex
The array index of the sim hit, but in the array for all crossings.
const ParticleDataTable * pdt
std::map< unsigned int, size_t > lastChannelsWithSignal
const edm::ESGetToken< SiStripBadStrip, SiStripBadChannelRcd > deadChannelToken_
const edm::ESGetToken< HepPDT::ParticleDataTable, PDTRecord > pdtToken_
std::map< int, float, std::less< int > > hit_map_type
SiDigitalConverter::DigitalRawVecType DigitalRawVecType
const double theElectronPerADC
~SiStripDigitizerAlgorithm()
std::map< unsigned int, std::vector< bool > > allBadChannels
const double inefficiency
std::vector< SiStripDigi > DigitalVecType
const std::unique_ptr< SiTrivialDigitalConverter > theSiDigitalConverter
std::map< int, std::vector< AssociationInfo > > AssociationInfoForChannel
const std::unique_ptr< SiHitDigitizer > theSiHitDigitizer
const double apv_maxResponse_
const std::unique_ptr< SiStripFedZeroSuppression > theSiZeroSuppress
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 setParticleDataTable(const ParticleDataTable *pardt)
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 *)
const bool zeroSuppression
std::map< int, Amplitude > SignalMapType
SiDigitalConverter::DigitalVecType DigitalVecType
const bool APVSaturationFromHIP
SiStripDigitizerAlgorithm(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
const std::unique_ptr< SiPileUpSignals > theSiPileUpSignals
std::map< int, float > mapOfAPVprobabilities
double APVSaturationProb_
const std::unique_ptr< const SiGaussianTailNoiseAdder > theSiNoiseAdder
edm::ESHandle< SiStripLorentzAngle > lorentzAngleHandle
const double theTOFCutForPeak
const double apv_fCPerElectron_
HepPDT::ParticleDataTable ParticleDataTable
edm::FileInPath APVProbabilityFile
void initializeEvent(const edm::EventSetup &iSetup)
std::vector< SiStripRawDigi > DigitalRawVecType
std::map< int, std::bitset< 6 > > SiStripTrackerAffectedAPVMap
SiPileUpSignals::SignalMapType SignalMapType
std::ifstream APVProbaFile
const edm::ESGetToken< SiStripLorentzAngle, SiStripLorentzAngleSimRcd > lorentzAngleToken_