CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Private Types | Private Attributes
SiStripDigitizerAlgorithm Class Reference

#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 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 > &, 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
 

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 ParticleDataparticle
 
const ParticleDataTablepdt
 
const bool peakMode
 
const double pedOffset
 
const bool PreMixing_
 
const bool RealPedestals
 
const bool SingleStripNoise
 
const double theElectronPerADC
 
const int theFedAlgo
 
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
 

Detailed Description

SiStripDigitizerAlgorithm converts hits to digis

Definition at line 49 of file SiStripDigitizerAlgorithm.h.

Member Typedef Documentation

Definition at line 55 of file SiStripDigitizerAlgorithm.h.

typedef std::map<int, std::vector<AssociationInfo> > SiStripDigitizerAlgorithm::AssociationInfoForChannel
private

Definition at line 151 of file SiStripDigitizerAlgorithm.h.

Definition at line 152 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.

Constructor & Destructor Documentation

SiStripDigitizerAlgorithm::SiStripDigitizerAlgorithm ( const edm::ParameterSet conf)

Definition at line 33 of file SiStripDigitizerAlgorithm.cc.

SiStripDigitizerAlgorithm::~SiStripDigitizerAlgorithm ( )

Definition at line 76 of file SiStripDigitizerAlgorithm.cc.

Member Function Documentation

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 117 of file SiStripDigitizerAlgorithm.cc.

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,
CLHEP::HepRandomEngine *  engine 
)

Definition at line 222 of file SiStripDigitizerAlgorithm.cc.

void SiStripDigitizerAlgorithm::initializeDetUnit ( StripGeomDetUnit const *  det,
const edm::EventSetup iSetup 
)

Definition at line 80 of file SiStripDigitizerAlgorithm.cc.

void SiStripDigitizerAlgorithm::initializeEvent ( const edm::EventSetup iSetup)

Definition at line 101 of file SiStripDigitizerAlgorithm.cc.

void SiStripDigitizerAlgorithm::setParticleDataTable ( const ParticleDataTable pardt)
inline

Definition at line 89 of file SiStripDigitizerAlgorithm.h.

Member Data Documentation

std::map<unsigned int, std::vector<bool> > SiStripDigitizerAlgorithm::allBadChannels
private

Definition at line 132 of file SiStripDigitizerAlgorithm.h.

const bool SiStripDigitizerAlgorithm::APVSaturationFromHIP
private

Definition at line 109 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::APVSaturationProb
private

Definition at line 101 of file SiStripDigitizerAlgorithm.h.

AssociationInfoForDetId SiStripDigitizerAlgorithm::associationInfoForDetId_
private

Structure that holds the information on the SimTrack contributions. Only filled if makeDigiSimLinks_ is true.

Definition at line 154 of file SiStripDigitizerAlgorithm.h.

const bool SiStripDigitizerAlgorithm::BaselineShift
private

Definition at line 108 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::cmnRMStec
private

Definition at line 100 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::cmnRMStib
private

Definition at line 97 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::cmnRMStid
private

Definition at line 99 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::cmnRMStob
private

Definition at line 98 of file SiStripDigitizerAlgorithm.h.

const bool SiStripDigitizerAlgorithm::CommonModeNoise
private

Definition at line 107 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::cosmicShift
private

Definition at line 117 of file SiStripDigitizerAlgorithm.h.

std::map<unsigned int, size_t> SiStripDigitizerAlgorithm::firstChannelsWithSignal
private

Definition at line 134 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::inefficiency
private

Definition at line 118 of file SiStripDigitizerAlgorithm.h.

std::map<unsigned int, size_t> SiStripDigitizerAlgorithm::lastChannelsWithSignal
private

Definition at line 135 of file SiStripDigitizerAlgorithm.h.

edm::ESHandle<SiStripLorentzAngle> SiStripDigitizerAlgorithm::lorentzAngleHandle
private

Definition at line 138 of file SiStripDigitizerAlgorithm.h.

const std::string SiStripDigitizerAlgorithm::lorentzAngleName
private

Definition at line 95 of file SiStripDigitizerAlgorithm.h.

const bool SiStripDigitizerAlgorithm::makeDigiSimLinks_
private

Definition at line 102 of file SiStripDigitizerAlgorithm.h.

const bool SiStripDigitizerAlgorithm::noise
private

Definition at line 104 of file SiStripDigitizerAlgorithm.h.

const ParticleData* SiStripDigitizerAlgorithm::particle
private

Definition at line 123 of file SiStripDigitizerAlgorithm.h.

const ParticleDataTable* SiStripDigitizerAlgorithm::pdt
private

Definition at line 122 of file SiStripDigitizerAlgorithm.h.

const bool SiStripDigitizerAlgorithm::peakMode
private

Definition at line 103 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::pedOffset
private

Definition at line 119 of file SiStripDigitizerAlgorithm.h.

const bool SiStripDigitizerAlgorithm::PreMixing_
private

Definition at line 120 of file SiStripDigitizerAlgorithm.h.

const bool SiStripDigitizerAlgorithm::RealPedestals
private

Definition at line 105 of file SiStripDigitizerAlgorithm.h.

const bool SiStripDigitizerAlgorithm::SingleStripNoise
private

Definition at line 106 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::theElectronPerADC
private

Definition at line 113 of file SiStripDigitizerAlgorithm.h.

const int SiStripDigitizerAlgorithm::theFedAlgo
private

Definition at line 111 of file SiStripDigitizerAlgorithm.h.

const std::unique_ptr<SiTrivialDigitalConverter> SiStripDigitizerAlgorithm::theSiDigitalConverter
private

Definition at line 128 of file SiStripDigitizerAlgorithm.h.

const std::unique_ptr<SiHitDigitizer> SiStripDigitizerAlgorithm::theSiHitDigitizer
private

Definition at line 125 of file SiStripDigitizerAlgorithm.h.

const std::unique_ptr<const SiGaussianTailNoiseAdder> SiStripDigitizerAlgorithm::theSiNoiseAdder
private

Definition at line 127 of file SiStripDigitizerAlgorithm.h.

const std::unique_ptr<SiPileUpSignals> SiStripDigitizerAlgorithm::theSiPileUpSignals
private

Definition at line 126 of file SiStripDigitizerAlgorithm.h.

const std::unique_ptr<SiStripFedZeroSuppression> SiStripDigitizerAlgorithm::theSiZeroSuppress
private

Definition at line 129 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::theThreshold
private

Definition at line 96 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::theTOFCutForDeconvolution
private

Definition at line 115 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::theTOFCutForPeak
private

Definition at line 114 of file SiStripDigitizerAlgorithm.h.

const double SiStripDigitizerAlgorithm::tofCut
private

Definition at line 116 of file SiStripDigitizerAlgorithm.h.

const bool SiStripDigitizerAlgorithm::zeroSuppression
private

Definition at line 112 of file SiStripDigitizerAlgorithm.h.