CMS 3D CMS Logo

DataMixingMuonWorker.h
Go to the documentation of this file.
1 #ifndef SimDataMixingMuonWorker_h
2 #define SimDataMixingMuonWorker_h
3 
21 
24 
25 // DT
27 // RPC
29 // CSC
33 
34 #include <map>
35 #include <string>
36 #include <vector>
37 
38 namespace edm {
39  class ModuleCallingContext;
40 
42  public:
44 
47 
49  virtual ~DataMixingMuonWorker();
50 
51  void putMuon(edm::Event &e);
52  void addMuonSignals(const edm::Event &e);
53  void addMuonPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *);
54 
55  private:
56  // data specifiers
57 
58  edm::InputTag DTdigi_collectionSig_; // secondary name given to collection of DT digis
59  edm::InputTag RPCdigi_collectionSig_; // secondary name given to collection of RPC digis
60  edm::InputTag CSCDigiTagSig_; // primary? name given to collection of CSC digis
61  edm::InputTag DTDigiTagSig_; // primary? name given to collection of DT digis
62  edm::InputTag RPCDigiTagSig_; // primary? name given to collection of RPC digis
63  edm::InputTag CSCstripdigi_collectionSig_; // secondary name given to
64  // collection of CSC Strip digis
65  edm::InputTag CSCwiredigi_collectionSig_; // secondary name given to
66  // collection of CSC wire digis
67  edm::InputTag CSCCompdigi_collectionSig_; // secondary name given to
68  // collection of CSC wire digis
69 
70  edm::InputTag DTPileInputTag_; // InputTag for pileup DTs
71  edm::InputTag RPCPileInputTag_; // InputTag for pileup RPCs
72  edm::InputTag CSCWirePileInputTag_; // InputTag for pileup CSC Wires
73  edm::InputTag CSCStripPileInputTag_; // InputTag for pileup CSC Strips
74  edm::InputTag CSCCompPileInputTag_; // InputTag for pileup CSC Comparators
75 
76  edm::EDGetTokenT<DTDigiCollection> DTDigiToken_; // Token to retrieve information
80  edm::EDGetTokenT<RPCDigiCollection> RPCDigiToken_; // Token to retrieve information
81 
82  edm::EDGetTokenT<DTDigiCollection> DTDigiPToken_; // Token to retrieve information
86  edm::EDGetTokenT<RPCDigiCollection> RPCDigiPToken_; // Token to retrieve information
87 
88  std::string DTDigiCollectionDM_; // secondary name to be given to new DT digis
89  std::string RPCDigiCollectionDM_; // secondary name to be given to new RPC digis
90  std::string CSCStripDigiCollectionDM_; // secondary name given to new
91  // collection of CSC Strip digis
92  std::string CSCWireDigiCollectionDM_; // secondary name given to new
93  // collection of CSC wire digis
94  std::string CSCComparatorDigiCollectionDM_; // secondary name given to new collection
95  // of CSC comparator digis
96 
97  // just hold our own DigiCollections - order of digis in layer doesn't appear
98  // to matter... will make a copy and put this back into the event...
99 
105 
106  // unsigned int eventId_; //=0 for signal, from 1-n for pileup events
107 
109  };
110 } // namespace edm
111 
112 #endif // SimDataMixingMuonWorker_h
void addMuonSignals(const edm::Event &e)
void addMuonPileups(const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *)
edm::InputTag CSCwiredigi_collectionSig_
edm::EDGetTokenT< RPCDigiCollection > RPCDigiPToken_
edm::EDGetTokenT< CSCStripDigiCollection > CSCStripDigiPToken_
CSCStripDigiCollection * OurCSCStripDigis_
edm::EDGetTokenT< DTDigiCollection > DTDigiPToken_
edm::EDGetTokenT< RPCDigiCollection > RPCDigiToken_
edm::EDGetTokenT< DTDigiCollection > DTDigiToken_
RPCDigiCollection * OurRPCDigis_
CSCWireDigiCollection * OurCSCWireDigis_
edm::EDGetTokenT< CSCStripDigiCollection > CSCStripDigiToken_
edm::EDGetTokenT< CSCComparatorDigiCollection > CSCCompDigiToken_
edm::EDGetTokenT< CSCWireDigiCollection > CSCWireDigiToken_
CSCComparatorDigiCollection * OurCSCComparatorDigis_
HLT enums.
edm::InputTag CSCCompdigi_collectionSig_
edm::EDGetTokenT< CSCComparatorDigiCollection > CSCCompDigiPToken_
edm::EDGetTokenT< CSCWireDigiCollection > CSCWireDigiPToken_
edm::InputTag CSCstripdigi_collectionSig_