CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DataMixingMuonWorker.h
Go to the documentation of this file.
1 #ifndef DataMixingMuonWorker_h
2 #define SimDataMixingMuonWorker_h
3 
20 
23 
24 //DT
26 //RPC
28 //CSC
32 
33 #include <map>
34 #include <vector>
35 #include <string>
36 
37 
38 namespace edm
39 {
41  {
42  public:
43 
45 
47  explicit DataMixingMuonWorker(const edm::ParameterSet& ps);
48 
50  virtual ~DataMixingMuonWorker();
51 
52  void putMuon(edm::Event &e) ;
53  void addMuonSignals(const edm::Event &e);
54  void addMuonPileups(const int bcr, const edm::EventPrincipal*,unsigned int EventId);
55 
56 
57  private:
58  // data specifiers
59 
60  edm::InputTag DTdigi_collectionSig_; // secondary name given to collection of DT digis
61  edm::InputTag RPCdigi_collectionSig_; // secondary name given to collection of RPC digis
62  edm::InputTag CSCDigiTagSig_; // primary? name given to collection of CSC digis
63  edm::InputTag DTDigiTagSig_; // primary? name given to collection of DT digis
64  edm::InputTag RPCDigiTagSig_; // primary? name given to collection of RPC digis
65  edm::InputTag CSCstripdigi_collectionSig_; // secondary name given to collection of CSC Strip digis
66  edm::InputTag CSCwiredigi_collectionSig_; // secondary name given to collection of CSC wire digis
67  edm::InputTag CSCCompdigi_collectionSig_; // secondary name given to collection of CSC wire digis
68 
69  edm::InputTag DTPileInputTag_ ; // InputTag for pileup DTs
70  edm::InputTag RPCPileInputTag_ ; // InputTag for pileup RPCs
71  edm::InputTag CSCWirePileInputTag_ ; // InputTag for pileup CSC Wires
72  edm::InputTag CSCStripPileInputTag_ ; // InputTag for pileup CSC Strips
73  edm::InputTag CSCCompPileInputTag_ ; // InputTag for pileup CSC Comparators
74 
75  std::string DTDigiCollectionDM_; // secondary name to be given to new DT digis
76  std::string RPCDigiCollectionDM_; // secondary name to be given to new RPC digis
77  std::string CSCStripDigiCollectionDM_; // secondary name given to new collection of CSC Strip digis
78  std::string CSCWireDigiCollectionDM_; // secondary name given to new collection of CSC wire digis
79  std::string CSCComparatorDigiCollectionDM_; // secondary name given to new collection of CSC comparator digis
80 
81  // just hold our own DigiCollections - order of digis in layer doesn't appear to matter...
82  // will make a copy and put this back into the event...
83 
89 
90  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
91 
93 
94  };
95 }//edm
96 
97 #endif
void addMuonSignals(const edm::Event &e)
edm::InputTag CSCwiredigi_collectionSig_
CSCStripDigiCollection * OurCSCStripDigis_
DTDigiCollection * OurDTDigis_
RPCDigiCollection * OurRPCDigis_
CSCWireDigiCollection * OurCSCWireDigis_
CSCComparatorDigiCollection * OurCSCComparatorDigis_
void addMuonPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId)
edm::InputTag CSCCompdigi_collectionSig_
edm::InputTag CSCstripdigi_collectionSig_