#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, const StripGeomDetUnit *stripdet, const GlobalVector &bfield, const TrackerTopology *tTopo) |
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 > &) |
void | initializeDetUnit (StripGeomDetUnit *det, const edm::EventSetup &iSetup) |
void | initializeEvent (const edm::EventSetup &iSetup) |
void | setParticleDataTable (const ParticleDataTable *pardt) |
SiStripDigitizerAlgorithm (const edm::ParameterSet &conf, CLHEP::HepRandomEngine &) | |
~SiStripDigitizerAlgorithm () | |
Private Types | |
typedef std::map< int, std::vector< AssociationInfo > > | AssociationInfoForChannel |
typedef std::map< uint32_t, AssociationInfoForChannel > | AssociationInfoForDetId |
Private Attributes | |
std::map< unsigned int, std::vector< bool > > | allBadChannels |
const bool | APVSaturationFromHIP |
const double | APVSaturationProb |
AssociationInfoForDetId | associationInfoForDetId_ |
Structure that holds the information on the SimTrack contributions. Only filled if makeDigiSimLinks_ is true. More... | |
const bool | BaselineShift |
const double | cmnRMStec |
const double | cmnRMStib |
const double | cmnRMStid |
const double | cmnRMStob |
const bool | CommonModeNoise |
const double | cosmicShift |
std::map< unsigned int, size_t > | firstChannelsWithSignal |
const double | inefficiency |
std::map< unsigned int, size_t > | lastChannelsWithSignal |
edm::ESHandle < SiStripLorentzAngle > | lorentzAngleHandle |
const std::string | lorentzAngleName |
const bool | makeDigiSimLinks_ |
const bool | noise |
const ParticleData * | particle |
const ParticleDataTable * | pdt |
const bool | peakMode |
const double | pedOffset |
const bool | RealPedestals |
const bool | SingleStripNoise |
const double | theElectronPerADC |
const int | theFedAlgo |
const std::unique_ptr < CLHEP::RandFlat > | theFlatDistribution |
const std::unique_ptr < SiTrivialDigitalConverter > | theSiDigitalConverter |
const std::unique_ptr < SiHitDigitizer > | theSiHitDigitizer |
const std::unique_ptr< const SiGaussianTailNoiseAdder > | theSiNoiseAdder |
const std::unique_ptr < SiPileUpSignals > | theSiPileUpSignals |
const std::unique_ptr < SiStripFedZeroSuppression > | theSiZeroSuppress |
const double | theThreshold |
const double | theTOFCutForDeconvolution |
const double | theTOFCutForPeak |
const double | tofCut |
const bool | zeroSuppression |
SiStripDigitizerAlgorithm converts hits to digis
Definition at line 49 of file SiStripDigitizerAlgorithm.h.
typedef float SiStripDigitizerAlgorithm::Amplitude |
Definition at line 55 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 148 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 149 of file SiStripDigitizerAlgorithm.h.
Definition at line 52 of file SiStripDigitizerAlgorithm.h.
Definition at line 51 of file SiStripDigitizerAlgorithm.h.
typedef std::map< int, float, std::less<int> > SiStripDigitizerAlgorithm::hit_map_type |
Definition at line 54 of file SiStripDigitizerAlgorithm.h.
Definition at line 53 of file SiStripDigitizerAlgorithm.h.
SiStripDigitizerAlgorithm::SiStripDigitizerAlgorithm | ( | const edm::ParameterSet & | conf, |
CLHEP::HepRandomEngine & | eng | ||
) |
Definition at line 29 of file SiStripDigitizerAlgorithm.cc.
References LogDebug, and peakMode.
SiStripDigitizerAlgorithm::~SiStripDigitizerAlgorithm | ( | ) |
Definition at line 68 of file SiStripDigitizerAlgorithm.cc.
void SiStripDigitizerAlgorithm::accumulateSimHits | ( | const std::vector< PSimHit >::const_iterator | inputBegin, |
const std::vector< PSimHit >::const_iterator | inputEnd, | ||
size_t | inputBeginGlobalIndex, | ||
const StripGeomDetUnit * | stripdet, | ||
const GlobalVector & | bfield, | ||
const TrackerTopology * | tTopo | ||
) |
Definition at line 109 of file SiStripDigitizerAlgorithm.cc.
References allBadChannels, APVSaturationFromHIP, APVSaturationProb, associationInfoForDetId_, DeDxDiscriminatorTools::charge(), cosmicShift, gather_cfg::cout, firstChannelsWithSignal, GeomDet::geographicalId(), inefficiency, edm::ESHandleBase::isValid(), lastChannelsWithSignal, lorentzAngleHandle, mag(), makeDigiSimLinks_, NULL, particle, pdt, DetId::rawId(), StripGeomDetUnit::specificTopology(), GeomDet::surface(), theFlatDistribution, theSiHitDigitizer, theSiPileUpSignals, tofCut, Surface::toGlobal(), and zeroSuppression.
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 | ||
) |
Definition at line 212 of file SiStripDigitizerAlgorithm.cc.
References allBadChannels, associationInfoForDetId_, BaselineShift, cmnRMStec, cmnRMStib, cmnRMStid, cmnRMStob, CommonModeNoise, edm::DetSet< T >::data, firstChannelsWithSignal, GeomDet::geographicalId(), lastChannelsWithSignal, noise, pedOffset, edm::DetSet< T >::push_back(), DetId::rawId(), RealPedestals, SingleStripNoise, StripGeomDetUnit::specificTopology(), DetId::subdetId(), theElectronPerADC, theSiDigitalConverter, theSiNoiseAdder, theSiPileUpSignals, theSiZeroSuppress, and zeroSuppression.
void SiStripDigitizerAlgorithm::initializeDetUnit | ( | StripGeomDetUnit * | det, |
const edm::EventSetup & | iSetup | ||
) |
Definition at line 72 of file SiStripDigitizerAlgorithm.cc.
References allBadChannels, firstChannelsWithSignal, SiStripBadStrip::data::firstStrip, GeomDet::geographicalId(), edm::EventSetup::get(), lastChannelsWithSignal, SiStripBadStrip::data::range, DetId::rawId(), and StripGeomDetUnit::specificTopology().
void SiStripDigitizerAlgorithm::initializeEvent | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 93 of file SiStripDigitizerAlgorithm.cc.
References associationInfoForDetId_, edm::EventSetup::get(), edm::EventSetup::getData(), lorentzAngleHandle, lorentzAngleName, pdt, setParticleDataTable(), and theSiPileUpSignals.
|
inline |
Definition at line 86 of file SiStripDigitizerAlgorithm.h.
References pdt, and theSiHitDigitizer.
Referenced by initializeEvent().
|
private |
Definition at line 130 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeDetUnit().
|
private |
Definition at line 106 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 98 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Structure that holds the information on the SimTrack contributions. Only filled if makeDigiSimLinks_ is true.
Definition at line 151 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeEvent().
|
private |
Definition at line 105 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 97 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 94 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 96 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 95 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 104 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 114 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 132 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeDetUnit().
|
private |
Definition at line 115 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 133 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeDetUnit().
|
private |
Definition at line 136 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), and initializeEvent().
|
private |
Definition at line 92 of file SiStripDigitizerAlgorithm.h.
Referenced by initializeEvent().
|
private |
Definition at line 99 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 101 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 119 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 118 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), initializeEvent(), and setParticleDataTable().
|
private |
Definition at line 100 of file SiStripDigitizerAlgorithm.h.
Referenced by SiStripDigitizerAlgorithm().
|
private |
Definition at line 116 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 102 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 103 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 110 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 108 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 127 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 124 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 121 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), and setParticleDataTable().
|
private |
Definition at line 123 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 122 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), digitize(), and initializeEvent().
|
private |
Definition at line 125 of file SiStripDigitizerAlgorithm.h.
Referenced by digitize().
|
private |
Definition at line 93 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 112 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 111 of file SiStripDigitizerAlgorithm.h.
|
private |
Definition at line 113 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits().
|
private |
Definition at line 109 of file SiStripDigitizerAlgorithm.h.
Referenced by accumulateSimHits(), and digitize().