1 #ifndef DataMixingSiPixelMCDigiWorker_h
2 #define DataMixingSiPixelMCDigiWorker_h
46 class HepRandomEngine;
51 class ModuleCallingContext;
71 void setPileupInfo(
const std::vector<PileupSummaryInfo> &ps,
const int &bs);
103 std::map<uint32_t, size_t >
iPU;
void init_DynIneffDB(const edm::EventSetup &, const unsigned int &)
std::multimap< int, PixelDigi > OneDetectorMap
SiGlobalIndex SiHitStorage_
double theInnerEfficiency_FPix[20]
signal_map_type::iterator signal_map_iterator
std::vector< double > theModuleEfficiency_BPix[20]
const int NumberOfEndcapDisks
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > PixelDigiToken_
const std::string geometryType_
virtual void initializeEvent(edm::Event const &e, edm::EventSetup const &c)
double theInstLumiScaleFactor
std::map< uint32_t, double > PixelGeomFactors
const bool AddPixelInefficiency
signal_map_type::const_iterator signal_map_const_iterator
bool matches(const DetId &, const DetId &, const std::vector< uint32_t > &)
double thePixelColEfficiency[20]
edm::ESHandle< SiPixelDynamicInefficiency > SiPixelDynamicInefficiency_
std::map< int, Amplitude, std::less< int > > signal_map_type
PixelEfficiencies pixelEff_
std::vector< double > theLadderEfficiency_BPix[20]
std::map< uint32_t, double > ChipGeomFactors
void init_from_db(const edm::ESHandle< TrackerGeometry > &, const edm::ESHandle< SiPixelDynamicInefficiency > &)
std::map< uint32_t, signal_map_type > signalMaps
std::map< uint32_t, double > ColGeomFactors
void setPileupInfo(const std::vector< PileupSummaryInfo > &ps, const int &bs)
edm::InputTag pixeldigi_collectionSig_
std::map< uint32_t, OneDetectorMap > SiGlobalIndex
const int NumberOfBarrelLayers
std::string PixelDigiCollectionDM_
std::vector< double > pu_scale
void addSiPixelPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
double theOuterEfficiency_FPix[20]
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > PixelDigiPToken_
double thePixelEfficiency[20]
DataMixingSiPixelMCDigiWorker()
void addSiPixelSignals(const edm::Event &e)
PixelEfficiencies(const edm::ParameterSet &conf, bool AddPixelInefficiency, int NumberOfBarrelLayers, int NumberOfEndcapDisks)
edm::InputTag pixeldigi_collectionPile_
virtual ~DataMixingSiPixelMCDigiWorker()
std::map< uint32_t, size_t > iPU
edm::ESHandle< TrackerGeometry > pDD
void putSiPixel(edm::Event &e, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > &ps, int &bs)
std::vector< std::vector< double > > thePUEfficiency
double thePixelChipEfficiency[20]