CMS 3D CMS Logo

GEMDigiModule.h
Go to the documentation of this file.
1 #ifndef SimMuon_GEMDigitizer_GEMDigiModule_h
2 #define SimMuon_GEMDigitizer_GEMDigiModule_h
3 
22 
23 #include <map>
24 #include <set>
25 
26 namespace CLHEP {
27  class HepRandomEngine;
28 }
29 
30 class GEMDigiModel;
31 class GEMEtaPartition;
32 class GEMGeometry;
33 class PSimHit;
34 
36 public:
38 
40 
43 
44  void setGeometry(const GEMGeometry*);
45 
46  void simulate(const GEMEtaPartition*, const edm::PSimHitContainer&, CLHEP::HepRandomEngine*);
47 
48  void fillDigis(int rollDetId, GEMDigiCollection&);
49 
52 
53 private:
55 
56  std::vector<std::unique_ptr<GEMDigiModel> > models;
57 
59  void addLinks(unsigned int strip, int bx);
60  void addLinksWithPartId(unsigned int strip, int bx);
61 
66 };
67 #endif
GEMDigiModule::~GEMDigiModule
~GEMDigiModule()
GEMDigiModule::gemDigiSimLinks
const GEMDigiSimLinks & gemDigiSimLinks() const
Definition: GEMDigiModule.h:51
edm::DetSet< StripDigiSimLink >
GEMDigiModule::setGeometry
void setGeometry(const GEMGeometry *)
Definition: GEMDigiModule.cc:107
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
PSimHitContainer.h
GEMEtaPartition
Definition: GEMEtaPartition.h:12
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
GEMDigiModule::StripDigiSimLinks
edm::DetSet< StripDigiSimLink > StripDigiSimLinks
Definition: GEMDigiModule.h:41
GEMDigiModule::detectorHitMap_
DetectorHitMap detectorHitMap_
Definition: GEMDigiModule.h:63
GEMDigiModule::fillDigis
void fillDigis(int rollDetId, GEMDigiCollection &)
Definition: GEMDigiModule.cc:37
GEMDigiModule::geometry_
const GEMGeometry * geometry_
Definition: GEMDigiModule.h:54
GEMDigiModel
Definition: GEMDigiModel.h:37
GEMDigiModule::strips_
Strips strips_
Definition: GEMDigiModule.h:62
GEMDigiModule::stripDigiSimLinks
const StripDigiSimLinks & stripDigiSimLinks() const
Definition: GEMDigiModule.h:50
GEMDigiModule::simulate
void simulate(const GEMEtaPartition *, const edm::PSimHitContainer &, CLHEP::HepRandomEngine *)
Definition: GEMDigiModule.cc:23
MixCollection.h
GEMDigiModule::GEMDigiModule
GEMDigiModule(const edm::ParameterSet &)
Definition: GEMDigiModule.cc:9
Strips
std::set< std::pair< int, int > > Strips
Definition: GEMDigiModel.h:31
DetectorHitMap
std::multimap< std::pair< unsigned int, int >, const PSimHit *, std::less< std::pair< unsigned int, int > > > DetectorHitMap
Definition: GEMDigiModel.h:35
CLHEP
Definition: CocoaGlobals.h:27
edm::ParameterSet
Definition: ParameterSet.h:47
GEMDigiModule::theGemDigiSimLinks_
GEMDigiSimLinks theGemDigiSimLinks_
Definition: GEMDigiModule.h:65
GEMDigiModule::addLinks
void addLinks(unsigned int strip, int bx)
creates links from Digi to SimTrack
Definition: GEMDigiModule.cc:50
GEMDigiModule
Definition: GEMDigiModule.h:35
GEMDigiModel.h
GEMDigiCollection
GEMDigiModule::addLinksWithPartId
void addLinksWithPartId(unsigned int strip, int bx)
Definition: GEMDigiModule.cc:84
EventSetup.h
GEMDigiModule::models
std::vector< std::unique_ptr< GEMDigiModel > > models
Definition: GEMDigiModule.h:56
GEMDigiCollection.h
GEMDigiModule::GEMDigiSimLinks
edm::DetSet< GEMDigiSimLink > GEMDigiSimLinks
Definition: GEMDigiModule.h:42
GEMGeometry
Definition: GEMGeometry.h:24
DetSet.h
edm::PSimHitContainer
std::vector< PSimHit > PSimHitContainer
Definition: PSimHitContainer.h:11
ParameterSet.h
PSimHit
Definition: PSimHit.h:15
GEMDigiModule::stripDigiSimLinks_
StripDigiSimLinks stripDigiSimLinks_
Definition: GEMDigiModule.h:64