CMS 3D CMS Logo

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

#include <DataMixingSiStripMCDigiWorker.h>

Classes

class  StrictWeakOrdering
 
class  StrictWeakRawOrdering
 

Public Member Functions

void addSiStripPileups (const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
 
void addSiStripSignals (const edm::Event &e)
 
 DataMixingSiStripMCDigiWorker ()
 
 DataMixingSiStripMCDigiWorker (const edm::ParameterSet &ps, edm::ConsumesCollector &&iC)
 
void DMinitializeDetUnit (StripGeomDetUnit const *det, const edm::EventSetup &iSetup)
 
virtual void initializeEvent (const edm::Event &e, edm::EventSetup const &iSetup)
 
void putSiStrip (edm::Event &e, edm::EventSetup const &iSetup)
 
virtual ~DataMixingSiStripMCDigiWorker ()
 

Private Types

typedef float Amplitude
 
typedef
SiDigitalConverter::DigitalVecType 
DigitalVecType
 
typedef std::vector< SiStripDigiOneDetectorMap
 
typedef std::vector< RawDigiOneDetectorRawMap
 
typedef std::pair< uint16_t,
Amplitude
RawDigi
 
typedef std::map< uint32_t,
OneDetectorMap
SiGlobalIndex
 
typedef std::map< uint32_t,
OneDetectorRawMap
SiGlobalRawIndex
 
typedef std::map< uint32_t,
SignalMapType
signalMaps
 
typedef std::map< int, AmplitudeSignalMapType
 

Private Member Functions

const SignalMapTypegetSignal (uint32_t detID) const
 

Private Attributes

std::map< unsigned int,
std::vector< bool > > 
allBadChannels
 
std::map< unsigned int, size_t > firstChannelsWithSignal
 
std::string gainLabel
 
std::string geometryType
 
std::string label_
 
std::map< unsigned int, size_t > lastChannelsWithSignal
 
edm::ESHandle< TrackerGeometrypDD
 
bool peakMode
 
signalMaps signals_
 
SiGlobalIndex SiHitStorage_
 
SiGlobalRawIndex SiRawDigis_
 
std::string SiStripDigiCollectionDM_
 
edm::InputTag SistripLabelSig_
 
edm::InputTag SiStripPileInputTag_
 
double theElectronPerADC
 
int theFedAlgo
 
std::unique_ptr
< SiTrivialDigitalConverter
theSiDigitalConverter
 
std::unique_ptr
< SiGaussianTailNoiseAdder
theSiNoiseAdder
 
std::unique_ptr
< SiStripFedZeroSuppression
theSiZeroSuppress
 
double theThreshold
 

Detailed Description

Definition at line 53 of file DataMixingSiStripMCDigiWorker.h.

Member Typedef Documentation

Definition at line 83 of file DataMixingSiStripMCDigiWorker.h.

Definition at line 90 of file DataMixingSiStripMCDigiWorker.h.

Definition at line 85 of file DataMixingSiStripMCDigiWorker.h.

Definition at line 86 of file DataMixingSiStripMCDigiWorker.h.

typedef std::pair<uint16_t, Amplitude> edm::DataMixingSiStripMCDigiWorker::RawDigi
private

Definition at line 84 of file DataMixingSiStripMCDigiWorker.h.

Definition at line 87 of file DataMixingSiStripMCDigiWorker.h.

Definition at line 88 of file DataMixingSiStripMCDigiWorker.h.

Definition at line 101 of file DataMixingSiStripMCDigiWorker.h.

Definition at line 100 of file DataMixingSiStripMCDigiWorker.h.

Constructor & Destructor Documentation

DataMixingSiStripMCDigiWorker::DataMixingSiStripMCDigiWorker ( )

Definition at line 30 of file DataMixingSiStripMCDigiWorker.cc.

DataMixingSiStripMCDigiWorker::DataMixingSiStripMCDigiWorker ( const edm::ParameterSet ps,
edm::ConsumesCollector &&  iC 
)
explicit

standard constructor

Definition at line 33 of file DataMixingSiStripMCDigiWorker.cc.

DataMixingSiStripMCDigiWorker::~DataMixingSiStripMCDigiWorker ( )
virtual

Default destructor

Definition at line 78 of file DataMixingSiStripMCDigiWorker.cc.

Member Function Documentation

void DataMixingSiStripMCDigiWorker::addSiStripPileups ( const int  bcr,
const edm::EventPrincipal ep,
unsigned int  EventId,
ModuleCallingContext const *  mcc 
)

Definition at line 155 of file DataMixingSiStripMCDigiWorker.cc.

void DataMixingSiStripMCDigiWorker::addSiStripSignals ( const edm::Event e)

Definition at line 127 of file DataMixingSiStripMCDigiWorker.cc.

void DataMixingSiStripMCDigiWorker::DMinitializeDetUnit ( StripGeomDetUnit const *  det,
const edm::EventSetup iSetup 
)

Definition at line 105 of file DataMixingSiStripMCDigiWorker.cc.

const SignalMapType* edm::DataMixingSiStripMCDigiWorker::getSignal ( uint32_t  detID) const
inlineprivate

Definition at line 103 of file DataMixingSiStripMCDigiWorker.h.

References signals_.

103  {
104  auto where = signals_.find(detID);
105  if(where == signals_.end()) {
106  return 0;
107  }
108  return &where->second;
109  }
void DataMixingSiStripMCDigiWorker::initializeEvent ( const edm::Event e,
edm::EventSetup const &  iSetup 
)
virtual

Definition at line 81 of file DataMixingSiStripMCDigiWorker.cc.

void DataMixingSiStripMCDigiWorker::putSiStrip ( edm::Event e,
edm::EventSetup const &  iSetup 
)

Definition at line 212 of file DataMixingSiStripMCDigiWorker.cc.

Member Data Documentation

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

Definition at line 131 of file DataMixingSiStripMCDigiWorker.h.

std::map<unsigned int, size_t> edm::DataMixingSiStripMCDigiWorker::firstChannelsWithSignal
private

Definition at line 133 of file DataMixingSiStripMCDigiWorker.h.

std::string edm::DataMixingSiStripMCDigiWorker::gainLabel
private

Definition at line 117 of file DataMixingSiStripMCDigiWorker.h.

std::string edm::DataMixingSiStripMCDigiWorker::geometryType
private

Definition at line 122 of file DataMixingSiStripMCDigiWorker.h.

std::string edm::DataMixingSiStripMCDigiWorker::label_
private

Definition at line 115 of file DataMixingSiStripMCDigiWorker.h.

std::map<unsigned int, size_t> edm::DataMixingSiStripMCDigiWorker::lastChannelsWithSignal
private

Definition at line 134 of file DataMixingSiStripMCDigiWorker.h.

edm::ESHandle<TrackerGeometry> edm::DataMixingSiStripMCDigiWorker::pDD
private

Definition at line 128 of file DataMixingSiStripMCDigiWorker.h.

bool edm::DataMixingSiStripMCDigiWorker::peakMode
private

Definition at line 118 of file DataMixingSiStripMCDigiWorker.h.

signalMaps edm::DataMixingSiStripMCDigiWorker::signals_
private

Definition at line 111 of file DataMixingSiStripMCDigiWorker.h.

Referenced by getSignal().

SiGlobalIndex edm::DataMixingSiStripMCDigiWorker::SiHitStorage_
private

Definition at line 92 of file DataMixingSiStripMCDigiWorker.h.

SiGlobalRawIndex edm::DataMixingSiStripMCDigiWorker::SiRawDigis_
private

Definition at line 93 of file DataMixingSiStripMCDigiWorker.h.

std::string edm::DataMixingSiStripMCDigiWorker::SiStripDigiCollectionDM_
private

Definition at line 79 of file DataMixingSiStripMCDigiWorker.h.

edm::InputTag edm::DataMixingSiStripMCDigiWorker::SistripLabelSig_
private

Definition at line 77 of file DataMixingSiStripMCDigiWorker.h.

edm::InputTag edm::DataMixingSiStripMCDigiWorker::SiStripPileInputTag_
private

Definition at line 78 of file DataMixingSiStripMCDigiWorker.h.

double edm::DataMixingSiStripMCDigiWorker::theElectronPerADC
private

Definition at line 120 of file DataMixingSiStripMCDigiWorker.h.

int edm::DataMixingSiStripMCDigiWorker::theFedAlgo
private

Definition at line 121 of file DataMixingSiStripMCDigiWorker.h.

std::unique_ptr<SiTrivialDigitalConverter> edm::DataMixingSiStripMCDigiWorker::theSiDigitalConverter
private

Definition at line 126 of file DataMixingSiStripMCDigiWorker.h.

std::unique_ptr<SiGaussianTailNoiseAdder> edm::DataMixingSiStripMCDigiWorker::theSiNoiseAdder
private

Definition at line 124 of file DataMixingSiStripMCDigiWorker.h.

std::unique_ptr<SiStripFedZeroSuppression> edm::DataMixingSiStripMCDigiWorker::theSiZeroSuppress
private

Definition at line 125 of file DataMixingSiStripMCDigiWorker.h.

double edm::DataMixingSiStripMCDigiWorker::theThreshold
private

Definition at line 119 of file DataMixingSiStripMCDigiWorker.h.